[wp-trac] [WordPress Trac] #11374: the_search_query() removes backslashes
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 9 19:20:50 UTC 2009
#11374: the_search_query() removes backslashes
--------------------------+-------------------------------------------------
Reporter: TobiasBg | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.7
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Local test installations of WP 2.7, 2.8 and trunk (all with default theme,
no plugins) do this:
On the frontend, search for something like AC\DC (I know that in their
name it is a /, but anyway.)
The search seems to perform correctly (at least there are double
backslashes \\ in the SQL WHERE clause), but on the result page, the
search term became ACDC (without backslash) in the search form field and
right below it.
It should still be AC\DC though (so that I don't have to add it again, if
I want for example modify my search query).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11374>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list