WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33161, comment 60


Ignore:
Timestamp:
07/28/2020 08:27:55 AM (2 months ago)
Author:
Clorith
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33161, comment 60

    initial v1  
    22
    33@szepeviktor the `WP_ENV` approach is something used by Bedrock as far as I know, and although that's a good boilerplate, it's not indicative of the wider WP world. Personally I favor constants that are spelled out for clarity sake (that's my own personal take on it of course), but if there's strong reasons for changing this, then there's still a few days to make amendments here, but there's not been a lot of issues surfaced by the chosen naming scheme.
     4
     5Edit: Also by using a name not used by an existing boilerplate, we avoid unintended behavior for users who just download boilerplates without changing default values, so that may also be a benefit, and not a drawback.