Make WordPress Core


Ignore:
Timestamp:
05/15/2021 05:36:49 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #52628.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/pluggable.php

    r50790 r50916  
    329329     */
    330330    public function test_get_user_by_should_return_same_instance_as_wp_get_current_user() {
    331         // Create a test user
     331        // Create a test user.
    332332        $new_user = self::factory()->user->create( array( 'role' => 'subscriber' ) );
    333333
    334         // Set the test user as the current user
     334        // Set the test user as the current user.
    335335        $current_user = wp_set_current_user( $new_user );
    336336
    337         // Get the test user using get_user_by()
     337        // Get the test user using get_user_by().
    338338        $from_get_user_by = get_user_by( 'id', $new_user );
    339339
Note: See TracChangeset for help on using the changeset viewer.