[wp-trac] [WordPress Trac] #37364: PHP Warning caused by \WP_Http::request, when body contains a JSON string
WordPress Trac
noreply at wordpress.org
Mon Jul 18 17:57:55 UTC 2016
#37364: PHP Warning caused by \WP_Http::request, when body contains a JSON string
--------------------------+--------------------
Reporter: sciamannikoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: HTTP API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Comment (by sciamannikoo):
@ocean90 you nailed it!
This comes from some legacy code.
Apparently, the developer was too lazy to remove the "body" when the
request type was using the GET method.
Removing it seems to have fixed the issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37364#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list