Docs: Add a `@global` tag for `$user_id` in `WP_Application_Passwords_List_Table::prepare_items()`.
Props mukesh27. Fixes #51633. Built from https://develop.svn.wordpress.org/trunk@49321 git-svn-id: http://core.svn.wordpress.org/trunk@49082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
87b6c253b5
commit
0fb5ccd4d0
|
@ -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;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-beta1-49320';
|
||||
$wp_version = '5.6-beta1-49321';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue