[wp-trac] [WordPress Trac] #57487: Add support for "development mode"

WordPress Trac noreply at wordpress.org
Wed Jul 12 00:39:26 UTC 2023


#57487: Add support for "development mode"
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:  flixos90
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.3
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @flixos90 The additional function makes sense, so to summarize:

 ||= WP_DEVELOPMENT_MODE value =||= wp_in_development_mode === true =||
 || all                       || theme, plugin, core             ||
 || theme                     || theme                           ||
 || plugin                    || plugin                          ||
 || core                      || core                            ||

 If it's determined that a `site` mode is required at a latter date, it
 would return true for `theme, plugin`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57487#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list