Wordpress 3.7
[autoinstalls/wordpress.git] / wp-includes / class-wp-xmlrpc-server.php
index 922e0284a4b8e146d1dfd1f3eb4db47911b64ee5..d3ebdb8bb3ab2cc7604794505ced0f0434e26c22 100644 (file)
@@ -547,6 +547,9 @@ class wp_xmlrpc_server extends IXR_Server {
                if ( in_array( 'cap', $fields ) )
                        $_taxonomy['cap'] = (array) $taxonomy->cap;
 
+               if ( in_array( 'menu', $fields ) )
+                       $_taxonomy['show_in_menu'] = (bool) $_taxonomy->show_in_menu;
+
                if ( in_array( 'object_type', $fields ) )
                        $_taxonomy['object_type'] = array_unique( (array) $taxonomy->object_type );