[wp-trac] [WordPress Trac] #24635: update_user_caches() should support accepting a WP_User instance
WordPress Trac
noreply at wordpress.org
Wed Oct 7 22:41:09 UTC 2015
#24635: update_user_caches() should support accepting a WP_User instance
----------------------------------------+------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.4
Component: Users | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------
Comment (by boonebgorges):
In [changeset:"34919"]:
{{{
#!CommitTicketReference repository="" revision="34919"
Handle `WP_User` objects properly in `update_user_caches()`.
We should not be storing the `WP_User` object in the cache, as it may
contain
usermeta and other data that's cache elsewhere.
Props dd32.
See #24635.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24635#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list