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

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 12 07:30:24 UTC 2012


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

Comment (by rinatkhaziev):

 Replying to [comment:2 SergeyBiryukov]:
 > Also mentioned in [comment:ticket:15337:9].

 This is related to your link for sure,  the only thing is that front page
 would be left as "front-page" instead of "front_page".
 "front_page"_template is the hook for modifying template hierarchy.

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


More information about the wp-trac mailing list