Make WordPress Core

Ticket #38152: 38152.patch

File 38152.patch, 728 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 005d723..abd70b8 100644
    a b function get_network_by_path( $domain, $path, $segments = null ) { 
    134134}
    135135
    136136/**
    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
     137 * Retrieve a site object by its domain and path.
    145138 *
    146139 * @since 3.9.0
    147140 *