From 3f690e576332d1aa3fee7fa0104c169f3729e31c Mon Sep 17 00:00:00 2001 From: joedolson Date: Sun, 17 Sep 2023 19:12:21 +0000 Subject: [PATCH] Administration: Use `wp_admin_notice()` in `wp-admin/network/`. Add additional usage of `wp_admin_notice()` in `wp-admin/network/` where previously overlooked. Follow up to [56408], [56409], [56410], [56518], [56570], [56571], [56572], [56573], [56576], [56589], [56590], [56597], [56599], [56600]. Props costdev, joedolson. See #57791. Built from https://develop.svn.wordpress.org/trunk@56601 git-svn-id: http://core.svn.wordpress.org/trunk@56113 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/network/themes.php | 18 ++++++++++++++++-- wp-includes/version.php | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index f73521baab..4c6febea98 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -135,11 +135,25 @@ if ( $action ) {

-

+ ' . __( 'Caution:' ) . ' ' . __( 'This theme may be active on other sites in the network.' ), + array( + 'additional_classes' => array( 'error' ), + ) + ); + ?>

-

+ ' . __( 'Caution:' ) . ' ' . __( 'These themes may be active on other sites in the network.' ), + array( + 'additional_classes' => array( 'error' ), + ) + ); + ?>