[wp-trac] [WordPress Trac] #19710: Deleting a user does not update Comments.

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 2 15:27:45 UTC 2012


#19710: Deleting a user does not update Comments.
-------------------------+------------------
 Reporter:  thee17       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Comments     |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------
Changes (by scribu):

 * keywords:  needs-patch =>
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review =>


Comment:

 Part 1:

 The user id is usually not used at all when displaying the comments.

 Part 2:

 This is highly debatable. For example, on DeviantArt (a very popular art
 site), each user can actually choose if they want their information to be
 updated or to remain as it was when they first entered the comment.

 Both parts:

 Also note that keeping this information up to date can be quite expensive
 in a multisite context. For example, on wordpress.com, a user can leave
 comments on any of the millions of blogs. So, the software would have to
 run a query on each and every wp_comments table.

 The best course of action is to implement both of these as a plugin. For
 multisite, you could store the blog ids where the user has left comments
 and only update those.

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


More information about the wp-trac mailing list