diff --git a/wp-includes/user.php b/wp-includes/user.php index 2af846c7b4..48c6e84f4a 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -302,7 +302,7 @@ function wp_authenticate_spam_check( $user ) { * @param bool $spammed Whether the user is considered a spammer. * @param WP_User $user User to check against. */ - $spammed = apply_filters( 'check_is_user_spammed', is_user_spammy(), $user ); + $spammed = apply_filters( 'check_is_user_spammed', is_user_spammy( $user ), $user ); if ( $spammed ) return new WP_Error( 'spammer_account', __( 'ERROR: Your account has been marked as a spammer.' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index f473064024..49697f07d1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37315'; +$wp_version = '4.6-alpha-37316'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.