Display Logic Update (Version 4.2.0)
-
We’ve introduced significant improvements to the Display Logic system in version 4.2.0 to enhance security and stability.
The previous Display Logic implementation evaluated PHP logic directly inside widgets. This approach may introduce security risks if the logic is misused.
This update introduces a centralized Logic Snippet system that provides a more structured and controlled way to manage widget visibility rules. The system stores and processes logic conditions in a dedicated environment, which helps Widget Options validate and sanitize logic more consistently while improving overall security.
Key changes include:
- Automatic migration of existing widget logic into Logic Snippets during the update.
- Existing logic is preserved as Legacy Code, ensuring widgets continue to work exactly as before.
- A migration notice will appear in the WordPress dashboard, allowing you to review and choose which logic codes to migrate.
- All new or modified logic must now be managed through the Widget Options Snippet page.
- Updated role-based restrictions, where administrators manage logic creation while other roles can apply predefined logic rules.
These improvements provide a more secure and organized way to manage Display Logic while maintaining compatibility with your existing widget settings.
For full details and setup instructions, please refer to the documentation here: https://widget-options.com/docs/widget-options-new-display-logic-system/
Need support for Widget Options Extended: Please open a support ticket here.
You must be logged in to reply to this topic.