@laullon
15 years, 2 months ago
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 )
15 years, 6 months ago
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