Recipe Card Blocks PRO 7.6.4
This release focuses on enhancing security by implementing stricter permission checks for various actions within the plugin, ensuring that users can only modify content they are authorised to access.
Fixed
- Fixed a missing permission check in the WP Recipe Maker importer. A user with Contributor access could replace the WP Recipe Maker block in posts they are not allowed to edit, and see the titles of other users' drafts. The importer now needs the same permission as the Import & Export screen and only changes posts the current user can edit. Thanks to Wordfence for the report.
- Resetting the plugin settings, resetting all ratings, and linking or unlinking a recipe and its parent post now check the user's permissions. Before, they could be run by users without the right role.
- Editing a recipe under All Recipes no longer updates the Recipe Card in a post the current user is not allowed to edit.
- Stricter permission checks for the recipe scanner, the ingredient amounts update and the bulk rating actions.