fix(captcha): wait for runtime before sign-in

This commit is contained in:
2026-09-03 13:59:07 +08:00
parent 9d458dd99a
commit a0adddce59
3 changed files with 85 additions and 4 deletions
+1
View File
@@ -468,6 +468,7 @@ trait ScriptsPart1c {
'ajaxUrl' => admin_url('admin-ajax.php'),
'nonce' => wp_create_nonce('aksrt_public_nonce'),
'restNonce' => wp_create_nonce('wp_rest'),
'captchaSignin' => function_exists('aksrt_is_captcha_enabled_for') && aksrt_is_captcha_enabled_for('signin'),
'visibilityNonce' => wp_create_nonce('aksrt_visibility'),
'siteUrl' => home_url('/'),
'themeUrl' => AKSRT_URI,