- Timestamp:
- 09/07/2021 07:23:00 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r51735 r51737 652 652 * 653 653 * @since 4.3.0 654 * @since 5.9.0 Renamed `$comment` to `$item` to match parent class for PHP 8 named parameter support. 654 655 * 655 656 * @global string $comment_status Status for the current listed comments. 656 657 * 657 * @param WP_Comment $ commentThe comment object.658 * @param WP_Comment $item The comment object. 658 659 * @param string $column_name Current column name. 659 660 * @param string $primary Primary column name. … … 662 663 * or if the current user cannot edit the comment. 663 664 */ 664 protected function handle_row_actions( $ comment, $column_name, $primary ) {665 protected function handle_row_actions( $item, $column_name, $primary ) { 665 666 global $comment_status; 666 667 … … 673 674 } 674 675 676 // Restores the more descriptive, specific name for use within this method. 677 $comment = $item; 675 678 $the_comment_status = wp_get_comment_status( $comment ); 676 679
Note: See TracChangeset
for help on using the changeset viewer.