From 3e1db7f59db8ac20747fb606476691f25d00283a Mon Sep 17 00:00:00 2001 From: joedolson Date: Thu, 17 Aug 2023 21:36:21 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@56410 git-svn-id: http://core.svn.wordpress.org/trunk@55922 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/network.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php index 562a733770..07969ff222 100644 --- a/wp-admin/includes/network.php +++ b/wp-admin/includes/network.php @@ -445,7 +445,7 @@ function network_step2( $errors = false ) { $notice_message = '' . __( 'Caution:' ) . ' '; $notice_args = array( 'type' => 'warning', - 'additional_classes' => 'inline', + 'additional_classes' => array( 'inline' ), ); if ( file_exists( $home_path . '.htaccess' ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index b86758101c..af14d01be8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56409'; +$wp_version = '6.4-alpha-56410'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.