Commit 25dc88ec authored by friendica's avatar friendica

link import and export on both sides

parent 5b779132
No preview for this file type
......@@ -188,11 +188,13 @@ function wppost_send(&$a,&$b) {
'post_title' => trim($b['title']),
'post_content' => bbcode($b['body']),
'post_type' => 'post',
'post_status' => 'publish'
'post_status' => 'publish',
'custom_fields' => array(array('key' => 'post_to_red', 'value' => '1'))
);
$client = new IXR_Client($wp_blog);
if($edited)
$res = $client->query('wp.editPost',1,$wp_username,$wp_password,$wp_post_id,$data);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment