Version Description
- Eliminate a potential conflict with some plugins that may cause spurious reports
Download this release
Release Info
| Developer | tellyworth |
| Plugin | |
| Version | 2.2.9 |
| Comparing to | |
| See all releases | |
Code changes from version 2.2.8 to 2.2.9
- akismet.php +3 -3
- readme.txt +5 -1
akismet.php
CHANGED
|
@@ -3,12 +3,12 @@
|
|
| 3 |
Plugin Name: Akismet
|
| 4 |
Plugin URI: http://akismet.com/
|
| 5 |
Description: Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a <a href="http://akismet.com/get/">WordPress.com API key</a> to use it. You can review the spam it catches under "Comments." To show off your Akismet stats just put <code><?php akismet_counter(); ?></code> in your template. See also: <a href="http://wordpress.org/extend/plugins/stats/">WP Stats plugin</a>.
|
| 6 |
-
Version: 2.2.
|
| 7 |
Author: Matt Mullenweg
|
| 8 |
Author URI: http://ma.tt/
|
| 9 |
*/
|
| 10 |
|
| 11 |
-
define('AKISMET_VERSION', '2.2.
|
| 12 |
|
| 13 |
// If you hardcode a WP.com API key here, all key config screens will be hidden
|
| 14 |
if ( defined('WPCOM_API_KEY') )
|
|
@@ -556,7 +556,7 @@ function akismet_transition_comment_status( $new_status, $old_status, $comment )
|
|
| 556 |
|
| 557 |
if ( $new_status == 'spam' ) {
|
| 558 |
akismet_submit_spam_comment( $comment->comment_ID );
|
| 559 |
-
} elseif ( $old_status == 'spam' ) {
|
| 560 |
akismet_submit_nonspam_comment( $comment->comment_ID );
|
| 561 |
}
|
| 562 |
}
|
| 3 |
Plugin Name: Akismet
|
| 4 |
Plugin URI: http://akismet.com/
|
| 5 |
Description: Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a <a href="http://akismet.com/get/">WordPress.com API key</a> to use it. You can review the spam it catches under "Comments." To show off your Akismet stats just put <code><?php akismet_counter(); ?></code> in your template. See also: <a href="http://wordpress.org/extend/plugins/stats/">WP Stats plugin</a>.
|
| 6 |
+
Version: 2.2.9
|
| 7 |
Author: Matt Mullenweg
|
| 8 |
Author URI: http://ma.tt/
|
| 9 |
*/
|
| 10 |
|
| 11 |
+
define('AKISMET_VERSION', '2.2.9');
|
| 12 |
|
| 13 |
// If you hardcode a WP.com API key here, all key config screens will be hidden
|
| 14 |
if ( defined('WPCOM_API_KEY') )
|
| 556 |
|
| 557 |
if ( $new_status == 'spam' ) {
|
| 558 |
akismet_submit_spam_comment( $comment->comment_ID );
|
| 559 |
+
} elseif ( $old_status == 'spam' && ( $new_status == 'approved' || $new_status == 'unapproved' ) ) {
|
| 560 |
akismet_submit_nonspam_comment( $comment->comment_ID );
|
| 561 |
}
|
| 562 |
}
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: matt, ryan, andy, mdawaffe, tellyworth, automattic
|
|
| 3 |
Tags: akismet, comments, spam
|
| 4 |
Requires at least: 2.0
|
| 5 |
Tested up to: 3.0
|
| 6 |
-
Stable tag: 2.2.
|
| 7 |
|
| 8 |
Akismet checks your comments against the Akismet web service to see if they look like spam or not.
|
| 9 |
|
|
@@ -26,6 +26,10 @@ Upload the Akismet plugin to your blog, Activate it, then enter your [WordPress.
|
|
| 26 |
|
| 27 |
== Changelog ==
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
= 2.2.8 =
|
| 30 |
|
| 31 |
* Fix bug in initial comment check for ipv6 addresses
|
| 3 |
Tags: akismet, comments, spam
|
| 4 |
Requires at least: 2.0
|
| 5 |
Tested up to: 3.0
|
| 6 |
+
Stable tag: 2.2.9
|
| 7 |
|
| 8 |
Akismet checks your comments against the Akismet web service to see if they look like spam or not.
|
| 9 |
|
| 26 |
|
| 27 |
== Changelog ==
|
| 28 |
|
| 29 |
+
= 2.2.9 =
|
| 30 |
+
|
| 31 |
+
* Eliminate a potential conflict with some plugins that may cause spurious reports
|
| 32 |
+
|
| 33 |
= 2.2.8 =
|
| 34 |
|
| 35 |
* Fix bug in initial comment check for ipv6 addresses
|
