Revert [14695]. We need to be a bit less strict. see #13317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc596e1533
commit
39af37992a
|
@ -103,9 +103,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 )
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue