Make WordPress Core

Ticket #44360: 44360.class-wp-terms-list-table.php.diff

File 44360.class-wp-terms-list-table.php.diff, 635 bytes (added by FesoVik, 6 years ago)
  • class-wp-terms-list-table.php

     
    343343         */
    344344        public function column_cb( $tag ) {
    345345                if ( current_user_can( 'delete_term', $tag->term_id ) ) {
     346                        /* translators %s: Term ID */
    346347                        return '<label class="screen-reader-text" for="cb-select-' . $tag->term_id . '">' . sprintf( __( 'Select %s' ), $tag->name ) . '</label>'
    347348                                . '<input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" id="cb-select-' . $tag->term_id . '" />';
    348349                }