Log errors
-
Change:
if (is_wp_error($feed)) { return false; }
to:
if (is_wp_error($feed)) { rssPILog::log(str_replace("\n", " ", var_export($feed, TRUE))); return false; }
- The topic ‘Log errors’ is closed to new replies.
Home / Plugin: RSS Post Importer / Log errors
Change:
if (is_wp_error($feed)) {
return false;
}
to:
if (is_wp_error($feed)) {
rssPILog::log(str_replace("\n", " ", var_export($feed, TRUE)));
return false;
}