From f283ed40c666c37f68f23cf2d2cf62c45beb0e8c Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 1 Mar 2012 23:58:10 +0000 Subject: [PATCH] Remove theme tags from the themes.php UI. They just take up room and are redundant with the feature filter. The installer already does not show tags. props DH-Shredder, fixes #20147. git-svn-id: http://svn.automattic.com/wordpress/trunk@20065 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-themes-list-table.php | 4 ---- wp-admin/themes.php | 8 ++------ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php index f597ada13..1255cc771 100644 --- a/wp-admin/includes/class-wp-themes-list-table.php +++ b/wp-admin/includes/class-wp-themes-list-table.php @@ -168,10 +168,6 @@ class WP_Themes_List_Table extends WP_List_Table {

%2$s.' ), $title, str_replace( WP_CONTENT_DIR, '', $theme->get_template_directory() ), str_replace( WP_CONTENT_DIR, '', $theme->get_stylesheet_directory() ) ); ?>

- get('Tags') ) - printf( '

' . __( 'Tags: %s.' ) . '

', $theme->display('Tags') ); - ?> diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 6af9454ca..adfd5bcfa 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -136,12 +136,8 @@ if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> } } echo implode ( ' | ', $options ); - - if ( $ct->get('Tags') ) : ?> -

display('Tags'); ?>

- - - +?> +