Make WordPress Core

Changeset 36893


Ignore:
Timestamp:
03/09/2016 07:27:56 AM (9 years ago)
Author:
jeremyfelt
Message:

Docs: Update the return type for get_current_site()

This is now a WP_Network object.

See #32246.

File:
1 edited

Legend:

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

    r36827 r36893  
    15911591 * @since MU
    15921592 *
    1593  * @global object $current_site
    1594  *
    1595  * @return object
     1593 * @global WP_Network $current_site
     1594 *
     1595 * @return WP_Network
    15961596 */
    15971597function get_current_site() {
Note: See TracChangeset for help on using the changeset viewer.