Exemplo n.º 1
0
/**
 * Overrides the wp_redirect() function so we can ensure headers are
 * composed when and how they should be
 *
 * @uses TestCase::wp_redirect()  to store the data for later comparison
 */
function wp_redirect($location, $status = 302)
{
    TestCase::wp_redirect($location, $status);
}