[buddypress-trac] [BuddyPress Trac] #5669: Help plugins to generate activities for their post type(s)

buddypress-trac noreply at wordpress.org
Wed Jan 21 01:32:39 UTC 2015


#5669: Help plugins to generate activities for their post type(s)
------------------------------+---------------------
 Reporter:  imath             |       Owner:  imath
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  2.2
Component:  Activity          |     Version:  2.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by imath):

 Replying to [comment:29 tw2113]:
 > imath I'm curious about the usage of
 {{{bp_activity_delete_by_item_id()}}}

 As i was working on blogs component functions, i guess i took what was in
 place in {{{bp_blogs_delete_activity()}}} to avoid any regression. There
 are others place it's used such as {{{friends_delete_activity()}}},
 {{{bp_groups_delete_group_delete_all_activity()}}} and in
 {{{xprofile_delete_activity()}}}.

 I think, there's a problem here. If it was really deprecated this function
 would be in bp-core/deprecated/1.2.php and use in it
 {{{_deprecated_function()}}}. IMHO, there's a possibility plugin are using
 it, so if we are to deprecate it i wonder if it would be fair play to do
 so in 1.2..

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5669#comment:31>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list