Potential date time issue and solution
-
I have encountered several examples where posts are expiring several hours prior to the time set. The times were confirmed correct in the post_meta table.
I came to the conclusion it was likely a server time vs client time issue. I added the code below to hugu_ped_wpdb_query. This seems to have resolved the issue.
$tz_string = get_option('timezone_string'); date_default_timezone_set($tz_string);
I am requesting you incorporate this in your next revision.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Potential date time issue and solution’ is closed to new replies.