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
This commit is contained in:
Andrew Nacin 2010-05-21 15:03:54 +00:00
parent ffed6e8554
commit b5ce43f348
1 changed files with 0 additions and 3 deletions

View File

@ -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 )