From 9a94997c21cab19d07b6964f23133a6d9d023954 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@11942 602fd350-edb4-49c9-b593-d223f7449a82 --- xmlrpc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmlrpc.php b/xmlrpc.php index e6c7c310f4..b010bfdc69 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();