Skip to:

Opened 5 years ago

Closed 5 years ago

#6795 closed enhancement (fixed)

Ease life to plugins wishing to extend post type tracking

Reported by: imath Owned by: imath
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.2
Component: Activity Keywords: has-patch commit


BuddyPress only deals with the 'publish' new/old post status to eventually add or remove the activity generated by post type activities.

I know (i've experienced it with one of my plugin) there can be cases plugins can need to add an activity for private posts eg: a Groups component wishing to attach private activities corresponding to private post types (or any other custom status).

Attachments (2)

6795.patch (1.9 KB) - added by imath 5 years ago.
6795.02.patch (1.7 KB) - added by r-a-y 5 years ago.

Download all attachments as: .zip

Change History (6)

5 years ago

#1 @imath
5 years ago

  • Keywords needs-refresh added; has-patch removed

#2 @r-a-y
5 years ago

  • Keywords has-patch commit added; needs-refresh removed

02.patch is refreshed for trunk.

I'd say go ahead and commit, imath!

5 years ago

#3 @imath
5 years ago

Thanks a lot r-a-y, doing it right away :)

#4 @imath
5 years ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 10551:

Add new hooks inside bp_activity_catch_transition_post_type_status() for post statuses BuddyPress is not dealing with.

Props r-a-y

Fixes #6795

Note: See TracTickets for help on using tickets.