WordPress 2.1 Search Engine bug?
-
Hi,
I think I may have found a bug in in the wp 2.1 search engine. If you search for just a space you get the following db error:
If you search for just a space using wordpress 2.1 you get the following DB error:WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) AND (post_type = ‘post’ AND (post_status = ‘publish’ OR post_status = ‘privat’ at line 1]
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND () AND (post_type = ‘post’ AND (post_status = ‘publish’ OR post_status = ‘private’)) ORDER BY post_date DESC LIMIT 0, 25Can anyone confirm this as a wp2.1 bug?
- The topic ‘WordPress 2.1 Search Engine bug?’ is closed to new replies.