Skip to:
Content
Pages
Categories
Search
Top
Bottom

Message Sent ID

  • Hi,

    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?

You must be logged in to reply to this topic.