Make WordPress Core

Changeset 12356


Ignore:
Timestamp:
12/10/2009 08:07:19 AM (15 years ago)
Author:
markjaquith
Message:

Do not double-stripslashes() on get_search_query(). fixes #11374

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r12340 r12356  
    17061706 */
    17071707function get_search_query() {
    1708     return apply_filters( 'get_search_query', stripslashes( get_query_var( 's' ) ) );
     1708    return apply_filters( 'get_search_query', get_query_var( 's' ) );
    17091709}
    17101710
Note: See TracChangeset for help on using the changeset viewer.