Changeset 31968 for trunk/src/wp-includes/class-wp-customize-section.php
- Timestamp:
- 04/01/2015 07:49:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-section.php
r31918 r31968 349 349 <h2><?php esc_html_e( 'Themes' ); ?> 350 350 <span class="title-count theme-count"><?php echo count( $this->controls ) - 1; ?></span> 351 <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>352 <a href="<?php echo admin_url( 'theme-install.php' ); ?>" target="_top" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a>353 <?php endif; ?>354 351 </h2> 355 352 <div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme Details' ); ?>"></div>
Note: See TracChangeset
for help on using the changeset viewer.