-
-
Notifications
You must be signed in to change notification settings - Fork 4
Release v1.12.0 Changes #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Renamed 'cooked-show-heading-element' to 'cooked-show-substitution'. - Added 'cooked-has-substitution' logic.
- Changed 'cooked-expanded' to 'cooked-has-substitution'.
…tion Feature: Ingredient Substitution
- Added Polylang & WPML Support. - Addressed the CVE-2025-68586 & CVE-2025-62989 security vulnerabilities. - Added [cooked-next-previous] shortcode documentation in recipe "Shortcodes" tab.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on February 3
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| thisParent.find('input[data-ingredient-part="section_heading_element"]').focus(); | ||
| thisParent.find('input[data-ingredient-part="sub_amount"]').focus(); | ||
| } | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing click handler breaks ingredient heading element toggle
High Severity
The click handler for .cooked-show-heading-element in the ingredient builder was replaced with a new .cooked-show-substitution handler instead of being added alongside it. The .cooked-show-heading-element elements still exist in the HTML templates (in class.cooked-recipe-meta.php at lines 563 and 718) and have CSS styling, but clicking them no longer triggers the expand/collapse behavior because the JavaScript handler was removed. The direction builder still has its handler at line 487, but the ingredient builder's heading element toggle is now broken.
Description
Please explain the changes you have made here.
Checklist
Please check if your PR fulfills the following requirements:
Note
Introduces substitution support in the ingredient builder and improves recipe browse URL generation.
#cooked-ingredients-builderwith new styles and JS handlers; adjusts select widths and padding for better layoutbrowse_page_urlas the base for pretty search URLs (supports multilingual prefixes); cleans URL assembly.cooked-ingredient-substitutionand label styles; mirrored updates in minified assets1.12.0inCITATION.cffandcomposer.json; updatesSECURITY.mdsupported versionsWritten by Cursor Bugbot for commit 5c0c241. This will update automatically on new commits. Configure here.