From f8923e3e07b7ac097a4b82d5a704bdaedbc7f8c5 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 14 Jan 2016 00:01:10 +0000 Subject: [PATCH] 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 --- src/wp-includes/ms-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index e3c15d7630..ecb6a1f3bd 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -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() *