Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #57487, comment 7


Ignore:
Timestamp:
01/18/2023 01:52:43 AM (23 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57487, comment 7

    v1 v2  
    99> Just curious, is there a use case where setting `WP_ENVIRONMENT_TYPE` to `development` is not enough and a new constant is needed?
    1010
    11 Unfortunately `WP_ENVIRONMENT_TYPE` can only be set to either 'local' or 'development'. What if both of these are true/needed? Same for 'staging' and 'development', or 'local' and 'production'. What if I want to test production on a local environment? This makes the whole functionality there pretty confusing and useless imho :(
     11Unfortunately `WP_ENVIRONMENT_TYPE` can only be set to either 'local' or 'development'. What if both of these are true/needed? Same for 'staging' and 'development', or 'local' and 'production'. What if I want to test production in a local environment? This makes the whole functionality there pretty confusing and useless imho :(
    1212
    1313