From 73d839264f589f5a0bc2bdd525999f8a68e1ff41 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Thu, 14 Sep 2023 22:08:27 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@56590 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php index f679eb9d67..cb6c6cb608 100644 --- a/src/wp-admin/upload.php +++ b/src/wp-admin/upload.php @@ -249,7 +249,7 @@ if ( 'grid' === $mode ) { wp_admin_notice( $js_required_message, array( - additional_classes( 'error', 'hide-if-js' ), + 'additional_classes' => array( 'error', 'hide-if-js' ), ) ); ?>