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

buddypress-trac noreply at wordpress.org
Thu Jan 8 03:49:00 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 r-a-y):

 `05.patch` fixes all unit tests that `04.patch` breaks except the
 activitymeta, groupmeta, blogmeta and messagemeta ones.

 The problem with r9313 is our cache for activitymeta, groupmeta, blogmeta
 and messagemeta will not work properly.

 If you take a look at `/wp-includes/meta.php`, there are calls to
 `wp_cache_X()`.  We'd have to somehow add in our own `bp_cache_X()` calls
 on the available metadata actions or filters in order to trump WP here.

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


More information about the buddypress-trac mailing list