[wp-trac] [WordPress Trac] #37364: PHP Warning caused by \WP_Http::request, when body contains a JSON string

WordPress Trac noreply at wordpress.org
Wed Aug 10 10:58:30 UTC 2016


#37364: PHP Warning caused by \WP_Http::request, when body contains a JSON string
--------------------------+----------------------
 Reporter:  sciamannikoo  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  HTTP API      |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by ocean90):

 Replying to [comment:5 rmccue]:
 > […] It'd be nice if Requests didn't trigger a warning, but the usage is
 incorrect here.
 >
 > We should probably sanity-check the value in Requests. Closing the
 ticket out here as it's not a WP thing, but rather something inside
 Requests itself.

 See https://github.com/rmccue/Requests/issues/228.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37364#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list