[buddypress-trac] [BuddyPress Trac] #5609: Blog data stored in activitymeta and blogmeta must be invalidated
buddypress-trac
noreply at wordpress.org
Thu Aug 7 14:59:03 UTC 2014
#5609: Blog data stored in activitymeta and blogmeta must be invalidated
--------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.1
Component: Activity | Version: 2.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by boonebgorges):
Thanks for the patch, r-a-y. It's a shame that this is the way we have to
invalidate (by pulling up all the comments belonging to a post) but I
suppose there's just no better way to do it.
I would suggest that doing an either/or on new_blog_comment vs
activity_comment is probably insufficient here. For one thing, I'm not
sure that `bp_disable_blogforum_comments()` is actually a reliable
indicator of whether to look in one place vs another for the comments,
since the disable_blogforum_comments value can be changed. Second, this
won't handle legacy content correctly. So I'd suggest that we bite the
bullet and just do both queries when posts are updated.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5609#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list