Skip to:
Content

BuddyPress.org

Changeset 8228


Ignore:
Timestamp:
04/02/2014 07:08:43 AM (11 years ago)
Author:
r-a-y
Message:

Blogs: When recording a comment and looking for the blog post activity item, do not add a check for the user ID.

Adding a check for the user ID is not needed and would be inaccurate
since a commenter's user ID will not be the same as the post author's.
When the user IDs do not match, the associated activity comment is not
created.

See #5130, #5507

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-functions.php

    r8191 r8228  
    631631            // find the parent 'new_blog_post' activity entry
    632632            $parent_activity_id = bp_activity_get_activity_id( array(
    633                 'user_id'           => $user_id,
    634633                'component'         => 'blogs',
    635634                'type'              => 'new_blog_post',
Note: See TracChangeset for help on using the changeset viewer.