Changes between Initial Version and Version 1 of Ticket #57487, comment 36
- Timestamp:
- 06/27/2023 04:12:40 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57487, comment 36
initial v1 1 This should be a string or an array of "modes", `wp_development_mode()` should be `wp_development_mode( $mode = null )` and return array|bool (array wh an argument $mode is null, bool otherwise).1 This should be a string or an array of "modes", `wp_development_mode()` should be `wp_development_mode( $mode = null )` and return array|bool (array when argument $mode is null, bool otherwise). 2 2 3 3 Array constants can be set with const from PHP 5.6. From PHP 7 array constants can also be defined runtime. Let us set this as an array from the beginning, even if core will only define and use a string for 6.3.