Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 10 years ago

#6795 closed enhancement (fixed)

Ease life to plugins wishing to extend post type tracking

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

Description

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 11 years ago.
6795.02.patch (1.7 KB ) - added by r-a-y 10 years ago.

Download all attachments as: .zip

Change History (6)

@imath
11 years ago

#1 @imath
10 years ago

  • Keywords needs-refresh added; has-patch removed

#2 @r-a-y
10 years ago

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

02.patch is refreshed for trunk.

I'd say go ahead and commit, imath!

@r-a-y
10 years ago

#3 @imath
10 years ago

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

#4 @imath
10 years ago

  • Owner set to imath
  • Resolutionfixed
  • Status newclosed

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.