WordPress.org

Make WordPress Core

Ticket #18511: 18551.diff

File 18551.diff, 783 bytes (added by lancewillett, 7 years ago)
  • wp-admin/includes/class-wp-posts-list-table.php

     
    890890
    891891        <?php foreach ( $flat_taxonomies as $taxonomy ) : ?>
    892892
     893                <?php if ( current_user_can( $taxonomy->cap->assign_terms ) ) : ?
    893894                        <label class="inline-edit-tags">
    894895                                <span class="title"><?php echo esc_html( $taxonomy->labels->name ) ?></span>
    895896                                <textarea cols="22" rows="1" name="tax_input[<?php echo esc_attr( $taxonomy->name )?>]" class="tax_input_<?php echo esc_attr( $taxonomy->name )?>"></textarea>
    896897                        </label>
     898                <?php endif; ?>
    897899
    898900        <?php endforeach; //$flat_taxonomies as $taxonomy ?>
    899901