Hi, I'm using next_post_link as described in the Codex, and on upgrading to WP 2.3, it got broken. There is no information (that I can find) in the Codex on what to do.
I am calling this:
<?php next_post_link('%link', '< Next', FALSE, '25, 26, 27, 28, 29, 30'); ?>
And I am getting this:
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 p.ID != 496 ORDER BY p.post_date ASC LIMIT 1' at line 1] SELECT p.ID, p.post_title FROM wp_posts AS p WHERE p.post_date > '2007-09-07 10:03:31' AND p.post_type = 'post' AND p.post_status = 'publish' AND p.ID NOT IN () AND p.ID != 496 ORDER BY p.post_date ASC LIMIT 1...
Anyone have a solution?