[buddypress-trac] [BuddyPress Trac] #4759: Group forum permalink after reply broken when using persistent object cache

buddypress-trac noreply at wordpress.org
Wed Sep 28 04:25:40 UTC 2016

#4759: Group forum permalink after reply broken when using persistent object cache
 Reporter:  wpdennis          |       Owner:  r-a-y
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.7
Component:  Forums            |     Version:  1.0
 Severity:  blocker           |  Resolution:  fixed
 Keywords:  has-patch commit  |
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"11165"]:
 #!CommitTicketReference repository="" revision="11165"
 Legacy Forums: Fix persistent caching issue with bbPress v1.2.

 For the legacy forums component, we bundle bbPress v1.2, which includes
 BackPress.  BackPress uses its own version of `wp_cache_flush()` that
 allows for clearing cache groups:

 bbPress v1 uses this syntax for `wp_cache_flush()` throughout its

 However, WordPress' version of `wp_cache_flush()` does not support
 cache groups.  This causes various cache invalidation issues as bbPress v1
 (incorrectly) assumes that those using a persistent object cache plugin
 will support cache group clearing.

 To workaround this, we intentionally tell WordPress not to use the
 following cache groups as persistent - `bb_forums`, `bb_query`, `bb_post`,
 and `bb_cache_posts_post_ids`.

 Props wpdennis, r-a-y.

 Fixes #4522, #4759.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4759#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list