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

    r46586 r47122  
    5858                        $post = get_post( $result['postid'] );
    5959
    60                         // Check data types
     60                        // Check data types.
    6161                        $this->assertInternalType( 'string', $result['userid'] );
    6262                        $this->assertInternalType( 'string', $result['postid'] );
     
    8080                        $this->assertInternalType( 'string', $result['wp_post_format'] );
    8181
    82                         // Check expected values
     82                        // Check expected values.
    8383                        $this->assertStringMatchesFormat( '%d', $result['userid'] );
    8484                        $this->assertStringMatchesFormat( '%d', $result['postid'] );
     
    9898                add_theme_support( 'post-thumbnails' );
    9999
    100                 // create attachment
     100                // Create attachment.
    101101                $filename      = ( DIR_TESTDATA . '/images/a2-small.jpg' );
    102102                $attachment_id = self::factory()->attachment->create_upload_object( $filename, self::$post_id );
Note: See TracChangeset for help on using the changeset viewer.