Timestamp bug in admin
-
The timestamps recorded for Answers on the admin pages are wrong. This is the fix:
In
/inc/Posts/Answer.php
change this line:( time() - get_post_time( 'U', false, $answer ) ) > 60 * 60 * 24 * 2 ? '' : ' at ' . human_time_diff( get_post_time( 'U', false, $answer ) ) . ' ago',
to this:
( time() - get_post_time( 'U', false, $answer ) ) > 60 * 60 * 24 * 2 ? '' : ' at ' . human_time_diff( get_post_time( 'U', current_time( 'timestamp' ) ) ) . ' ago',
Please update the plugin soon with these and the other fixes that I and others have posted.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Timestamp bug in admin’ is closed to new replies.