From 14ed05e98b40f5a6c69603d0a3cdc2eac21ec46b Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 18 Apr 2008 20:06:46 +0000 Subject: [PATCH] Remove debug cruft git-svn-id: http://svn.automattic.com/wordpress/trunk@7742 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index a8445ce180..ffa4d0289b 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -157,7 +157,7 @@ function get_usermeta( $user_id, $meta_key = '') { } else { $metas = $wpdb->get_col( $wpdb->prepare("SELECT meta_value FROM $wpdb->usermeta WHERE user_id = %d", $user_id) ); } - error_log("$meta_key: " . var_export($metas, true), 0); + if ( empty($metas) ) { if ( empty($meta_key) ) return array();