[wp-trac] [WordPress Trac] #18228: Only add the post format body classes when the post type supports post formats

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 23 12:18:53 UTC 2011


#18228: Only add the post format body classes when the post type supports post
formats
--------------------------+------------------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by kawauso):

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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18228#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list