[wp-trac] [WordPress Trac] #27007: problem using wp_list_comments with 'per_page' without calling comments_template
WordPress Trac
noreply at wordpress.org
Sun Feb 9 06:44:04 UTC 2014
#27007: problem using wp_list_comments with 'per_page' without calling
comments_template
--------------------------+------------------------------
Reporter: monotom | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:1 bcworkz]:
> The paged_walk() method is not overridden, so the call goes to
`Walker::paged_walk()` which only accepts 4 parameters, `$r` was the 5th!
That's not actually an issue, additional arguments are retrieved using
`func_get_args()`:
[source:tags/3.8.1/src/wp-includes/class-wp-walker.php#L276]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27007#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list