From 1214aa9870416b73baef3e246bff55074f20d7a4 Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 25 Apr 2012 22:28:43 +0000 Subject: [PATCH] Remove extra underscore from four XML-RPC filters. props maxcutler. fixes #20549. git-svn-id: http://svn.automattic.com/wordpress/trunk@20604 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-xmlrpc-server.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php index 4fde4636fb..afed085688 100644 --- a/wp-includes/class-wp-xmlrpc-server.php +++ b/wp-includes/class-wp-xmlrpc-server.php @@ -503,7 +503,7 @@ class wp_xmlrpc_server extends IXR_Server { unset( $_taxonomy['update_count_callback'] ); - return apply_filters( 'xmlrpc__prepare_taxonomy', $_taxonomy, $taxonomy ); + return apply_filters( 'xmlrpc_prepare_taxonomy', $_taxonomy, $taxonomy ); } /** @@ -528,7 +528,7 @@ class wp_xmlrpc_server extends IXR_Server { // Count we are happy to return as an Integer because people really shouldn't use Terms that much. $_term['count'] = intval( $_term['count'] ); - return apply_filters( 'xmlrpc__prepare_term', $_term, $term ); + return apply_filters( 'xmlrpc_prepare_term', $_term, $term ); } /** @@ -640,7 +640,7 @@ class wp_xmlrpc_server extends IXR_Server { } } - return apply_filters( 'xmlrpc__prepare_post', $_post, $post, $fields ); + return apply_filters( 'xmlrpc_prepare_post', $_post, $post, $fields ); } /** @@ -697,7 +697,7 @@ class wp_xmlrpc_server extends IXR_Server { $_post_type['taxonomies'] = get_object_taxonomies( $_post_type['name'] ); } - return apply_filters( 'xmlrpc__prepare_post_type', $_post_type, $post_type ); + return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type ); } /**