[Plugin: WP-UserOnline] small bug report
-
in wp-useronline.php:50
$most
variable gets the default ‘date’ value as a timestamp, but the option reads a mysql time, and later on template-tags.php:40get_most_users_online_date
does not convert the option.changes needed:
wp-useronline.php:50
$most = new scbOptions( 'useronline_most', __FILE__, array( 'count' => 1, 'date' => current_time( 'mysql' ) ) );
template-tags.php:40
function get_most_users_online_date() { return UserOnline_Template::format_date( UserOnline_Core::$most->date, true ); }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: WP-UserOnline] small bug report’ is closed to new replies.