diff --git src/wp-includes/block-template-utils.php src/wp-includes/block-template-utils.php
index d2795612ed..6c50cf27d7 100644
|
|
function wp_generate_block_templates_export_file() { |
1269 | 1269 | |
1270 | 1270 | $theme_json_raw = $tree->get_data(); |
1271 | 1271 | // If a version is defined, add a schema. |
| 1272 | /** |
| 1273 | * @global $wp_version. |
| 1274 | */ |
1272 | 1275 | if ( $theme_json_raw['version'] ) { |
1273 | 1276 | global $wp_version; |
1274 | 1277 | $theme_json_version = 'wp/' . substr( $wp_version, 0, 3 ); |
diff --git src/wp-includes/class-walker-comment.php src/wp-includes/class-walker-comment.php
index dfc8ccd39d..b1d5c7865c 100644
|
|
class Walker_Comment extends Walker { |
46 | 46 | * @since 2.7.0 |
47 | 47 | * |
48 | 48 | * @see Walker::start_lvl() |
49 | | * @global int $comment_depth |
50 | 49 | * |
51 | 50 | * @param string $output Used to append additional content (passed by reference). |
52 | 51 | * @param int $depth Optional. Depth of the current comment. Default 0. |
… |
… |
class Walker_Comment extends Walker { |
74 | 73 | * @since 2.7.0 |
75 | 74 | * |
76 | 75 | * @see Walker::end_lvl() |
77 | | * @global int $comment_depth |
78 | 76 | * |
79 | 77 | * @param string $output Used to append additional content (passed by reference). |
80 | 78 | * @param int $depth Optional. Depth of the current comment. Default 0. |
… |
… |
class Walker_Comment extends Walker { |
162 | 160 | * |
163 | 161 | * @see Walker::start_el() |
164 | 162 | * @see wp_list_comments() |
165 | | * @global int $comment_depth |
166 | 163 | * @global WP_Comment $comment Global comment object. |
167 | 164 | * |
168 | 165 | * @param string $output Used to append additional content. Passed by reference. |
diff --git src/wp-includes/user.php src/wp-includes/user.php
index 9c17d1583e..e5834daae5 100644
|
|
function wp_destroy_all_sessions() { |
3507 | 3507 | * |
3508 | 3508 | * @param int|null $site_id Optional. The site ID to get users with no role for. Defaults to the current site. |
3509 | 3509 | * @return string[] Array of user IDs as strings. |
| 3510 | * @global wpdb $wpdb WordPress database abstraction object. |
3510 | 3511 | */ |
3511 | 3512 | function wp_get_users_with_no_role( $site_id = null ) { |
3512 | 3513 | global $wpdb; |
… |
… |
All at ###SITENAME### |
4790 | 4791 | * |
4791 | 4792 | * @param int $request_id Request ID. |
4792 | 4793 | * @return string Confirmation key. |
| 4794 | * @global $wp_hasher. |
4793 | 4795 | */ |
4794 | 4796 | function wp_generate_user_request_key( $request_id ) { |
4795 | 4797 | global $wp_hasher; |
… |
… |
function wp_generate_user_request_key( $request_id ) { |
4822 | 4824 | * @param string $request_id ID of the request being confirmed. |
4823 | 4825 | * @param string $key Provided key to validate. |
4824 | 4826 | * @return true|WP_Error True on success, WP_Error on failure. |
| 4827 | * @global $wp_hasher. |
4825 | 4828 | */ |
4826 | 4829 | function wp_validate_user_request_key( $request_id, $key ) { |
4827 | 4830 | global $wp_hasher; |