WordPress.org

Ready to get started?Download WordPress

Forums

Top Commentators Widget
E-mail filter problem (2 posts)

  1. ostin654
    Member
    Posted 3 years ago #

    // This prepares e-mails for filtering
    if($options['filterEmail'] != "") {
    	$filterEmail = trim($options['filterEmail']);
    	$filterEmail = explode(",", $filterEmail);
    	for($i=0; $i<count($filterUrl); $i++) {
    		$new_emails .= " AND comment_author_email NOT LIKE '%" . trim($filterEmail[$i]) . "%'";
    	}
    	$filterEmail = $new_emails;
    }

    this does not work
    for($i=0; $i<count($filterUrl); $i++) {
    must be
    for($i=0; $i<count($filterEmail); $i++) {

    http://wordpress.org/extend/plugins/top-commentators-widget/

  2. webgrrrl
    Member
    Plugin Author

    Posted 3 years ago #

    @ostin654: thanks for the debugging info. I'll be sure to put this up in the next update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic