Throws SPAM Away - Version 2.1.1

Version Description

= 2.0 = IP IP

= 1.4 =

NG

= 1.3 =

= 1.2.1 =

= 1.2 = 1

= 1.1 =

= 1.0 =

Download this release

Release Info

Developer tsato
Plugin Icon wp plugin Throws SPAM Away
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1 to 2.1.1

Files changed (2) hide show
  1. readme.txt +4 -1
  2. throws_spam_away.php +4 -4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://gti.jp/
4
  Tags: comments, spam
5
  Requires at least: 3.1
6
  Tested up to: 3.5.1
7
- Stable tag: 2.1
8
 
9
  コメントに日本語が使用されていないものや任意のIPアドレスからの投稿を無視するプラグイン
10
 
@@ -27,6 +27,9 @@ IPアドレスの指定は「,(半角カンマ)」区切りで複数入力
27
  ※例:192.168.0.1,192.168.1.0/24,69.208.0.0/16 と指定した場合
28
   [192.168.0.1]と[192.168.1.0 ~ 192.168.1.255]と[69.208.0.0 ~ 69.208.255.255]のIPアドレスを拒否対象とします。
29
 
 
 
 
30
  ・バージョン2.1でIPアドレスの範囲指定を可能にしました。
31
 
32
  ・バージョン2.0で、WordPressのcommentsテーブルを検索し「spam」扱いとなったコメントのIPを収集しそのIPからの投稿を無視出来る機能と任意のIPアドレスからの投稿を無視出来る機能をつけました。
4
  Tags: comments, spam
5
  Requires at least: 3.1
6
  Tested up to: 3.5.1
7
+ Stable tag: 2.1.1
8
 
9
  コメントに日本語が使用されていないものや任意のIPアドレスからの投稿を無視するプラグイン
10
 
27
  ※例:192.168.0.1,192.168.1.0/24,69.208.0.0/16 と指定した場合
28
   [192.168.0.1]と[192.168.1.0 ~ 192.168.1.255]と[69.208.0.0 ~ 69.208.255.255]のIPアドレスを拒否対象とします。
29
 
30
+ ・バージョン2.1.1 一部レンタルサーバー等の設定によってコメント投稿後エラーまたは白画面になってしまう不具合を修正
31
+  ※確認したレンタルサーバー(さくらレンタルサーバー)※コメント欄に独自修正を行うような特殊な条件により発生する模様
32
+
33
  ・バージョン2.1でIPアドレスの範囲指定を可能にしました。
34
 
35
  ・バージョン2.0で、WordPressのcommentsテーブルを検索し「spam」扱いとなったコメントのIPを収集しそのIPからの投稿を無視出来る機能と任意のIPアドレスからの投稿を無視出来る機能をつけました。
throws_spam_away.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://gti.jp/tsa/
5
  Description: コメント内に日本語の記述が存在しない場合はあたかも受け付けたように振る舞いながらも捨ててしまうプラグイン
6
  Author: 株式会社ジーティーアイ さとう たけし
7
- Version: 2.1
8
  Author URI: http://gti.jp/
9
  */
10
 
@@ -51,19 +51,19 @@ $newThrowsSpamAway = new ThrowsSpamAway;
51
  // トラックバックチェックフィルター
52
  add_filter('preprocess_comment', array(&$newThrowsSpamAway, 'trackback_spam_away'), 1, 1);
53
  // コメントフォーム表示
54
- add_action('comment_form', array(&$newThrowsSpamAway, "comment_form"), 9999);
55
  add_action('pre_comment_on_post', array(&$newThrowsSpamAway, "comment_post"), 1);
56
 
57
  /**
58
  *
59
  * <p>ThrowsSpamAway</p>
60
  * WordPress's Plugin
61
- * @author TAMAN
62
  *
63
  */
64
  class ThrowsSpamAway {
65
  // version
66
- var $version = '2.1';
67
 
68
  public function __construct() {
69
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
4
  Plugin URI: http://gti.jp/tsa/
5
  Description: コメント内に日本語の記述が存在しない場合はあたかも受け付けたように振る舞いながらも捨ててしまうプラグイン
6
  Author: 株式会社ジーティーアイ さとう たけし
7
+ Version: 2.1.1
8
  Author URI: http://gti.jp/
9
  */
10
 
51
  // トラックバックチェックフィルター
52
  add_filter('preprocess_comment', array(&$newThrowsSpamAway, 'trackback_spam_away'), 1, 1);
53
  // コメントフォーム表示
54
+ add_action('comment_form_after', array(&$newThrowsSpamAway, "comment_form"), 9999); // Ver.2.1.1 comment_form → comment_form_after
55
  add_action('pre_comment_on_post', array(&$newThrowsSpamAway, "comment_post"), 1);
56
 
57
  /**
58
  *
59
  * <p>ThrowsSpamAway</p>
60
  * WordPress's Plugin
61
+ * @author Takeshi Satoh@GTI Inc. 2013
62
  *
63
  */
64
  class ThrowsSpamAway {
65
  // version
66
+ var $version = '2.1.1';
67
 
68
  public function __construct() {
69
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );