Sync with upstream Bedrock#196
Open
retlehs wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR syncs upstream Bedrock changes into the Pantheon fork
roots/wp-password-bcrypt(WordPress 6.8 ships native bcrypt password hashing)config/application.phpchanges:Env\Env::$optionsas named constants — replaces the magic value31with explicit flags (Bedrock reference). Pantheon's flag set is preserved exactly:USE_ENV_ARRAYis kept (needed for the$_ENV[...]syntax in.env.example), andLOCAL_FIRSTis intentionally not added (Pantheon's Lando-aware loading handles env precedence differently).WP_ENVIRONMENT_TYPE— derives from env or falls back toWP_ENVif it matches a recognized value.WP_DEVELOPMENT_MODE— supports the WP 6.3+ development-mode flag via env.DB_SSL— opt-in MySQL SSL (MYSQLI_CLIENT_SSL), no-op unless the env var is set.DISABLE_WP_CRON— env-configurable for sites running cron externally.CONCATENATE_SCRIPTS = false— Bedrock convention to disable WP's built-in script concatenation.composer.jsonhousekeepingwpackagist-theme/twentytwentytwo:^1.2→wp-theme/twentytwentyfive:^1.0. The previous theme is from WP 5.9 (Jan 2022); twentytwentyfive is the current default in WP 6.7+."sort-packages": trueadded underconfig:— keepscomposer.lockdiffs deterministic.requireandrequire-devalphabetized sosort-packagesis meaningful immediately, not just for future additions.Happy to adjust anything.
Disclosure: I'm one of the Bedrock maintainers.