Plugin exits php when run in script mode
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start by tracing the plugin's start function and how it detects whether it is running in CLI mode. Reproduce the issue with a custom PHP script and verify that the script continues executing without the plugin terminating it, while normal WordPress loading remains unaffected.
Written by the indexing model from the issue text.
Description
When using a php script to manipulate a WP install, the force-https plugin will still try to load itself, and the start function will die(), thus making it impossible for the main script to ever execute.
I see a related issue #6 but that seems to be a fix that just detects WP_CLI. In my situation I have a custom CLI script.
My suggestion is that the script should only load itself when not in CLI mode.
- Dominant language
- PHP
- Stars
- 26
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
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.
More from littlebizzy/force-https
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
littlebizzy/force-https#10 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
-
Disable nag notices Open
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
littlebizzy/force-https#4 · 2 comments ·
All issues in littlebizzy/force-https
Similar issues
-
status/awaiting_triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
WordPress/plugin-check#1486 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
az-digital/az_quickstart#6019 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
grokability/snipe-it#19688 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100