WidgetOptions / widget-options

Additional Widget options for better widget control. Available on
https://widget-options.com/
GNU General Public License v3.0
34 stars 16 forks source link

Allow Display Logic to be disabled with constant #12

Closed michaelryanmcneill closed 7 years ago

michaelryanmcneill commented 7 years ago

Because of the potential security risks associated with allowing text to be directly eval'd, it would be great if we could disable "Display Logic" with a wp-config.php constant. While I'm currently using the existing filter, widget_options_logic_override to disable it, it would be nice to be able to disable it with a constant.

phpbits commented 7 years ago

Hi @michaelryanmcneill

Thank you so much for the suggestion. Will let you know when this functionality has been added. Thanks again!

Cheers, Jeffrey