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
This commit is contained in:
parent
a610519297
commit
5c1889f3d8
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue