• I am using 2.80-alpha3 and love the plugin. Thanks.

    But is there a reason it’s inserting into the database -1 hour from my timezone? Everything else in wordpress has the correct time.

    Also, I just upgraded and hope it resolves an issue where it resets itself every top of the hour… I don’t know if the two are related but it wouldn’t surprise me.

    http://hammeroftruth.com/

Viewing 1 replies (of 1 total)
  • Thread Starter stephenv

    (@stephenv)

    in core.php (2.80-alpha3) find // Purge table and update with this:

    // Purge table
    $wpdb->query( $wpdb->prepare( "
    DELETE FROM $wpdb->useronline
    WHERE user_ip = %s
    OR timestamp < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL %d SECOND)
    ", $user_ip, self::$options->timeout ) );

    This fixed it on our site, thanks to one of our users. Thought I’d share.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-UserOnline] Incorrect time displayed’ is closed to new replies.