Skip to:
Content
Pages
Categories
Search
Top
Bottom

Wrong post time in Inbox


  • chestnut_jp
    Member

    @chestnut_jp

    At line 294 or so in /wp-content/plugins/buddypress/bp-messages/bp-messages-templatetags.php

    Because the time posted (sent) is about 17 hours different from the real time, I changed as following:

    `
    [ Original ]
    return apply_filters( ‘bp_get_message_thread_last_post_date’, bp_format_time( get_date_from_gmt( $messages_template->thread->last_message_date, ‘U’ ) ) );

    [ Changed ]
    return apply_filters( ‘bp_get_message_thread_last_post_date’, bp_format_time( strtotime( $messages_template->thread->last_message_date ) ) );
    `

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong post time in Inbox’ is closed to new replies.
Skip to toolbar