[buddypress-trac] [BuddyPress] #4806: Effort to prevent bumping in activity stream is too restrictive

buddypress-trac noreply at wordpress.org
Wed Feb 6 21:31:00 UTC 2013


#4806: Effort to prevent bumping in activity stream is too restrictive
--------------------------+-----------------------------
 Reporter:  czarate       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The linked changeset, below, checks for an existing blog post activity
 stream item before creating a new one. In other words, it prevents a new
 activity stream item from being generated when a blog post is simply
 edited.

 http://buddypress.trac.wordpress.org/changeset/5562

 As part of this check, it compares author IDs. However, since BuddyPress
 blogs often have multiple authors, it fails when the editor is distinct
 from the original author. Comparing author IDs is superfluous anyway,
 since blogid+postid is sufficient to identify a post. (Unless I'm missing
 something.)

 I believe simply removing line 191 (buddypress-1.6.3) from ```bp-blogs/bp-
 blogs-functions.php``` will correct the issue.

 > ```'user_id'      => (int)$post->post_author, ```

 Thanks!

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


More information about the buddypress-trac mailing list