Multisite: Clarify documentation for `WP_Network::get_by_path()`.
See #31985. Built from https://develop.svn.wordpress.org/trunk@35573 git-svn-id: http://core.svn.wordpress.org/trunk@35537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f3c2c7350c
commit
c0a3348487
|
@ -169,7 +169,14 @@ class WP_Network {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve a network by its domain and path.
|
||||
* Retrieve the closest matching network for a domain and path.
|
||||
*
|
||||
* This will not necessarily return an exact match for a domain and path. Instead, it
|
||||
* breaks the domain and path into pieces that are then used to match the closest
|
||||
* possibility from a query.
|
||||
*
|
||||
* The intent of this method is to match a network during bootstrap for a
|
||||
* requested site address.
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @access public
|
||||
|
|
|
@ -117,7 +117,7 @@ function ms_site_check() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve a network object by its domain and path.
|
||||
* Retrieve the closest matching network for a domain and path.
|
||||
*
|
||||
* @since 3.9.0
|
||||
* @since 4.4.0 Converted to a wrapper for WP_Network::get_by_path()
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta3-35572';
|
||||
$wp_version = '4.4-beta3-35573';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue