Opened 19 years ago
Closed 18 years ago
#3943 closed defect (bug) (fixed)
emptiness check fails in query.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | normal | Version: | 2.2 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
'Problem':
If an array is passed to wp-includes/query.php, the $query variable is never empty, because the array is no empty. However there are a lot of empty($query) check further in that function.
Solution':
We construct the query out of the non-empty keys of the array.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Punting.