Themes: Remove the Tabs from the header of the Add New Theme page. Fixes #26310
Built from https://develop.svn.wordpress.org/trunk@26466 git-svn-id: http://core.svn.wordpress.org/trunk@26364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9e80aaba10
commit
f581667614
|
@ -77,14 +77,9 @@ include(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php
|
<?php
|
||||||
screen_icon();
|
screen_icon();
|
||||||
|
?>
|
||||||
if ( is_network_admin() ) : ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
<?php else : ?>
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
endif;
|
|
||||||
|
|
||||||
$wp_list_table->views(); ?>
|
$wp_list_table->views(); ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue