diff --git a/projects/plugins/jetpack/changelog/update-metadata-api-dont-email b/projects/plugins/jetpack/changelog/update-metadata-api-dont-email new file mode 100644 index 0000000000000..60d5efa266bca --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-metadata-api-dont-email @@ -0,0 +1,4 @@ +Significance: minor +Type: other + +Metadata: always return internal '_jetpack_dont_email_post_to_subs' meta diff --git a/projects/plugins/jetpack/sal/class.json-api-metadata.php b/projects/plugins/jetpack/sal/class.json-api-metadata.php index 801859a4263d3..2622d6b6b0ecd 100644 --- a/projects/plugins/jetpack/sal/class.json-api-metadata.php +++ b/projects/plugins/jetpack/sal/class.json-api-metadata.php @@ -59,6 +59,7 @@ public static function is_internal_only( $key ) { $whitelist = array( '_jetpack_newsletter_access', '_jetpack_newsletter_tier_id', + '_jetpack_dont_email_post_to_subs', ); if ( in_array( $key, $whitelist, true ) ) {