Opened 2 years ago
Closed 2 years ago
#16224 closed defect (bug) (fixed)
format-standard class unnecessary for pages
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | General | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
If post formats are meant only for posts it seems unnecessary to include format-standard in the post classes for pages.
Attachments (2)
Change History (6)
iandstewart — 2 years ago
Replying to nacin:
We should probably instead use if ( post_type_supports( $post->post_type, 'post-formats' ) ).
Agreed
iandstewart — 2 years ago
comment:3
iandstewart — 2 years ago
Updated patch to exclude any post type that doesn't use post formats.
Note: See
TracTickets for help on using
tickets.

We should probably instead use if ( post_type_supports( $post->post_type, 'post-formats' ) ).