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

WordPress Trac noreply at wordpress.org
Sun Nov 24 13:44:43 UTC 2013


#24906: Post Formats: Allow to check for any post format
------------------------------+---------------------
 Reporter:  obenland          |       Owner:  duck_
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.8
Component:  Post Formats      |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26350"]:
 {{{
 #!CommitTicketReference repository="" revision="26350"
 Allow has_post_format() to be used to check for any format.

 Calling has_post_format() with an empty list of $format will check if the
 provided post has any associated format at all.

 Props obenland, DrewAPicture, nacin. Fixes #24906.
 }}}

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


More information about the wp-trac mailing list