mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 21:51:26 +01:00
Logged out warnings: remove debug leftovers, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0910d5755e
commit
766d96db5d
@ -54,11 +54,6 @@ class WP_Auth_Check {
|
||||
if ( array_key_exists('wp-auth-check', $data) && ( ! isset( $_COOKIE[LOGGED_IN_COOKIE] ) || ! wp_validate_auth_cookie() || ! empty( $GLOBALS['login_grace_period'] ) ) )
|
||||
$response['wp-auth-check-html'] = $this->notice();
|
||||
|
||||
|
||||
$response['LOGGED_IN_COOKIE'] = isset( $_COOKIE[LOGGED_IN_COOKIE] );
|
||||
|
||||
$response['wp_validate_auth_cookie'] = wp_validate_auth_cookie();
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
@ -70,10 +65,6 @@ class WP_Auth_Check {
|
||||
if ( array_key_exists('wp-auth-check', $data) )
|
||||
$response['wp-auth-check-html'] = $this->notice();
|
||||
|
||||
|
||||
$response['nopriv_login'] = 1;
|
||||
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user