Files
wordpress/wp-includes
spacedmonkey 76fdec3f9a Users: Lazy-load user meta.
In [36566], a framework for lazily loading metadata was introduced, initially supporting term and comment meta. This commit extends that support to user meta.

User meta can contain a large amount of data that is not always needed, particularly on the front end. To address this, cache_users() now calls the new function wp_lazyload_user_meta(). This function accepts an array of user IDs and adds them to the queue of metadata to be lazily loaded.

Follows on from [55671], [55747].

Props spacedmonkey, westonruter.
Fixes #63021.
Built from https://develop.svn.wordpress.org/trunk@60989


git-svn-id: http://core.svn.wordpress.org/trunk@60325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-20 20:01:26 +00:00
..
2025-10-20 20:01:26 +00:00
2025-10-20 20:01:26 +00:00
2025-10-20 20:01:26 +00:00