Changeset 12546 for trunk/wp-admin/themes.php
- Timestamp:
- 12/26/2009 09:00:58 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/themes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r12231 r12546 47 47 48 48 <?php if ( ! validate_current_theme() ) : ?> 49 <div id="message1" class="updated fade"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>49 <div id="message1" class="updated"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div> 50 50 <?php elseif ( isset($_GET['activated']) ) : 51 51 if ( isset($wp_registered_sidebars) && count( (array) $wp_registered_sidebars ) ) { ?> 52 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. This theme supports widgets, please visit the <a href="%s">widgets settings page</a> to configure them.'), admin_url('widgets.php') ); ?></p></div><?php52 <div id="message2" class="updated"><p><?php printf(__('New theme activated. This theme supports widgets, please visit the <a href="%s">widgets settings page</a> to configure them.'), admin_url('widgets.php') ); ?></p></div><?php 53 53 } else { ?> 54 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">Visit site</a>'), get_bloginfo('url') . '/'); ?></p></div><?php54 <div id="message2" class="updated"><p><?php printf(__('New theme activated. <a href="%s">Visit site</a>'), get_bloginfo('url') . '/'); ?></p></div><?php 55 55 } 56 56 elseif ( isset($_GET['deleted']) ) : ?> 57 <div id="message3" class="updated fade"><p><?php _e('Theme deleted.') ?></p></div>57 <div id="message3" class="updated"><p><?php _e('Theme deleted.') ?></p></div> 58 58 <?php endif; ?> 59 59
Note: See TracChangeset
for help on using the changeset viewer.