[buddypress-trac] [BuddyPress Trac] #6323: Unable to get user ID of activity items before they are deleted
buddypress-trac
noreply at wordpress.org
Thu Mar 26 22:20:03 UTC 2015
#6323: Unable to get user ID of activity items before they are deleted
------------------------------------------+------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 2.3
Component: Component - Activity | Version: 1.1
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests |
------------------------------------------+------------------
Comment (by johnjamesjacoby):
In [changeset:"9652"]:
{{{
#!CommitTicketReference repository="" revision="9652"
Activity: Improvements to `BP_Activity_Activity::delete()`:
* Select `*` instead of `id` on about-to-be-deleted activity items
* `wp_list_pluck()` the ID's out of the total results for backwards
compatibility
* Introduce before/after actions on array of activity items about to be
deleted
* Recursively call `BP_Activity_Activity::delete()` on activity comments
so new actions are fired on them
* Remove `extract()` usage in place of `$r` array convention
See #6323.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6323#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list