Skip to content

Don't require file to be writable for config has#187

Merged
schlessera merged 2 commits intowp-cli:mainfrom
pwtyler:config-has-184
Sep 17, 2024
Merged

Don't require file to be writable for config has#187
schlessera merged 2 commits intowp-cli:mainfrom
pwtyler:config-has-184

Conversation

@pwtyler
Copy link
Contributor

@pwtyler pwtyler commented Sep 17, 2024

Allows config has to work with read-only filesystems.

Requires wp-cli/wp-config-transformer#54

Fixes #184

Part of wp-cli/wp-cli#5985

@pwtyler pwtyler marked this pull request as ready for review September 17, 2024 20:15
@pwtyler pwtyler requested a review from a team as a code owner September 17, 2024 20:15
@schlessera schlessera added the command:config-has Related to 'config has' command label Sep 17, 2024
@schlessera schlessera merged commit 4c385fd into wp-cli:main Sep 17, 2024
@schlessera schlessera added this to the 2.3.7 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:config-has Related to 'config has' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"wp config has" fails in a read-only environment

2 participants