Nest the HTML correctly on the Manage Themes page when the user does not have permission to Install themes. Fixes #12847
git-svn-id: http://svn.automattic.com/wordpress/trunk@14001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
751a7d10ea
commit
a87700319b
|
@ -134,7 +134,7 @@ function theme_update_available( $theme ) {
|
|||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<h2><a href="themes.php" class="menu-tabs"><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?></a> <a href="theme-install.php" class="menu-tabs menu-tab-inactive"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php } ?></h2>
|
||||
<h2><a href="themes.php" class="menu-tabs"><?php echo esc_html( $title ); ?></a><?php if ( current_user_can('install_themes') ) { ?><a href="theme-install.php" class="menu-tabs menu-tab-inactive"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php } ?></h2>
|
||||
|
||||
<h3><?php _e('Current Theme'); ?></h3>
|
||||
<div id="current-theme">
|
||||
|
|
Loading…
Reference in New Issue