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
This commit is contained in:
nacin 2012-03-01 23:58:10 +00:00
parent d4005958ec
commit f283ed40c6
2 changed files with 2 additions and 10 deletions

View File

@ -168,10 +168,6 @@ class WP_Themes_List_Table extends WP_List_Table {
<p><?php printf( __( 'All of this theme&#8217;s files are located in <code>%2$s</code>.' ),
$title, str_replace( WP_CONTENT_DIR, '', $theme->get_template_directory() ), str_replace( WP_CONTENT_DIR, '', $theme->get_stylesheet_directory() ) ); ?></p>
<?php endif; ?>
<?php
if ( $theme->get('Tags') )
printf( '<p>' . __( 'Tags: %s.' ) . '</p>', $theme->display('Tags') );
?>
</div>
<?php theme_update_available( $theme ); ?>
</div>

View File

@ -136,12 +136,8 @@ if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>
}
}
echo implode ( ' | ', $options );
if ( $ct->get('Tags') ) : ?>
<p><?php _e('Tags:'); ?> <?php echo $ct->display('Tags'); ?></p>
<?php endif; ?>
</div>
<?php theme_update_available($ct); ?>
?></div>
<?php theme_update_available( $ct ); ?>
</div>