Changeset 12754 for trunk/wp-admin/themes.php
- Timestamp:
- 01/18/2010 10:34:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r12753 r12754 160 160 <div class="wrap"> 161 161 <?php screen_icon(); ?> 162 <h2><?php echo esc_html( $title ); if ( !current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } ?></h2>162 <h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } ?></h2> 163 163 164 164 <h3><?php _e('Current Theme'); ?></h3>
Note: See TracChangeset
for help on using the changeset viewer.