Version Description
- 2013-07-19 =
- removed labels from plugin markup because some themes try to get text from labels and insert it into inputs like placeholders (what cause an error)
- added info to FAQ section that Anti-spam plugin does not work with Jetpack Comments
Download this release
Release Info
Developer | webvitaly |
Plugin | Anti-spam |
Version | 1.8 |
Comparing to | |
See all releases |
Code changes from version 1.7 to 1.8
- anti-spam.php +4 -4
- readme.txt +23 -4
anti-spam.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Anti-spam
|
4 |
Plugin URI: http://wordpress.org/plugins/anti-spam/
|
5 |
Description: No spam in comments. No captcha.
|
6 |
-
Version: 1.
|
7 |
Author: webvitaly
|
8 |
Author URI: http://web-profile.com.ua/wordpress/plugins/
|
9 |
License: GPLv2 or later
|
@@ -15,7 +15,7 @@ $antispam_allow_trackbacks = false; // if true, than trackbacks will be allowed
|
|
15 |
// trackbacks almost not used by users, but mostly used by spammers; pingbacks are always enabled
|
16 |
// more about the difference between trackback and pingback - http://web-profile.com.ua/web/trackback-vs-pingback/
|
17 |
|
18 |
-
$antispam_version = '1.
|
19 |
|
20 |
|
21 |
if ( ! function_exists( 'antispam_scripts_styles_init' ) ) :
|
@@ -35,14 +35,14 @@ if ( ! function_exists( 'antispam_form_part' ) ) :
|
|
35 |
if ( ! is_user_logged_in() ) { // add anti-spam fields only for not logged in users
|
36 |
$antispam_form_part = '
|
37 |
<p class="comment-form-anti-spam" style="clear:both;">
|
38 |
-
<
|
39 |
<input type="hidden" name="anti-spam-a" id="anti-spam-a" value="'.date('Y').'" />
|
40 |
<input type="text" name="anti-spam-q" id="anti-spam-q" size="30" value="1980" />
|
41 |
</p>
|
42 |
'; // question (hidden with js) [aria-required="true" required="required"]
|
43 |
$antispam_form_part .= '
|
44 |
<p class="comment-form-anti-spam-2" style="display:none;">
|
45 |
-
<
|
46 |
<input type="text" name="anti-spam-e-email-url" id="anti-spam-e-email-url" size="30" value=""/>
|
47 |
</p>
|
48 |
'; // empty field (hidden with css)
|
3 |
Plugin Name: Anti-spam
|
4 |
Plugin URI: http://wordpress.org/plugins/anti-spam/
|
5 |
Description: No spam in comments. No captcha.
|
6 |
+
Version: 1.8
|
7 |
Author: webvitaly
|
8 |
Author URI: http://web-profile.com.ua/wordpress/plugins/
|
9 |
License: GPLv2 or later
|
15 |
// trackbacks almost not used by users, but mostly used by spammers; pingbacks are always enabled
|
16 |
// more about the difference between trackback and pingback - http://web-profile.com.ua/web/trackback-vs-pingback/
|
17 |
|
18 |
+
$antispam_version = '1.8';
|
19 |
|
20 |
|
21 |
if ( ! function_exists( 'antispam_scripts_styles_init' ) ) :
|
35 |
if ( ! is_user_logged_in() ) { // add anti-spam fields only for not logged in users
|
36 |
$antispam_form_part = '
|
37 |
<p class="comment-form-anti-spam" style="clear:both;">
|
38 |
+
<strong>Current <span style="display:none;">month</span> <span style="display:inline;">ye@r</span> <span style="display:none;">day</span></strong> <span class="required">*</span>
|
39 |
<input type="hidden" name="anti-spam-a" id="anti-spam-a" value="'.date('Y').'" />
|
40 |
<input type="text" name="anti-spam-q" id="anti-spam-q" size="30" value="1980" />
|
41 |
</p>
|
42 |
'; // question (hidden with js) [aria-required="true" required="required"]
|
43 |
$antispam_form_part .= '
|
44 |
<p class="comment-form-anti-spam-2" style="display:none;">
|
45 |
+
<strong>Leave this field empty</strong> <span class="required">*</span>
|
46 |
<input type="text" name="anti-spam-e-email-url" id="anti-spam-e-email-url" size="30" value=""/>
|
47 |
</p>
|
48 |
'; // empty field (hidden with css)
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: webvitaly
|
|
3 |
Donate link: http://web-profile.com.ua/donate/
|
4 |
Tags: spam, spammer, spammers, comment, comments, antispam, anti-spam, block-spam, spamfree, spam-free, spambot, spam-bot, bot
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.5.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -24,10 +24,13 @@ Anti-spam plugin blocks spam in comments automatically, invisibly for users and
|
|
24 |
Plugin is easy to use: just install it and it just works.
|
25 |
Need [more info about the plugin](http://wordpress.org/plugins/anti-spam/faq/)?
|
26 |
|
|
|
|
|
|
|
27 |
= Useful: =
|
|
|
28 |
* ["Page-list" - show list of pages with shortcodes](http://wordpress.org/plugins/page-list/ "list of pages with shortcodes")
|
29 |
-
* ["
|
30 |
-
* ["activetab" - responsive light theme](http://wordpress.org/themes/activetab "responsive light theme")
|
31 |
|
32 |
== Installation ==
|
33 |
|
@@ -47,6 +50,18 @@ If the spammer tries to submit comment form, he will make a mistake with answer
|
|
47 |
You may enable sending all rejected spam comments to admin email.
|
48 |
Edit [anti-spam.php](http://plugins.trac.wordpress.org/browser/anti-spam/trunk/anti-spam.php) file and find "$antispam_send_spam_comment_to_admin" and make it "true".
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
= What is the percentage of spam blocked? =
|
51 |
|
52 |
Anti-spam plugin blocks about 99.9% of automatic spam messages (sent by spam-bots via post requests).
|
@@ -78,6 +93,10 @@ Do not order products from spam. If spam will be less effective than spammers wi
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
81 |
= 1.7 - 2013-05-31 =
|
82 |
* if site has caching plugin enabled and cache is not cleared or if theme does not use 'comment_form' action - Anti-spam plugin does not worked; so now whole input added via javascript if it does not exist in html
|
83 |
|
3 |
Donate link: http://web-profile.com.ua/donate/
|
4 |
Tags: spam, spammer, spammers, comment, comments, antispam, anti-spam, block-spam, spamfree, spam-free, spambot, spam-bot, bot
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.5.2
|
7 |
+
Stable tag: 1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
24 |
Plugin is easy to use: just install it and it just works.
|
25 |
Need [more info about the plugin](http://wordpress.org/plugins/anti-spam/faq/)?
|
26 |
|
27 |
+
After installing the Anti-spam plugin **try to submit a comment on your site being logged out**.
|
28 |
+
If you get an error - you may check the solution in the [Support section](http://wordpress.org/support/plugin/anti-spam) or submit a new topic with detailed description of your problem.
|
29 |
+
|
30 |
= Useful: =
|
31 |
+
* ["activetab" - responsive clean theme](http://wordpress.org/themes/activetab "responsive clean theme")
|
32 |
* ["Page-list" - show list of pages with shortcodes](http://wordpress.org/plugins/page-list/ "list of pages with shortcodes")
|
33 |
+
* ["Filenames to latin" - sanitize filenames to latin during upload](http://wordpress.org/plugins/filenames-to-latin/ "sanitize filenames to latin")
|
|
|
34 |
|
35 |
== Installation ==
|
36 |
|
50 |
You may enable sending all rejected spam comments to admin email.
|
51 |
Edit [anti-spam.php](http://plugins.trac.wordpress.org/browser/anti-spam/trunk/anti-spam.php) file and find "$antispam_send_spam_comment_to_admin" and make it "true".
|
52 |
|
53 |
+
= Does Anti-spam plugin work with Jetpack Comments? =
|
54 |
+
|
55 |
+
Anti-spam plugin does not work with [Jetpack Comments](http://jetpack.me/support/comments/).
|
56 |
+
Jetpack Comments use iframe to insert comment form and it is impossible to access it via javascript because of security reasons.
|
57 |
+
If you use Jetpack Comments - you should find some other plugin to block spam.
|
58 |
+
You could try [Akismet](http://wordpress.org/plugins/akismet/), it is compatible with Jetpack Comments.
|
59 |
+
|
60 |
+
= Does Anti-spam plugin work with ajax comments forms? =
|
61 |
+
|
62 |
+
Some themes, for example [p2](http://wordpress.org/themes/p2), use ajax to submit comment.
|
63 |
+
But if the script of the theme will not submit extra Anti-spam fields - so Anti-spam plugin will not work.
|
64 |
+
|
65 |
= What is the percentage of spam blocked? =
|
66 |
|
67 |
Anti-spam plugin blocks about 99.9% of automatic spam messages (sent by spam-bots via post requests).
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 1.8 - 2013-07-19 =
|
97 |
+
* removed labels from plugin markup because some themes try to get text from labels and insert it into inputs like placeholders (what cause an error)
|
98 |
+
* added info to FAQ section that Anti-spam plugin does not work with Jetpack Comments
|
99 |
+
|
100 |
= 1.7 - 2013-05-31 =
|
101 |
* if site has caching plugin enabled and cache is not cleared or if theme does not use 'comment_form' action - Anti-spam plugin does not worked; so now whole input added via javascript if it does not exist in html
|
102 |
|