[wp-trac] [WordPress Trac] #58001: Lazy load user capabilities in WP_User object
WordPress Trac
noreply at wordpress.org
Mon Mar 3 18:17:35 UTC 2025
#58001: Lazy load user capabilities in WP_User object
--------------------------------------------+------------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 6.9
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests early | Focuses: multisite,
| performance
--------------------------------------------+------------------------------
Changes (by flixos90):
* milestone: 6.8 => 6.9
Comment:
Based on the latest discussion on the PR https://github.com/WordPress
/wordpress-develop/pull/5098, I don't think this is ready to land this
late in the cycle.
I'm on board with removing public write access to these properties, but
because this is technically a breaking change (albeit only for edge-cases
that are strongly discouraged), we should land it `early` next cycle.
FWIW, the ticket is already marked `early`, and it's definitely too late
for that in 6.8.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58001#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list