Skip to content

Commit

Permalink
chore: prepare 2.11.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbrinkmann committed Sep 1, 2023
1 parent 42b71ba commit a8fb944
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
## Changelog ##

### 2.11.4 ###
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`.
WICHTIG: Wenn du den Spam-Check für bestimmte Länder verwendest und hinter einem Proxy oder ähnlich bist, musst du den `pre_comment_user_ip`-Filter verwenden, um die richtige Adresse des Users von einem Header wie `HTTP_X_FORWARDED` zu bekommen.
* **English**
* Fix: Read client IP for country check from `REMOTE_ADDR` only (filterable via `pre_comment_user_ip`)
* Fix: Show upgrade notice on plugin overview page
* Fix: No spam reason in spam notification email, and related PHP warning
* Fix: Remove outdated info from readme
* Maintenance: Tested up to WordPress 6.3

* **Deutsch**
* Fix: Client-IP wird nur noch aus `REMOTE_ADDR` ermittelt (filterbar über `pre_comment_user_ip`)
* Fix: Upgrade-Hinweis wird auch in der Plugin-Übersicht angezeigt
* Fix: Der Spam-Grund wird wieder korrekt in der Benachrichtigungs-E-Mail zu Spam angezeigt und die damit zusammenhängende PHP-Warning behoben
* Fix: Veraltete Infos aus der Readme wurden entfernt
* Wartung: Getestet mit WordPress 6.3

### 2.11.3 ###
* **English**
* Fix: Multiselect for "Delete comments by spam reasons" was not saving values
Expand Down
5 changes: 3 additions & 2 deletions antispam_bee.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Domain Path: /lang
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Version: 2.11.3
* Version: 2.11.4
*
* @package Antispam Bee
**/
Expand Down Expand Up @@ -1084,7 +1084,7 @@ public static function clear_scheduled_hook() {
/**
* Shows plugin update notice
*
* @since 2.12.0
* @since 2.11.4
*
* @param array $data An array of plugin metadata. See get_plugin_data()
* and the {@see 'plugin_row_meta'} filter for the list
Expand Down Expand Up @@ -2449,6 +2449,7 @@ private static function _go_in_peace() {
* Return real client IP
*
* @since 2.6.1
* @since 2.11.4 Only use `REMOTE_ADDR` to get the IP, make it filterable with `pre_comment_user_ip`
*
* @hook string pre_comment_user_ip The Client IP
*
Expand Down
12 changes: 10 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* Tags: anti-spam, antispam, block spam, comment, comments, comment spam, pingback, spam, spam filter, trackback, GDPR
* Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
* Requires at least: 4.5
* Tested up to: 6.2
* Tested up to: 6.3
* Requires PHP: 5.2
* Stable tag: 2.11.3
* Stable tag: 2.11.4
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -95,6 +95,14 @@ A complete documentation is available on [pluginkollektiv.org](https://antispamb

## Changelog ##

### 2.11.4 ###
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`.
* Fix: Read client IP for country check from `REMOTE_ADDR` only (filterable via `pre_comment_user_ip`)
* Fix: Show upgrade notice on plugin overview page
* Fix: No spam reason in spam notification email, and related PHP warning
* Fix: Remove outdated info from readme
* Maintenance: Tested up to WordPress 6.3

### 2.11.3 ###
* Fix: Multiselect for "Delete comments by spam reasons" was not saving values
* Fix: Fix broken link for ISO country codes
Expand Down

0 comments on commit a8fb944

Please sign in to comment.