WordPress.org

Make WordPress Core

Ticket #23493: standardizehead.diff

File standardizehead.diff, 1.4 KB (added by thee17, 14 months ago)
  • theme-install.php

     
    7272if ( is_network_admin() ) : ?> 
    7373<h2><?php echo esc_html( $title ); ?></h2> 
    7474<?php else : ?> 
    75 <h2 class="nav-tab-wrapper"><a href="themes.php" class="nav-tab"><?php echo esc_html_x('Manage Themes', 'theme'); ?></a><a href="theme-install.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a></h2> 
     75<h2><?php echo esc_html( $title ); ?><a href="<?php echo admin_url( 'themes.php'); ?>" class="add-new-h2"><?php _e( 'Manage' ); ?></a></h2> 
    7676 
    7777<?php 
    7878endif; 
  • themes.php

     
    9797<div class="wrap"><?php 
    9898screen_icon(); 
    9999if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 
    100 <h2 class="nav-tab-wrapper"> 
    101 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 
     100<h2><?php echo esc_html( $title ); ?><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="add-new-h2"><?php _e( 'Add New' ); ?></a> 
    102101<?php else : ?> 
    103102<h2><?php echo esc_html( $title ); ?> 
    104103<?php endif; ?>