[wp-trac] [WordPress Trac] #15337: fix get_attachment_template() to pass templates array

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 11 12:35:39 UTC 2012


#15337: fix get_attachment_template() to pass templates array
------------------------------------+-----------------------------
 Reporter:  willnorris              |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Themes                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:9 jfarthing84]:
 > However, get_query_template uses a regular expression that removes the
 underscore, thus changing the template it looks for to imagejpeg.php.

 Related: #21213

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


More information about the wp-trac mailing list