[buddypress-trac] [BuddyPress Trac] #3961: Hierarchical groups
buddypress-trac
noreply at wordpress.org
Tue Aug 9 16:14:14 UTC 2016
#3961: Hierarchical groups
------------------------------------+-----------------------
Reporter: sooskriszta | Owner: dcavins
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.7
Component: Groups | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+-----------------------
Comment (by r-a-y):
> The populate change you made to invalidate old caches. Doing this here
strikes me a little odd, because this is basically a one-time (per group)
only thing.
Writing up some upgrade code would probably take up more lines and that's
also a one-time use case.
My small addition means that the cache is only purged when needed. Also,
looping through all the groups can be intensive depending on the number of
groups. Our upgrader isn't mature enough to handle taxing situations yet
(#6841).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3961#comment:47>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list