WordPress.org

Make WordPress Core

Changeset 23354


Ignore:
Timestamp:
01/28/2013 10:36:15 PM (6 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

Location:
trunk/wp-admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r23315 r23354  
    15341534    background-color: #fff;
    15351535    border-color: #ddd;
    1536 }
    1537 
    1538 .inline-editor .categories .catshow,
    1539 .inline-editor .categories .cathide {
    1540     color: #21759b;
    15411536}
    15421537
  • trunk/wp-admin/css/colors-fresh.css

    r23315 r23354  
    14251425    background-color: #fff;
    14261426    border-color: #ddd;
    1427 }
    1428 
    1429 .inline-editor .categories .catshow,
    1430 .inline-editor .categories .cathide {
    1431     color: #21759b;
    14321427}
    14331428
  • trunk/wp-admin/css/wp-admin-rtl.css

    r23014 r23354  
    817817
    818818.inline-edit-row fieldset ul.cat-checklist label,
    819 .inline-edit-row .catshow,
    820 .inline-edit-row .cathide,
    821819.inline-edit-row #bulk-titles div {
    822820    font-family: Tahoma, Arial, sans-serif;
     
    25912589.locale-he-il .inline-edit-row fieldset span.checkbox-title,
    25922590.locale-he-il .inline-edit-row fieldset ul.cat-checklist label,
    2593 .locale-he-il .inline-edit-row .catshow,
    2594 .locale-he-il .inline-edit-row .cathide,
    25952591.locale-he-il .inline-edit-row #bulk-titles div,
    25962592.locale-he-il p.help,
  • trunk/wp-admin/css/wp-admin.css

    r23313 r23354  
    28802880}
    28812881
    2882 .inline-edit-row .catshow,
    2883 .inline-edit-row .cathide {
    2884     cursor: pointer;
    2885 }
    2886 
    28872882ul.cat-checklist {
    28882883    height: 12em;
     
    29102905
    29112906.inline-edit-row fieldset ul.cat-checklist label,
    2912 .inline-edit-row .catshow,
    2913 .inline-edit-row .cathide,
    29142907.inline-edit-row #bulk-titles div {
    29152908    font-family: sans-serif;
    29162909    font-style: normal;
    29172910    font-size: 11px;
    2918 }
    2919 
    2920 table .inline-edit-row fieldset ul.cat-hover {
    2921     height: auto;
    2922     max-height: 30em;
    2923     overflow-y: auto;
    2924     position: absolute;
    29252911}
    29262912
  • 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">
  • trunk/wp-admin/js/inline-edit-post.js

    r22916 r23354  
    5353            $('#inline-edit label.inline-edit-tags').clone()
    5454        );
    55 
    56         // hiearchical taxonomies expandable?
    57         $('span.catshow').click(function(){
    58             $(this).hide().next().show().parent().next().addClass("cat-hover");
    59         });
    60 
    61         $('span.cathide').click(function(){
    62             $(this).hide().prev().show().parent().next().removeClass("cat-hover");
    63         });
    6455
    6556        $('select[name="_status"] option[value="future"]', bulkRow).remove();
Note: See TracChangeset for help on using the changeset viewer.