Skip to:
Content

BuddyPress.org

Opened 9 years ago

Last modified 8 years ago

#6890 new enhancement

Remove usage of deprecated bp_activity_delete_by_item_id() from various functions.

Reported by: tw2113's profile tw2113 Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Core Keywords: good-first-bug needs-patch
Cc:

Description (last modified by tw2113)

Should be able to transform current arguments into matching version for bp_activity_delete()

Found in:

bp_activity_post_type_unpublish()
bp_activity_post_type_remove_comment()
bp_blogs_delete_activity()
friends_delete_activity()
bp_groups_delete_group_delete_all_activity()
xprofile_delete_activity()

Attachments (1)

6890.diff (3.2 KB) - added by umesh.nevase 8 years ago.
I've replaced deprecated bp_activity_delete_by_item_id with bp_activity_delete. I've tested on my side, needs more testing.

Download all attachments as: .zip

Change History (8)

#1 @tw2113
9 years ago

  • Description modified (diff)
  • Summary changed from Remove usage of deprecated bp_activity_delete_by_item_id() from friends_delete_activity() to Remove usage of deprecated bp_activity_delete_by_item_id() from various functions.

#2 @DJPaul
9 years ago

  • Keywords good-first-bug needs-patch added
  • Milestone changed from Awaiting Review to 2.6

This ticket was mentioned in Slack in #buddypress by dcavins. View the logs.


8 years ago

#4 @DJPaul
8 years ago

  • Milestone changed from 2.6 to Future Release

#5 @DJPaul
8 years ago

  • Component changed from API to Core

#6 @slaFFik
8 years ago

  • Milestone changed from Future Release to 2.8

@umesh.nevase
8 years ago

I've replaced deprecated bp_activity_delete_by_item_id with bp_activity_delete. I've tested on my side, needs more testing.

#7 @DJPaul
8 years ago

  • Milestone changed from 2.8 to Future Release
Note: See TracTickets for help on using tickets.