[wp-trac] [WordPress Trac] #26742: Misleading function description for get_taxonomy_template() in template.php

WordPress Trac noreply at wordpress.org
Sun Dec 29 14:25:47 UTC 2013


#26742: Misleading function description for get_taxonomy_template() in template.php
--------------------------+------------------------------
 Reporter:  UmeshSingla   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by UmeshSingla):

 get_taxonomy_template(), get_tag_template(), get_category_template() all
 uses get_query_template(), which calls apply_filters() as per the required
 type template.

 While the description for the function get_taxonomy_template() says it
 uses apply_filters(), which is slightly confusing. An update in
 description would help understand the actual flow of function calls.

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


More information about the wp-trac mailing list