- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r45723 r45926 356 356 public function column_cb( $tag ) { 357 357 if ( current_user_can( 'delete_term', $tag->term_id ) ) { 358 return '<label class="screen-reader-text" for="cb-select-' . $tag->term_id . '">' . sprintf( __( 'Select %s' ), $tag->name ) . '</label>' 359 . '<input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" id="cb-select-' . $tag->term_id . '" />'; 358 return sprintf( 359 '<label class="screen-reader-text" for="cb-select-%1$s">%2$s</label>' . 360 '<input type="checkbox" name="delete_tags[]" value="%1$s" id="cb-select-%1$s" />', 361 $tag->term_id, 362 /* translators: %s: term name */ 363 sprintf( __( 'Select %s' ), $tag->name ) 364 ); 360 365 } 361 366
Note: See TracChangeset
for help on using the changeset viewer.