Ticket #11935: 11935.themes.2.diff
| File 11935.themes.2.diff, 720 bytes (added by nacin, 3 years ago) |
|---|
-
wp-admin/themes.php
159 159 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> 165 165 <div id="current-theme">
