Opened 14 years ago
Closed 14 years ago
#20675 closed defect (bug) (duplicate)
Arrays in query params break WordPress as of latest upgrade
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.3.2 |
| Component: | Canonical | Keywords: | |
| Focuses: | Cc: |
Description
I just upgraded Wordpress to 3.3.2, and one of my plugins (wp-diso-actionstream) broke, because some of its URLs expect ?include[]=blah (that is, an array in the query string), which messes up wp-includes/canonical.php:283
I have replaced the line with:
if(!is_array($_parsed_query)) $_parsed_query = array_map( 'rawurlencode', $_parsed_query );
and now it works, but I'm not sure what the right solution would be.
Change History (1)
Note: See
TracTickets for help on using
tickets.
#20143