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

WordPress Trac noreply at wordpress.org
Fri Jul 14 21:48:01 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                                           |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:56 joemcgill]:
 > I'd propose that we change the name of the function
 `wp_in_development_mode()` to `wp_is_development_mode()` to be more
 consistent with other similar function names. I've created
 [https://github.com/WordPress/wordpress-develop/pull/4850 PR #4850] with
 this proposed change.

 Good catch, thanks! `wp_is_development_mode()` would be my preference too.

 See comment:6:ticket:49959 for renaming `wp_in_maintenance_mode()` to
 `wp_is_maintenance_mode()` previously.

 PR approved.

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


More information about the wp-trac mailing list