diff --git a/wp-admin/includes/class-wp-privacy-policy-content.php b/wp-admin/includes/class-wp-privacy-policy-content.php index 46b10e15f6..aa72b21aa7 100644 --- a/wp-admin/includes/class-wp-privacy-policy-content.php +++ b/wp-admin/includes/class-wp-privacy-policy-content.php @@ -130,12 +130,8 @@ final class WP_Privacy_Policy_Content { * Outputs a warning when some privacy info has changed. * * @since 4.9.6 - * - * @global WP_Post $post Global post object. */ public static function policy_text_changed_notice() { - global $post; - $screen = get_current_screen()->id; if ( 'privacy' !== $screen ) { diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index c769375b4b..1e38133a3f 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -58,14 +58,10 @@ function check_upload_size( $file ) { * @since 3.0.0 * @since 5.1.0 Use wp_delete_site() internally to delete the site row from the database. * - * @global wpdb $wpdb WordPress database abstraction object. - * * @param int $blog_id Site ID. * @param bool $drop True if site's database tables should be dropped. Default false. */ function wpmu_delete_blog( $blog_id, $drop = false ) { - global $wpdb; - $blog_id = (int) $blog_id; $switch = false; diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 23653d1c2b..39455ad425 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -625,10 +625,9 @@ if ( ! function_exists( 'wp_upgrade' ) ) : * * @global int $wp_current_db_version The old (current) database version. * @global int $wp_db_version The new database version. - * @global wpdb $wpdb WordPress database abstraction object. */ function wp_upgrade() { - global $wp_current_db_version, $wp_db_version, $wpdb; + global $wp_current_db_version, $wp_db_version; $wp_current_db_version = __get_option( 'db_version' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b483243369..49aaf303cd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56498'; +$wp_version = '6.4-alpha-56499'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.