--- wp-hashcash-original.php 2010-04-05 11:00:14.000000000 +0200 +++ wp-hashcash.php 2010-04-05 11:21:07.000000000 +0200 @@ -476,15 +476,19 @@ for($i = 0; $i < count($js); $i++){ $js[$i] = $js[$i] ^ $key; } + $js=apply_filters('wphc_jskey',$js); // libs function encapsulation $libs = "function wphc(){\n"; // write bytes to javascript, xor with key $libs .= "\tvar wphc_data = [".join(',',$js)."]; \n"; + + $libs .= "\t\t//WPHC1\n"; //Placeholder - replace this comment in filter to apply custom 'security' // do the xor with key $libs .= "\n\tfor (var i=0; i'; - echo '

' . __('Powered by', 'wp-hashcash') . ' WP Hashcash

'; - echo ''; + echo '

' . __('Powered by', 'wp-hashcash') . ' WP Hashcash

'; + echo ''; } add_action('comment_form', 'wphc_add_commentform');