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:
Andrew Ozz 2013-02-28 09:03:10 +00:00
parent 0910d5755e
commit 766d96db5d

View File

@ -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;
}