Changeset 31973 for trunk/src/wp-admin/themes.php
- Timestamp:
- 04/01/2015 10:05:17 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/themes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r31915 r31973 130 130 <?php 131 131 if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) : ?> 132 <div id="message1" class="updated "><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>132 <div id="message1" class="updated notice is-dismissible"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div> 133 133 <?php elseif ( isset($_GET['activated']) ) : 134 134 if ( isset( $_GET['previewed'] ) ) { ?> 135 <div id="message2" class="updated "><p><?php printf( __( 'Settings saved and theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div>135 <div id="message2" class="updated notice is-dismissible"><p><?php printf( __( 'Settings saved and theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div> 136 136 <?php } else { ?> 137 <div id="message2" class="updated "><p><?php printf( __( 'New theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div><?php137 <div id="message2" class="updated notice is-dismissible"><p><?php printf( __( 'New theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div><?php 138 138 } 139 139 elseif ( isset($_GET['deleted']) ) : ?> 140 <div id="message3" class="updated "><p><?php _e('Theme deleted.') ?></p></div>140 <div id="message3" class="updated notice is-dismissible"><p><?php _e('Theme deleted.') ?></p></div> 141 141 <?php elseif ( isset( $_GET['delete-active-child'] ) ) : ?> 142 142 <div id="message4" class="error"><p><?php _e( 'You cannot delete a theme while it has an active child theme.' ); ?></p></div>
Note: See TracChangeset
for help on using the changeset viewer.