Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#47383 closed enhancement (invalid)

Proper comment for 'the_category' filter needs to be added.

Reported by: priyankkpatel Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2.1
Component: Taxonomy Keywords: has-patch
Focuses: docs, coding-standards Cc:


A number of other functions and filters in wp-includes/category-template.php have got proper comments for better understanding. However 'the_category' filter in line number 151 has not got proper comment as per the WordPress standard.

Attachments (1)

47383.diff (1.1 KB) - added by priyankkpatel 3 years ago.
Patch for wp-includes/category-template.php

Download all attachments as: .zip

Change History (2)

3 years ago

Patch for wp-includes/category-template.php

#1 @SergeyBiryukov
3 years ago

  • Component changed from Comments to Taxonomy
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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

This filter is already documented at the end of get_the_category_list().

Per the documentation standards, the other two instances are documented as duplicates.

Note: See TracTickets for help on using tickets.