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

WordPress Trac noreply at wordpress.org
Sun Dec 29 17:35:36 UTC 2013


#26742: Misleading function description for get_taxonomy_template() in template.php
--------------------------+------------------
 Reporter:  UmeshSingla   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  Inline Docs   |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * component:  General => Inline Docs
 * milestone:  Awaiting Review => 3.9


Comment:

 The filter is already documented in `get_query_template()`:
 [source:tags/3.8/src/wp-includes/template.php#L30].

 I think we can remove `@uses apply_filters()` and keep the rest as a
 regular comment. This should be done consistently for all the functions
 that use `get_query_template()`: [attachment:26742.2.patch].

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


More information about the wp-trac mailing list