Suggestion for sum type of issue
-
Hello sir,
I fetch some issue in your plugin.
If login 2 or more users in site with same IP so, it does not wok so please change in your plugin.
changes:
file name =>core.php approximate line no 133before like this :$wpdb->query( $wpdb->prepare( “DELETE FROM $wpdb->useronline WHERE user_ip = %s OR timestamp < DATE_SUB(%s, INTERVAL %d SECOND)”, $user_ip, $timestamp, self::$options->timeout ) );
after like this : $wpdb->query( $wpdb->prepare( “DELETE FROM $wpdb->useronline WHERE user_id = %d and user_ip = %s OR timestamp < DATE_SUB(%s, INTERVAL %d SECOND)”,$current_user->ID , $user_ip, $timestamp, self::$options->timeout ) );
and I am sorry if Going greater say.
- The topic ‘Suggestion for sum type of issue’ is closed to new replies.