Upgrading WordPress from 3.0.5 to 3.1 I realized that the function
<?php the_search_query(); ?>
and also get_search_query() is giving different results on WordPress 3.1
while a search for:
will display as ‚wordpress custom query‚ using the_search_query()
a search with the url /search/ like this:
go41.de/search/wordpress custom query/
will display as ‚wordpress%20custom%20query‚ with the urlencoded space ‚%20‘
To show this on screen correctly I have to use
I might be the only one getting the search query $s in this way, but anyway it’s strange..
Anyone an idea what to do instead?
Sorry, no posts matched your criteria.