Recipe Card Blocks 4.0.3
This release enhances security by preventing unauthorised changes to embedded recipes and ensuring recipe data is only saved in relevant posts. It also fixes issues that could lead to unintended overwrites of Recipe Cards.
Fixed
- A Recipe Card in a post no longer overwrites a recipe the post only embeds (Insert Existing Recipe block, shortcode or Elementor widget). Before, a user with Author access could replace such a recipe, including one they are not allowed to edit, by swapping the embed for a Recipe Card of their own. An embedded recipe is now never synced with a Recipe Card in the post that embeds it, also after the embed is removed.
- Saving a post no longer writes recipe usage data to posts that are not recipes.
- Editing a recipe under All Recipes could overwrite an unrelated Recipe Card in a post that used to embed that recipe.