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:
parent
952860aa13
commit
a23dcec496
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user