[wp-trac] [WordPress Trac] #51537: Changes made to comments_array hook do not take effect if 'per_page' parameter is set in wp_list_comments()

WordPress Trac noreply at wordpress.org
Thu Nov 12 14:11:12 UTC 2020


#51537: Changes made to comments_array hook do not take effect if 'per_page'
parameter is set in wp_list_comments()
--------------------------+-----------------------
 Reporter:  mic22         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  template
--------------------------+-----------------------

Comment (by mic22):

 Upon inspecting more code and reading comments in php I came to realize
 that it's an intended behavior of wordpress. I closed the ticket, because
 this does not qualify as a bug. Yet I think it could be revisited in the
 future and the code should be improved to allow better comment handling.

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


More information about the wp-trac mailing list