Make WordPress Core


Ignore:
Timestamp:
03/11/2019 10:56:39 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve wording in a comment in wp_set_current_user().

Props nielsdeblaauw.
Fixes #45032.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r44611 r44826  
    2727        global $current_user;
    2828
    29         // If `$id` matches the user who's already current, there's nothing to do.
     29        // If `$id` matches the current user, there is nothing to do.
    3030        if ( isset( $current_user )
    3131        && ( $current_user instanceof WP_User )
Note: See TracChangeset for help on using the changeset viewer.