Changeset 17800 for trunk/wp-admin/themes.php
- Timestamp:
- 05/04/2011 08:15:05 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/themes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r17364 r17800 72 72 <div class="wrap"><?php 73 73 screen_icon(); 74 74 75 if ( !is_multisite() ) : ?> 75 <h2 class="nav-tab-wrapper">76 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a> 77 <?php if ( current_user_can('install_themes') ) : ?>78 <a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 79 <?phpendif;76 <h2 class="nav-tab-wrapper"> 77 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><?php 78 if ( current_user_can('install_themes') ) : 79 ?><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php 80 endif; 80 81 else : ?> 81 <h2>82 <?php echo esc_html( $title ); ?>82 <h2> 83 <?php echo esc_html( $title ); ?> 83 84 <?php endif; ?> 84 85 </h2>
Note: See TracChangeset
for help on using the changeset viewer.