WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Only search for duplicates on the WordPress site

[Resolved] Only search for duplicates on the WordPress site

  • Hi guys,
    your plugin helped my with my problem after editing a line. The problem: I don’t wanted to know if there are duplicates in other sites of the web but if there are duplicates on my own site.
    I’ve edited the following line to get the problem solved:

    plagiarism.php Line 393

    $domains = explode("\n", $this->get_user_option('plagiarism_exclude_domains'));
    	reset($domains);
    	$q = '';
    	foreach($domains as $domain){
    	  $domain = trim($domain);
    	  if($domain != ''){
    	    $q .= " -site:* +site:$domain";
    	  }
    	}

    So with this query “$q .= ” -site:* +site:$domain”;” the plugin is searching the web excluding every site except my own site.

    Maybe you can add this function in a more effective way.
    Cheers!

    http://wordpress.org/plugins/plagiarism/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Only search for duplicates on the WordPress site’ is closed to new replies.