[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:57:16 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 |
-----------------------------------+------------------
Comment (by imath):
Thanks for your feedback boonebgorges.
I thought maybe we need to have the info of post types to track before
{{{'bp_register_activity_actions'}}} which hooks 'bp_init' with priority
8. I agree with you i'd like this to be at a later priority or on another
hook, but in the patches i've worked on #3460 i think it wasn't ok. So
i'll double check to see if it's working.
You are right: it would be great to stop using
{{{bp_blogs_record_post()}}} and centralize our own code. I was a bit
afraid to change too much things in the Blogs component, but my initial
idea was to check if blog has a 'blog_public' option set to 1 and if so
force the 'post' post type to have 'buddypress-activity' support.
I'll also look at this point and work on another patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5669#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list