Skip to:

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

  • 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?

  • The topic ‘groups_activity_new_update_action filter is $user_id guaranteed to be $bp->loggedin_user ?’ is closed to new replies.
Skip to toolbar