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
This commit is contained in:
Sergey Biryukov 2023-11-08 11:06:22 +00:00
parent ba0fd81822
commit ca4aed3083
4 changed files with 7 additions and 7 deletions

View File

@ -1018,7 +1018,7 @@ function wp_import_upload_form( $action ) {
wp_admin_notice( wp_admin_notice(
$upload_directory_error, $upload_directory_error,
array( array(
'additonal_classes' => array( 'error' ), 'additional_classes' => array( 'error' ),
'paragraph_wrap' => false, 'paragraph_wrap' => false,
) )
); );

View File

@ -346,7 +346,7 @@ function update_nag() {
$msg, $msg,
array( array(
'type' => 'warning', 'type' => 'warning',
'additonal_classes' => array( 'update-nag', 'inline' ), 'additional_classes' => array( 'update-nag', 'inline' ),
'paragraph_wrap' => false, 'paragraph_wrap' => false,
) )
); );

View File

@ -195,7 +195,7 @@ if ( isset( $_GET['a'] ) ) {
__( 'File edited successfully.' ), __( 'File edited successfully.' ),
array( array(
'id' => 'message', 'id' => 'message',
'is-dismissible' => true, 'dismissible' => true,
'additional_classes' => array( 'updated' ), 'additional_classes' => array( 'updated' ),
) )
); );

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.