[wp-trac] [WordPress Trac] #57967: Regression: Username check introduced in WP 6.2 should allow updates to the same user (was: Username check introduced in WP 6.2 should allow updates to the same user)

WordPress Trac noreply at wordpress.org
Wed Mar 22 00:05:26 UTC 2023


#57967: Regression: Username check introduced in WP 6.2 should allow updates to the
same user
-------------------------------------+-----------------------
 Reporter:  polevaultweb             |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.2
Component:  Users                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by hellofromTonya):

 Hello @polevaultweb,

 Thank you for reporting this regression.

 In doing a review with @costdev and @audrasjb, we've confirmed that yes
 this is indeed a regression and it must be fixed for 6.2.0.

 [https://wpdirectory.net/search/01GW38WF9P7RFE53EDGFRHH7CC Here's the
 search query] for the wp.org Plugins Repository. There are 2,235 plugins
 using `wp_insert_user()`. Not sure how many of those are also using it
 update existing users.

 Revert or fix?

 This regression could be fixed **''if''** there's a ''solid'', ''well-
 tested'', ''low risk'' solution that committers have ''high confidence
 in'' that it will solve the problem without introducing additional issues.

 Else, the safest approach is to revert [55358] and [55360].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57967#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list