WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51162, comment 5


Ignore:
Timestamp:
10/18/2020 06:48:58 AM (6 weeks ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51162, comment 5

    initial v1  
    44> Do you think this needs to be tied to the environment type?
    55
    6 Right, don't think this belongs together with the environment types, it is rather an "characteristic" of the environment. 'Local', 'development', maybe even 'staging' may not have net access depending on the server/firewall/permissions setup.
     6Right, don't think this belongs together with the environment types, it is rather a "characteristic" of the environment. 'Local', 'development', maybe even 'staging' may not have net access depending on the server/firewall/permissions setup.
    77
    88In that terms another constant makes most sense, perhaps something like `WP_OFFLINE`?