[buddypress-trac] [BuddyPress Trac] #8080: Data_export exports wrong data

buddypress-trac noreply at wordpress.org
Mon Jun 17 09:55:44 UTC 2019


#8080: Data_export exports wrong data
-------------------------------------------------+-------------------------
 Reporter:  gingerbooch                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  high                                 |   Milestone:  4.4.0
Component:  Messages                             |     Version:  4.1.0
 Severity:  major                                |  Resolution:
 Keywords:  has-patch has-unit-tests reporter-   |
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by imath):

 In this comment about another ticket I’m giving some explanations about
 how to apply a patch :
 https://buddypress.trac.wordpress.org/ticket/8079

 But if you can probably simply edit the file {{{/bp-messages/bp-messages-
 functions.php}}} at line 687 replacing:

 {{{
 if ( $recipient->user_id !== $message->sender_id ) {
 }}}

 by:

 {{{
 if ( $user->ID !== $message->sender_id ) {
 }}}

 Try to avoid doing it on a production site : it’s always safer to use a
 staging/testing site.

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


More information about the buddypress-trac mailing list