From eb5ed671ac6965b950a01ef120160cdcb2d21b4d Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 17 Sep 2009 16:59:33 +0000 Subject: [PATCH] Don't run content_save_pre filter twice for XMLRPC posts. Props redsweater. fixes #10802 git-svn-id: http://svn.automattic.com/wordpress/trunk@11942 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmlrpc.php b/xmlrpc.php index e6c7c310f..b010bfdc6 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -2092,7 +2092,7 @@ class wp_xmlrpc_server extends IXR_Server { } $post_title = $content_struct['title']; - $post_content = apply_filters( 'content_save_pre', $content_struct['description'] ); + $post_content = $content_struct['description']; $post_status = $publish ? 'publish' : 'draft'; @@ -2459,7 +2459,7 @@ class wp_xmlrpc_server extends IXR_Server { } $post_title = $content_struct['title']; - $post_content = apply_filters( 'content_save_pre', $content_struct['description'] ); + $post_content = $content_struct['description']; $catnames = $content_struct['categories']; $post_category = array();