Support » Plugin: WP-PostRatings » WP-PostRatings deletes last paragraph tag in comments

  • chadrew


    I’m trying to display comment author ratings as explained in the WP-PostRatings FAQ. Everything is working fine, but I noticed enabling comment author ratings results in stripping the closing </p> tag in the comments. Example:

    <p>this is my comment text
    <div class="post-ratings-comment-author">

    So, I’ve tried manually adding the </p> to wp-postratings.php, like this:

    $output .= '</p><div class="post-ratings-comment-author">';

    However, there’s no effect. I have no idea which part of WordPress removes the closing paragraph tag like this.

    For now, I simply put $output before the comments text. Actually, I like that spot even better. Thought I’d report this issue anyway..

  • The topic ‘WP-PostRatings deletes last paragraph tag in comments’ is closed to new replies.