[wp-trac] [WordPress Trac] #17788: get_query_template() global filter

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 13 19:27:13 UTC 2011


#17788: get_query_template() global filter
-------------------------+------------------------
 Reporter:  5ubliminal   |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Template     |     Version:  3.2
 Severity:  normal       |  Resolution:  duplicate
 Keywords:  has-patch    |
-------------------------+------------------------
Changes (by scribu):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 I mean, it boils down to this:

 {{{apply_filters( "{$type}_template_hierarchy", $templates );}}}

 vs.

 {{{apply_filters( "template_hierarchy", $templates, $type );}}}

 Since it addresses the same problem, I'm going to close it as a duplicate
 (should have been more explicit when I suggested you look at the other
 ticket).

 Feel free to comment either here or on the other ticket.

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


More information about the wp-trac mailing list