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/canonical/pageOnFront.php

    r46586 r47122  
    4141
    4242    function data() {
    43         /* Format:
    44          * [0]: $test_url,
    45          * [1]: expected results: Any of the following can be used
     43        /*
     44         * Data format:
     45         * [0]: Test URL.
     46         * [1]: Expected results: Any of the following can be used.
    4647         *      array( 'url': expected redirection location, 'qv': expected query vars to be set via the rewrite AND $_GET );
    4748         *      array( expected query vars to be set, same as 'qv' above )
     
    5051         */
    5152        return array(
    52             // Check against an odd redirect
     53            // Check against an odd redirect.
    5354            array( '/page/2/', '/page/2/' ),
    5455            array( '/?page=2', '/page/2/' ),
     
    5657            array( '/?page=1', '/' ),
    5758
    58             // The page designated as the front page should redirect to the front of the site
     59            // The page designated as the front page should redirect to the front of the site.
    5960            array( '/front-page/', '/' ),
    6061            array( '/front-page/2/', '/page/2/' ),
Note: See TracChangeset for help on using the changeset viewer.