Ticket #58246: 58246.diff
File 58246.diff, 487 bytes (added by , 2 years ago) |
---|
-
src/wp-includes/meta.php
diff --git a/src/wp-includes/meta.php b/src/wp-includes/meta.php index 6b361aaa5e..c2ba1eb172 100644
a b function update_meta_cache( $meta_type, $object_ids ) { 1146 1146 */ 1147 1147 $check = apply_filters( "update_{$meta_type}_metadata_cache", null, $object_ids ); 1148 1148 if ( null !== $check ) { 1149 return (bool) $check;1149 return is_array( $check ) ? $check : (bool) $check; 1150 1150 } 1151 1151 1152 1152 $cache_key = $meta_type . '_meta';