[buddypress-trac] [BuddyPress Trac] #7050: Need to clear user cache after running direct query to update user displayname

buddypress-trac noreply at wordpress.org
Thu May 5 18:52:45 UTC 2016


#7050: Need to clear user cache after running direct query to update user
displayname
------------------------------------------+------------------------------
 Reporter:  prettyboymp                   |       Owner:  johnjamesjacoby
     Type:  defect (bug)                  |      Status:  assigned
 Priority:  normal                        |   Milestone:  2.6
Component:  Component - XProfile          |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |
------------------------------------------+------------------------------
Changes (by johnjamesjacoby):

 * keywords:   => needs-patch needs-unit-tests
 * owner:   => johnjamesjacoby
 * status:  new => assigned
 * component:  API => Component - XProfile
 * milestone:  Awaiting Review => 2.6


Comment:

 Confirmed.

 We do clear other caches in `bp-xprofile-cache.php` but the core user
 objects are missed.

 Plausible there's more tuning required, as many of our cache busting
 actions are hooked at priority `10` with other functions that are also
 hooked at `10`, but maybe before or after our caches are cleared.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7050#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list