Code Duplication    Length = 4-4 lines in 2 locations

src/wp-includes/meta.php 2 locations

@@ 496-499 (lines=4) @@
493
494
	$meta_cache = wp_cache_get($object_id, $meta_type . '_meta');
495
496
	if ( !$meta_cache ) {
497
		$meta_cache = update_meta_cache( $meta_type, array( $object_id ) );
498
		$meta_cache = $meta_cache[$object_id];
499
	}
500
501
	if ( ! $meta_key ) {
502
		return $meta_cache;
@@ 545-548 (lines=4) @@
542
543
	$meta_cache = wp_cache_get( $object_id, $meta_type . '_meta' );
544
545
	if ( !$meta_cache ) {
546
		$meta_cache = update_meta_cache( $meta_type, array( $object_id ) );
547
		$meta_cache = $meta_cache[$object_id];
548
	}
549
550
	if ( isset( $meta_cache[ $meta_key ] ) )
551
		return true;