}
}
-
return $post;
}
if (count($links) > 1) {
// The post will be the type "text", which means a blog post
unset($post["type"]);
+ $post["url"] = $plink;
}
if (!isset($post["type"])) {
$post["type"] = "text";
$post["text"] = trim($body);
- $post["url"] = $plink;
}
} elseif (isset($post["url"]) && ($post["type"] == "video")) {
$data = ParseUrl::getSiteinfoCached($post["url"], true);