Remove duplicated do_action wp.getPosts call. props maxcutler.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-04-26 16:28:06 +00:00
parent ce68e05c48
commit e27fb96dee

View File

@ -1224,8 +1224,6 @@ class wp_xmlrpc_server extends IXR_Server {
$query['order'] = $filter['order'];
}
do_action( 'xmlrpc_call', 'wp.getPosts' );
$posts_list = wp_get_recent_posts( $query );
if ( ! $posts_list )