From 260b9917d740a29b0893ae6ef3cebc91355171a7 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 3 Oct 2017 17:43:37 +0000 Subject: [PATCH] Docs: Correct some `@since MU` notation that was broken in [41200]. Every function introduced by MU was introduced in 3.0.0 as this was when MU was merged. See #41509 git-svn-id: https://develop.svn.wordpress.org/trunk@41714 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-deprecated.php | 4 ++-- src/wp-includes/ms-functions.php | 16 ++++++++-------- src/wp-includes/user.php | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/wp-includes/ms-deprecated.php b/src/wp-includes/ms-deprecated.php index 37fb310bb6..e1f917678d 100644 --- a/src/wp-includes/ms-deprecated.php +++ b/src/wp-includes/ms-deprecated.php @@ -379,7 +379,7 @@ function get_blogaddress_by_domain( $domain, $path ) { /** * Create an empty blog. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * @deprecated 4.4.0 * * @param string $domain The new blog's domain. @@ -415,7 +415,7 @@ function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) { /** * Get the admin for a domain/path combination. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * @deprecated 4.4.0 * * @global wpdb $wpdb WordPress database abstraction object. diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 67bdae89c7..1f46bf0b0e 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -10,7 +10,7 @@ /** * Gets the network's site and user counts. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * * @return array Site and user count for the network. */ @@ -32,7 +32,7 @@ function get_sitestats() { * is added as a Subscriber to the Dashboard Blog and that blog * is returned. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * * @param int $user_id The unique ID of the user * @return WP_Site|void The blog object @@ -96,7 +96,7 @@ function get_active_blog_for_user( $user_id ) { * * The count is cached and updated twice daily. This is not a live count. * - * @since MU (3.0.0) 2.7 + * @since MU (3.0.0) * @since 4.8.0 The $network_id parameter has been added. * * @param int|null $network_id ID of the network. Default is the current network. @@ -111,7 +111,7 @@ function get_user_count( $network_id = null ) { * * The count is cached and updated twice daily. This is not a live count. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * @since 3.7.0 The $network_id parameter has been deprecated. * @since 4.8.0 The $network_id parameter is now being used. * @@ -125,7 +125,7 @@ function get_blog_count( $network_id = null ) { /** * Get a blog post from any site on the network. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * * @param int $blog_id ID of the blog. * @param int $post_id ID of the post you're looking for. @@ -144,7 +144,7 @@ function get_blog_post( $blog_id, $post_id ) { * * Use the {@see 'add_user_to_blog'} action to fire an event when users are added to a blog. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * * @param int $blog_id ID of the blog you're adding the user to. * @param int $user_id ID of the user you're adding. @@ -217,7 +217,7 @@ function add_user_to_blog( $blog_id, $user_id, $role ) { * Accepts an optional `$reassign` parameter, if you want to * reassign the user's blog posts to another user upon removal. * - * @since MU (3.0.0) 1.0 + * @since MU (3.0.0) * * @global wpdb $wpdb WordPress database abstraction object. * @@ -320,7 +320,7 @@ function get_blog_permalink( $blog_id, $post_id ) { * subdirectory '/blog1/'. With subdomains like blog1.example.com, * $domain is 'blog1.example.com' and $path is '/'. * - * @since MU (3.0.0) 2.6.5 + * @since MU (3.0.0) * * @global wpdb $wpdb WordPress database abstraction object. * diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 5cd0af729b..1c1e466bf4 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -692,7 +692,7 @@ function get_blogs_of_user( $user_id, $all = false ) { /** * Find out whether a user is a member of a given blog. * - * @since MU (3.0.0) 1.1 + * @since MU (3.0.0) * * @global wpdb $wpdb WordPress database abstraction object. *