Opened 16 years ago
Closed 16 years ago
#9645 closed defect (bug) (fixed)
Misplaced close parentheses in query.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
There are two places in wp-includes/query.php
where we have this:
if ( is_array($ids) && count($ids > 0) ) {
The close parenthesis for count()
is misplaced and we probably really want:
if ( is_array($ids) && count($ids) > 0 ) {
These are part of the query handling for category__not_in
and tag__not_in
.
Patch attached.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Slight refactoring of code around the area affected by the original patch (this includes original patch).