diff --git a/src/wp-includes/meta.php b/src/wp-includes/meta.php index fe144fcda6..3bce8281e3 100644 --- a/src/wp-includes/meta.php +++ b/src/wp-includes/meta.php @@ -673,7 +673,7 @@ function metadata_exists( $meta_type, $object_id, $meta_key ) { } /** This filter is documented in wp-includes/meta.php */ - $check = apply_filters( "get_{$meta_type}_metadata", null, $object_id, $meta_key, true ); + $check = apply_filters( "get_{$meta_type}_metadata", null, $object_id, $meta_key, true, $meta_type ); if ( null !== $check ) { return (bool) $check; }