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

git-svn-id: https://develop.svn.wordpress.org/trunk@20635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-04-28 21:22:07 +00:00
parent f78ebb0c3e
commit e3ba704f17
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 );
}