Make WordPress Core


Ignore:
Timestamp:
01/28/2013 10:36:15 PM (13 years ago)
Author:
helen
Message:

Remove the long-broken and questionably useful [more]/[less] toggle for hierarchical taxonomies in Quick/Bulk Edit. Nobody seems to have noticed in the nearly 3 years it's been broken. fixes #23006

File:
1 edited

Legend:

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

    r22439 r23354  
    821821    <?php foreach ( $hierarchical_taxonomies as $taxonomy ) : ?>
    822822
    823             <span class="title inline-edit-categories-label"><?php echo esc_html( $taxonomy->labels->name ) ?>
    824                 <span class="catshow"><?php _e( '[more]' ); ?></span>
    825                 <span class="cathide" style="display:none;"><?php _e( '[less]' ); ?></span>
    826             </span>
     823            <span class="title inline-edit-categories-label"><?php echo esc_html( $taxonomy->labels->name ) ?></span>
    827824            <input type="hidden" name="<?php echo ( $taxonomy->name == 'category' ) ? 'post_category[]' : 'tax_input[' . esc_attr( $taxonomy->name ) . '][]'; ?>" value="0" />
    828825            <ul class="cat-checklist <?php echo esc_attr( $taxonomy->name )?>-checklist">
Note: See TracChangeset for help on using the changeset viewer.