WordPress.org

Make WordPress Core

Changeset 446 in tests


Ignore:
Timestamp:
10/05/2011 10:55:07 AM (7 years ago)
Author:
dd32
Message:

Canonical Test case: Extra query vars on taxonomy url's should be encoded. See #WP18086

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_canonical.php

    r444 r446  
    124124            array( '/category/uncategorized/?tag=post-formats', array( 'url' => '/category/uncategorized/?tag=post-formats', 'qv' => array('category_name' => 'uncategorized', 'tag' => 'post-formats') ) ),
    125125            array( '/?category_name=cat-a,cat-b', array( 'url' => '/?category_name=cat-a,cat-b', 'qv' => array( 'category_name' => 'cat-a,cat-b' ) ) ),
     126
     127            // Taxonomies with extra Query Vars
     128            array( '/category/cat-a/page/1/?test=one%20two', '/category/cat-a/?test=one%20two', 18086), // Extra query vars should stay encoded
    126129
    127130            // Categories with Dates
Note: See TracChangeset for help on using the changeset viewer.