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
This commit is contained in:
nacin 2012-04-25 22:28:43 +00:00
parent 58ef081f06
commit 1214aa9870
1 changed files with 4 additions and 4 deletions

View File

@ -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 );
}
/**