diff --git a/src/wp-includes/meta.php b/src/wp-includes/meta.php
index 6b361aaa5e..b32a608a16 100644
|
a
|
b
|
function get_metadata_raw( $meta_type, $object_id, $meta_key = '', $single = fal |
| 632 | 632 | */ |
| 633 | 633 | $check = apply_filters( "get_{$meta_type}_metadata", null, $object_id, $meta_key, $single, $meta_type ); |
| 634 | 634 | if ( null !== $check ) { |
| 635 | | if ( $single && is_array( $check ) ) { |
| 636 | | return $check[0]; |
| 637 | | } else { |
| 638 | | return $check; |
| 639 | | } |
| | 635 | return $check; |
| 640 | 636 | } |
| 641 | 637 | |
| 642 | 638 | $meta_cache = wp_cache_get( $object_id, $meta_type . '_meta' ); |