- Timestamp:
- 09/07/2021 06:18:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r51734 r51735 972 972 * 973 973 * @since 4.3.0 974 * 975 * @param WP_Post $post The current WP_Post object. 976 */ 977 public function column_cb( $post ) { 974 * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. 975 * 976 * @param WP_Post $item The current WP_Post object. 977 */ 978 public function column_cb( $item ) { 979 // Restores the more descriptive, specific name for use within this method. 980 $post = $item; 978 981 $show = current_user_can( 'edit_post', $post->ID ); 979 982
Note: See TracChangeset
for help on using the changeset viewer.