WordPress.org

Make WordPress Core

Ticket #17758: theme-install.diff

File theme-install.diff, 994 bytes (added by trepmal, 7 years ago)
  • wp-admin/theme-install.php

     
    5252<div class="wrap">
    5353<?php
    5454screen_icon();
    55 
    56 if ( is_network_admin() ) : ?>
    57 <h2><?php echo esc_html( $title ); ?></h2>
     55if ( !is_multisite() ) : ?>
     56<h2 class="nav-tab-wrapper">
     57<a href="themes.php" class="nav-tab"><?php echo esc_html_x('Manage Themes', 'theme'); ?></a>
     58<a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a>
    5859<?php else : ?>
    59 <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>
     60<h2>
     61<?php echo esc_html( $title ); ?>
     62<?php endif; ?>
     63</h2>
    6064
    6165<?php
    62 endif;
    63 
    6466$wp_list_table->views(); ?>
    6567
    6668<br class="clear" />