File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en)
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
77
8- ## [ 2.1.0] ( https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.1.0 ) - 2023-02-16
9- [ _ Compare with previous release_ ] ( https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.0.0...v2.1.0 )
10-
11- ### Changed
12-
13- - Do not bounce admin AJAX request
8+ ## [ 2.0.1] ( https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.0.1 ) - 2023-02-16
9+ [ _ Compare with previous release_ ] ( https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.0.0...v2.0.1 )
1410
1511### Fixed
1612- Fix bad memcached dsn check
Original file line number Diff line number Diff line change @@ -267,10 +267,6 @@ public function shouldBounceCurrentIp(): bool
267267 if (PHP_SAPI === 'cli ' ) {
268268 return false ;
269269 }
270- // Don't bounce admin ajax request
271- if (defined ('DOING_AJAX ' )){
272- return false ;
273- }
274270
275271 // when the "crowdsec_public_website_only" is disabled...
276272 if ($ this ->shouldNotBounceWpAdmin ) {
You can’t perform that action at this time.
0 commit comments