[wp-trac] [WordPress Trac] #33161: Create a standard for defining and identifying site environment

WordPress Trac noreply at wordpress.org
Fri May 15 13:17:33 UTC 2020


#33161: Create a standard for defining and identifying site environment
--------------------------------+-----------------------------
 Reporter:  krogsgard           |       Owner:  SergeyBiryukov
     Type:  enhancement         |      Status:  accepted
 Priority:  normal              |   Milestone:  5.5
Component:  Options, Meta APIs  |     Version:  4.2
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:
--------------------------------+-----------------------------

Comment (by jchristopher):

 Yes, definitely in favor of something proper here.

 Adding to the use cases: conditionally plugging wp_mail() in non-
 production environments to not inadvertently send `n`
 automated/transaction emails. I heard this happened to //a friend// once
 and it was a bad day for **my friend**.

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


More information about the wp-trac mailing list