Make filter bar CSS less verbose and redundant.

Also removes an unused handler in the theme feature filter.

see #28794.


git-svn-id: https://develop.svn.wordpress.org/trunk@29596 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2014-08-25 15:57:34 +00:00
parent e8d8b21cec
commit f187cf1dec
4 changed files with 112 additions and 121 deletions

View File

@@ -117,7 +117,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
<div class="wrap">
<h2><?php esc_html_e( 'Themes' ); ?>
<span class="wp-title-count theme-count"><?php echo count( $themes ); ?></span>
<span class="title-count theme-count"><?php echo count( $themes ); ?></span>
<?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>
<a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js add-new-h2"><?php echo esc_html( _x( 'Add New', 'Add new theme' ) ); ?></a>
<?php endif; ?>