Make WordPress Core

Changeset 28009


Ignore:
Timestamp:
04/07/2014 09:27:13 PM (11 years ago)
Author:
nacin
Message:

Formally deprecate wpmu_current_site().

props jeremyfelt.
fixes #27702.

File:
1 edited

Legend:

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

    r28006 r28009  
    275275
    276276    return $network;
    277 }
    278 
    279 /**
    280  * @todo deprecate
    281  */
    282 function wpmu_current_site() {
    283277}
    284278
     
    425419    return $current_site;
    426420}
     421
     422/**
     423 * This deprecated function managed much of the site and network loading in multisite.
     424 *
     425 * The current bootstrap code is now responsible for parsing the site and network load as
     426 * well as setting the global $current_site object.
     427 *
     428 * @access private
     429 * @since 3.0.0
     430 * @deprecated 3.9.0
     431 *
     432 * @return object
     433 */
     434function wpmu_current_site() {
     435    global $current_site;
     436    _deprecated_function( __FUNCTION__, '3.9' );
     437    return $current_site;
     438}
Note: See TracChangeset for help on using the changeset viewer.