- 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-posts-list-table.php
r51520 r51728 1236 1236 * 1237 1237 * @since 4.3.0 1238 * 1239 * @param WP_Post $post The current WP_Post object. 1238 * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named param. 1239 * 1240 * @param WP_Post $item The current WP_Post object. 1240 1241 * @param string $column_name The current column name. 1241 1242 */ 1242 public function column_default( $post, $column_name ) { 1243 public function column_default( $item, $column_name ) { 1244 // Restores the more descriptive, specific name for use within this method. 1245 $post = $item; 1246 1243 1247 if ( 'categories' === $column_name ) { 1244 1248 $taxonomy = 'category';
Note: See TracChangeset
for help on using the changeset viewer.