WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#8692 closed defect (bug) (invalid)

Null body post requests

Reported by: sivel Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch
Focuses: Cc:

Description

There are 2 places where wp_remote_post is being used with a null body. The http api converts post requests with a null body to head requests. Replace the wp_remote_post with wp_remote_request in these locations.

Attachments (1)

8692.diff (1009 bytes) - added by sivel 6 years ago.

Download all attachments as: .zip

Change History (4)

@sivel6 years ago

comment:1 @sivel6 years ago

So not sure why null body post requests are showing up as GET requests. But in any case neither of these requests appear that they need to be POST requests.

comment:2 @sivel6 years ago

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 @johnbillion6 years ago

  • Milestone 2.7.1 deleted
Note: See TracTickets for help on using tickets.