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/post/getPageUri.php

    r46586 r47122  
    4141                );
    4242
    43                 // check the parent for good measure
     43                // Check the parent for good measure.
    4444                $this->assertEquals( 'parent', get_page_uri( $parent_id ) );
    4545
    46                 // try the child normally
     46                // Try the child normally.
    4747                $this->assertEquals( 'parent/child', get_page_uri( $child_id ) );
    4848
    49                 // now delete the parent from the database and check
     49                // Now delete the parent from the database and check.
    5050                wp_delete_post( $parent_id, true );
    5151                $this->assertEquals( 'child', get_page_uri( $child_id ) );
Note: See TracChangeset for help on using the changeset viewer.