Filter in one pass via output buffer (power users)
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- php, wordpress
- Domain
- documentation
Research direction
Start with core/filters.php and the FHTTPS_Core_Filters::content entry point, then review the plugins_loaded usage described in the issue. Confirm whether this output-buffer workaround belongs in the project's documentation; done means the guidance accurately covers the shown snippet and its mixed-content use case.
Written by the indexing model from the issue text.
Description
I support the plugins current approach to replace URLs in specific instances but ran into some cases where exterior page content (driven by dynamic options) used insecure URLs. Until such time where we can track down those loose ends, this snippet fixes mixed content warnings. It may be helpful to others as part of your documentation:
require_once(FHTTPS_PATH.'/core/filters.php');
ob_start( array( FHTTPS_Core_Filters::instance(), 'content' ) );
I implemented it in a custom plugin, executing during the plugins_loaded action with checks to ensure the plugin is active.
- 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 3/5 1-2 days Newbie friendliness 38/100
littlebizzy/force-https#11 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
littlebizzy/force-https#10 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/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