WordPress.org

Make WordPress Core

Changeset 37319


Ignore:
Timestamp:
04/27/2016 06:24:34 PM (4 years ago)
Author:
ericlewis
Message:

Build/Test Tools: Document WP_UnitTestCase->go_to()

Fixes #36679.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase.php

    r37071 r37319  
    413413    }
    414414
     415    /**
     416     * Modify WordPress's query internals as if a given URL has been requested.
     417     *
     418     * @param string $url The URL for the request.
     419     */
    415420    function go_to( $url ) {
    416421        // note: the WP and WP_Query classes like to silently fetch parameters
Note: See TracChangeset for help on using the changeset viewer.