[wp-trac] [WordPress Trac] #14746: Post Formats

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 17:38:57 UTC 2010


#14746: Post Formats
----------------------------+-----------------------------------------------
 Reporter:  ryan            |       Owner:                             
     Type:  task (blessed)  |      Status:  new                        
 Priority:  normal          |   Milestone:  3.1                        
Component:  Template        |     Version:                             
 Severity:  normal          |    Keywords:  ongoing-project ui-feedback
----------------------------+-----------------------------------------------

Comment(by Otto42):

 Enhancement request: in_category can accept an array of categories to
 check against. has_post_format should be able to do the same.

 Example usage: `if (has_post_format(array('aside','quote'))) ...`

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


More information about the wp-trac mailing list