Merge pull request #771 from annando/quick-fix

Fix PR 770
This commit is contained in:
Michael Vogel 2018-11-05 20:06:42 +01:00 committed by GitHub
commit 98895c5356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,7 +217,7 @@ function wppost_send(&$a,&$b) {
return; 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_password = XML::escape(PConfig::get($b['uid'], 'wppost',' wp_password'));
$wp_blog = PConfig::get($b['uid'],'wppost','wp_blog'); $wp_blog = PConfig::get($b['uid'],'wppost','wp_blog');
$wp_backlink_text = PConfig::get($b['uid'],'wppost','wp_backlink_text'); $wp_backlink_text = PConfig::get($b['uid'],'wppost','wp_backlink_text');