WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
WP-PostRatings deletes last paragraph tag in comments (1 post)

  1. chadrew
    Member
    Posted 2 years ago #

    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..

    http://wordpress.org/extend/plugins/wp-postratings/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by chadrew
  • This topic is not a support question
  • WordPress version: 3.2.1