string(1883) "AND ((
wp_posts.post_title LIKE '%test%'
OR wp_posts.post_content LIKE '%test%'
OR EXISTS (
SELECT r.object_id
FROM wp_term_relationships AS r
INNER JOIN wp_term_taxonomy AS tt ON r.term_taxonomy_id = tt.term_taxonomy_id
INNER JOIN wp_terms AS t ON tt.term_id = t.term_id
WHERE r.object_id = wp_posts.ID AND
(t.name LIKE '%test%'
OR t.slug LIKE '%test%'
OR tt.description LIKE '%test%')
)
OR EXISTS (
SELECT p.post_id
FROM wp_postmeta AS p
WHERE p.post_id = wp_posts.ID AND p.meta_value LIKE '%test%'
)
) or (
wp_posts.post_title LIKE '%osirase%'
OR wp_posts.post_content LIKE '%osirase%'
OR EXISTS (
SELECT r.object_id
FROM wp_term_relationships AS r
INNER JOIN wp_term_taxonomy AS tt ON r.term_taxonomy_id = tt.term_taxonomy_id
INNER JOIN wp_terms AS t ON tt.term_id = t.term_id
WHERE r.object_id = wp_posts.ID AND
(t.name LIKE '%osirase%'
OR t.slug LIKE '%osirase%'
OR tt.description LIKE '%osirase%')
)
OR EXISTS (
SELECT p.post_id
FROM wp_postmeta AS p
WHERE p.post_id = wp_posts.ID AND p.meta_value LIKE '%osirase%'
)
) or (
wp_posts.post_title LIKE '%test2%'
OR wp_posts.post_content LIKE '%test2%'
OR EXISTS (
SELECT r.object_id
FROM wp_term_relationships AS r
INNER JOIN wp_term_taxonomy AS tt ON r.term_taxonomy_id = tt.term_taxonomy_id
INNER JOIN wp_terms AS t ON tt.term_id = t.term_id
WHERE r.object_id = wp_posts.ID AND
(t.name LIKE '%test2%'
OR t.slug LIKE '%test2%'
OR tt.description LIKE '%test2%')
)
OR EXISTS (
SELECT p.post_id
FROM wp_postmeta AS p
WHERE p.post_id = wp_posts.ID AND p.meta_value LIKE '%test2%'
)
))"