[wp-trac] [WordPress Trac] #47383: Proper comment for 'the_category' filter needs to be added.

WordPress Trac noreply at wordpress.org
Sat May 25 12:02:30 UTC 2019


#47383: Proper comment for 'the_category' filter needs to be added.
---------------------------+-------------------------------------
 Reporter:  priyankkpatel  |       Owner:  (none)
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Taxonomy       |     Version:  5.2.1
 Severity:  normal         |  Resolution:  invalid
 Keywords:  has-patch      |     Focuses:  docs, coding-standards
---------------------------+-------------------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * component:  Comments => Taxonomy
 * milestone:  Awaiting Review =>


Comment:

 Hi @priyankkpatel, welcome to WordPress Trac! Thanks for the ticket and
 the patch.

 This filter is already documented [source:tags/5.2.1/src/wp-includes
 /category-template.php#L210 at the end of get_the_category_list()].

 Per the [https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#4-1-duplicate-hooks documentation standards],
 the other two instances are documented as duplicates.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47383#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list