PluginProbe
Patchstack – WordPress & Plugins Security / 2.2.7
Patchstack – WordPress & Plugins Security v2.2.7
2.3.7 trunk 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.2 2.1.20 2.1.21 2.1.22 2.1.23 2.1.24 2.1.25 2.1.3 2.1.4 2.1.5 2.1.6 All 49 releases
← All changes | includes/ban.php +1 -1 2.1.212.2.7 View file →
@@ -23,9 +23,9 @@
23 23 if ( $this->get_option( 'patchstack_license_free', 0 ) == 1 ) {
24 24 return;
25 25 }
26 26
27 - add_action( 'init', array( $this, 'ip_ban' ), ~PHP_INT_MAX + 1 );
27 + add_action( 'init', [ $this, 'ip_ban' ], ~PHP_INT_MAX + 1 );
28 28 }
29 29
30 30 /**
31 31 * Determine if the IP address of the user is blocked.