Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 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/uploadFile.php

    r46586 r47122  
    1515                $this->make_user_by_role( 'editor' );
    1616
    17                 // create attachment
     17                // Create attachment.
    1818                $filename = ( DIR_TESTDATA . '/images/a2-small.jpg' );
    1919                $contents = file_get_contents( $filename );
     
    2727                $this->assertNotIXRError( $result );
    2828
    29                 // check data types
     29                // Check data types.
    3030                $this->assertInternalType( 'string', $result['id'] );
    3131                $this->assertStringMatchesFormat( '%d', $result['id'] );
Note: See TracChangeset for help on using the changeset viewer.