WordPress.org

Make WordPress Core

Changeset 20065


Ignore:
Timestamp:
03/01/12 23:58:10 (4 years ago)
Author:
nacin
Message:

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.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r20048 r20065  
    169169                    $title, str_replace( WP_CONTENT_DIR, '', $theme->get_template_directory() ), str_replace( WP_CONTENT_DIR, '', $theme->get_stylesheet_directory() ) ); ?></p> 
    170170            <?php endif; ?> 
    171             <?php 
    172             if ( $theme->get('Tags') ) 
    173                 printf( '<p>' . __( 'Tags: %s.' ) . '</p>', $theme->display('Tags') ); 
    174             ?> 
    175171            </div> 
    176172            <?php theme_update_available( $theme ); ?> 
  • trunk/wp-admin/themes.php

    r20064 r20065  
    137137    } 
    138138    echo implode ( ' | ', $options ); 
    139  
    140     if ( $ct->get('Tags') ) : ?> 
    141     <p><?php _e('Tags:'); ?> <?php echo $ct->display('Tags'); ?></p> 
    142     <?php endif; ?> 
    143 </div> 
    144 <?php theme_update_available($ct); ?> 
     139?></div> 
     140<?php theme_update_available( $ct ); ?> 
    145141 
    146142</div> 
Note: See TracChangeset for help on using the changeset viewer.