[wp-trac] [WordPress Trac] #50896: Add filters to wp_get_environment_type()

WordPress Trac noreply at wordpress.org
Tue Aug 11 16:29:26 UTC 2020


#50896: Add filters to wp_get_environment_type()
-------------------------+------------------------------
 Reporter:  crstauf      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by Clorith):

 I'm not sure I get the underlying problem here, wouldn't it be _easier_ to
 define the `WP_ENVIRONMENT` constant on your development site, than
 implementing a filter?

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


More information about the wp-trac mailing list