diff --git a/wp-includes/meta.php b/wp-includes/meta.php index 75aa00747..c8fdf7867 100644 --- a/wp-includes/meta.php +++ b/wp-includes/meta.php @@ -134,7 +134,10 @@ function get_metadata($meta_type, $object_id, $meta_key = '', $single = false) { } } - return false; + if ($single) + return ''; + else + return array(); } function update_meta_cache($meta_type, $object_ids) {