[wp-trac] [WordPress Trac] #58001: Lazy load user capabilities in WP_User object

WordPress Trac noreply at wordpress.org
Fri Feb 21 19:06:36 UTC 2025


#58001: Lazy load user capabilities in WP_User object
--------------------------------------------+------------------------------
 Reporter:  spacedmonkey                    |       Owner:  flixos90
     Type:  enhancement                     |      Status:  reviewing
 Priority:  normal                          |   Milestone:  6.8
Component:  Users                           |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch has-unit-tests early  |     Focuses:  multisite,
                                            |  performance
--------------------------------------------+------------------------------

Comment (by spacedmonkey):

 @joemcgill i am happy with the code as is. I need to add some unit tests
 to test the number of databases are being saved. I will try to add them
 this weekend. If I add them and get another review, I think this can land
 in 6.8.

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


More information about the wp-trac mailing list