[wp-trac] [WordPress Trac] #8973: Function get_page_of_comment() returns incorrect page numbers

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 16 16:11:44 UTC 2012


#8973: Function get_page_of_comment() returns incorrect page numbers
------------------------------------+-----------------------------
 Reporter:  GregMulhauser           |       Owner:
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  Future Release
Component:  Comments                |     Version:  2.7
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------------

Comment (by ericlewis):

 8973.diff solves the issue for me, makes sense.

 For reproduction of bug:

 1. Lower comment pagination break from 50 to 3 in Settings > Discussion.
 2. With a user account that requires moderation of their comments, add 4
 comments, and don't moderate.
 3. On the 4th comment, you should be sent to comment-page-1, where your
 comment does not exist.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8973#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list