wp-cli / wp-cli-tests

WP-CLI testing framework
MIT License
38 stars 23 forks source link

Fix SQLite mu-plugins usage with composer installs #192

Closed swissspidy closed 10 months ago

swissspidy commented 10 months ago

Adds a test in this repo so we don’t have to find out by looking at other repos

Note:

I accidentally found out that the following doesn't work:

Given a WP install with Composer
And a custom wp-content directory

That's because of a different RUN_DIR, but this scenario is never tested and probably doesn't need to be. And it's not isolated to SQLite either so would warrant its own PR.

Related https://github.com/wp-cli/wp-cli/issues/5859