False alarm, something else is going on here. Revert [14780], restore [14695]. see #13317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14781 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b5ce43f348
commit
3dd5d1edd4
@ -102,6 +102,9 @@ 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 )
|
||||
|
Loading…
Reference in New Issue
Block a user