Changes between Initial Version and Version 11 of Ticket #58855
- Timestamp:
- 08/21/2023 07:45:23 PM (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58855
- Property Keywords has-patch 2nd-opinion added
-
Property
Summary
changed from
Fix and enhance wp_in_development_mode() to be able to return whether a development mode is beiung used
toFix and enhance wp_is_development_mode() to be able to return whether a development mode is beiung used
-
Ticket #58855 – Description
initial v11 1 1 Follow up from: https://core.trac.wordpress.org/ticket/57487#comment:71. 2 2 3 The (new in 6.3) `wp_i n_development_mode()` helper function cannot be used to check whether a development mode is enabled or not. It can only check for a particular development mode setting: either plugin, theme or core.3 The (new in 6.3) `wp_is_development_mode()` helper function cannot be used to check whether a development mode is enabled or not. It can only check for a particular development mode setting: either plugin, theme or core. 4 4 5 5 Being able to check whether a development mode is enabled or not will enhance the above function and improve consistency. Currently this can be achieved by using the returned value from `wp_get_development_mode()` as boolean.