Commit 1524fc32 authored by Craig Fay's avatar Craig Fay

Merge branch 'issue#3851-dep' into 'develop'

Escaped user input into search box.

Closes #3851

See merge request !3745
parents 2d7914a5 8c36dbe1
Pipeline #912 passed with stages
in 1 minute and 31 seconds
......@@ -593,6 +593,7 @@ class NF_Subs_CPT {
foreach ($keywords as $word) {
$wpdb->escape_by_ref( $word );
$query .= " (mypm1.meta_value LIKE '%{$word}%') OR ";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment