WordPress.org

Make WordPress Core

Opened 2 weeks ago

#51767 new defect (bug)

Broken logic for `https_local_ssl_verify` filter due to missing `local` argument

Reported by: johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6
Component: HTTP API Keywords: needs-patch
Focuses: Cc:

Description

When the Requests library was merged in WP 4.6, the local element in the $args array of an HTTP API request was removed. The logic for the https_local_ssl_verify filter relies on this argument being present and therefore doesn't behave properly.

To reproduce, perform an HTTP API request to home_url() and verify that the https_local_ssl_verify filter does not get triggered.

Introduced in [37428].

Change History (0)

Note: See TracTickets for help on using tickets.