[wp-trac] [WordPress Trac] #21213: Underscores get stripped out in $type ( get_query_template() )

WordPress Trac noreply at wordpress.org
Tue May 7 22:36:45 UTC 2013


#21213: Underscores get stripped out in $type ( get_query_template() )
-------------------------------------+--------------------
 Reporter:  rinatkhaziev             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.6
Component:  Template                 |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |
-------------------------------------+--------------------
Changes (by retire2maui):

 * version:  2.5 => trunk


Comment:

 I was getting ready to report this same bug for the attachment page
 template file $mimetype_$subtype.php. For example, template files
 text_plain.php and image_jpeg.php will not work but textplain.php and
 imagejpeg.php do work. The template_php.patch fix will resolve this issue
 also, but 21213.patch obviously won't.

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


More information about the wp-trac mailing list