The ‘xmlrpc_publish_post’ action is called just after ‘publish_post’ is, but only when a post is published via the xmlrpc method.
Look at lines 672-674 of post.php and it’s fairly obvious.
Otto i love you eheheh is possible include this action on wp 2.0.5 ?
Why doesn’t work ?
$post_content = sanitize_title($_POST['post_title']);
$generatedtags = $utw->generateKeywords($post_content);
$tags = $wpdb->escape($generatedtags);
$tags = explode(',',$tags);
$utw->SaveTags($postID, $tags);
this script works with the action publish_post but not with xmlrpc_publish_post
Please quit bumping the topic and wait for the answer – it’s hardly ever immediate.