mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-29 00:53:15 +00:00
Update wppost/wppost.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
b3195504f1
commit
47d54e82df
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ function wppost_send(App $a, array &$b)
|
||||||
|
|
||||||
$wp_backlink = intval(DI::pConfig()->get($b['uid'],'wppost','backlink'));
|
$wp_backlink = intval(DI::pConfig()->get($b['uid'],'wppost','backlink'));
|
||||||
if($wp_backlink && $b['plink']) {
|
if($wp_backlink && $b['plink']) {
|
||||||
$post .= '<p><a href="' . $b['plink'] . '">' . $wp_backlink_text . '</a><p/>';
|
$post .= '<p><a href="' . $b['plink'] . '">' . $wp_backlink_text . '</a></p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$post = XML::escape($post);
|
$post = XML::escape($post);
|
||||||
|
|
Loading…
Reference in a new issue