Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • German Laullon
    Participant

    @laullon

    I’ve made this changes:

    1593c1593

    < function bp_get_the_body_class( $wp_classes, $custom_classes ) {

    > function bp_get_the_body_class( $wp_classes, $custom_classes=”” ) {

    1732c1732

    < $wp_classes = (array) $custom_classes;

    > $wp_classes += (array) $custom_classes;

    1734c1734

    < $wp_classes = array();

    > $wp_classes += array();

    And now works….

    ( < org > new )

    Here is my temporal solution:

    add_action( 'bp_activity_before_save', "ftblg_bp_timezone_bug" );
    function ftblg_bp_timezone_bug($activity) {
    $blog_time_offset=get_option('gmt_offset') * 3600;
    $server_time_offset=-6 * 3600;
    $activity->date_recorded = $activity->date_recorded - $blog_time_offset;
    $activity->date_recorded = $activity->date_recorded + $server_time_offset;
    }

    change ‘-6’ for the server time zone.

    Hi,

    I’m wondering if there is any plan to resolve this problem.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar