- 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-media-list-table.php
r51734 r51735 388 388 * 389 389 * @since 4.3.0 390 * 391 * @param WP_Post $post The current WP_Post object. 392 */ 393 public function column_cb( $post ) { 390 * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. 391 * 392 * @param WP_Post $item The current WP_Post object. 393 */ 394 public function column_cb( $item ) { 395 // Restores the more descriptive, specific name for use within this method. 396 $post = $item; 397 394 398 if ( current_user_can( 'edit_post', $post->ID ) ) { 395 399 ?>
Note: See TracChangeset
for help on using the changeset viewer.