Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#53215 new enhancement

get_comments_number should also need comment_type

Reported by: erikdemarco's profile 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
3 years ago

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