From 56e7d960702804ffeb91742bac99c7ccf684169f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 11 Mar 2019 10:56:39 +0000 Subject: [PATCH] Docs: Improve wording in a comment in `wp_set_current_user()`. Props nielsdeblaauw. Fixes #45032. git-svn-id: https://develop.svn.wordpress.org/trunk@44826 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 0e9d4ad2f0..c0fc26140f 100644 --- a/src/wp-includes/pluggable.php +++ b/src/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 )