Update wppost/wppost.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
b3195504f1
commit
47d54e82df
|
@ -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