buddypress/bp-blogs
r-a-y 56257c9dcc 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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8191 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2014-03-28 23:01:08 +00:00
..
bp-blogs-actions.php Improve inline docs in bp-blogs 2013-11-10 02:04:14 +00:00
bp-blogs-activity.php Blogs: Support post comment synchronization in the activity stream. 2014-03-28 22:52:14 +00:00
bp-blogs-buddybar.php Improve inline docs in bp-blogs 2013-11-10 02:04:14 +00:00
bp-blogs-cache.php Pre-fetch blogmeta when in blog loops 2014-02-18 12:50:11 +00:00
bp-blogs-classes.php Generate activity actions dynamically, instead of using static values stored in the database 2014-03-13 18:34:06 +00:00
bp-blogs-filters.php Improve inline docs in bp-blogs 2013-11-10 02:04:14 +00:00
bp-blogs-functions.php Blogs: Tweak what happens when a post status is changed. 2014-03-28 23:01:08 +00:00
bp-blogs-loader.php Migrate blogmeta functions to the WP metadata API 2014-02-14 01:43:39 +00:00
bp-blogs-screens.php Improve strings used for <title> and header of directory pages 2014-03-09 14:38:24 +00:00
bp-blogs-template.php Replace wp_parse_args() with bp_parse_args() for all template loops. 2014-03-18 02:09:33 +00:00
bp-blogs-widgets.php Improve inline docs in bp-blogs 2013-11-10 02:04:14 +00:00