Support » Plugins » Bug in comment_exists() ?

  • Hello WP community,

    I’m developing a tool for DotClear 2 users willing to migrate to WordPress.
    It’s based on the DotClear 1 import script.

    During the comment import process, I found the comment_exists() function located in [wordpress]/wp-admin/includes/comment.php file

    SELECT comment_post_ID FROM

    Should be replace by

    SELECT comment_ID FROM

    per function documentation “@return mixed Comment ID on success.”

    Did I miss something?

  • The topic ‘Bug in comment_exists() ?’ is closed to new replies.