You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ES_WP_Query mimics this behavior in \ES_WP_Query_Wrapper::parse_search(), but \ES_WP_Query_Shoehorn::reboot_query_vars() puts the original s back into the query, causing the slashed string to be returned in get_search_query() and functions relying on it like wp_get_document_title().
The text was updated successfully, but these errors were encountered:
WP_Query
callsstripslashes()
on thes
query var when parsing searches: https://github.com/WordPress/wordpress-develop/blob/eb06a59f536692e9499b89abd3f156ff56d3075e/src/wp-includes/class-wp-query.php#L1338-L1341ES_WP_Query
mimics this behavior in\ES_WP_Query_Wrapper::parse_search()
, but\ES_WP_Query_Shoehorn::reboot_query_vars()
puts the originals
back into the query, causing the slashed string to be returned inget_search_query()
and functions relying on it likewp_get_document_title()
.The text was updated successfully, but these errors were encountered: