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 47c30a5..41aa240 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');