WordPress.org

Support

Support » How-To and Troubleshooting » comments_rss_link Bug

comments_rss_link Bug

  • Jeremy Clark

    @jeremyclark13

    Member

    I’ve looked through trac and didn’t see anything about this. Just wondering if anyone else can confirm this bug. When using the default permalinks settings and using the comments_rss_link function to display comments for a page clicking on the link it generates causes a mysql syntax error. The complete error follows.

    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 comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 10' at line 1]
    SELECT wp2_comments.* FROM wp2_comments WHERE comment_post_ID = AND comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 10
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘comments_rss_link Bug’ is closed to new replies.
Skip to toolbar