[buddypress-trac] [BuddyPress Trac] #3083: Create message meta table and appropriate meta functions

buddypress-trac noreply at wordpress.org
Wed Nov 26 06:08:40 UTC 2014


#3083: Create message meta table and appropriate meta functions
------------------------------+-----------------------
 Reporter:  r-a-y             |       Owner:  r-a-y
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  2.2
Component:  Messaging         |     Version:  1.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by r-a-y):

 In [changeset:"9184"]:
 {{{
 #!CommitTicketReference repository="" revision="9184"
 Grab all message IDs before deleting a message thread.

 In BP_Messages_Thread::delete(), we need to grab all message IDs before
 a message thread is outright deleted.  This is done by using
 $wpdb->get_col() instead of $wpdb->get_var().

 This commit also:

 * Deletes the message meta attached to the message (see #3083)
 * Reinstates the 'messages_thread_deleted_hook' action that was improperly
 removed in r9165
 * Adds $message_ids as an extra parameter to the
 'bp_messages_thread_after_delete' action
 }}}

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


More information about the buddypress-trac mailing list