#42186 closed enhancement (fixed)
Ability to pass hostname/url to https_ssl_verify filter
| Reported by: | paulschreiber | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | HTTP API | Version: | 4.9 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
It would be very useful to be able to pass the hostname (or full URL) to the https_ssl_verify filter.
This would allow me to disable verification for requests to my local development machine (i.e.
wp_remote_get( 'http://vip.local' );
), but keep it enabled for other hosts.
Attachments (2)
Change History (17)
#3
@
9 years ago
- Owner set to
- Status new → assigned
Assigning to mark the good-first-bug as "claimed".
#6
@
8 years ago
- Keywords needs-patch added; good-first-bug has-patch removed
- Milestone 5.0 → 5.0.1
- Resolution fixed
- Status closed → reopened
@since needs updating
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Passing some context to the
http_*filters seems like a good request.For reference, here's the current HTTP filters, roughly divided into those with context, and those without. Not all of these will need context, such as
block_local_requests: