Changeset 31973 for trunk/src/wp-admin/network/site-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/site-themes.php
r31962 r31973 158 158 if ( isset( $_GET['enabled'] ) ) { 159 159 $_GET['enabled'] = absint( $_GET['enabled'] ); 160 echo '<div id="message" class="updated "><p>' . sprintf( _n( 'Theme enabled.', '%s themes enabled.', $_GET['enabled'] ), number_format_i18n( $_GET['enabled'] ) ) . '</p></div>';160 echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( _n( 'Theme enabled.', '%s themes enabled.', $_GET['enabled'] ), number_format_i18n( $_GET['enabled'] ) ) . '</p></div>'; 161 161 } elseif ( isset( $_GET['disabled'] ) ) { 162 162 $_GET['disabled'] = absint( $_GET['disabled'] ); 163 echo '<div id="message" class="updated "><p>' . sprintf( _n( 'Theme disabled.', '%s themes disabled.', $_GET['disabled'] ), number_format_i18n( $_GET['disabled'] ) ) . '</p></div>';163 echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( _n( 'Theme disabled.', '%s themes disabled.', $_GET['disabled'] ), number_format_i18n( $_GET['disabled'] ) ) . '</p></div>'; 164 164 } elseif ( isset( $_GET['error'] ) && 'none' == $_GET['error'] ) { 165 echo '<div id="message" class="error "><p>' . __( 'No theme selected.' ) . '</p></div>';165 echo '<div id="message" class="error notice is-dismissible"><p>' . __( 'No theme selected.' ) . '</p></div>'; 166 166 } ?> 167 167
Note: See TracChangeset
for help on using the changeset viewer.