Opened 22 months ago
Closed 21 months ago
#18228 closed defect (bug) (fixed)
Only add the post format body classes when the post type supports post formats
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | General | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Attachments (1)
Change History (5)
- Milestone changed from Awaiting Review to 3.3
That's right, but it returns also false if get_the_terms is empty.
Note: See
TracTickets for help on using
tickets.

get_post_format() already performs a post_type_supports() check and returns false as of r17429.