WordPress.org

Make WordPress Core

Changeset 755 in tests


Ignore:
Timestamp:
06/30/12 07:49:45 (22 months ago)
Author:
markjaquith
Message:

Test case for URL encoded search terms. see #WP13961 and [WP21187]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-testcase/test_query.php

    r407 r755  
    306306    } 
    307307 
     308    function test_search_encoded_chars() { 
     309        $this->http('/search/F%C3%BCnf%2Bbar/'); 
     310        $this->assertEquals( get_query_var( 's' ), 'Fünf+bar' ); 
     311    } 
     312 
    308313    // 'category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&feed=$matches[2]', 
    309314    // 'category/(.+?)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&feed=$matches[2]', 
Note: See TracChangeset for help on using the changeset viewer.