[wp-trac] [WordPress Trac] #55741: Check the value of WP_ENVIRONMENT_TYPE before using it

WordPress Trac noreply at wordpress.org
Sat Jun 4 14:10:29 UTC 2022


#55741: Check the value of WP_ENVIRONMENT_TYPE before using it
-----------------------------------+---------------------
 Reporter:  dd32                   |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  low                    |   Milestone:  6.1
Component:  Bootstrap/Load         |     Version:
 Severity:  trivial                |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+---------------------

Comment (by ramon fincken):

 added patch 2, as the is_string is not needed anymore due to the in_array
 strict checker

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


More information about the wp-trac mailing list