[wp-trac] [WordPress Trac] #11248: Paged wp_list_comments() should always output something

WordPress Trac noreply at wordpress.org
Tue Oct 13 15:41:51 UTC 2015


#11248: Paged wp_list_comments() should always output something
--------------------------+-----------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Comments      |     Version:  2.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by tyxla):

 * keywords:  needs-patch => has-patch


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/11248/11248.2.patch
 11248.2.patch] fixes the issue as @wonderboymusic suggested.

 Canonical unit test case included.

 This will basically redirect the comment page links for pages that are
 larger than the maximum to the post link.
 So for example if there is a maximum of 3 comment pages,

 `/comment-test/comment-page-4/`

 will redirect to

 `/comment-test/`.

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


More information about the wp-trac mailing list