From 1e11c3fce87f00520d2a46322c1dc8edc9952dd7 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Sun, 17 Sep 2023 19:10:58 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@56601 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network/themes.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/network/themes.php b/src/wp-admin/network/themes.php index f73521baab..4c6febea98 100644 --- a/src/wp-admin/network/themes.php +++ b/src/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' ), + ) + ); + ?>