| @@ -294,10 +294,10 @@ | ||
| 294 | 294 | $active_tasks[ $task_name ]['interval_in_seconds'] = $this->get_task__execution_interval_in_seconds( $task_params_arr ); |
| 295 | 295 | |
| 296 | 296 | $last_time__run__timestamp = $task_params_arr['last_execution']; |
| 297 | 297 | $next_time__run__timestamp = $this->get_task__timestamp__of_next_execution( $task_params_arr ); |
| 298 | - //active_tasks[ $task_name ]['last_time__run__gmt'] = date( 'Y-m-d H:i:s', $active_tasks[ $task_name ]['last_time__run__timestamp'] ); | |
| 299 | - //$active_tasks[ $task_name ]['next_time__run__gmt'] = date( 'Y-m-d H:i:s', $active_tasks[ $task_name ]['next_time__run__timestamp'] ); | |
| 298 | + //active_tasks[ $task_name ]['last_time__run__gmt'] = gmdate( 'Y-m-d H:i:s', $active_tasks[ $task_name ]['last_time__run__timestamp'] ); | |
| 299 | + //$active_tasks[ $task_name ]['next_time__run__gmt'] = gmdate( 'Y-m-d H:i:s', $active_tasks[ $task_name ]['next_time__run__timestamp'] ); | |
| 300 | 300 | |
| 301 | 301 | $active_tasks[ $task_name ]['last_time__run__local'] = wp_date( 'Y-m-d H:i:s', $last_time__run__timestamp ); |
| 302 | 302 | $active_tasks[ $task_name ]['next_time__run__local'] = wp_date( 'Y-m-d H:i:s', $next_time__run__timestamp ); |
| 303 | 303 | |
| @@ -338,9 +338,9 @@ | ||
| 338 | 338 | default: |
| 339 | 339 | } |
| 340 | 340 | } |
| 341 | 341 | |
| 342 | - $execution_interval_in_seconds = intval( $action['recurrence'] ) * $number_of_seconds; // number of hours | m | d //FixIn: 8.4.5.2 | |
| 342 | + $execution_interval_in_seconds = intval( $action['recurrence'] ) * $number_of_seconds; // number of hours | m | d // FixIn: 8.4.5.2. | |
| 343 | 343 | |
| 344 | 344 | return $execution_interval_in_seconds; |
| 345 | 345 | } |
| 346 | 346 | |