Changeset 31973 for trunk/src/wp-admin/network/themes.php
- Timestamp:
- 04/01/2015 10:05:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/themes.php
r31941 r31973 275 275 $message = _n( '%s theme enabled.', '%s themes enabled.', $enabled ); 276 276 } 277 echo '<div id="message" class="updated "><p>' . sprintf( $message, number_format_i18n( $enabled ) ) . '</p></div>';277 echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $enabled ) ) . '</p></div>'; 278 278 } elseif ( isset( $_GET['disabled'] ) ) { 279 279 $disabled = absint( $_GET['disabled'] ); … … 283 283 $message = _n( '%s theme disabled.', '%s themes disabled.', $disabled ); 284 284 } 285 echo '<div id="message" class="updated "><p>' . sprintf( $message, number_format_i18n( $disabled ) ) . '</p></div>';285 echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $disabled ) ) . '</p></div>'; 286 286 } elseif ( isset( $_GET['deleted'] ) ) { 287 287 $deleted = absint( $_GET['deleted'] ); … … 291 291 $message = _n( '%s theme deleted.', '%s themes deleted.', $deleted ); 292 292 } 293 echo '<div id="message" class="updated "><p>' . sprintf( $message, number_format_i18n( $deleted ) ) . '</p></div>';293 echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $deleted ) ) . '</p></div>'; 294 294 } elseif ( isset( $_GET['error'] ) && 'none' == $_GET['error'] ) { 295 echo '<div id="message" class="error "><p>' . __( 'No theme selected.' ) . '</p></div>';295 echo '<div id="message" class="error notice is-dismissible"><p>' . __( 'No theme selected.' ) . '</p></div>'; 296 296 } elseif ( isset( $_GET['error'] ) && 'main' == $_GET['error'] ) { 297 echo '<div class="error "><p>' . __( 'You cannot delete a theme while it is active on the main site.' ) . '</p></div>';297 echo '<div class="error notice is-dismissible"><p>' . __( 'You cannot delete a theme while it is active on the main site.' ) . '</p></div>'; 298 298 } 299 299
Note: See TracChangeset
for help on using the changeset viewer.