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/term/cache.php

    r46586 r47122  
    1515     */
    1616    function test_category_children_cache() {
    17         // Test with only one Parent => Child
     17        // Test with only one Parent => Child.
    1818        $term_id1       = self::factory()->category->create();
    1919        $term_id1_child = self::factory()->category->create( array( 'parent' => $term_id1 ) );
     
    2222        $this->assertEquals( array( $term_id1 => array( $term_id1_child ) ), $hierarchy );
    2323
    24         // Add another Parent => Child
     24        // Add another Parent => Child.
    2525        $term_id2       = self::factory()->category->create();
    2626        $term_id2_child = self::factory()->category->create( array( 'parent' => $term_id2 ) );
Note: See TracChangeset for help on using the changeset viewer.