[buddypress-trac] [BuddyPress] #3460: Support custom post types in activity stream
buddypress-trac
noreply at wordpress.org
Sat Nov 23 06:19:13 UTC 2013
#3460: Support custom post types in activity stream
-----------------------------------+-----------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: new
Priority: low | Milestone: Future Release
Component: Activity | Version: 1.2.8
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+-----------------------------
Comment (by trishasalas):
@imath, this is great! I do have to say though I'm on the fence about the
lack of ui. Adding the code to functions.php is intuitive for most
developers but will we 'lose' some who don't understand? (Maybe I could
write a Codex doc about this if we decide to implement in this way ;)
Although, @karmatosed's points above about the settings page are valid as
well, since it is mainly developers who will look for that settings page
is it needed if we have this (very easy to implement) bit of code for the
theme functions file.
This method also nicely addresses the tracking of the cpt's that a
developer would like to track without the worry of grabbing
unnecessary/unwanted cpt's.
There were a few notices/errors in the code that I didn't have time to
look closely at:
Trying to get property of non-object on lines 44 and 45 of wp-
content/plugins/buddypress/bp-blogs/bp-blogs-activity.php
And then after I registered post types: undefined index: "post type name"
(same location as above)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3460#comment:45>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list