mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user