Hi,
When a scheduled update is published, it seems that $post->post_date is updated but not $post->post_date_gmt.
See tao-schedule-update.php - line 538 :
$post->post_date = date_i18n( 'Y-m-d H:i:s' );
but no mention of post_date_gmt. However, the 2 values (gmt and non gmt) are 2 different fields in the database. The first one is called with :
get_post_time($d, true);
and the latter is called with :
get_post_time($d, false);
This causes a misbehaviour everywhere post_date_gmt is used (in feeds for instance). Would it be possible to add the necessary line of code to fix it ?
Hi, When a scheduled update is published, it seems that
$post->post_date
is updated but not$post->post_date_gmt
. See tao-schedule-update.php - line 538 :$post->post_date = date_i18n( 'Y-m-d H:i:s' );
but no mention ofpost_date_gmt
. However, the 2 values (gmt and non gmt) are 2 different fields in the database. The first one is called with :get_post_time($d, true);
and the latter is called with :get_post_time($d, false);
This causes a misbehaviour everywhere
post_date_gmt
is used (in feeds for instance). Would it be possible to add the necessary line of code to fix it ?Thanks