From: Michael Date: Mon, 5 Nov 2018 19:05:31 +0000 (+0000) Subject: Fix PR 770 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6632ce40ebd5239dc3029b15a2e5e411687fc6cd;p=friendica-addons.git Fix PR 770 --- diff --git a/wppost/wppost.php b/wppost/wppost.php index 47c30a59..41aa240f 100644 --- a/wppost/wppost.php +++ b/wppost/wppost.php @@ -217,7 +217,7 @@ function wppost_send(&$a,&$b) { return; } - $wp_username = XML::(PConfig::get($b['uid'], 'wppost', 'wp_username')); + $wp_username = XML::escape(PConfig::get($b['uid'], 'wppost', 'wp_username')); $wp_password = XML::escape(PConfig::get($b['uid'], 'wppost',' wp_password')); $wp_blog = PConfig::get($b['uid'],'wppost','wp_blog'); $wp_backlink_text = PConfig::get($b['uid'],'wppost','wp_backlink_text');