[wp-trac] [WordPress Trac] #51162: Consider adding "offline" as environment on WP_ENVIRONMENT_TYPE

WordPress Trac noreply at wordpress.org
Tue Sep 1 13:03:48 UTC 2020


#51162: Consider adding "offline" as environment on WP_ENVIRONMENT_TYPE
----------------------------+---------------------
 Reporter:  johnbillion     |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.5.2
Component:  Bootstrap/Load  |     Version:  5.5
 Severity:  normal          |  Resolution:
 Keywords:  2nd-opinion     |     Focuses:
----------------------------+---------------------

Comment (by roytanck):

 This overlaps somewhat with existing constants like `WP_LOCAL_DEV` and
 `WP_HTTP_BLOCK_EXTERNAL`. I'm not sure a server's technical configuration
 (does it have access to the internet?) is really an environment type.
 Perhaps a new constant would be a better option?

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


More information about the wp-trac mailing list