Make WordPress Core

Changeset 36293


Ignore:
Timestamp:
01/14/2016 12:01:10 AM (9 years ago)
Author:
johnbillion
Message:

Networks and Sites: Clarify the docblock for get_current_site() so it's clear that it returns the current network object, not anything to do with the current site. As a further exercise, the reader is invited to fix the nomenclature surrounding blogs, sites, and networks in WordPress.

Props ericlewis
Fixes #35414

File:
1 edited

Legend:

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

    r36232 r36293  
    15821582
    15831583/**
    1584  * Get the current site info.
     1584 * Get the current network.
    15851585 *
    15861586 * Returns an object containing the 'id', 'domain', 'path', and 'site_name'
    1587  * properties of the site being viewed.
     1587 * properties of the network being viewed.
    15881588 *
    15891589 * @see wpmu_current_site()
Note: See TracChangeset for help on using the changeset viewer.