mirror of
git://develop.git.wordpress.org/
synced 2025-04-14 17:12:13 +02:00
Administration: Fix typos in wp_admin_notice() arguments in a few instances.
Follow-up to [56570], [56599]. Reviewed by azaozz, joedolson, jorbin. Props dlh, mukesh27, sumitbagthariya16. Fixes #59830. git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b1edbf740
commit
faedab68e5
src/wp-admin
@ -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 :
|
||||
|
@ -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,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ if ( isset( $_GET['a'] ) ) {
|
||||
__( 'File edited successfully.' ),
|
||||
array(
|
||||
'id' => 'message',
|
||||
'is-dismissible' => true,
|
||||
'dismissible' => true,
|
||||
'additional_classes' => array( 'updated' ),
|
||||
)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user