Remove debug cruft
git-svn-id: https://develop.svn.wordpress.org/trunk@7742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cc3f89ad7c
commit
0ef4c243d9
@ -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