[wp-trac] [WordPress Trac] #24906: Post Formats: Allow to check for any post format

WordPress Trac noreply at wordpress.org
Wed Jul 31 20:49:14 UTC 2013


#24906: Post Formats: Allow to check for any post format
--------------------------+-----------------------
 Reporter:  obenland      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.7
Component:  Post Formats  |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 It would be great if themes could check if any post format has been
 assigned to a post. This would make it especially easy to check if
 '''no''' post format has been assigned, something that is hard to do in
 `has_post_format`'s current setup.

 With the change in r24934 it is only a matter of making the passed format
 argument optional and checking for it.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24906>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list