Make WordPress Core

Ticket #38152: 38152.2.patch

File 38152.2.patch, 786 bytes (added by stevenlinx, 9 years ago)
  • src/wp-includes/ms-load.php

    diff --git a/src/wp-includes/ms-load.php b/src/wp-includes/ms-load.php
    index 06673f6..5313437 100644
    a b function get_network_by_path( $domain, $path, $segments = null ) { 
    134134}
    135135
    136136/**
    137  * Retrieve a site object by its domain and path.
     137 * Retrieve the closest matching site object by its domain and path.
     138 *
     139 * This will not necessarily return an exact match for a domain and path. Instead, it
     140 * breaks the domain and path into pieces that are then used to match the closest
     141 * possibility from a query.
     142 *
     143 * The intent of this method is to match a site object during bootstrap for a
     144 * requested site address
    138145 *
    139146 * @since 3.9.0
    140147 * @since 4.7.0 Updated to always return a `WP_Site` object.