WordPress.org

Make WordPress Core

Ticket #27702: 27702.diff

File 27702.diff, 953 bytes (added by jeremyfelt, 4 years ago)
  • src/wp-includes/ms-load.php

     
    277277}
    278278
    279279/**
    280  * @todo deprecate
    281  */
    282 function wpmu_current_site() {
    283 }
    284 
    285 /**
    286280 * Retrieve a site object by its domain and path.
    287281 *
    288282 * @since 3.9.0
     
    424418        _deprecated_function( __FUNCTION__, '3.9' );
    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}
     439 No newline at end of file