From ca4aed3083b3f8533f75fb363bf9b3f714f705cd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 8 Nov 2023 11:06:22 +0000 Subject: [PATCH] Administration: Fix typos in `wp_admin_notice()` arguments in a few instances. Follow-up to [56570], [56599]. Props dlh, mukesh27, sumitbagthariya16. Fixes #59830. Built from https://develop.svn.wordpress.org/trunk@57084 git-svn-id: http://core.svn.wordpress.org/trunk@56595 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 4 ++-- wp-admin/includes/update.php | 6 +++--- wp-admin/theme-editor.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index a7255bb7ee..1d4a8e8da1 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1018,8 +1018,8 @@ function wp_import_upload_form( $action ) { wp_admin_notice( $upload_directory_error, array( - 'additonal_classes' => array( 'error' ), - 'paragraph_wrap' => false, + 'additional_classes' => array( 'error' ), + 'paragraph_wrap' => false, ) ); else : diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 2d3ccfbbb3..7e68440b8e 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -345,9 +345,9 @@ function update_nag() { wp_admin_notice( $msg, array( - 'type' => 'warning', - 'additonal_classes' => array( 'update-nag', 'inline' ), - 'paragraph_wrap' => false, + 'type' => 'warning', + 'additional_classes' => array( 'update-nag', 'inline' ), + 'paragraph_wrap' => false, ) ); } diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index c9253f5bad..bd932d8f94 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -195,7 +195,7 @@ if ( isset( $_GET['a'] ) ) { __( 'File edited successfully.' ), array( 'id' => 'message', - 'is-dismissible' => true, + 'dismissible' => true, 'additional_classes' => array( 'updated' ), ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 096d9ea934..68db0e4fc8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57083'; +$wp_version = '6.5-alpha-57084'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.