', $data["type"]);
+ }
- if (strstr(strtolower($oembed), "
';
+ }
}
}
- return trim($data["text"].' '.$text.' '.$data["after"]);
+
+ return trim($data["text"] . ' ' . $return . ' ' . $data["after"]);
}
function bb_remove_share_information($Text, $plaintext = false, $nolink = false) {
- $data = get_attachment_data($Text);
+ $data = BBCode::getAttachmentData($Text);
if (!$data) {
return $Text;
@@ -223,32 +239,6 @@ function stripcode_br_cb($s) {
return '[code]' . str_replace('