[buddypress-trac] [BuddyPress Trac] #5609: Blog data stored in activitymeta and blogmeta must be invalidated

buddypress-trac noreply at wordpress.org
Sat May 3 00:06:22 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        |   Keywords:
--------------------------+-----------------
 The new activity action schema in BP 2.0 requires that some blog-specific
 content be stored in blogmeta and activitymeta (to avoid
 `switch_to_blog()` during the loop). See
 https://buddypress.trac.wordpress.org/browser/tags/2.0/bp-blogs/bp-blogs-
 activity.php#L93 and
 https://buddypress.trac.wordpress.org/browser/tags/2.0/bp-blogs/bp-blogs-
 activity.php#L154

 At the moment, we do a bunch of invalidation for the 'url' and 'blogname'
 values cached in blogmeta. See
 https://buddypress.trac.wordpress.org/browser/tags/2.0/bp-blogs/bp-blogs-
 functions.php#L237

 We do not do any corresponding validation for the 'post_url' and
 'post_title' activitymeta values. We should. This will involve identifying
 all the times when a post URL or title could change (save_post is a good
 place to start, but see also permalink changes, etc).

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5609>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list