WordPress.org

Make WordPress Core

Changeset 49121


Ignore:
Timestamp:
10/10/2020 08:13:11 PM (12 months ago)
Author:
johnbillion
Message:

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

Props igorradovanov, TimothyBlynJacobs

Fixes #50903

See #33161

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.env

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

    r46586 r49121  
    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}` );
    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.