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
This commit is contained in:
Sergey Biryukov 2020-09-23 14:09:03 +00:00
parent c31a551273
commit 7826f31e26

View File

@ -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.