- 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-comments-list-table.php
r50805 r51728 1048 1048 1049 1049 /** 1050 * @param WP_Comment $comment The comment object. 1050 * @since 5.9.0 Renamed `$comment` to `$item` to match parent class for PHP 8 named param. 1051 * 1052 * @param WP_Comment $item The comment object. 1051 1053 * @param string $column_name The custom column's name. 1052 1054 */ 1053 public function column_default( $ comment, $column_name ) {1055 public function column_default( $item, $column_name ) { 1054 1056 /** 1055 1057 * Fires when the default column output is displayed for a single row. … … 1060 1062 * @param int $comment_id The custom column's unique ID number. 1061 1063 */ 1062 do_action( 'manage_comments_custom_column', $column_name, $ comment->comment_ID );1064 do_action( 'manage_comments_custom_column', $column_name, $item->comment_ID ); 1063 1065 } 1064 1066 }
Note: See TracChangeset
for help on using the changeset viewer.