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
This commit is contained in:
parent
3356f6e33f
commit
3f690e5763
|
@ -135,11 +135,25 @@ if ( $action ) {
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php if ( 1 === $themes_to_delete ) : ?>
|
<?php if ( 1 === $themes_to_delete ) : ?>
|
||||||
<h1><?php _e( 'Delete Theme' ); ?></h1>
|
<h1><?php _e( 'Delete Theme' ); ?></h1>
|
||||||
<div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This theme may be active on other sites in the network.' ); ?></p></div>
|
<?php
|
||||||
|
wp_admin_notice(
|
||||||
|
'<strong>' . __( 'Caution:' ) . '</strong> ' . __( 'This theme may be active on other sites in the network.' ),
|
||||||
|
array(
|
||||||
|
'additional_classes' => array( 'error' ),
|
||||||
|
)
|
||||||
|
);
|
||||||
|
?>
|
||||||
<p><?php _e( 'You are about to remove the following theme:' ); ?></p>
|
<p><?php _e( 'You are about to remove the following theme:' ); ?></p>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<h1><?php _e( 'Delete Themes' ); ?></h1>
|
<h1><?php _e( 'Delete Themes' ); ?></h1>
|
||||||
<div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These themes may be active on other sites in the network.' ); ?></p></div>
|
<?php
|
||||||
|
wp_admin_notice(
|
||||||
|
'<strong>' . __( 'Caution:' ) . '</strong> ' . __( 'These themes may be active on other sites in the network.' ),
|
||||||
|
array(
|
||||||
|
'additional_classes' => array( 'error' ),
|
||||||
|
)
|
||||||
|
);
|
||||||
|
?>
|
||||||
<p><?php _e( 'You are about to remove the following themes:' ); ?></p>
|
<p><?php _e( 'You are about to remove the following themes:' ); ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<ul class="ul-disc">
|
<ul class="ul-disc">
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.4-alpha-56600';
|
$wp_version = '6.4-alpha-56601';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue