[wp-trac] [WordPress Trac] #24905: Twenty Thirteen: Check multiple post formats by passing them as an array

WordPress Trac noreply at wordpress.org
Wed Jul 31 20:03:56 UTC 2013


#24905: Twenty Thirteen: Check multiple post formats by passing them as an array
---------------------------+--------------------
 Reporter:  obenland       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+--------------------

Comment (by nacin):

 Replying to [comment:2 lancewillett]:
 > +1 to the change, but I think it's OK to put this in a later version of
 the theme.

 Going into a later version means it loses compatibility with 3.6. So this
 is either a commit-it-now or a wontfix. I'm fine with either.

 I think this would be cleaner if it wasn't a ternary. Don't think the
 call(s) to has_post_format() makes any difference.

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


More information about the wp-trac mailing list