Make WordPress Core

Changeset 14001


Ignore:
Timestamp:
04/05/2010 12:00:53 AM (15 years ago)
Author:
dd32
Message:

Nest the HTML correctly on the Manage Themes page when the user does not have permission to Install themes. Fixes #12847

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r13533 r14001  
    135135<div class="wrap">
    136136<?php screen_icon(); ?>
    137 <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>
     137<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>
    138138
    139139<h3><?php _e('Current Theme'); ?></h3>
Note: See TracChangeset for help on using the changeset viewer.