Changeset 3186009
- Timestamp:
- 11/11/2024 08:22:58 PM (13 months ago)
- Location:
- antispam-bee
- Files:
-
- 8 edited
- 1 copied
-
tags/2.11.7 (copied) (copied from antispam-bee/trunk)
-
tags/2.11.7/CHANGELOG.md (modified) (1 diff)
-
tags/2.11.7/antispam_bee.php (modified) (9 diffs)
-
tags/2.11.7/css/styles.min.css (modified) (1 diff)
-
tags/2.11.7/readme.txt (modified) (4 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/antispam_bee.php (modified) (9 diffs)
-
trunk/css/styles.min.css (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
antispam-bee/tags/2.11.7/CHANGELOG.md
r3051694 r3186009 1 1 ## Changelog ## 2 3 ### 2.11.7 ### 4 5 * **English** 6 * Tweak: Use SCRIPT_NAME instead of REQUEST_URI to check path 7 * Fix: Remove `add_reasons_to_defaults()` from general initialization for better WordPress 6.7 compatibility 8 * Maintenance: Tested up to WordPress 6.7 9 10 * **Deutsch** 11 * Tweak: Verwende SCRIPT_NAME anstelle von REQUEST_URI, um den Pfad zu prüfen 12 * Fix: Entfernen von `add_reasons_to_defaults()` von der allgemeinen Initialisierung für bessere WordPress 6.7 Kompatibilität 13 * Wartung: Getestet mit WordPress 6.7 2 14 3 15 ### 2.11.6 ### -
antispam-bee/tags/2.11.7/antispam_bee.php
r3051694 r3186009 10 10 * License: GPLv2 or later 11 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 * Version: 2.11. 612 * Version: 2.11.7 13 13 * 14 14 * @package Antispam Bee … … 152 152 self::_init_internal_vars(); 153 153 154 if ( self::_current_page( 'dashboard' ) || self::_current_page( 'plugins' ) || self::_current_page( 'options' ) || self::_current_page( 'edit-comments' ) || self::_current_page( 'admin-post' ) ) { 155 self::load_plugin_lang(); 156 self::add_reasons_to_defaults(); 157 } 154 add_action( 155 'init', 156 array( 157 __CLASS__, 158 'add_reasons_to_defaults', 159 ) 160 ); 158 161 159 162 if ( defined( 'DOING_CRON' ) ) { … … 479 482 * @since 2.11.2 480 483 */ 481 p rivatestatic function add_reasons_to_defaults() {484 public static function add_reasons_to_defaults() { 482 485 self::$defaults['reasons'] = array( 483 486 'css' => esc_attr__( 'Honeypot', 'antispam-bee' ), … … 563 566 } 564 567 // phpcs:enable WordPress.CSRF.NonceVerification.NoNonceVerification 565 }566 567 568 /**569 * Integration of the localization file570 *571 * @since 0.1572 * @since 2.4573 */574 public static function load_plugin_lang() {575 load_plugin_textdomain(576 'antispam-bee'577 );578 568 } 579 569 … … 1128 1118 * @since 0.1 1129 1119 * @since 2.6.3 1120 * @since 2.11.7 Switching from REQUEST_URI to SCRIPT_NAME for the check 1130 1121 */ 1131 1122 public static function precheck_incoming_request() { … … 1135 1126 } 1136 1127 1137 $request_uri = self::get_key( $_SERVER, ' REQUEST_URI' );1128 $request_uri = self::get_key( $_SERVER, 'SCRIPT_NAME' ); 1138 1129 $request_path = self::parse_url( $request_uri, 'path' ); 1139 1130 … … 1162 1153 * @since 2.6.3 1163 1154 * @since 2.10.0 Refactoring of code if pings are allowed and if is ping 1155 * @since 2.11.7 Switching from REQUEST_URI to SCRIPT_NAME for the check 1164 1156 * 1165 1157 * @param array $comment Untreated comment. … … 1169 1161 $comment['comment_author_IP'] = self::get_client_ip(); 1170 1162 1171 $request_uri = self::get_key( $_SERVER, ' REQUEST_URI' );1163 $request_uri = self::get_key( $_SERVER, 'SCRIPT_NAME' ); 1172 1164 $request_path = self::parse_url( $request_uri, 'path' ); 1173 1165 … … 2554 2546 } 2555 2547 2556 self::load_plugin_lang();2557 self::add_reasons_to_defaults();2558 2559 2548 $subject = sprintf( 2560 2549 '[%s] %s', -
antispam-bee/tags/2.11.7/css/styles.min.css
r2574622 r3186009 1 .ab-main *,.ab-main *::after,.ab-main *::before{border:0;margin:0;padding:0;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-wrap{margin:0 0 0 -10px;padding:20px 0 0 0;text-rendering:optimizeLegibility}.ab-column{float:left;margin:0 0 0 10px;position:relative}.ab-column h3{margin:0;font-size:18px;font-weight:400;line-height:20px;color:#1d2327}.ab-column h3.icon::before{font:normal 30px/30px Dashicons;top:4px;right:20px;speak:none;width:1em;color:#8c8f94;position:absolute;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ab-column.ab-arrow h3.icon::before{content:"\f536"}.ab-column.ab-join h3.icon::before{content:"\f108"}.ab-column.ab-diff h3.icon::before{content:"\f237"}.ab-column h6{clear:both;color:#3c434a;margin:0 0 20px;font-weight:400;font-size:13px}.ab-column input[type="text"],.ab-column input[type="number"],.ab-column select{font-size:13px;text-align:center;background:#f6f7f7}.ab-column input[type="number"]{padding:0}.ab-column select[multiple]{width:175px;min-height:60px}.ab-column select[multiple][name="ab_ignore_reasons[]"]{width:auto}.ab-column input.ab-mini-field{width:40px}.ab-column .ab-medium-field{width:100%;max-width:285px}.ab-column input[type="text"]+label,.ab-column select+label{color:#8c8f94;margin:0 0 0 7px;display:inline-block;text-transform:uppercase}.ab-column>ul{padding:0 20px 0 0}.ab-column:last-of-type>ul{border:0}.ab-column>ul>li{width:330px;margin:0 0 36px;padding:10px 0 12px 12px;position:relative;background:#fff}.ab-column>ul>li a{text-decoration:underline}.ab-column>ul>li a:hover{border-color:inherit}.ab-column>ul>li label{cursor:default;display:inline-block;font-size:14px;max-width:286px;color:#1d2327}.ab-column>ul>li label span{color:#3c434a;display:block;font-size:13px;line-height:16px;margin-top:5px}.ab-column>ul>li::after,.ab-column>ul>li::before{width:0;content:"";position:absolute}.ab-column.ab-arrow>ul>li::before,.ab-column.ab-arrow>ul>li::after{left:157px;border-width:10px 10px 0;border-style:solid}.ab-column.ab-arrow>ul>li::before{bottom:-24px;border-color:#fff transparent}.ab-column.ab-arrow>ul>li::after{bottom:-22px;border-color:#f0f0f1 transparent}.ab-column.ab-join>ul>li::before{left:171px;bottom:-27px;height:18px;border-right:2px solid #fff}.ab-column.ab-diff>ul>li::before{left:162px;bottom:-19px;width:18px;height:0;border-bottom:2px solid #fff}.ab-column--submit-service{width:342px;margin-top:20px;padding-right:20px}.ab-column--submit-service p{padding:5px 0;margin:0;text-align:center;width:100%}.ab-column--submit-service p:first-of-type{border-top:1px solid #dcdcde}.ab-column--submit-service p:last-of-type{border-bottom:1px solid #dcdcde}.ab-column--submit-service .button{width:100%;margin:35px 0 10px}.ab-column>ul>li:last-of-type::after,.ab-column>ul>li:last-of-type::before{display:none}.ab-column>ul>li>ul{margin:10px 10px 0 26px;display:none}.ab-column>ul>li>ul li{padding:2px 0}.ab-column>ul>li>ul label{margin:0 0 0 7px}.ab-column>ul>li>ul label[for="ab_ignore_reasons"]{margin:0 0 5px 0}.ab-column>ul>li>input[type="checkbox"]:checked~ul{display:block}1 .ab-main *,.ab-main *::after,.ab-main *::before{border:0;margin:0;padding:0;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-wrap{margin:0 0 0 -10px;padding:20px 0 0 0;text-rendering:optimizeLegibility}.ab-column{float:left;margin:0 0 0 10px;position:relative}.ab-column h3{margin:0;font-size:18px;font-weight:400;line-height:20px;color:#1d2327}.ab-column h3.icon::before{font:normal 30px/30px Dashicons;top:4px;right:20px;speak:none;width:1em;color:#8c8f94;position:absolute;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ab-column.ab-arrow h3.icon::before{content:"\f536"}.ab-column.ab-join h3.icon::before{content:"\f108"}.ab-column.ab-diff h3.icon::before{content:"\f237"}.ab-column h6{clear:both;color:#3c434a;margin:0 0 20px;font-weight:400;font-size:13px}.ab-column input[type="text"],.ab-column input[type="number"],.ab-column select{font-size:13px;text-align:center;background:#f6f7f7}.ab-column input[type="number"]{padding:0}.ab-column select[multiple]{width:175px;min-height:60px}.ab-column select[multiple][name="ab_ignore_reasons[]"]{width:auto}.ab-column input.ab-mini-field{width:40px}.ab-column .ab-medium-field{width:100%;max-width:285px}.ab-column input[type="text"]+label,.ab-column select+label{color:#8c8f94;margin:0 0 0 7px;display:inline-block;text-transform:uppercase}.ab-column>ul{padding:0 20px 0 0}.ab-column:last-of-type>ul{border:0}.ab-column>ul>li{width:330px;margin:0 0 36px;padding:10px 0 12px 12px;position:relative;background:#fff}.ab-column>ul>li a{text-decoration:underline}.ab-column>ul>li a:hover{border-color:inherit}.ab-column>ul>li label{cursor:default;display:inline-block;font-size:14px;max-width:286px;color:#1d2327}.ab-column>ul>li label span{color:#3c434a;display:block;font-size:13px;line-height:16px;margin-top:5px}.ab-column>ul>li::after,.ab-column>ul>li::before{width:0;content:"";position:absolute}.ab-column.ab-arrow>ul>li::before,.ab-column.ab-arrow>ul>li::after{left:157px;border-width:10px 10px 0;border-style:solid}.ab-column.ab-arrow>ul>li::before{bottom:-24px;border-color:#fff #fff0}.ab-column.ab-arrow>ul>li::after{bottom:-22px;border-color:#f0f0f1 #fff0}.ab-column.ab-join>ul>li::before{left:171px;bottom:-27px;height:18px;border-right:2px solid #fff}.ab-column.ab-diff>ul>li::before{left:162px;bottom:-19px;width:18px;height:0;border-bottom:2px solid #fff}.ab-column--submit-service{width:342px;margin-top:20px;padding-right:20px}.ab-column--submit-service p{padding:5px 0;margin:0;text-align:center;width:100%}.ab-column--submit-service p:first-of-type{border-top:1px solid #dcdcde}.ab-column--submit-service p:last-of-type{border-bottom:1px solid #dcdcde}.ab-column--submit-service .button{width:100%;margin:35px 0 10px}.ab-column>ul>li:last-of-type::after,.ab-column>ul>li:last-of-type::before{display:none}.ab-column>ul>li>ul{margin:10px 10px 0 26px;display:none}.ab-column>ul>li>ul li{padding:2px 0}.ab-column>ul>li>ul label{margin:0 0 0 7px}.ab-column>ul>li>ul label[for="ab_ignore_reasons"]{margin:0 0 5px 0}.ab-column>ul>li>input[type="checkbox"]:checked~ul{display:block} -
antispam-bee/tags/2.11.7/readme.txt
r3051694 r3186009 1 1 # Antispam Bee # 2 2 * Contributors: pluginkollektiv, websupporter, schlessera, zodiac1978, swissspidy, krafit, kau-boy, florianbrinkmann, pfefferle 3 * Tags: anti-spam, antispam, block spam, comment, comments, comment spam, pingback, spam, spam filter, trackback, GDPR 3 * Tags: anti-spam, antispam, comments, spam filter, spam protection 4 4 4 5 * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW 5 * Requires at least: 4. 56 * Tested up to: 6. 56 * Requires at least: 4.6 7 * Tested up to: 6.7 7 8 * Requires PHP: 5.2 8 * Stable tag: 2.11. 69 * Stable tag: 2.11.7 9 10 * License: GPLv2 or later 10 11 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 12 12 Antispam plugin with a sophisticated tool set for effective day to day comment and trackback spam-fighting. Buildwith data protection and privacy in mind.13 Sophisticated antispam plugin for effective daily comment and trackback spam-fighting. Built with data protection and privacy in mind. 13 14 14 15 ## Description ## … … 66 67 67 68 ### Does Antispam Bee work with AJAX comment plugins or similar theme features? 68 Whether Antispam Bee works with a comment form submitted via AJAX depends on how the AJAX request is made. If the request goes to the file that usually also receives the comments, Antispam Bee could work with it out of the box (the [WP Ajaxify Comments](https://wordpress.org/plugins/wp-ajaxify-comments/) plugin does this, for example). 69 Whether Antispam Bee works with a comment form submitted via AJAX depends on how the AJAX request is made. If the request goes to the file that usually also receives the comments, Antispam Bee could work with it out of the box (the [WP Ajaxify Comments](https://wordpress.org/plugins/wp-ajaxify-comments/) plugin does this, for example). 69 70 70 71 If the comments are sent to the `admin-ajax.php`, the `antispam_bee_disallow_ajax_calls` filter must be used to run ASB for requests to that file as well. If the script does not send all form data to the file, but only some selected ones, further customization is probably necessary, as [exemplified in this post by Torsten Landsiedel](https://torstenlandsiedel.de/2020/10/04/ajaxifizierte-kommentare-und-antispam-bee/) (in German). … … 95 96 96 97 ## Changelog ## 98 99 ### 2.11.7 ### 100 * Tweak: Use SCRIPT_NAME instead of REQUEST_URI to check path 101 * Fix: Remove `add_reasons_to_defaults()` from general initialization for better WordPress 6.7 compatibility 102 * Maintenance: Tested up to WordPress 6.7 97 103 98 104 ### 2.11.6 ### … … 104 110 ### 2.11.5 ### 105 111 IMPORTANT: If you use the country check and are behind a proxy or similar, you need to use the `antispam_bee_trusted_ip` filter to get the correct IP from a header like `HTTP_X_FORWARDED` (don’t return an empty value here, otherwise all comments are marked as spam). 112 106 113 * Fix: Usage of core filter `pre_comment_user_ip` breaks ASB if the IP address is removed for GDPR compliance 107 114 108 115 ### 2.11.4 ### 109 116 IMPORTANT: If you use the country check and are behind a proxy or similar, you need to use the `pre_comment_user_ip` filter to get the correct IP from a header like `HTTP_X_FORWARDED`. 117 110 118 * Fix: Read client IP for country check from `REMOTE_ADDR` only (filterable via `pre_comment_user_ip`) 111 119 * Fix: No spam reason in spam notification email, and related PHP warning -
antispam-bee/trunk/CHANGELOG.md
r3051694 r3186009 1 1 ## Changelog ## 2 3 ### 2.11.7 ### 4 5 * **English** 6 * Tweak: Use SCRIPT_NAME instead of REQUEST_URI to check path 7 * Fix: Remove `add_reasons_to_defaults()` from general initialization for better WordPress 6.7 compatibility 8 * Maintenance: Tested up to WordPress 6.7 9 10 * **Deutsch** 11 * Tweak: Verwende SCRIPT_NAME anstelle von REQUEST_URI, um den Pfad zu prüfen 12 * Fix: Entfernen von `add_reasons_to_defaults()` von der allgemeinen Initialisierung für bessere WordPress 6.7 Kompatibilität 13 * Wartung: Getestet mit WordPress 6.7 2 14 3 15 ### 2.11.6 ### -
antispam-bee/trunk/antispam_bee.php
r3051694 r3186009 10 10 * License: GPLv2 or later 11 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 * Version: 2.11. 612 * Version: 2.11.7 13 13 * 14 14 * @package Antispam Bee … … 152 152 self::_init_internal_vars(); 153 153 154 if ( self::_current_page( 'dashboard' ) || self::_current_page( 'plugins' ) || self::_current_page( 'options' ) || self::_current_page( 'edit-comments' ) || self::_current_page( 'admin-post' ) ) { 155 self::load_plugin_lang(); 156 self::add_reasons_to_defaults(); 157 } 154 add_action( 155 'init', 156 array( 157 __CLASS__, 158 'add_reasons_to_defaults', 159 ) 160 ); 158 161 159 162 if ( defined( 'DOING_CRON' ) ) { … … 479 482 * @since 2.11.2 480 483 */ 481 p rivatestatic function add_reasons_to_defaults() {484 public static function add_reasons_to_defaults() { 482 485 self::$defaults['reasons'] = array( 483 486 'css' => esc_attr__( 'Honeypot', 'antispam-bee' ), … … 563 566 } 564 567 // phpcs:enable WordPress.CSRF.NonceVerification.NoNonceVerification 565 }566 567 568 /**569 * Integration of the localization file570 *571 * @since 0.1572 * @since 2.4573 */574 public static function load_plugin_lang() {575 load_plugin_textdomain(576 'antispam-bee'577 );578 568 } 579 569 … … 1128 1118 * @since 0.1 1129 1119 * @since 2.6.3 1120 * @since 2.11.7 Switching from REQUEST_URI to SCRIPT_NAME for the check 1130 1121 */ 1131 1122 public static function precheck_incoming_request() { … … 1135 1126 } 1136 1127 1137 $request_uri = self::get_key( $_SERVER, ' REQUEST_URI' );1128 $request_uri = self::get_key( $_SERVER, 'SCRIPT_NAME' ); 1138 1129 $request_path = self::parse_url( $request_uri, 'path' ); 1139 1130 … … 1162 1153 * @since 2.6.3 1163 1154 * @since 2.10.0 Refactoring of code if pings are allowed and if is ping 1155 * @since 2.11.7 Switching from REQUEST_URI to SCRIPT_NAME for the check 1164 1156 * 1165 1157 * @param array $comment Untreated comment. … … 1169 1161 $comment['comment_author_IP'] = self::get_client_ip(); 1170 1162 1171 $request_uri = self::get_key( $_SERVER, ' REQUEST_URI' );1163 $request_uri = self::get_key( $_SERVER, 'SCRIPT_NAME' ); 1172 1164 $request_path = self::parse_url( $request_uri, 'path' ); 1173 1165 … … 2554 2546 } 2555 2547 2556 self::load_plugin_lang();2557 self::add_reasons_to_defaults();2558 2559 2548 $subject = sprintf( 2560 2549 '[%s] %s', -
antispam-bee/trunk/css/styles.min.css
r2574622 r3186009 1 .ab-main *,.ab-main *::after,.ab-main *::before{border:0;margin:0;padding:0;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-wrap{margin:0 0 0 -10px;padding:20px 0 0 0;text-rendering:optimizeLegibility}.ab-column{float:left;margin:0 0 0 10px;position:relative}.ab-column h3{margin:0;font-size:18px;font-weight:400;line-height:20px;color:#1d2327}.ab-column h3.icon::before{font:normal 30px/30px Dashicons;top:4px;right:20px;speak:none;width:1em;color:#8c8f94;position:absolute;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ab-column.ab-arrow h3.icon::before{content:"\f536"}.ab-column.ab-join h3.icon::before{content:"\f108"}.ab-column.ab-diff h3.icon::before{content:"\f237"}.ab-column h6{clear:both;color:#3c434a;margin:0 0 20px;font-weight:400;font-size:13px}.ab-column input[type="text"],.ab-column input[type="number"],.ab-column select{font-size:13px;text-align:center;background:#f6f7f7}.ab-column input[type="number"]{padding:0}.ab-column select[multiple]{width:175px;min-height:60px}.ab-column select[multiple][name="ab_ignore_reasons[]"]{width:auto}.ab-column input.ab-mini-field{width:40px}.ab-column .ab-medium-field{width:100%;max-width:285px}.ab-column input[type="text"]+label,.ab-column select+label{color:#8c8f94;margin:0 0 0 7px;display:inline-block;text-transform:uppercase}.ab-column>ul{padding:0 20px 0 0}.ab-column:last-of-type>ul{border:0}.ab-column>ul>li{width:330px;margin:0 0 36px;padding:10px 0 12px 12px;position:relative;background:#fff}.ab-column>ul>li a{text-decoration:underline}.ab-column>ul>li a:hover{border-color:inherit}.ab-column>ul>li label{cursor:default;display:inline-block;font-size:14px;max-width:286px;color:#1d2327}.ab-column>ul>li label span{color:#3c434a;display:block;font-size:13px;line-height:16px;margin-top:5px}.ab-column>ul>li::after,.ab-column>ul>li::before{width:0;content:"";position:absolute}.ab-column.ab-arrow>ul>li::before,.ab-column.ab-arrow>ul>li::after{left:157px;border-width:10px 10px 0;border-style:solid}.ab-column.ab-arrow>ul>li::before{bottom:-24px;border-color:#fff transparent}.ab-column.ab-arrow>ul>li::after{bottom:-22px;border-color:#f0f0f1 transparent}.ab-column.ab-join>ul>li::before{left:171px;bottom:-27px;height:18px;border-right:2px solid #fff}.ab-column.ab-diff>ul>li::before{left:162px;bottom:-19px;width:18px;height:0;border-bottom:2px solid #fff}.ab-column--submit-service{width:342px;margin-top:20px;padding-right:20px}.ab-column--submit-service p{padding:5px 0;margin:0;text-align:center;width:100%}.ab-column--submit-service p:first-of-type{border-top:1px solid #dcdcde}.ab-column--submit-service p:last-of-type{border-bottom:1px solid #dcdcde}.ab-column--submit-service .button{width:100%;margin:35px 0 10px}.ab-column>ul>li:last-of-type::after,.ab-column>ul>li:last-of-type::before{display:none}.ab-column>ul>li>ul{margin:10px 10px 0 26px;display:none}.ab-column>ul>li>ul li{padding:2px 0}.ab-column>ul>li>ul label{margin:0 0 0 7px}.ab-column>ul>li>ul label[for="ab_ignore_reasons"]{margin:0 0 5px 0}.ab-column>ul>li>input[type="checkbox"]:checked~ul{display:block}1 .ab-main *,.ab-main *::after,.ab-main *::before{border:0;margin:0;padding:0;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-wrap{margin:0 0 0 -10px;padding:20px 0 0 0;text-rendering:optimizeLegibility}.ab-column{float:left;margin:0 0 0 10px;position:relative}.ab-column h3{margin:0;font-size:18px;font-weight:400;line-height:20px;color:#1d2327}.ab-column h3.icon::before{font:normal 30px/30px Dashicons;top:4px;right:20px;speak:none;width:1em;color:#8c8f94;position:absolute;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ab-column.ab-arrow h3.icon::before{content:"\f536"}.ab-column.ab-join h3.icon::before{content:"\f108"}.ab-column.ab-diff h3.icon::before{content:"\f237"}.ab-column h6{clear:both;color:#3c434a;margin:0 0 20px;font-weight:400;font-size:13px}.ab-column input[type="text"],.ab-column input[type="number"],.ab-column select{font-size:13px;text-align:center;background:#f6f7f7}.ab-column input[type="number"]{padding:0}.ab-column select[multiple]{width:175px;min-height:60px}.ab-column select[multiple][name="ab_ignore_reasons[]"]{width:auto}.ab-column input.ab-mini-field{width:40px}.ab-column .ab-medium-field{width:100%;max-width:285px}.ab-column input[type="text"]+label,.ab-column select+label{color:#8c8f94;margin:0 0 0 7px;display:inline-block;text-transform:uppercase}.ab-column>ul{padding:0 20px 0 0}.ab-column:last-of-type>ul{border:0}.ab-column>ul>li{width:330px;margin:0 0 36px;padding:10px 0 12px 12px;position:relative;background:#fff}.ab-column>ul>li a{text-decoration:underline}.ab-column>ul>li a:hover{border-color:inherit}.ab-column>ul>li label{cursor:default;display:inline-block;font-size:14px;max-width:286px;color:#1d2327}.ab-column>ul>li label span{color:#3c434a;display:block;font-size:13px;line-height:16px;margin-top:5px}.ab-column>ul>li::after,.ab-column>ul>li::before{width:0;content:"";position:absolute}.ab-column.ab-arrow>ul>li::before,.ab-column.ab-arrow>ul>li::after{left:157px;border-width:10px 10px 0;border-style:solid}.ab-column.ab-arrow>ul>li::before{bottom:-24px;border-color:#fff #fff0}.ab-column.ab-arrow>ul>li::after{bottom:-22px;border-color:#f0f0f1 #fff0}.ab-column.ab-join>ul>li::before{left:171px;bottom:-27px;height:18px;border-right:2px solid #fff}.ab-column.ab-diff>ul>li::before{left:162px;bottom:-19px;width:18px;height:0;border-bottom:2px solid #fff}.ab-column--submit-service{width:342px;margin-top:20px;padding-right:20px}.ab-column--submit-service p{padding:5px 0;margin:0;text-align:center;width:100%}.ab-column--submit-service p:first-of-type{border-top:1px solid #dcdcde}.ab-column--submit-service p:last-of-type{border-bottom:1px solid #dcdcde}.ab-column--submit-service .button{width:100%;margin:35px 0 10px}.ab-column>ul>li:last-of-type::after,.ab-column>ul>li:last-of-type::before{display:none}.ab-column>ul>li>ul{margin:10px 10px 0 26px;display:none}.ab-column>ul>li>ul li{padding:2px 0}.ab-column>ul>li>ul label{margin:0 0 0 7px}.ab-column>ul>li>ul label[for="ab_ignore_reasons"]{margin:0 0 5px 0}.ab-column>ul>li>input[type="checkbox"]:checked~ul{display:block} -
antispam-bee/trunk/readme.txt
r3051694 r3186009 1 1 # Antispam Bee # 2 2 * Contributors: pluginkollektiv, websupporter, schlessera, zodiac1978, swissspidy, krafit, kau-boy, florianbrinkmann, pfefferle 3 * Tags: anti-spam, antispam, block spam, comment, comments, comment spam, pingback, spam, spam filter, trackback, GDPR 3 * Tags: anti-spam, antispam, comments, spam filter, spam protection 4 4 4 5 * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW 5 * Requires at least: 4. 56 * Tested up to: 6. 56 * Requires at least: 4.6 7 * Tested up to: 6.7 7 8 * Requires PHP: 5.2 8 * Stable tag: 2.11. 69 * Stable tag: 2.11.7 9 10 * License: GPLv2 or later 10 11 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 12 12 Antispam plugin with a sophisticated tool set for effective day to day comment and trackback spam-fighting. Buildwith data protection and privacy in mind.13 Sophisticated antispam plugin for effective daily comment and trackback spam-fighting. Built with data protection and privacy in mind. 13 14 14 15 ## Description ## … … 66 67 67 68 ### Does Antispam Bee work with AJAX comment plugins or similar theme features? 68 Whether Antispam Bee works with a comment form submitted via AJAX depends on how the AJAX request is made. If the request goes to the file that usually also receives the comments, Antispam Bee could work with it out of the box (the [WP Ajaxify Comments](https://wordpress.org/plugins/wp-ajaxify-comments/) plugin does this, for example). 69 Whether Antispam Bee works with a comment form submitted via AJAX depends on how the AJAX request is made. If the request goes to the file that usually also receives the comments, Antispam Bee could work with it out of the box (the [WP Ajaxify Comments](https://wordpress.org/plugins/wp-ajaxify-comments/) plugin does this, for example). 69 70 70 71 If the comments are sent to the `admin-ajax.php`, the `antispam_bee_disallow_ajax_calls` filter must be used to run ASB for requests to that file as well. If the script does not send all form data to the file, but only some selected ones, further customization is probably necessary, as [exemplified in this post by Torsten Landsiedel](https://torstenlandsiedel.de/2020/10/04/ajaxifizierte-kommentare-und-antispam-bee/) (in German). … … 95 96 96 97 ## Changelog ## 98 99 ### 2.11.7 ### 100 * Tweak: Use SCRIPT_NAME instead of REQUEST_URI to check path 101 * Fix: Remove `add_reasons_to_defaults()` from general initialization for better WordPress 6.7 compatibility 102 * Maintenance: Tested up to WordPress 6.7 97 103 98 104 ### 2.11.6 ### … … 104 110 ### 2.11.5 ### 105 111 IMPORTANT: If you use the country check and are behind a proxy or similar, you need to use the `antispam_bee_trusted_ip` filter to get the correct IP from a header like `HTTP_X_FORWARDED` (don’t return an empty value here, otherwise all comments are marked as spam). 112 106 113 * Fix: Usage of core filter `pre_comment_user_ip` breaks ASB if the IP address is removed for GDPR compliance 107 114 108 115 ### 2.11.4 ### 109 116 IMPORTANT: If you use the country check and are behind a proxy or similar, you need to use the `pre_comment_user_ip` filter to get the correct IP from a header like `HTTP_X_FORWARDED`. 117 110 118 * Fix: Read client IP for country check from `REMOTE_ADDR` only (filterable via `pre_comment_user_ip`) 111 119 * Fix: No spam reason in spam notification email, and related PHP warning
Note: See TracChangeset
for help on using the changeset viewer.