Skip to content

Commit 24bb5a2

Browse files
committed
Merge tag '21.0.9' into develop
Finish 21.0.9 # Conflicts: # icwp-wpsf.php # plugin.json
2 parents cfc7d48 + 9f26a59 commit 24bb5a2

File tree

7 files changed

+29
-12
lines changed

7 files changed

+29
-12
lines changed

cl.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,24 @@
113113
}
114114
],
115115
"patches": [
116+
{
117+
"version": "9",
118+
"released_at": 1768227000,
119+
"items": [
120+
{
121+
"type": "fixed",
122+
"title": "[Security Vulnerabilities] Addresses 2x Security Vulnerabilities.",
123+
"description": [
124+
"Details of vulnerabilities will be published in due-course."
125+
]
126+
},
127+
{
128+
"title": "Data Handling Hardening - in light of the 2 vulnerabilities discovered, hardened data handling in various areas of the plugin.",
129+
"category": "enhancement",
130+
"type": "fixed"
131+
}
132+
]
133+
},
116134
{
117135
"version": "8",
118136
"released_at": 1765482000,

icwp-wpsf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
/**
16-
* Copyright (c) 2025 Shield Security <support@getshieldsecurity.com>
16+
* Copyright (c) 2026 Shield Security <support@getshieldsecurity.com>
1717
* All rights reserved.
1818
* "Shield" (formerly WordPress Simple Firewall) is distributed under the GNU
1919
* General Public License, Version 2, June 1991. Copyright (C) 1989, 1991 Free

plugin_autoload.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php declare( strict_types=1 );
22

3+
if ( !\defined( 'ABSPATH' ) ) { exit(); }
4+
35
require_once( __DIR__.'/src/lib/vendor/autoload.php' );
46

57
/** We initialise our Carbon early. */

plugin_compatibility.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php declare( strict_types=1 );
22

3+
if ( !\defined( 'ABSPATH' ) ) exit();
4+
35
new class() {
46

57
private ?string $incompatible = null;

plugin_init.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
use FernleafSystems\Wordpress\Plugin\Shield\Controller;
44
use FernleafSystems\Wordpress\Services\Services;
55

6+
if ( !\defined( 'ABSPATH' ) ) { exit(); }
7+
68
/** @var string $rootFile */
79
global $oICWP_Wpsf;
8-
if ( isset( $oICWP_Wpsf ) ) {
9-
error_log( 'Attempting to load the Shield Plugin twice?' );
10-
return;
11-
}
12-
if ( empty( $rootFile ) ) {
13-
error_log( 'Attempt to directly access plugin init file.' );
10+
if ( isset( $oICWP_Wpsf ) || empty( $rootFile ) ) {
1411
return;
1512
}
1613

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Requires at least: 5.7
88
Requires PHP: 7.4
99
Recommended PHP: 8.2
1010
Tested up to: 6.9
11-
Stable tag: 21.0.8
11+
Stable tag: 21.0.9
1212

1313
Shield stops bot attacks before they hack your site. Bots CAN be stopped. Shield stops them.
1414

uninstall.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<?php declare( strict_types=1 );
22

3-
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
4-
die;
5-
}
3+
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit(); }
64

75
// Ensure Shield isn't active elsewhere.
8-
if ( !@class_exists( '\FernleafSystems\Wordpress\Plugin\Shield\Controller\Controller' ) ) {
6+
if ( !@\class_exists( '\FernleafSystems\Wordpress\Plugin\Shield\Controller\Controller' ) ) {
97
return;
108
require_once( dirname( __FILE__ ).'/src/lib/vendor/autoload.php' );
119
try {

0 commit comments

Comments
 (0)