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
This commit is contained in:
Sergey Biryukov 2020-07-20 11:54:05 +00:00
parent 689c224476
commit 637d9df95a
2 changed files with 3 additions and 3 deletions

View File

@ -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.
*/

View File

@ -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.