Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#11358 closed defect (bug) (duplicate)

wp_insert_user() does not update display name in user comments

Reported by: k_nitin_r's profile k_nitin_r Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.6
Component: Comments Keywords: has-patch, wp_insert_user, wp_update_user
Focuses: Cc:

Description

In WordPress 2.8.6, and in at least some of the older versions, changes to the display name of author are not reflected in the user comments.

The display name in the comments is also expected to change as a result of the user's change to his/her display name.

I understand this would result in updating a large number of rows, but this operation can be performed only when a change in the display name occurs - this is possible because we have access to both the old user data and the new user data.

Attachments (1)

update-name-in-comment-with-display-name.patch (930 bytes) - added by k_nitin_r 15 years ago.
Changes required in wp-includes/registration.php to accomplish the desired result

Download all attachments as: .zip

Change History (5)

@k_nitin_r
15 years ago

Changes required in wp-includes/registration.php to accomplish the desired result

#1 @k_nitin_r
15 years ago

  • Keywords has-patch wp_insert_user added

#2 @k_nitin_r
15 years ago

  • Keywords wp_update_user added

When I said "changes to the display name of author are not reflected in the user comments", I meant "changes to the display name of a user are not reflected in the user comments".

#3 @Denis-de-Bernardy
15 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This idea has been discussed multiple times in trac, and always dismissed as wontfix. (Please see closed tickets in the Comments component for details.)

#4 @apljdi
15 years ago

This one does not seem to have been dismissed. Its set for WP 3.0. I'm moving my thoughts on this to that thread.

Note: See TracTickets for help on using tickets.