From a23dcec496f6332fdbf251751ebd5b07651b3c6c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 27 Oct 2020 02:10:12 +0000 Subject: [PATCH] Docs: Add a `@global` tag for `$user_id` in `WP_Application_Passwords_List_Table::prepare_items()`. Props mukesh27. Fixes #51633. git-svn-id: https://develop.svn.wordpress.org/trunk@49321 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-application-passwords-list-table.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/includes/class-wp-application-passwords-list-table.php b/src/wp-admin/includes/class-wp-application-passwords-list-table.php index b41190fac7..12bf95e445 100644 --- a/src/wp-admin/includes/class-wp-application-passwords-list-table.php +++ b/src/wp-admin/includes/class-wp-application-passwords-list-table.php @@ -38,6 +38,8 @@ class WP_Application_Passwords_List_Table extends WP_List_Table { * Prepares the list of items for displaying. * * @since 5.6.0 + * + * @global int $user_id User ID. */ public function prepare_items() { global $user_id;