From 3dd5d1edd4c29643436e473f47d541b71ec05132 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 21 May 2010 15:08:07 +0000 Subject: [PATCH] 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 --- wp-includes/pluggable.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 8fb04d3376..595d102c82 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -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 )