WordPress / WordPress/sqlite-database-integration
Do not redirect when activating plugin via WP-CLI
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 363
- Forks
- 67
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 7
Description
We‘d like to run WP-CLI tests with SQLite using this plugin. I noticed this issue during one of the test runs, as the attempted redirect can cause warnings in CLI.
I suggest not doing a redirect if the WP_CLI constant is defined and true.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the plugin activation path that attempts the redirect and the WP-CLI tests using SQLite. Confirm the behavior when WP_CLI is defined and true, then run the relevant WP-CLI test suite; done means activation produces no redirect warning in CLI while normal activation behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sqlite
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100