mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Remove debug cruft
git-svn-id: http://svn.automattic.com/wordpress/trunk@7742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
80fbb3b27d
commit
14ed05e98b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user