WordPress.org

Make WordPress Core

Changeset 49339


Ignore:
Timestamp:
10/27/2020 06:58:02 PM (12 months ago)
Author:
desrosj
Message:

Build/Test Tools: Set the local development environment to a local environment type by default.

Props igorradovanov, TimothyBlynJacobs, johnbillion.
Merges [49121] to the 5.5 branch.
See #50903.

Location:
branches/5.5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5

  • branches/5.5/.env

    r47021 r49339  
    3030LOCAL_WP_DEBUG_DISPLAY=true
    3131LOCAL_SCRIPT_DEBUG=true
     32LOCAL_WP_ENVIRONMENT_TYPE=local
    3233
    3334# The URL to use when running e2e tests.
  • branches/5.5/tools/local-env/scripts/install.js

    r46586 r49339  
    1515wp_cli( `config set WP_DEBUG_DISPLAY ${process.env.LOCAL_WP_DEBUG_DISPLAY} --raw` );
    1616wp_cli( `config set SCRIPT_DEBUG ${process.env.LOCAL_SCRIPT_DEBUG} --raw` );
     17wp_cli( `config set WP_ENVIRONMENT_TYPE ${process.env.LOCAL_WP_ENVIRONMENT_TYPE}` );I
    1718
    1819// Move wp-config.php to the base directory, so it doesn't get mixed up in the src or build directories.
Note: See TracChangeset for help on using the changeset viewer.