Administration: `additional_classes` is not a function.

Correct usage of `additional_classes` array parameter as if it were a function. Clearly, I'm getting tired and missing things. So many little changes. Follow up to [56573].

Props joedolson.
See #57791.
Built from https://develop.svn.wordpress.org/trunk@56590


git-svn-id: http://core.svn.wordpress.org/trunk@56102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2023-09-14 22:10:24 +00:00
parent 3ce9440a01
commit e012f30025
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ if ( 'grid' === $mode ) {
wp_admin_notice( wp_admin_notice(
$js_required_message, $js_required_message,
array( array(
additional_classes( 'error', 'hide-if-js' ), 'additional_classes' => array( 'error', 'hide-if-js' ),
) )
); );
?> ?>

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.4-alpha-56589'; $wp_version = '6.4-alpha-56590';
/** /**
* 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.