This commit is contained in:
Filip Penkava
2017-04-13 15:29:01 +02:00
parent 6dbdce8fb8
commit 17880cb75a
3 changed files with 77 additions and 0 deletions

View File

@@ -121,6 +121,10 @@ if ($obj['type'] == 'text') {
$author_id = 0;
}
if ($settings['download-images'] && $settings['download-images'] == 'on') {
$content = embed_images($content);
}
$sync = $wpdb->get_row("SELECT post_id FROM " . $wpdb->prefix . DB_TABLE_SYNC_POST . " WHERE guid = '" . $guid . "'");
if ($sync) {