Make WordPress Core

Changeset 38781


Ignore:
Timestamp:
10/12/2016 01:09:29 AM (9 years ago)
Author:
jeremyfelt
Message:

Multisite: Clarify that get_site_by_path() does not return exact matches.

Props stevenlinx.
Fixes #38152.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-load.php

    r38681 r38781  
    135135
    136136/**
    137  * Retrieve a site object by its domain and path.
     137 * Retrieves 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
Note: See TracChangeset for help on using the changeset viewer.