diff --git a/wp-includes/meta.php b/wp-includes/meta.php index fe144fcda6..3bce8281e3 100644 --- a/wp-includes/meta.php +++ b/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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8f31b3d7f6..0d4ececc97 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49698'; +$wp_version = '5.7-alpha-49699'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.