Skip to content

Commit

Permalink
Posts APIs: always return internal '_jetpack_dont_email_post_to_subs'…
Browse files Browse the repository at this point in the history
… meta (#40723)
  • Loading branch information
simison authored Dec 23, 2024
1 parent c9d64ce commit 55e050b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: other

Metadata: always return internal '_jetpack_dont_email_post_to_subs' meta
1 change: 1 addition & 0 deletions projects/plugins/jetpack/sal/class.json-api-metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) {
Expand Down

0 comments on commit 55e050b

Please sign in to comment.