Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -358,7 +358,14 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
}
|
||||
|
||||
if ( ! empty( $msg ) ) {
|
||||
$msg = '<div id="message" class="notice notice-success is-dismissible"><p>' . $msg . '</p></div>';
|
||||
$msg = wp_get_admin_notice(
|
||||
$msg,
|
||||
array(
|
||||
'type' => 'success',
|
||||
'dismissible' => true,
|
||||
'id' => 'message',
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -371,7 +378,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<h1 class="wp-heading-inline"><?php _e( 'Sites' ); ?></h1>
|
||||
|
||||
<?php if ( current_user_can( 'create_sites' ) ) : ?>
|
||||
<a href="<?php echo esc_url( network_admin_url( 'site-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>
|
||||
<a href="<?php echo esc_url( network_admin_url( 'site-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add New Site' ); ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user