[wp-trac] [WordPress Trac] #54340: WP_LOCAL_DEV shouldn't be included in Site Health Info

WordPress Trac noreply at wordpress.org
Fri Oct 29 15:30:06 UTC 2021


#54340: WP_LOCAL_DEV shouldn't be included in Site Health Info
--------------------------+----------------------------------------
 Reporter:  johnbillion   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:  5.2
 Severity:  normal        |   Keywords:  needs-patch good-first-bug
  Focuses:                |
--------------------------+----------------------------------------
 On the Tools -> Site Health -> Info screen, the `WP_LOCAL_DEV` constant is
 included under the heading "WordPress Constants".

 This is not a WordPress constant and isn't used by WordPress. Some popular
 libraries use this constant but it's not a core constant and is misleading
 to include it under this heading. A colleague had this constant set in the
 expectation that it affected the return value of
 `wp_get_environment_type()`, which it does not.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54340>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list