WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 5 weeks ago

#51305 new defect (bug)

wp_list_comments returns nothing if "per_page" parameter is defined

Reported by: SGr33n Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.1
Component: Comments Keywords: needs-patch needs-unit-tests
Focuses: Cc:

Description

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!

Change History (1)

#1 @SergeyBiryukov
5 weeks ago

  • Keywords needs-patch needs-unit-tests added
Note: See TracTickets for help on using tickets.