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
This commit is contained in:
Sergey Biryukov 2020-10-27 02:10:12 +00:00
parent 952860aa13
commit a23dcec496

View File

@ -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;