Make WordPress Core


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

    r46586 r47122  
    5050        $this->assertNotIXRError( $result );
    5151
    52         // Check data types
     52        // Check data types.
    5353        $this->assertInternalType( 'string', $result['attachment_id'] );
    5454        $this->assertInternalType( 'int', $result['parent'] );
     
    6161        $this->assertInternalType( 'array', $result['metadata'] );
    6262
    63         // Check expected values
     63        // Check expected values.
    6464        $this->assertStringMatchesFormat( '%d', $result['attachment_id'] );
    6565        $this->assertEquals( $this->attachment_data['post_title'], $result['title'] );
Note: See TracChangeset for help on using the changeset viewer.