Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit 1627408d5aac3cebd3b4d8897fe2b21feec8822a 1 parent 90e0f66
nacin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-includes/class-wp-xmlrpc-server.php
View
2  wp-includes/class-wp-xmlrpc-server.php
@@ -698,7 +698,7 @@ public function _prepare_post_type( $post_type, $fields ) {
}
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 );
}
Please sign in to comment.
Something went wrong with that request. Please try again.