]> git.mxchange.org Git - friendica-addons.git/blobdiff - wppost/wppost.php
please use make to build packages
[friendica-addons.git] / wppost / wppost.php
index f07861667b7ac504a129b6a5a964d591297404a7..264a342c0c0733c5934b218bb0f9646984e3257b 100755 (executable)
@@ -161,8 +161,8 @@ function wppost_send(&$a,&$b) {
         return;
 
 
-       $wp_username = get_pconfig($b['uid'],'wppost','wp_username');
-       $wp_password = get_pconfig($b['uid'],'wppost','wp_password');
+       $wp_username = xmlify(get_pconfig($b['uid'],'wppost','wp_username'));
+       $wp_password = xmlify(get_pconfig($b['uid'],'wppost','wp_password'));
        $wp_blog = get_pconfig($b['uid'],'wppost','wp_blog');
 
        if($wp_username && $wp_password && $wp_blog) {