add date and time in log on starting processing new item
This commit is contained in:
parent
4a9a5db1ad
commit
a1496a93f7
|
@ -895,6 +895,7 @@ abstract class Importer {
|
|||
$author = $this->get_transient('author');
|
||||
$this->add_log('---------------------------');
|
||||
$this->add_log('Starting processing new item');
|
||||
$this->add_log(date("Y-m-d H:i:s"));
|
||||
$this->add_log('User in process: ' . $author);
|
||||
wp_set_current_user($author);
|
||||
$result = $this->$method_name();
|
||||
|
|
Loading…
Reference in New Issue