[wp-trac] [WordPress Trac] #8630: Wrong Paged Comments Logic
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 15 21:57:12 GMT 2008
#8630: Wrong Paged Comments Logic
----------------------+-----------------------------------------------------
Reporter: filosofo | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7.1
Component: General | Version: 2.7
Severity: normal | Keywords: previous_comments_link next_comments_link cpage comments paged-comments has-patch
----------------------+-----------------------------------------------------
previous_comments_link and next_comments_link both erroneously assume that
an empty cpage query variable value means that the comments page is page
1. This is wrong, because when "last" is the page displayed by default
under Settings > Discussion, page 1 is the oldest page of comments, which
is not the same as the permalink page (the page where cpage would not be
specified, ordinarily).
Fortunately, this doesn't seem to affect anything as there's never any
point at which *_comments_link are called but !WordPress has not set the
cpage query variable.
--
Ticket URL: <http://trac.wordpress.org/ticket/8630>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list