Closed sapayth closed 1 month ago
The update introduces changes to the placeholder syntax in message templates across various components of the WordPress plugin. It transitions from using percentage signs to curly braces for dynamic content, enhancing consistency in the formatting of messages and notification emails. Additionally, it includes a new migration function for form settings to standardize notifications.
File Path | Change Summary |
---|---|
.../Post/Templates/Post_Form_Template_Events_Calendar.php, .../Post/Templates/Post_Form_Template_Post.php, .../Post/Templates/Post_Form_Template_WooCommerce.php | Changed placeholder syntax from % to {} in message templates for events and products. |
.../Free/Form_Element.php | Altered placeholder syntax in add_post_notification_content method from % to {} . |
.../Ajax/Frontend_Form_Ajax.php | Updated placeholder syntax in prepare_mail_body function from % to {} . |
.../upgrades/upgrade-4.0.11.php | Introduced wpuf_upgrade_4_0_11_migration function for form settings migration and standardization. |
.../wpuf.php | Added get_db_version_key() method to return the database version key. |
Objective | Addressed | Explanation |
---|---|---|
Can't upload images since last update (#589) | ❌ | No changes related to image upload functionality were made. |
🐇 In the meadow, bright and new,
Placeholders changed, a lovely view!
Curly braces now take their place,
Consistency brings a smiling face.
Updates solid, logic tight,
Hopping forward, all feels right! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description: In WP Dashboard > WPUF > Registration Form > Settings > Notification, the help text format are inconsistent. Some uses {placeholder_text} and some uses %placeholder_texts%
fixes #589
Summary by CodeRabbit
New Features
Bug Fixes
Chores