- Timestamp:
- 09/02/2021 10:25:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r50780 r51728 621 621 622 622 /** 623 * @param WP_Term $tag Term object. 623 * @since 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named param. 624 * 625 * @param WP_Term $item Term object. 624 626 * @param string $column_name Name of the column. 625 627 * @return string 626 628 */ 627 public function column_default( $ tag, $column_name ) {629 public function column_default( $item, $column_name ) { 628 630 /** 629 631 * Filters the displayed columns in the terms list table. … … 639 641 * @since 2.8.0 640 642 * 641 * @param string $string Blank string.643 * @param string $string Custom column output. Default empty. 642 644 * @param string $column_name Name of the column. 643 645 * @param int $term_id Term ID. 644 646 */ 645 return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $ tag->term_id );647 return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $item->term_id ); 646 648 } 647 649
Note: See TracChangeset
for help on using the changeset viewer.