Skip to:
Content

BuddyPress.org

Opened 7 months ago

Closed 2 weeks ago

#8442 closed defect (bug) (worksforme)

bp_activity_add does not appear to fire when blogs in the network publish

Reported by: lordmatt Owned by:
Milestone: Priority: normal
Severity: normal Version: 7.2.0
Component: Activity Keywords: reporter-feedback
Cc:

Description

I hook bp_activity_add to invalidate a cache when a new activity is recorded. The function does not fire when any blog in the network posts.

Change History (2)

#1 @imath
7 months ago

  • Keywords reporter-feedback added

Hi thanks for your feedback.

Can you confirm BuddyPress is network activated?
Are activities generated when blogs post?
Where is located you custom code? (mu-plugins, bp-custom.php, somewhere else)

Can you try using a higher priority for your hook to see if it fixes the issue?
eg: add_action( 'bp_activity_add', 'your_hook', 9 );

#2 @imath
2 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.