diff --git src/wp-includes/template.php src/wp-includes/template.php
index 989d630f7f..0e128ecae1 100644
--- src/wp-includes/template.php
+++ src/wp-includes/template.php
@@ -654,7 +654,6 @@ function get_singular_template() {
  *
  * @see get_query_template()
  *
- * @global array $posts
  *
  * @return string Full path to attachment template file.
  */
diff --git src/wp-includes/theme.php src/wp-includes/theme.php
index 81c91ab5cc..1638128b4c 100644
--- src/wp-includes/theme.php
+++ src/wp-includes/theme.php
@@ -3591,7 +3591,6 @@ function _wp_customize_include() {
  * @since 4.7.0
  * @access private
  *
- * @global wpdb                 $wpdb         WordPress database abstraction object.
  * @global WP_Customize_Manager $wp_customize Customizer instance.
  *
  * @param string  $new_status     New post status.
@@ -3599,7 +3598,7 @@ function _wp_customize_include() {
  * @param WP_Post $changeset_post Changeset post object.
  */
 function _wp_customize_publish_changeset( $new_status, $old_status, $changeset_post ) {
-	global $wp_customize, $wpdb;
+	global $wp_customize;
 
 	$is_publishing_changeset = (
 		'customize_changeset' === $changeset_post->post_type
diff --git src/wp-includes/user.php src/wp-includes/user.php
index 5b9dacc20f..c1a16ce471 100644
--- src/wp-includes/user.php
+++ src/wp-includes/user.php
@@ -4816,6 +4816,7 @@ All at ###SITENAME###
  * Returns a confirmation key for a user action and stores the hashed version for future comparison.
  *
  * @since 4.9.6
+ * @global PasswordHash $wp_hasher  Portable PHP password hashing framework.
  *
  * @param int $request_id Request ID.
  * @return string Confirmation key.
@@ -4847,6 +4848,7 @@ function wp_generate_user_request_key( $request_id ) {
  * Validates a user request by comparing the key with the request's key.
  *
  * @since 4.9.6
+ * @global PasswordHash $wp_hasher  Portable PHP password hashing framework.
  *
  * @param string $request_id ID of the request being confirmed.
  * @param string $key        Provided key to validate.
