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


git-svn-id: https://develop.svn.wordpress.org/trunk@36293 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2016-01-14 00:01:10 +00:00
parent b8b68a6a9e
commit f8923e3e07
1 changed files with 2 additions and 2 deletions

View File

@ -1581,10 +1581,10 @@ function wpmu_welcome_user_notification( $user_id, $password, $meta = array() )
} }
/** /**
* Get the current site info. * Get the current network.
* *
* Returns an object containing the 'id', 'domain', 'path', and 'site_name' * Returns an object containing the 'id', 'domain', 'path', and 'site_name'
* properties of the site being viewed. * properties of the network being viewed.
* *
* @see wpmu_current_site() * @see wpmu_current_site()
* *