]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix PR 770
authorMichael <heluecht@pirati.ca>
Mon, 5 Nov 2018 19:05:31 +0000 (19:05 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 5 Nov 2018 19:05:31 +0000 (19:05 +0000)
wppost/wppost.php

index 47c30a59e24d78f95d400ec75268773efdc0d52f..41aa240fb37390d8213264a2b48854ee463414c5 100644 (file)
@@ -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');