Make WordPress Core


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

    r46586 r47122  
    4040        $this->assertInternalType( 'array', $result );
    4141
    42         // Read Only options
     42        // Read-only options.
    4343        $this->assertEquals( 'WordPress', $result['software_name']['value'] );
    4444        $this->assertTrue( $result['software_name']['readonly'] );
     
    7474        $this->assertTrue( $result['post_thumbnail']['readonly'] );
    7575
    76         // Updatable options
     76        // Updatable options.
    7777        $this->assertEquals( get_option( 'gmt_offset' ), $result['time_zone']['value'] );
    7878        $this->assertTrue( $result['time_zone']['readonly'] );
     
    129129        $this->assertInternalType( 'array', $result );
    130130
    131         // Read Only options
     131        // Read-only options.
    132132        $this->assertEquals( 'WordPress', $result['software_name']['value'] );
    133133        $this->assertTrue( $result['software_name']['readonly'] );
     
    163163        $this->assertTrue( $result['post_thumbnail']['readonly'] );
    164164
    165         // Updatable options
     165        // Updatable options.
    166166        $this->assertEquals( get_option( 'gmt_offset' ), $result['time_zone']['value'] );
    167167        $this->assertFalse( $result['time_zone']['readonly'] );
Note: See TracChangeset for help on using the changeset viewer.