mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
d4005958ec
commit
f283ed40c6
@ -168,10 +168,6 @@ class WP_Themes_List_Table extends WP_List_Table {
|
||||
<p><?php printf( __( 'All of this theme’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>
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user