diff --git a/wp-includes/load.php b/wp-includes/load.php index 82e92082be..3fc74006a0 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -134,10 +134,11 @@ function wp_check_php_mysql_versions() { * The type can be set via the `WP_ENVIRONMENT_TYPE` global system variable, * or a constant of the same name. * - * Possible values include 'development', 'staging', 'production'. If not set, - * the type defaults to 'production'. + * Possible values include 'local', 'development', 'staging', 'production'. + * If not set, the type defaults to 'production'. * * @since 5.5.0 + * @since 5.5.1 The 'local' type was added. * * @return string The current environment type. */ @@ -149,6 +150,7 @@ function wp_get_environment_type() { } $wp_environments = array( + 'local', 'development', 'staging', 'production', diff --git a/wp-includes/version.php b/wp-includes/version.php index f12cf33522..563bdfbf92 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5.1-alpha-48854'; +$wp_version = '5.5.1-alpha-48857'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.