Skip to:
Content
Pages
Categories
Search
Top
Bottom

groups_activity_new_update_action filter is $user_id guaranteed to be $bp->loggedin_user ?

  • Avatar of sboisvert
    sboisvert
    Participant

    @sboisvert

    Good day, While using the groups_activity_new_update_action filter I noticed that only the content is passed as parameder. Should I take from this that the user is not required to be passed as we are guaranteed that it is the logged in user? I feel that is a bit sketch as it uses a param for the user but the global for teh group, so I can easily see an instance where the user would be different than the logged in user. Should I take it for granted or submit a patch?

You must be logged in to reply to this topic.