Update getShareOpeningTag::getShareOpeningTag method signature

- Optional parameter $guid is now at the end
- Always provided parameter $posted is now mandatory
This commit is contained in:
Hypolite Petovan 2020-06-21 09:42:37 -04:00
commit 912ff069c0
5 changed files with 19 additions and 21 deletions

View file

@ -43,7 +43,7 @@ function share_init(App $a) {
$pos = strpos($item['body'], "[share");
$o = substr($item['body'], $pos);
} else {
$o = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'], $item['guid'], $item['created'], $item['plink']);
$o = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'], $item['plink'], $item['created'], $item['guid']);
if ($item['title']) {
$o .= '[h3]'.$item['title'].'[/h3]'."\n";