Development mode should be set to 'plugin' in the development environment #1423
Labels
Infrastructure
Issues for the overall performance plugin infrastructure
Needs Dev
Anything that requires development (e.g. a pull request)
[Plugin] Optimization Detective
Issues for the Optimization Detective plugin
WordPress has a development mode introduced in WP 6.3 which can be set to
core
,theme
,plugin
, orall
. Wouldn't it make sense if this were set toplugin
in the development environment? Our plugins could behave differently when in plugin development mode. For example, Optimization Detective could by default do the equivalent of the following, a configuration that makes it easier to test during development:For example, the plugin could be patched as follows:
The text was updated successfully, but these errors were encountered: