Wizzart - Recent Comments
bug in displaying posts with links (1 post)

  1. menkaur
    Posted 4 years ago #

    Hey! I noticed that the plugin was displaying the posts with links incorrectly on my blog and fixed it by adding a line:

    if(count($comments)) { // if there are comments fetched (else dont show the widget)
    				$output = "";
    				foreach($comments as $comment) {
    					<code>-></code>$comment->comment_content = preg_replace("/\<a(.*)\>(.*)\<\/a\>/iU", "$2", $comment->comment_content);

    it strips comment text of links before displaying them.

    Please, upgrade the original plugin code


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wizzart - Recent Comments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic