Opened 16 years ago
Closed 16 years ago
#7460 closed defect (bug) (fixed)
Null input to http_build_query in http.php
Reported by: | johnhennmacc | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
With r8534, I get an error message like the following:
Warning: http_build_query() [function.http-build-query]: Parameter 1 expected to be Array or Object. Incorrect value given. in [blog path removed]/wp-includes/http.php on line 200
Removing the call to http_build_query removes the message but might have other side effects that I may not know about.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Tests for whether $body is an array or an object before running http_build_query() on $body. Based off of r8535