Changeset 20670
- Timestamp:
- 05/01/2012 08:33:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r20665 r20670 520 520 protected function _prepare_taxonomy( $taxonomy, $fields ) { 521 521 $_taxonomy = array( 522 'name' => $taxon my->name,522 'name' => $taxonomy->name, 523 523 'label' => $taxonomy->label, 524 524 'hierarchical' => (bool) $taxonomy->hierarchical, … … 532 532 533 533 if ( in_array( 'capabilities', $fields ) ) 534 $_taxonomy['cap'] = (array) $ post_type->cap;534 $_taxonomy['cap'] = (array) $taxonomy->cap; 535 535 536 536 if ( in_array( 'object_types', $fields ) )
Note: See TracChangeset
for help on using the changeset viewer.