WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#53215 new enhancement

get_comments_number should also need comment_type

Reported by: erikdemarco Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Comments Keywords:
Focuses: Cc:

Description (last modified by mukesh27)

Currently, I can use comments_template for custom comment types. For easier manageability, developers don't need to make their own function to get a custom comment count. Its a lot easier if WP have additional 'comment_type' parameter for its get_comments_number() function

Change History (1)

#1 @mukesh27
5 weeks ago

  • Component changed from General to Comments
  • Description modified (diff)
Note: See TracTickets for help on using tickets.