[wp-trac] [WordPress Trac] #40142: WP Remote Remaining Methods
WordPress Trac
noreply at wordpress.org
Mon Jan 14 04:17:55 UTC 2019
#40142: WP Remote Remaining Methods
------------------------------------------+------------------------------
Reporter: bhubbard | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version: 2.7
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Changes (by dd32):
* keywords: has-patch 2nd-opinion needs-unit-tests => needs-patch needs-
unit-tests
Comment:
FWIW my suggested method moving forward here would be to overload
`wp_safe_remote_request()`. I won't be taking charge of implementing this
though.
Changing the signature from `wp_safe_remote_request( $url, $args )` to
`wp_safe_remote_request( $method, $url, $args, $body )` with appropriate
back-compat in place (if $method is url and $url is array, assume old
calling method, transparently upgrade request to new syntax).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40142#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list