Use correct variable. Caught by unit tests. see #20566.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-04-28 21:22:07 +00:00
parent 90e0f66bf1
commit 1627408d5a
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,7 @@ class wp_xmlrpc_server extends IXR_Server {
}
if ( in_array( 'taxonomies', $fields ) )
$_post_type['taxonomies'] = get_object_taxonomies( $_post_type->name, 'names' );
$_post_type['taxonomies'] = get_object_taxonomies( $post_type->name, 'names' );
return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );
}