[wp-trac] [WordPress Trac] #8071: Refrain from querying all the comments on a post when paged

WordPress Trac noreply at wordpress.org
Mon Dec 14 19:56:17 UTC 2015


#8071: Refrain from querying all the comments on a post when paged
------------------------------------+---------------------------
 Reporter:  markjaquith             |       Owner:  boonebgorges
     Type:  task (blessed)          |      Status:  closed
 Priority:  normal                  |   Milestone:  4.4
Component:  Comments                |     Version:  2.7
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"35934"]:
 {{{
 #!CommitTicketReference repository="" revision="35934"
 Omit `cpage` query var in comment link if comment pagination is disabled.

 WP 4.4 changed the way comment pagination is calculated. See #8071. In the
 context of `get_comment_link()`, these changes introduced a regression
 that
 causes `cpage` (or its pretty-permalink correlate `comment-page-x`) to
 appear
 in comment links when comment pagination is disabled. The current
 changeset
 fixes the regression.

 Merges [35933] to the 4.4 branch.

 Fixes #34946.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/8071#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list