Reply To: Private Message Thread – Reply-Box on Top
You shouldn’t change core files.
You should be able to make your changes via template overloads.
Copy this file
bp-templates\bp-legacy\buddypress\members\single\messages\single.php
to your child theme so that the dir structure looks like this:
your-theme\buddypress\members\single\messages\single.php
Then in single.php, change
if ( bp_thread_has_messages() ) :
to
<?php
$args = array(
'order' => 'DESC'
);
if ( bp_thread_has_messages( $args ) ) : ?>
To change the location of the reply box, adjust the html in that same template overload.