[wp-trac] [WordPress Trac] #53215: get_comments_number should also need comment_type

WordPress Trac noreply at wordpress.org
Sun May 16 10:56:30 UTC 2021


#53215: get_comments_number should also need comment_type
-------------------------+------------------------------
 Reporter:  erikdemarco  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by mukesh27):

 * component:  General => Comments


Old description:

> Currently I can use comments_template for custom comment type. For easier
> managability, and developer doeent need to make their own function to get
> custom comment count. Its a lot easier if WP have additional
> 'comment_type' parameter for its get_comments_number() function

New description:

 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

--

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


More information about the wp-trac mailing list