Plugin Directory

Changeset 3186009


Ignore:
Timestamp:
11/11/2024 08:22:58 PM (13 months ago)
Author:
pluginkollektiv
Message:

Update to version 2.11.7 from GitHub

Location:
antispam-bee
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • antispam-bee/tags/2.11.7/CHANGELOG.md

    r3051694 r3186009  
    11## 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
    214
    315### 2.11.6 ###
  • antispam-bee/tags/2.11.7/antispam_bee.php

    r3051694 r3186009  
    1010 * License:     GPLv2 or later
    1111 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
    12  * Version:     2.11.6
     12 * Version:     2.11.7
    1313 *
    1414 * @package Antispam Bee
     
    152152        self::_init_internal_vars();
    153153
    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        );
    158161
    159162        if ( defined( 'DOING_CRON' ) ) {
     
    479482     * @since 2.11.2
    480483     */
    481     private static function add_reasons_to_defaults() {
     484    public static function add_reasons_to_defaults() {
    482485        self::$defaults['reasons'] = array(
    483486            'css'           => esc_attr__( 'Honeypot', 'antispam-bee' ),
     
    563566        }
    564567        // phpcs:enable WordPress.CSRF.NonceVerification.NoNonceVerification
    565     }
    566 
    567 
    568     /**
    569      * Integration of the localization file
    570      *
    571      * @since  0.1
    572      * @since  2.4
    573      */
    574     public static function load_plugin_lang() {
    575         load_plugin_textdomain(
    576             'antispam-bee'
    577         );
    578568    }
    579569
     
    11281118     * @since  0.1
    11291119     * @since  2.6.3
     1120     * @since  2.11.7 Switching from REQUEST_URI to SCRIPT_NAME for the check
    11301121     */
    11311122    public static function precheck_incoming_request() {
     
    11351126        }
    11361127
    1137         $request_uri  = self::get_key( $_SERVER, 'REQUEST_URI' );
     1128        $request_uri  = self::get_key( $_SERVER, 'SCRIPT_NAME' );
    11381129        $request_path = self::parse_url( $request_uri, 'path' );
    11391130
     
    11621153     * @since  2.6.3
    11631154     * @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
    11641156     *
    11651157     * @param   array $comment  Untreated comment.
     
    11691161        $comment['comment_author_IP'] = self::get_client_ip();
    11701162
    1171         $request_uri  = self::get_key( $_SERVER, 'REQUEST_URI' );
     1163        $request_uri  = self::get_key( $_SERVER, 'SCRIPT_NAME' );
    11721164        $request_path = self::parse_url( $request_uri, 'path' );
    11731165
     
    25542546        }
    25552547
    2556         self::load_plugin_lang();
    2557         self::add_reasons_to_defaults();
    2558 
    25592548        $subject = sprintf(
    25602549            '[%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  
    11# Antispam Bee #
    22* 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
     44
    45* Donate link:       https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
    5 * Requires at least: 4.5
    6 * Tested up to:      6.5
     6* Requires at least: 4.6
     7* Tested up to:      6.7
    78* Requires PHP:      5.2
    8 * Stable tag:        2.11.6
     9* Stable tag:        2.11.7
    910* License:           GPLv2 or later
    1011* License URI:       https://www.gnu.org/licenses/gpl-2.0.html
    1112
    12 Antispam plugin with a sophisticated tool set for effective day to day comment and trackback spam-fighting. Build with data protection and privacy in mind.
     13Sophisticated antispam plugin for effective daily comment and trackback spam-fighting. Built with data protection and privacy in mind.
    1314
    1415## Description ##
     
    6667
    6768### 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). 
     69Whether 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).
    6970
    7071If 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).
     
    9596
    9697## 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
    97103
    98104### 2.11.6 ###
     
    104110### 2.11.5 ###
    105111IMPORTANT: 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
    106113  * Fix: Usage of core filter `pre_comment_user_ip` breaks ASB if the IP address is removed for GDPR compliance
    107114
    108115### 2.11.4 ###
    109116IMPORTANT: 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
    110118  * Fix: Read client IP for country check from `REMOTE_ADDR` only (filterable via `pre_comment_user_ip`)
    111119  * Fix: No spam reason in spam notification email, and related PHP warning
  • antispam-bee/trunk/CHANGELOG.md

    r3051694 r3186009  
    11## 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
    214
    315### 2.11.6 ###
  • antispam-bee/trunk/antispam_bee.php

    r3051694 r3186009  
    1010 * License:     GPLv2 or later
    1111 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
    12  * Version:     2.11.6
     12 * Version:     2.11.7
    1313 *
    1414 * @package Antispam Bee
     
    152152        self::_init_internal_vars();
    153153
    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        );
    158161
    159162        if ( defined( 'DOING_CRON' ) ) {
     
    479482     * @since 2.11.2
    480483     */
    481     private static function add_reasons_to_defaults() {
     484    public static function add_reasons_to_defaults() {
    482485        self::$defaults['reasons'] = array(
    483486            'css'           => esc_attr__( 'Honeypot', 'antispam-bee' ),
     
    563566        }
    564567        // phpcs:enable WordPress.CSRF.NonceVerification.NoNonceVerification
    565     }
    566 
    567 
    568     /**
    569      * Integration of the localization file
    570      *
    571      * @since  0.1
    572      * @since  2.4
    573      */
    574     public static function load_plugin_lang() {
    575         load_plugin_textdomain(
    576             'antispam-bee'
    577         );
    578568    }
    579569
     
    11281118     * @since  0.1
    11291119     * @since  2.6.3
     1120     * @since  2.11.7 Switching from REQUEST_URI to SCRIPT_NAME for the check
    11301121     */
    11311122    public static function precheck_incoming_request() {
     
    11351126        }
    11361127
    1137         $request_uri  = self::get_key( $_SERVER, 'REQUEST_URI' );
     1128        $request_uri  = self::get_key( $_SERVER, 'SCRIPT_NAME' );
    11381129        $request_path = self::parse_url( $request_uri, 'path' );
    11391130
     
    11621153     * @since  2.6.3
    11631154     * @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
    11641156     *
    11651157     * @param   array $comment  Untreated comment.
     
    11691161        $comment['comment_author_IP'] = self::get_client_ip();
    11701162
    1171         $request_uri  = self::get_key( $_SERVER, 'REQUEST_URI' );
     1163        $request_uri  = self::get_key( $_SERVER, 'SCRIPT_NAME' );
    11721164        $request_path = self::parse_url( $request_uri, 'path' );
    11731165
     
    25542546        }
    25552547
    2556         self::load_plugin_lang();
    2557         self::add_reasons_to_defaults();
    2558 
    25592548        $subject = sprintf(
    25602549            '[%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  
    11# Antispam Bee #
    22* 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
     44
    45* Donate link:       https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
    5 * Requires at least: 4.5
    6 * Tested up to:      6.5
     6* Requires at least: 4.6
     7* Tested up to:      6.7
    78* Requires PHP:      5.2
    8 * Stable tag:        2.11.6
     9* Stable tag:        2.11.7
    910* License:           GPLv2 or later
    1011* License URI:       https://www.gnu.org/licenses/gpl-2.0.html
    1112
    12 Antispam plugin with a sophisticated tool set for effective day to day comment and trackback spam-fighting. Build with data protection and privacy in mind.
     13Sophisticated antispam plugin for effective daily comment and trackback spam-fighting. Built with data protection and privacy in mind.
    1314
    1415## Description ##
     
    6667
    6768### 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). 
     69Whether 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).
    6970
    7071If 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).
     
    9596
    9697## 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
    97103
    98104### 2.11.6 ###
     
    104110### 2.11.5 ###
    105111IMPORTANT: 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
    106113  * Fix: Usage of core filter `pre_comment_user_ip` breaks ASB if the IP address is removed for GDPR compliance
    107114
    108115### 2.11.4 ###
    109116IMPORTANT: 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
    110118  * Fix: Read client IP for country check from `REMOTE_ADDR` only (filterable via `pre_comment_user_ip`)
    111119  * Fix: No spam reason in spam notification email, and related PHP warning
Note: See TracChangeset for help on using the changeset viewer.