Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cdn-files/plugin-info.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
*** WebDecoy Bot Detection Changelog ***

= 2.17.2 - 2026-11-29 =
* Improved: Names 126 more bots, crawlers and AI agents (403 in total), including Google-Agent, Claude-Agent, Grok-Agent, DeepSeekBot and Amazon's AgentCore browser. With automatic robots.txt or crawler page-cache bypass on, the new crawlers in your chosen categories are included.
* Fixed: People using the NAVER app, the Ecosia browser, or Instagram and Threads on Redmi Note 12 Pro phones are no longer counted as bots.
* Fixed: Rule violations sent again after a delivery retry are stored once.

= 2.17.1 - 2026-11-27 =
* Fixed: the Cloud tab now describes Slack and webhook alerts as available with an eligible plan instead of claiming they are already on, and links to each channel's actual configuration page.

Expand Down
5 changes: 4 additions & 1 deletion includes/class-webdecoy-page-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,10 @@
continue;
}
foreach ((array) ($agent['patterns'] ?? []) as $pattern) {
$pattern = strtolower((string) $pattern);
// A trailing "/" only separates a product name from its version
// ("perplexitybot/" so that Perplexity-User's "/perplexitybot" link
// does not match). The name alone is still the bot's token.
$pattern = rtrim(strtolower((string) $pattern), '/');
if (preg_match(self::SAFE_TOKEN, $pattern) === 1 && preg_match(self::DISTINCTIVE, $pattern) === 1) {
$candidates[$pattern] = true;
}
Expand Down Expand Up @@ -511,7 +514,7 @@
if (function_exists('flush_rocket_htaccess')) {
flush_rocket_htaccess();
}
rocket_generate_config_file();

Check failure on line 517 in includes/class-webdecoy-page-cache.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Function rocket_generate_config_file not found.
return true;
},
],
Expand All @@ -524,7 +527,7 @@
private static function w3tc_read(): array
{
try {
return array_values(array_map('strval', (array) \W3TC\Dispatcher::config()->get_array('pgcache.reject.ua')));

Check failure on line 530 in includes/class-webdecoy-page-cache.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Call to static method config() on an unknown class W3TC\Dispatcher.
} catch (\Throwable $e) {
return [];
}
Expand All @@ -539,17 +542,17 @@
private static function w3tc_write(array $list): bool
{
try {
$current = \W3TC\Dispatcher::config();

Check failure on line 545 in includes/class-webdecoy-page-cache.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Call to static method config() on an unknown class W3TC\Dispatcher.
$new = new \W3TC\Config();

Check failure on line 546 in includes/class-webdecoy-page-cache.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Instantiated class W3TC\Config not found.
$new->set('pgcache.reject.ua', $list);

Check failure on line 547 in includes/class-webdecoy-page-cache.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Call to method set() on an unknown class W3TC\Config.
\W3TC\Util_Admin::config_save($current, $new);

Check failure on line 548 in includes/class-webdecoy-page-cache.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Call to static method config_save() on an unknown class W3TC\Util_Admin.
} catch (\Throwable $e) {
return false;
}
try {
// What W3TC runs on its own admin pages: rewrites .htaccess and
// nginx.conf rules (Disk: Enhanced) for the new list now.
\W3TC\Dispatcher::component('Root_Environment')->fix_in_wpadmin($new);

Check failure on line 555 in includes/class-webdecoy-page-cache.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Call to static method component() on an unknown class W3TC\Dispatcher.
} catch (\Throwable $e) {
unset($e); // W3TC retries on its next admin page and reports there.
}
Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://webdecoy.com
Tags: ai crawlers, block ai bots, gptbot, robots.txt, llms.txt
Requires at least: 6.1
Tested up to: 7.2
Stable tag: 2.17.1
Stable tag: 2.17.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -275,6 +275,11 @@ The bundled good-bot list (sdk/src/GoodBotList.php) stores a documentation URL f

== Changelog ==

= 2.17.2 =
* Improved: Names 126 more bots, crawlers and AI agents (403 in total), including Google-Agent, Claude-Agent, Grok-Agent, DeepSeekBot and Amazon's AgentCore browser. With automatic robots.txt or crawler page-cache bypass on, the new crawlers in your chosen categories are included.
* Fixed: People using the NAVER app, the Ecosia browser, or Instagram and Threads on Redmi Note 12 Pro phones are no longer counted as bots.
* Fixed: Rule violations sent again after a delivery retry are stored once.

= 2.17.1 =
* Fixed: the Cloud tab describes Slack and webhook alerts as available with an eligible plan instead of claiming they are already on, and links to each channel's configuration page.

Expand Down
Loading
Loading