[wp-trac] [WordPress Trac] #51305: wp_list_comments returns nothing if "per_page" parameter is defined

WordPress Trac noreply at wordpress.org
Mon Sep 14 05:37:09 UTC 2020


#51305: wp_list_comments returns nothing if "per_page" parameter is defined
--------------------------+-----------------------------
 Reporter:  SGr33n        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  5.5.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,
 The function wp_list_comments returns a notice if "per_page" parameter is
 defined.
 The notice is in wp-includes/comments-template.php

 wp_queue_comments_for_comment_meta_lazyload( $_comments )

 message: "Undefined variable: _comments"


 Thanks!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51305>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list