[buddypress-trac] [BuddyPress Trac] #4759: Group forum permalink after reply broken when using persistent object cache
buddypress-trac
noreply at wordpress.org
Tue Sep 27 19:23:23 UTC 2016
#4759: Group forum permalink after reply broken when using persistent object cache
--------------------------+------------------
Reporter: wpdennis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.7
Component: Forums | Version: 1.0
Severity: blocker | Resolution:
Keywords: has-patch |
--------------------------+------------------
Changes (by r-a-y):
* keywords: => has-patch
* version: 1.6.1 => 1.0
* milestone: Future Release => 2.7
Comment:
I came across this issue today (don't ask why).
The problem is with the legacy forums' usage of their own object caching
functions, particularly `wp_cache_flush( 'my-cache-group' )`. WP's
`wp_cache_flush()` doesn't accept a parameter, so it is impossible to
clear the cache for these cache groups. Whereas old bbPress / BackPress
does support cache group clearing:
https://backpress.trac.wordpress.org/browser/trunk/includes/functions.wp-
object-cache.php?marks=77,80#L67
Attached patch implements wpdennis' suggestion from comment:3, but only
for the cache groups that are necessary.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4759#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list