Remove unused arg from wp_auth_check(), see #27081.
Built from https://develop.svn.wordpress.org/trunk@27154 git-svn-id: http://core.svn.wordpress.org/trunk@27021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -4095,7 +4095,7 @@ function wp_auth_check_html() {
|
||||
*
|
||||
* @since 3.6.0
|
||||
*/
|
||||
function wp_auth_check( $response, $data ) {
|
||||
function wp_auth_check( $response ) {
|
||||
$response['wp-auth-check'] = is_user_logged_in() && empty( $GLOBALS['login_grace_period'] );
|
||||
return $response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user