Skip to content

Commit 3975926

Browse files
author
Benjamin Pick
committed
Fix false positive with plugin wp-staging
1 parent 4852e8e commit 3975926

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

check_compatibility.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ function getFiles() {
3333

3434
$loaded = get_included_files();
3535
$this->files = array_filter($loaded, function($value) {
36-
return str_ends_with($value, 'Reader.php');
36+
return str_ends_with($value, '/Reader.php');
3737
});
38+
3839
$this->filesByOthers = array_filter($this->files, function($value) {
3940
return !str_starts_with($value, GEOIP_PLUGIN_DIR);
4041
});

geoip-detect.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description: Provides geographic information detected by an IP adress.
66
Author: Yellow Tree (Benjamin Pick)
77
Author URI: http://www.yellowtree.de
8-
Version: 5.3.2-beta
8+
Version: 5.3.2
99
License: GPLv3 or later
1010
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1111
Text Domain: geoip-detect
@@ -16,7 +16,7 @@
1616
Requires PHP: 7.2.5
1717
*/
1818

19-
define('GEOIP_DETECT_VERSION', '5.3.2-beta');
19+
define('GEOIP_DETECT_VERSION', '5.3.2');
2020

2121
/*
2222
Copyright 2013-2023 Yellow Tree, Siegen, Germany

readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ If you use Maxmind "Automatic download" then you need to upgrade to this plugin
172172

173173
= 5.3.2 =
174174
* FIX: Some country codes such as "PT" were missing in the (deprecated) legacy API mapping.
175-
* FIX: Maxmind compability does not show a notice anymore when the plugin folder is non-standard (e.g. due to symlinks)
175+
* FIX: Maxmind compatibility does not show a notice anymore when the plugin folder is non-standard (e.g. due to symlinks) or the Filename ends with Reader.php
176176
* Library updates
177177

178178
= 5.3.1 =

0 commit comments

Comments
 (0)