[wp-trac] [WordPress Trac] #18603: Comments on pages which exceed paginate settings create erroneous permalinks

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 24 20:24:53 UTC 2011


#18603: Comments on pages which exceed paginate settings create erroneous
permalinks
-------------------------+-------------------------------------------------
 Reporter:  msagman      |       Owner:  Mike Sagman
     Type:  defect       |  http://www.dogfoodadvisor.com
  (bug)                  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-------------------------------------------------

Comment (by msagman):

 The problem I describe in this bug report is NOT fixed with the above code
 I previously submitted. I have figured out what you need to do to
 reproduce the issue. The problem of defective pagination only occurs when
 there has been more threaded responses than the number of comments per
 page set in the paginate feature. Even if WP is set for no threaded
 responses.

 Today in my Wordpress research my technician concluded that the comment
 page calculation was thrown off when the comment's parent column was set.
 We tested this together and found that Wordpress sets the comment parent
 when replying to user's comments as an admin regardless of the threading
 setting under "Discussions" settings.

 To fix this we ran the following SQL query on the comments table:

 UPDATE wp_comments SET comment_parent = 0 WHERE comment_parent > 0

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


More information about the wp-trac mailing list