woocommerce/includes/rest-api
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
..
Controllers Improvements in the engine behind the debug tools page. 2021-04-28 10:24:23 +02:00
Utilities Change __wakeup() to a public method to avoid PHP8 warning. 2020-09-18 07:55:26 +00:00
Package.php Fixed usage of package tag in REST API and templates 2020-09-17 11:56:08 -03:00
Server.php Fixed usage of package tag in REST API and templates 2020-09-17 11:56:08 -03:00