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:
Andrew Ozz 2014-02-09 22:34:11 +00:00
parent 60cc98b86d
commit eba12cfaf4
2 changed files with 4 additions and 4 deletions

View File

@ -293,9 +293,9 @@ add_filter( 'default_option_embed_autourls', '__return_true' );
add_filter( 'heartbeat_settings', 'wp_heartbeat_settings' ); add_filter( 'heartbeat_settings', 'wp_heartbeat_settings' );
// Check if the user is logged out // Check if the user is logged out
add_action( 'admin_enqueue_scripts', 'wp_auth_check_load' ); add_action( 'admin_enqueue_scripts', 'wp_auth_check_load' );
add_filter( 'heartbeat_send', 'wp_auth_check', 10, 2 ); add_filter( 'heartbeat_send', 'wp_auth_check' );
add_filter( 'heartbeat_nopriv_send', 'wp_auth_check', 10, 2 ); add_filter( 'heartbeat_nopriv_send', 'wp_auth_check' );
// Default authentication filters // Default authentication filters
add_filter( 'authenticate', 'wp_authenticate_username_password', 20, 3 ); add_filter( 'authenticate', 'wp_authenticate_username_password', 20, 3 );

View File

@ -4095,7 +4095,7 @@ function wp_auth_check_html() {
* *
* @since 3.6.0 * @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'] ); $response['wp-auth-check'] = is_user_logged_in() && empty( $GLOBALS['login_grace_period'] );
return $response; return $response;
} }