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