Skip to content

Commit

Permalink
Content Options: Adding back an erroneously removed value from a get_…
Browse files Browse the repository at this point in the history
…post_metadata filter (#39200)
  • Loading branch information
coder-karen committed Sep 3, 2024
1 parent 90657ba commit 7e2afc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Content Options: Add back value to filter in package version of Content Options file.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function jetpack_featured_images_remove_post_thumbnail( $metadata, $object_id, $
return $metadata;
}
}
add_filter( 'get_post_metadata', 'jetpack_featured_images_remove_post_thumbnail', 3 );
add_filter( 'get_post_metadata', 'jetpack_featured_images_remove_post_thumbnail', true, 3 ); // @phan-suppress-current-line PhanTypeMismatchArgument.

}

Expand Down

0 comments on commit 7e2afc9

Please sign in to comment.