Opened 10 months ago
Closed 10 months ago
#3634 closed defect (bug) (fixed)
Nested arrays in search requests causing PHP warnings
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6.14 | Priority: | high |
| Severity: | normal | Version: | 2.6.0 |
| Component: | Component - Search | Keywords: | has-patch |
| Cc: |
Description
See: https://github.com/bbpress/bbPress/pull/31
A request such as ?ts[]=term passes through this function, but ?ts[][]=term causes a PHP Warning: Array to string conversion.
As it attempts to run: implode($separator = ' ', $array = [ 0 => [0 => 'term']])
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 7297: