woocommerce/src/Utilities
Nestor Soriano 10adec6b88
Improvements in the engine behind the debug tools page.
Two new optional keys have been added to the tool definition array:

- 'disabled': when true the tool button will appear disabled.
- 'needs_refresh': when running a tool, by default the tool definitions
  are retrieved first, then the selected tool is executed,
  then the definitions previously retrieved are rendered.
  When this key is true the tool definitions are retrieved again
  after execution, useful for cases where the tool description
  or button enable/disable state changes after the tool execution.

Also now if a tool execution throws an exception a notice will be
shown with the execption message, previously the exception
was unhandled.
2021-04-28 10:24:23 +02:00
..
ArrayUtil.php Improvements in the engine behind the debug tools page. 2021-04-28 10:24:23 +02:00
NumberUtil.php Fix a couple of incompatibilities with NumberUtils::round 2020-10-08 13:13:53 +02:00
StringUtil.php Removed unnecessary @package tags 2020-08-07 16:47:07 -07:00