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/mw/getPost.php

    r46586 r47122  
    5252        $this->assertNotIXRError( $result );
    5353
    54         // Check data types
     54        // Check data types.
    5555        $this->assertInternalType( 'string', $result['userid'] );
    5656        $this->assertInternalType( 'int', $result['postid'] );
     
    7777        $post_data = get_post( self::$post_id );
    7878
    79         // Check expected values
     79        // Check expected values.
    8080        $this->assertStringMatchesFormat( '%d', $result['userid'] );
    8181        $this->assertEquals( $post_data->post_title, $result['title'] );
     
    9393        add_theme_support( 'post-thumbnails' );
    9494
    95         // create attachment
     95        // Create attachment.
    9696        $filename      = ( DIR_TESTDATA . '/images/a2-small.jpg' );
    9797        $attachment_id = self::factory()->attachment->create_upload_object( $filename );
Note: See TracChangeset for help on using the changeset viewer.