[buddypress-trac] [BuddyPress Trac] #5130: Synchronizing activity comments to main component

buddypress-trac noreply at wordpress.org
Fri Mar 28 23:01:09 UTC 2014


#5130: Synchronizing activity comments to main component
-------------------------+-----------------------
 Reporter:  r-a-y        |       Owner:  r-a-y
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  2.0
Component:  Core         |     Version:  1.2
 Severity:  normal       |  Resolution:
 Keywords:  commit       |
-------------------------+-----------------------

Comment (by r-a-y):

 In [changeset:"8191"]:
 {{{
 #!CommitTicketReference repository="" revision="8191"
 Blogs: Tweak what happens when a post status is changed.

 r8073 introduced bp_blogs_catch_transition_post_status() to determine
 how blog posts are recorded in the activity stream.  However, blog
 post edits are not accounted for.

 This commit:
 - Updates a blog post's activity item when a post is edited
 - Mirrors a blog post's comment status to activitymeta for use with
 bp_blogs_comments_open() (see r8189)
 - Removes the usage of bp_blogs_record_post() when a post has changed to
 an unpublished status.  bp_blogs_record_post() already fires on the
 'delete_post' action, so this isn't necessary.  Instead, we remove the
 corresponding activity entry.

 See #5333, #5130
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5130#comment:41>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list