WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#11248 new defect (bug)

Paged wp_list_comments() should always output something

Reported by: Viper007Bond Owned by:
Priority: normal Milestone: Future Release
Component: Comments Version: 2.9
Severity: normal Keywords: has-patch
Cc: edward, mindreantre

Description

Enable comment paging on your blog and visit http://yourblog.com/a/single/post/comment-page-999999/. Note no comments will be displayed.

There's situations where the comment form will redirect you back to the wrong page (for example if you mess with the type parameter and exclude pings). The Walker should detect if there's no comments to be displayed on the requested page and if that's the case, then display the latest page that actually has comments.

Attachments (1)

comment-template.php.patch.13396.txt (613 bytes) - added by edward mindreantre 3 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 edward mindreantre3 years ago

  • Cc edward mindreantre added
  • Keywords has-patch added; needs-patch removed

Fixed.

Note: See TracTickets for help on using tickets.