WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/03/2010 11:38:38 PM (11 years ago)
Author:
nacin
Message:

Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780

File:
1 edited

Legend:

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

    r13922 r13978  
    687687
    688688    if ( empty($query) )
    689         $search = get_search_query();
     689        $search = get_search_query( false );
    690690    else
    691691        $search = stripslashes($query);
Note: See TracChangeset for help on using the changeset viewer.