[wp-trac] [WordPress Trac] #21053: Backwards logic in get_attachment_template

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 23 14:36:20 UTC 2012


#21053: Backwards logic in get_attachment_template
--------------------------+-----------------------------
 Reporter:  jfarthing84   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Template      |    Version:  3.4
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 It seems to me that the logic in {{{get_attachment_template}}} is
 backwards. Aren't templates supposed to go from specific to general? All
 others do, except attachments. Let's fix that.

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


More information about the wp-trac mailing list