Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/xmlrpc/wp/getUser.php

    r46586 r47122  
    1111        parent::setUp();
    1212
    13         // create a super-admin
     13        // Create a super admin.
    1414        $this->administrator_id = $this->make_user_by_role( 'administrator' );
    1515        if ( is_multisite() ) {
     
    7676        $this->assertNotIXRError( $result );
    7777
    78         // check data types
     78        // Check data types.
    7979        $this->assertInternalType( 'string', $result['user_id'] );
    8080        $this->assertStringMatchesFormat( '%d', $result['user_id'] );
     
    9191        $this->assertInternalType( 'array', $result['roles'] );
    9292
    93         // check expected values
     93        // Check expected values.
    9494        $this->assertEquals( $user_id, $result['user_id'] );
    9595        $this->assertEquals( $user_data['user_login'], $result['username'] );
Note: See TracChangeset for help on using the changeset viewer.