[wp-trac] [WordPress Trac] #58855: Fix and enhance wp_in_development_mode() to be able to return whether a development mode is beiung used
WordPress Trac
noreply at wordpress.org
Wed Jul 19 22:36:50 UTC 2023
#58855: Fix and enhance wp_in_development_mode() to be able to return whether a
development mode is beiung used
-------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+---------------------
Comment (by SergeyBiryukov):
Just to clarify, what would be the difference between:
* `wp_is_development_mode()` returning `true` (or
`wp_get_development_mode()` returning a non-empty value)
* `wp_get_environment_type()` returning `'development'`
* `WP_DEBUG` set to `true`
This already looks a bit confusing to me :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58855#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list