- Timestamp:
- 09/07/2021 06:18:10 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r51734 r51735 365 365 366 366 /** 367 * @param WP_Term $tag Term object. 367 * @since 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named parameter support. 368 * 369 * @param WP_Term $item Term object. 368 370 * @return string 369 371 */ 370 public function column_cb( $tag ) { 372 public function column_cb( $item ) { 373 // Restores the more descriptive, specific name for use within this method. 374 $tag = $item; 375 371 376 if ( current_user_can( 'delete_term', $tag->term_id ) ) { 372 377 return sprintf(
Note: See TracChangeset
for help on using the changeset viewer.