From 7826f31e26e14db04043359c6aebc8e0b8ad094b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 23 Sep 2020 14:09:03 +0000 Subject: [PATCH] Docs: Remove obsolete `$wpdb` global reference from `get_site_by_path()`. Follow-up to [37628]. Props ravivaddweb, mukesh27. Fixes #51380. git-svn-id: https://develop.svn.wordpress.org/trunk@49038 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-load.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-includes/ms-load.php b/src/wp-includes/ms-load.php index 018f251ab1..488dc1f670 100644 --- a/src/wp-includes/ms-load.php +++ b/src/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.