From: friendica Date: Thu, 1 Mar 2012 23:48:58 +0000 (-0800) Subject: xmlify the login credentials - just in case X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=213f7f9e038b66553be8537bd493d9d098814ab0;p=friendica-addons.git xmlify the login credentials - just in case --- diff --git a/wppost.tgz b/wppost.tgz index 50e9234c..12f96d3b 100755 Binary files a/wppost.tgz and b/wppost.tgz differ diff --git a/wppost/wppost.php b/wppost/wppost.php index f0786166..264a342c 100755 --- a/wppost/wppost.php +++ b/wppost/wppost.php @@ -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) {