[buddypress-trac] [BuddyPress Trac] #5733: Use wp_cache_add_global_groups() so cache is applicable throughout multisite

buddypress-trac noreply at wordpress.org
Fri Jan 9 20:38:37 UTC 2015


#5733: Use wp_cache_add_global_groups() so cache is applicable throughout
multisite
--------------------------+-----------------------------
 Reporter:  wpdennis      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Core          |     Version:  2.0
 Severity:  minor         |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+-----------------------------

Comment (by johnjamesjacoby):

 In [changeset:"9336"]:
 {{{
 #!CommitTicketReference repository="" revision="9336"
 XProfile data cache group updates:

 * Switches from dynamic cache group to unique key for
 `$user_id:$field_id`.
 * Introduces `bp_xprofile_get_non_cached_field_ids()` as a helper, based
 on `bp_get_non_cached_field_ids()`.
 * Registers `bp_xprofile` and `bp_xprofile_data` as global cache groups.
 * Updates unit tests to pass with new cache keys.

 Props r-a-y. Fixes #6100. See #5733.
 }}}

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


More information about the buddypress-trac mailing list