We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5846714 commit c7edfd8Copy full SHA for c7edfd8
search.php
@@ -10,7 +10,7 @@
10
* search results page
11
*/
12
13
-if (empty( $_REQUEST['search']) || ! wp_verify_nonce( sanitize_text_field($_REQUEST['search']), 'search' ) ) {
+if (empty( $_REQUEST['search']) || ! wp_verify_nonce(sanitize_text_field(wp_unslash($_REQUEST['search'])), 'search' )) {
14
// 404 ?
15
get_header();
16
echo '<div class="container post"> ';
0 commit comments