[wp-hackers] Known when on Comment page x?
Otto
otto at ottodestruct.com
Mon Dec 15 21:31:31 GMT 2008
On Mon, Dec 15, 2008 at 1:55 PM, Austin Matzko <if.website at gmail.com> wrote:
> Actually, when paged comments are set to show the last page by
> default, page 1 is not the permalink page, it's the page with the
> oldest comments. So you can't assume that an empty cpage query
> variable is page 1.
The previous_comments_link and next_comments_link functions do.
Although I suspect this is not a problem because WordPress sets the
cpage variable correctly anyway.
-Otto
More information about the wp-hackers
mailing list