Opened 15 years ago
Closed 15 years ago
#15364 closed defect (bug) (fixed)
Query for post_type of "any" throws notice
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.1 | Priority: | normal |
| Severity: | normal | Version: | 3.1 |
| Component: | Query | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Patch fixes by checking to make sure that the post_type object has the requisite property before evaluating that property.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [16276]) Ensure we have a valid post type object when checking for has_archive. props filosofo, fixes #15364.