- 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-media-list-table.php
r51638 r51728 595 595 * 596 596 * @since 4.3.0 597 * 598 * @param WP_Post $post The current WP_Post object. 597 * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named param. 598 * 599 * @param WP_Post $item The current WP_Post object. 599 600 * @param string $column_name Current column name. 600 601 */ 601 public function column_default( $post, $column_name ) { 602 public function column_default( $item, $column_name ) { 603 // Restores the more descriptive, specific name for use within this method. 604 $post = $item; 605 602 606 if ( 'categories' === $column_name ) { 603 607 $taxonomy = 'category';
Note: See TracChangeset
for help on using the changeset viewer.