From 761644c636a66aedcb5a2b0685ab54edda560f47 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 4 Feb 2020 19:40:06 +0000 Subject: [PATCH] Docs: Improve description for `add_user_to_blog()` and `remove_user_from_blog()` parameters. See #48303. Built from https://develop.svn.wordpress.org/trunk@47174 git-svn-id: http://core.svn.wordpress.org/trunk@46974 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 5dd1891201..147f07f89a 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -137,7 +137,7 @@ function get_blog_count( $network_id = null ) { * @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. + * @param int $post_id ID of the post being looked for. * @return WP_Post|null WP_Post on success or null on failure */ function get_blog_post( $blog_id, $post_id ) { @@ -155,8 +155,8 @@ function get_blog_post( $blog_id, $post_id ) { * * @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. + * @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 * @return true|WP_Error True on success or a WP_Error object if the user doesn't exist * or could not be added. @@ -234,8 +234,8 @@ function add_user_to_blog( $blog_id, $user_id, $role ) { * * @global wpdb $wpdb WordPress database abstraction object. * - * @param int $user_id ID of the user you're removing. - * @param int $blog_id Optional. ID of the blog you're removing the user from. Default 0. + * @param int $user_id ID of the user being removed. + * @param int $blog_id Optional. ID of the blog the user is being removed from. Default 0. * @param int $reassign Optional. ID of the user to whom to reassign posts. Default 0. * @return true|WP_Error True on success or a WP_Error object if the user doesn't exist. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 6dd77a7d4b..f75b07561f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47173'; +$wp_version = '5.4-alpha-47174'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.