[wp-trac] Re: [WordPress Trac] #8168: Using "type" parameter on
wp_list_comments() screws up paging
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 13 02:16:00 GMT 2008
#8168: Using "type" parameter on wp_list_comments() screws up paging
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: Viper007Bond
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Comments | Version: 2.7
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by Viper007Bond):
* milestone: 2.8 => 2.7
Comment:
`8168.patch` should make paging work properly if you pass a `type`
parameter or a `$comments` to `wp_list_comments()`.
However, doing either of the aforementioned things will break
`get_comment_link()` '''if used outside of the comment loop''' as the
`$page` parameter is not passed to it and it therefore gets the page
number wrong (due to "missing" comments).
--
Ticket URL: <http://trac.wordpress.org/ticket/8168#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list