Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57487, comment 3


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57487, comment 3

    initial v1  
    11Replying to [comment:1 afragen]:
    22
    3 Yea, this is somewhat similar to setting `WP_ENVIRONMENT_TYPE` to `development`. However the "environment types" functionality doesn't seem to be particularly useful for setting development mode. It seems unclear and harder to use, and buggy in some cases. The `setenv` and `getenv` functions don't seem to be enabled or to work reliably in some cases. Also the `WP_ENVIRONMENT_TYPE` constant was deprecated, but is still needed/required in these cases which makes it... weird :)
     3Yea, this is somewhat similar to setting `WP_ENVIRONMENT_TYPE` to `development`. However the "environment types" functionality doesn't seem to be particularly useful for setting development mode. It seems unclear and harder to use, and buggy in some cases. The `setenv` and `getenv` functions don't seem to be enabled or to work reliably in some cases.
     4
     5Another very big disadvantage there is that setting WP_ENVIRONMENT_TYPE to 'local' means it cannot be set to 'development' and vice-versa. That makes the whole functionality pretty useless.