[buddypress-trac] [BuddyPress Trac] #5669: Help plugins to generate activities for their post type(s)
buddypress-trac
noreply at wordpress.org
Fri Nov 21 15:29:12 UTC 2014
#5669: Help plugins to generate activities for their post type(s)
-----------------------------------+------------------
Reporter: imath | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.2
Component: Activity | Version: 2.0
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch |
-----------------------------------+------------------
Changes (by imath):
* keywords: 2nd-opinion needs-patch => 2nd-opinion has-patch
Comment:
5669.02.patch is trying to follow DJPaul's recommandations. Once applyed
you can add any post types to activity tracking using
{{{add_post_type_support()}}}, for instance for the Page post type :
{{{
add_post_type_support( 'page', 'buddypress-activity' );
}}}
As explained in the main description of the ticket. It's a first step so
i've only took care or published post types. If it's ok, i'll look at
comments about post types.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5669#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list