Nest the HTML correctly on the Manage Themes page when the user does not have permission to Install themes. Fixes #12847
git-svn-id: https://develop.svn.wordpress.org/trunk@14001 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1fa9e99992
commit
49cd5dfeab
@ -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…
x
Reference in New Issue
Block a user