Hello.
I had a plugin that was setting the un_pub date of a document during save according to the data in the EndDate TVs.
global $tmplvars;
global $unpub_date;
if (isset($tmplvars['EndDate'])) {
$date = is_array($tmplvars['EndDate']) ? $tmplvars['EndDate'][1] : $tmplvars['EndDate'];
$unpub_date = strtotime($date) + 24*60*60;
$min = date("i", $unpub_date);
$sec = date("s", $unpub_date);
$hrs = date("H", $unpub_date);
$unpub_date -= $sec + $min * 60 + $hrs * 3600;
}
In 1.0.2 it stopped working.
Can anyone help me to fix that? Has someone gone deeper into the new core functionality so far?