Browse Source

minor fixes

pull/12/merge
friendica 11 years ago
parent
commit
4b35c8e140
  1. BIN
      wppost.tgz
  2. 5
      wppost/wppost.php

BIN
wppost.tgz

Binary file not shown.

5
wppost/wppost.php

@ -174,8 +174,7 @@ function wppost_send(&$a,&$b) {
$post = xmlify($post);
$xml = <<< EOT
<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<methodCall>
<methodName>blogger.newPost</methodName>
<params>
@ -194,7 +193,7 @@ EOT;
if($wp_blog !== 'test')
$x = post_url($wp_blog,$xml);
logger('posted to wordpress: ' . ($x) ? $x : '');
logger('posted to wordpress: ' . (($x) ? $x : ''), LOGGER_DEBUG);
}
}

Loading…
Cancel
Save