Make WordPress Core

Changeset 31617


Ignore:
Timestamp:
03/05/2015 03:56:21 AM (10 years ago)
Author:
boonebgorges
Message:

In get_next_comments_link(), ensure proper pagination when no 'cpage' query var is found.

The 'cpage' query var is only set when using comments_template() to display
comments. If displaying them in a context where 'cpage' is not yet set, the
default value should be 1, not 0.

Props MomDad, couturefreak.
Fixes #20319.

Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.