Title: Version 6.0.6 has breaking changes
Last modified: September 3, 2025

---

# Version 6.0.6 has breaking changes

 *  [Mattia Trapani](https://wordpress.org/support/users/zupolgec/)
 * (@zupolgec)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/version-6-0-6-has-breaking-changes/)
 * In version 6.0.6 there is a major breaking change in how the plugin works.
 * From the changelog:
 * > = 6.0.6 =
   >  - reworked main logic function to avoid EVAL
   >  - !IMPORTANT! from this version not all php code will be executed in Widget
   >    Logic field
   >  - if you need more php functions you can add it with using `add_filter('widget_logic_allowed_functions','[
   >    your_custom_function_here]');`
 * I’m using function “is_tree”, for example, which has not been included in the
   default allowed functions list, which is:
 *     ```wp-block-code
       $allowed_functions = array(        'is_home', 'is_front_page', 'is_single', 'is_page', 'is_category',        'is_tag', 'is_archive', 'is_search', 'is_404', 'is_user_logged_in',        'current_user_can', 'is_active_sidebar', 'is_admin',    );
       ```
   
 * My suggestion would be to tag a 7.0 release. If that is not possible, at least
   add is_tree function to the list, since it’s quite commonly used.

The topic ‘Version 6.0.6 has breaking changes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-logic_c8dde5.svg)
 * [Widget Logic](https://wordpress.org/plugins/widget-logic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-logic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-logic/reviews/)

 * 0 replies
 * 3 participants
 * Last reply from: [Mattia Trapani](https://wordpress.org/support/users/zupolgec/)
 * Last activity: [9 months, 2 weeks ago](https://wordpress.org/support/topic/version-6-0-6-has-breaking-changes/)
 * Status: not resolved