summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/search/class.jetpack-search-helpers.php')
-rw-r--r--plugins/jetpack/modules/search/class.jetpack-search-helpers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/search/class.jetpack-search-helpers.php b/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
index e235ba9a..27526b4c 100644
--- a/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
+++ b/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
@@ -30,7 +30,7 @@ class Jetpack_Search_Helpers {
* @return string The search URL.
*/
static function get_search_url() {
- $query_args = $_GET;
+ $query_args = stripslashes_deep( $_GET );
// Handle the case where a permastruct is being used, such as /search/{$query}
if ( ! isset( $query_args['s'] ) ) {