[buddypress-trac] [BuddyPress Trac] #7235: Allow for message threads to be deleted for users other than the current user

buddypress-trac noreply at wordpress.org
Thu Sep 22 01:28:24 UTC 2016


#7235: Allow for message threads to be deleted for users other than the current
user
-------------------------+---------------------------
 Reporter:  jdgrimes     |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.7
Component:  Messages     |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11153"]:
 {{{
 #!CommitTicketReference repository="" revision="11153"
 Accept a `$user_id` parameter in `messages_delete_thread()`.

 Previously, this stack assumed the logged-in user, which made it very
 difficult to delete threads for arbitrary users without touching the
 database directly.

 Props jdgrimes.
 Fixes #7235.
 }}}

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


More information about the buddypress-trac mailing list