Skip to content

Commit 6f86905

Browse files
committed
Fix. Cookie. Renaming the wordpress_apbct_antibot cookie
1 parent d0762b8 commit 6f86905

24 files changed

Lines changed: 24 additions & 24 deletions

inc/cleantalk-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function apbct_admin_set_cookie_for_anti_bot()
4848
echo
4949
'<script ' . (class_exists('Cookiebot_WP') ? 'data-cookieconsent="ignore"' : '') . '>
5050
var ctSecure = location.protocol === "https:" ? "; secure" : "";
51-
document.cookie = "wordpress_apbct_antibot=' . apbct_get_anti_bot_cookie_hash() . '; path=/; expires=0; samesite=lax" + ctSecure;
51+
document.cookie = "apbct_antibot=' . apbct_get_anti_bot_cookie_hash() . '; path=/; expires=0; samesite=lax" + ctSecure;
5252
</script>';
5353
}
5454
}

js/apbct-public-bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_ext-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_ext-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_int-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_int-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/prebuild/apbct-public-bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2116,7 +2116,7 @@ function ctSetCookie( cookies, value, expires='') {
21162116
let listOfCookieNamesToForceAlt = [
21172117
'ct_sfw_pass_key',
21182118
'ct_sfw_passed',
2119-
'wordpress_apbct_antibot',
2119+
'apbct_antibot',
21202120
'apbct_anticrawler_passed',
21212121
'apbct_bot_detector_exist',
21222122
'apbct_antiflood_passed',

0 commit comments

Comments
 (0)