PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/controller/class-fake-bot-detection.php +1 -4 5.6.0 → 6.3.0 View file →
@@ -10,14 +10,11 @@
10 10 use WP_Defender\Controller;
11 11 use WP_Defender\Component\Blacklist_Lockout;
12 12 use WP_Defender\Component\Fake_Bot_Detection as Fake_Bot_Detection_Component;
13 13 use WP_Defender\Traits\IP;
14 -use WP_Defender\Component\Breadcrumbs;
15 14
16 15 /**
17 16 * Handles operations to detect whether the current HTTP request comes from a legitimate bot.
18 - *
19 - * @package MyPlugin\Controllers
20 17 */
21 18 class Fake_Bot_Detection extends Controller {
22 19 use IP;
23 20
@@ -50,9 +47,9 @@
50 47 * Delete all the data & the cache.
51 48 */
52 49 public function remove_data() {
53 50 delete_site_transient( Fake_Bot_Detection_Component::CACHE_KEY );
54 - wd_di()->get( Breadcrumbs::class )->delete_meta_key();
51 + $this->service->clear_fb_transients();
55 52 }
56 53
57 54 /**
58 55 * Exports strings.