mirror of
git://develop.git.wordpress.org/
synced 2025-03-15 01:19:51 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@55637 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9dec7ae0a8
commit
2ff42bcb5b
@ -375,7 +375,7 @@ if ( isset( $_GET['enabled'] ) ) {
|
||||
/* translators: %s: Number of themes. */
|
||||
$message = _n( '%s theme enabled.', '%s themes enabled.', $enabled );
|
||||
}
|
||||
echo '<div id="message" class="notice notice-updated is-dismissible"><p>' . sprintf( $message, number_format_i18n( $enabled ) ) . '</p></div>';
|
||||
echo '<div id="message" class="notice notice-success is-dismissible"><p>' . sprintf( $message, number_format_i18n( $enabled ) ) . '</p></div>';
|
||||
} 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 '<div id="message" class="notice notice-updated is-dismissible"><p>' . sprintf( $message, number_format_i18n( $disabled ) ) . '</p></div>';
|
||||
echo '<div id="message" class="notice notice-success is-dismissible"><p>' . sprintf( $message, number_format_i18n( $disabled ) ) . '</p></div>';
|
||||
} elseif ( isset( $_GET['deleted'] ) ) {
|
||||
$deleted = absint( $_GET['deleted'] );
|
||||
if ( 1 === $deleted ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user