[buddypress-trac] [BuddyPress] #4597: Message Sent ID

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Oct 15 14:27:56 UTC 2012

#4597: Message Sent ID
 Reporter:  jpsb          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Messaging     |    Version:  1.6
 Severity:  normal        |   Keywords:

 In function '''send''' of messaging component, in the file '''bp-messages-
 classes.php''', the ID is placed like this: '''$ this-> id = $ wpdb->
 insert_id''' on line 385;

 But that’re getting the ID of the recipient, rather than the ID of the
 message sent.

 To get the ID of the message correctly, the code '''$ this-> id = $ wpdb->
 insert_id''' should appear on line 368 instead of line 385. Is there any
 reason for this?

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4597>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list