[wp-trac] [WordPress Trac] #51767: Broken logic for `https_local_ssl_verify` filter due to missing `local` argument

WordPress Trac noreply at wordpress.org
Fri Nov 13 09:29:11 UTC 2020


#51767: Broken logic for `https_local_ssl_verify` filter due to missing `local`
argument
--------------------------+-----------------------------
 Reporter:  johnbillion   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP API      |    Version:  4.6
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 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].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51767>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list