From 5c1889f3d89e115535a521e1f057bbd55dca8166 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 23 Sep 2020 14:11:07 +0000 Subject: [PATCH] Docs: Remove obsolete `$wpdb` global reference from `get_site_by_path()`. Follow-up to [37628]. Props ravivaddweb, mukesh27. Fixes #51380. Built from https://develop.svn.wordpress.org/trunk@49038 git-svn-id: http://core.svn.wordpress.org/trunk@48800 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-load.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/ms-load.php b/wp-includes/ms-load.php index 018f251ab1..488dc1f670 100644 --- a/wp-includes/ms-load.php +++ b/wp-includes/ms-load.php @@ -155,8 +155,6 @@ function get_network_by_path( $domain, $path, $segments = null ) { * @since 3.9.0 * @since 4.7.0 Updated to always return a `WP_Site` object. * - * @global wpdb $wpdb WordPress database abstraction object. - * * @param string $domain Domain to check. * @param string $path Path to check. * @param int|null $segments Path segments to use. Defaults to null, or the full path. diff --git a/wp-includes/version.php b/wp-includes/version.php index 659977e0d9..6af6244b55 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49037'; +$wp_version = '5.6-alpha-49038'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.