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:
parent
b8b68a6a9e
commit
f8923e3e07
@ -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'
|
||||
* properties of the site being viewed.
|
||||
* properties of the network being viewed.
|
||||
*
|
||||
* @see wpmu_current_site()
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user