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:
parent
f78ebb0c3e
commit
e3ba704f17
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user