- Timestamp:
- 01/05/2026 05:51:15 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r61183 r61434 50 50 'singular' => 'comment', 51 51 'ajax' => true, 52 'screen' => isset( $args['screen'] ) ? $args['screen'] :null,52 'screen' => $args['screen'] ?? null, 53 53 ) 54 54 ); … … 94 94 } 95 95 96 $comment_status = isset( $_REQUEST['comment_status'] ) ? $_REQUEST['comment_status'] :'all';96 $comment_status = $_REQUEST['comment_status'] ?? 'all'; 97 97 98 98 if ( ! in_array( $comment_status, array( 'all', 'mine', 'moderated', 'approved', 'spam', 'trash' ), true ) ) { … … 145 145 146 146 $args = array( 147 'status' => isset( $status_map[ $comment_status ] ) ? $status_map[ $comment_status ] :$comment_status,147 'status' => $status_map[ $comment_status ] ?? $comment_status, 148 148 'search' => $search, 149 149 'user_id' => $user_id,
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)