[buddypress-trac] [BuddyPress] #3460: Support custom post types in activity stream

buddypress-trac noreply at wordpress.org
Sat Nov 23 08:16:26 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:  2nd-opinion   |
--------------------------+-----------------------------
Changes (by imath):

 * keywords:  has-patch 2nd-opinion => 2nd-opinion


Comment:

 Replying to [comment:45 trishasalas]:
 > 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)

 That's problematic. I haven't noticed it because i've tested with the
 "page" post type and my "buddydrive_file" post type. The buddydrive one is
 hooking init at a 9 priority (i've noticed using 10 the taxonomy wasn't
 available if using ajax). I've just check with the default priority (10)
 which most will use, and you're right about the errors, the post type
 arguments are not defined :(

 I need to keep exploring ;)

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3460#comment:46>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list