[wp-trac] [WordPress Trac] #54984: wp_update_user doesn't work properly with current user instance

WordPress Trac noreply at wordpress.org
Wed Oct 5 22:33:06 UTC 2022


#54984: wp_update_user doesn't work properly with current user instance
--------------------------+----------------------------
 Reporter:  oztaser       |       Owner:  peterwilsoncc
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.1
Component:  Users         |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => assigned


Comment:

 Thanks @cu121, I think I'll revert the initial commit ([50790] for #28020)
 for the time being.

 The performance gain of the earlier commit is negligible and while testing
 this issue I discovered a proper fix would introduce database calls
 invalidating the earlier performance gain.

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


More information about the wp-trac mailing list