[wp-trac] [WordPress Trac] #35402: per_page parameter no longer works in wp_list_comments

WordPress Trac noreply at wordpress.org
Wed Jan 13 03:42:28 UTC 2016


#35402: per_page parameter no longer works in wp_list_comments
--------------------------+-----------------------
 Reporter:  Ninos Ego     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.4.2
Component:  Comments      |     Version:  4.4.1
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:  template
--------------------------+-----------------------

Comment (by navycs):

 Replying to [comment:3 boonebgorges]:
 > Hi @Ninos Ego and @nphaskins - Thanks for jumping in. Can you share some
 sample code that demonstrates the issue? When you say "in the loop", do
 you mean that you're using `wp_list_comments()` within a `WP_Query` loop?
 Are you passing a `$comments` array to the function? See [36276] #35356
 for what may be a related issue.

 I am not a coder, but here is a link to one of my many articles that have
 1000's of comments -- I have it set to 75 comments per page -- whatever is
 supposed to make that happen is broken, and has been since the move to
 version 4.4.

 https://www.navycs.com/blogs/2010/05/23/moral-waivers-for-enlistment

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


More information about the wp-trac mailing list