Opened 13 years ago
Closed 12 years ago
#20376 closed defect (bug) (fixed)
wp_list_pages fails with meta_value=0 criteria
Reported by: | Big Tick | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.3.1 |
Component: | Query | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
The following code will ignore the meta_key filtering. In other words, wp_list_pages can't test for a meta_value of 0.
wp_list_pages( array( 'meta_key' => 'a_custom_key', 'meta_value' => '0' ) )
Attachments (5)
Change History (21)
#3
@
12 years ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In 22445:
#5
@
12 years ago
- Keywords needs-patch added; has-patch removed
- Milestone changed from 3.5 to Future Release
- Resolution fixed deleted
- Status changed from closed to reopened
See #22389.
#12
@
12 years ago
Refreshed 20376.3.patch and added unit tests for meta queries in get_pages
and wp_dropdown_pages
in 20376.tests.diff.
#13
@
12 years ago
20376.4.patch refreshes .3
#14
@
12 years ago
In 1279/tests:
Note: See
TracTickets for help on using
tickets.
Related: #15292