From 931f8046d3ab430b6b355428f8d85d9ab1591d1f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 11 Mar 2019 10:57:55 +0000 Subject: [PATCH] Docs: Improve wording in a comment in `wp_set_current_user()`. Props nielsdeblaauw. Fixes #45032. Built from https://develop.svn.wordpress.org/trunk@44826 git-svn-id: http://core.svn.wordpress.org/trunk@44658 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 0e9d4ad2f0..c0fc26140f 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -26,7 +26,7 @@ if ( ! function_exists( 'wp_set_current_user' ) ) : function wp_set_current_user( $id, $name = '' ) { global $current_user; - // If `$id` matches the user who's already current, there's nothing to do. + // If `$id` matches the current user, there is nothing to do. if ( isset( $current_user ) && ( $current_user instanceof WP_User ) && ( $id == $current_user->ID ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 1426bdb3fa..e92f2a3c9c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-alpha-44825'; +$wp_version = '5.2-alpha-44826'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.