[wp-trac] [WordPress Trac] #50992: Consider removing the ability to alter the list of environment types

WordPress Trac noreply at wordpress.org
Thu Aug 27 21:37:49 UTC 2020


#50992: Consider removing the ability to alter the list of environment types
--------------------------------------+--------------------------
 Reporter:  johnbillion               |       Owner:  johnbillion
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5.1
Component:  Bootstrap/Load            |     Version:  5.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  needs-dev-note has-patch  |     Focuses:
--------------------------------------+--------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48895" 48895]:
 {{{
 #!CommitTicketReference repository="" revision="48895"
 Bootstrap/Load: Check if the `__()` function is available in
 `wp_get_environment_type()`.

 The function would not exist in `SHORTINIT` mode.

 Follow-up to [48894].

 See #50992.
 }}}

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


More information about the wp-trac mailing list