Skip to content

Commit 5cffcde

Browse files
Update global variable documentation in comments list
1 parent 91be813 commit 5cffcde

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/wp-admin/includes/class-wp-comments-list-table.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ public function ajax_user_can() {
8181
/**
8282
* Prepares the comments list items.
8383
*
84-
* @global string $mode List table view mode.
85-
* @global int $post_id
86-
* @global string $comment_status
87-
* @global string $comment_type
88-
* @global string $search
84+
* @global string $mode Current list table display mode.
85+
* @global int $post_id Current post ID filter.
86+
* @global string $comment_status Comment status filter.
87+
* @global string $comment_type Comment type filter.
88+
* @global string $search Search term.
8989
*/
9090
public function prepare_items() {
9191
global $mode, $post_id, $comment_status, $comment_type, $search;

0 commit comments

Comments
 (0)