From b5ce43f34876b787e24894c48574da6c5c9259f4 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 21 May 2010 15:03:54 +0000 Subject: [PATCH] Revert [14695]. We need to be a bit less strict. see #13317. git-svn-id: https://develop.svn.wordpress.org/trunk@14780 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/pluggable.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 595d102c82..8fb04d3376 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -102,9 +102,6 @@ if ( !function_exists('get_userdata') ) : */ function get_userdata( $user_id ) { global $wpdb; - - if ( ! is_numeric( $user_id ) ) - return false; $user_id = absint( $user_id ); if ( ! $user_id )