Skip to content

Commit 73c9fa1

Browse files
joedolsonpull[bot]
authored andcommitted
Administration: Invalid argument passed in additional_classes.
Fix `additional_classes` argument passed as a string instead of an array. Follow up to [56409]. Props joedolson. See #57791. git-svn-id: https://develop.svn.wordpress.org/trunk@56410 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0e3c3c1 commit 73c9fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/network.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function network_step2( $errors = false ) {
445445
$notice_message = '<strong>' . __( 'Caution:' ) . '</strong> ';
446446
$notice_args = array(
447447
'type' => 'warning',
448-
'additional_classes' => 'inline',
448+
'additional_classes' => array( 'inline' ),
449449
);
450450

451451
if ( file_exists( $home_path . '.htaccess' ) ) {

0 commit comments

Comments
 (0)