diff --git a/wppost.tgz b/wppost.tgz index d18ed64f..d79d411b 100644 Binary files a/wppost.tgz and b/wppost.tgz differ diff --git a/wppost/wppost.php b/wppost/wppost.php index 479ad6f1..9aac6c38 100644 --- a/wppost/wppost.php +++ b/wppost/wppost.php @@ -136,7 +136,10 @@ function wppost_send(&$a,&$b) { if($wp_username && $wp_password && $wp_blog && $wp_post && $wp_enable) { require_once('include/bbcode.php'); - $post = xmlify(bbcode($b['body'])); + + $post = (($b['title']) ? '' . $b['title'] . '' : ''); + $post .= bbcode($b['body']); + $post = xmlify($post); $xml = <<< EOT