From 2193d75aa142e2a7e848e3564261ebfb48d99915 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sat, 8 Apr 2023 09:31:18 +0000 Subject: [PATCH] Networks and Sites: Fix incorrect color for Theme enabling admin notices. This changeset replaces a `notice-updated` class with `notice-success` to fix an issue where the notices were using a gray border color instead of green when enabling or disabling a theme for a network. Follow-up to [55418]. Props ocean90, audrasjb, marineevain, SergeyBiryukov, dhrumilk, chiragrathod103. Fixes #58096. Built from https://develop.svn.wordpress.org/trunk@55637 git-svn-id: http://core.svn.wordpress.org/trunk@55149 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/network/themes.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index 27e8db8857..86747337d5 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -375,7 +375,7 @@ if ( isset( $_GET['enabled'] ) ) { /* translators: %s: Number of themes. */ $message = _n( '%s theme enabled.', '%s themes enabled.', $enabled ); } - echo '

' . sprintf( $message, number_format_i18n( $enabled ) ) . '

'; + echo '

' . sprintf( $message, number_format_i18n( $enabled ) ) . '

'; } elseif ( isset( $_GET['disabled'] ) ) { $disabled = absint( $_GET['disabled'] ); if ( 1 === $disabled ) { @@ -384,7 +384,7 @@ if ( isset( $_GET['enabled'] ) ) { /* translators: %s: Number of themes. */ $message = _n( '%s theme disabled.', '%s themes disabled.', $disabled ); } - echo '

' . sprintf( $message, number_format_i18n( $disabled ) ) . '

'; + echo '

' . sprintf( $message, number_format_i18n( $disabled ) ) . '

'; } elseif ( isset( $_GET['deleted'] ) ) { $deleted = absint( $_GET['deleted'] ); if ( 1 === $deleted ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 27d075fbfc..5167c4eed1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55633'; +$wp_version = '6.3-alpha-55637'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.