auth_cookie_malformed

動作鉤子
do_action( 'auth_cookie_malformed', $cookie, $scheme )
引數
  • (string) $cookie Malformed auth cookie.
    Required:
  • (string) $scheme Authentication scheme. Values include 'auth', 'secure_auth', or 'logged_in'.
    Required:
定義位置
相關勾子
auth_cookie_validauth_cookie_expiredauth_cookie_bad_usernameauth_cookieauth_cookie_bad_hash
相關方法
wp_auth_check_loadwp_set_auth_cookiewp_get_cookie_loginthe_content_feedwp_clear_auth_cookiewp_parse_auth_cookie
引入
2.7.0
棄用
-

auth_cookie_malformed是WordPress中的一個函式,用於檢查認證cookie是否是畸形的: 這個函式用於檢測認證cookie是否無效,這可能表明有安全漏洞。

如果一個認證cookie是畸形的,則發生觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'auth_cookie_malformed', $cookie, $scheme );
do_action( 'auth_cookie_malformed', $cookie, $scheme );
do_action( 'auth_cookie_malformed', $cookie, $scheme );

常見問題

FAQs
檢視更多 >