Fix typo in blogger_editPost(). Don't invoke content_save_pre since that is done by the insert/update functions. fixes #1777

git-svn-id: http://svn.automattic.com/wordpress/trunk@2957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-10-20 16:38:07 +00:00
parent 8c0dd12af3
commit 183593f333
1 changed files with 3 additions and 9 deletions

View File

@ -379,9 +379,7 @@ class wp_xmlrpc_server extends IXR_Server {
$post_title = xmlrpc_getposttitle($content);
$post_category = xmlrpc_getpostcategory($content);
$content = xmlrpc_removepostdata($content);
$post_content = apply_filters( 'content_save_pre', $content );
$post_content = xmlrpc_removepostdata($content);
$post_date = current_time('mysql');
$post_date_gmt = current_time('mysql', 1);
@ -410,7 +408,7 @@ class wp_xmlrpc_server extends IXR_Server {
$post_ID = $args[1];
$user_login = $args[2];
$user_pass = $args[3];
$new_content = $args[4];
$content = $args[4];
$publish = $args[5];
if (!$this->login_pass_ok($user_login, $user_pass)) {
@ -431,13 +429,9 @@ class wp_xmlrpc_server extends IXR_Server {
extract($actual_post);
$content = $newcontent;
$post_title = xmlrpc_getposttitle($content);
$post_category = xmlrpc_getpostcategory($content);
$content = xmlrpc_removepostdata($content);
$post_content = apply_filters( 'content_save_pre', $content );
$post_content = xmlrpc_removepostdata($content);
$postdata = compact('ID', 'post_content', 'post_title', 'post_category', 'post_status', 'post_excerpt');