[buddypress-trac] [BuddyPress Trac] #5733: Use wp_cache_add_global_groups() so cache is applicable throughout multisite
buddypress-trac
noreply at wordpress.org
Sat Oct 11 18:45:03 UTC 2014
#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 r-a-y):
Looks okay, but instead of doing a find and replace for `'bp'` everywhere,
perhaps we should create wrapper `wp_cache_X()` functions and replace all
`wp_cache_X()` calls with `bp_cache_X()`. This is so we just have to
change the global cache group in one place.
The BP Multi Network plugin also reminds me of how our notification meta
keys suck :) I've got one suggestion in the plugin - why not mirror all
user meta keys that `bp_update_user_meta()` calls? Chances are that this
would be useful for any plugin calling `bp_update_user_meta()`.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5733#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list