HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpprotonperinggit/wp-content/plugins/wp-private-message/templates/reply-item.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
$user_id = WP_Private_Message_Mixes::get_current_user_id();
?>
<li class="<?php echo esc_attr($rpost->post_author == $user_id ? 'yourself-reply' : 'user-reply'); ?> author-id-<?php echo esc_attr($rpost->post_author); ?>">
  <?php if ( $rpost->post_author != $user_id ) { ?>
    <div class="avatar">
      <?php echo get_avatar( $rpost->post_author, '75', '' ); ?>
    </div>
  <?php } ?>
  <div class="reply-content">
    <!-- date -->
    <?php
      
      $current = strtotime(date("Y-m-d"));
      $date    = strtotime( get_the_time('Y-m-d', $rpost) );

      $datediff = $date - $current;
      $difference = floor($datediff/(60*60*24));
      if ( $difference == 0 ) {
        $date = esc_html__('Today', 'wp-private-message');
      } elseif ( $difference == -1 ) {
        $date = esc_html__('Yesterday', 'wp-private-message');
      } else {
        $date = get_the_time( get_option('date_format'), $rpost );
      }
    ?>
    <div class="post-date"><?php echo trim($date); ?>, <?php echo get_the_time( get_option('time_format'), $rpost ); ?></div>
    <div class="post-content"><?php echo esc_html($rpost->post_content); ?></div>
  </div>
  
</li>