WordPress.org

Forums

Disqus Comment System
'dsq_sync_comments()' function bug (3 posts)

  1. geekyjohn
    Member
    Posted 2 years ago #

    The dsq_sync_comments() function in disqus-comment-system/disqus.php (line 285) throws an error since WordPress 3.5.

    wpdb::prepare() expects 2 arguments now and only 1 is provided. This is due to wpdb::prepare() now enforcing you to provide the 2 arguments.

    See http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

    http://wordpress.org/extend/plugins/disqus-comment-system/

  2. azn137
    Member
    Posted 2 years ago #

    Is this why the comments haven't been synced since 3.5?

  3. bluantinoo
    Member
    Posted 2 years ago #

    This is a security issue, a possibile SQL injection vulnerability of the plugin. But should not prevent the function to work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Disqus Comment System
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.