diff --git a/src/wp-includes/class-wp-network.php b/src/wp-includes/class-wp-network.php index 26b125b648..0ccafafd1c 100644 --- a/src/wp-includes/class-wp-network.php +++ b/src/wp-includes/class-wp-network.php @@ -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 diff --git a/src/wp-includes/ms-load.php b/src/wp-includes/ms-load.php index 7da0454fa6..923d4e720d 100644 --- a/src/wp-includes/ms-load.php +++ b/src/wp-includes/ms-load.php @@ -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()