From 637d9df95aeb1b62bd2cd1f43e2dd69c3329d292 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 20 Jul 2020 11:54:05 +0000 Subject: [PATCH] Docs: Improve description for `add_user_to_blog()`. Props stevenlinx. Fixes #50701. Built from https://develop.svn.wordpress.org/trunk@48511 git-svn-id: http://core.svn.wordpress.org/trunk@48273 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 3d670188cd..583d4a213c 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -152,7 +152,7 @@ function get_blog_post( $blog_id, $post_id ) { } /** - * Adds a user to a blog. + * Adds a user to a blog, along with specifying the user's role. * * Use the {@see 'add_user_to_blog'} action to fire an event when users are added to a blog. * @@ -160,7 +160,7 @@ function get_blog_post( $blog_id, $post_id ) { * * @param int $blog_id ID of the blog the user is being added to. * @param int $user_id ID of the user being added. - * @param string $role The role you want the user to have + * @param string $role The role you want the user to have. * @return true|WP_Error True on success or a WP_Error object if the user doesn't exist * or could not be added. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 31b6dc5e3a..c1daa1ba37 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta2-48510'; +$wp_version = '5.5-beta2-48511'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.