WordPress.org

Make WordPress Core


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

    r46586 r47122  
    2121
    2222    public static function wpSetUpBeforeClass( $factory ) {
    23         // note that our top/children/grandchildren arrays are 1-indexed
    24 
    25         // create top level pages
     23        // Note that our top/children/grandchildren arrays are 1-indexed.
     24
     25        // Create top-level pages.
    2626        $num_posts = 5;
    2727        foreach ( range( 1, $num_posts ) as $i ) {
     
    3737        }
    3838
    39         // create child pages
     39        // Create child pages.
    4040        $num_children = 3;
    4141        foreach ( self::$top as $top => $top_page ) {
     
    5454        }
    5555
    56         // create grand-child pages for the third and fourth top-level pages
     56        // Create grand-child pages for the third and fourth top-level pages.
    5757        $num_grandchildren = 3;
    5858        foreach ( range( 3, 4 ) as $top ) {
     
    145145     */
    146146    function test_grandchildren_hierarchical_pages_first_page() {
    147         // page 6 is the first page with grandchildren
     147        // Page 6 is the first page with grandchildren.
    148148        $this->_test_list_hierarchical_page(
    149149            array(
     
    164164     */
    165165    function test_grandchildren_hierarchical_pages_second_page() {
    166         // page 7 is the second page with grandchildren
     166        // Page 7 is the second page with grandchildren.
    167167        $this->_test_list_hierarchical_page(
    168168            array(
Note: See TracChangeset for help on using the changeset viewer.