Changeset 56409 for trunk/src/wp-admin/my-sites.php
- Timestamp:
- 08/17/2023 09:01:17 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/my-sites.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/my-sites.php
r55917 r56409 56 56 require_once ABSPATH . 'wp-admin/admin-header.php'; 57 57 58 if ( $updated ) { ?> 59 <div id="message" class="notice notice-success is-dismissible"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div> 60 <?php } ?> 58 if ( $updated ) { 59 wp_admin_notice( 60 '<strong>' . __( 'Settings saved.' ) . '</strong>', 61 array( 62 'type' => 'success', 63 'dismissible' => true, 64 'id' => 'message', 65 ) 66 ); 67 } 68 ?> 61 69 62 70 <div class="wrap"> … … 75 83 76 84 if ( empty( $blogs ) ) : 85 wp_admin_notice( 86 '<strong>' . __( 'You must be a member of at least one site to use this page.' ) . '</strong>', 87 array( 88 'type' => 'error', 89 'dismissible' => true, 90 ) 91 ); 77 92 ?> 78 <div class="notice notice-error is-dismissible"><p><strong><?php _e( 'You must be a member of at least one site to use this page.' ); ?></strong></p></div>79 93 <?php 80 94 else :
Note: See TracChangeset
for help on using the changeset viewer.