Ticket #15982: 15982.diff
File 15982.diff, 553 bytes (added by , 14 years ago) |
---|
-
wp-includes/taxonomy.php
352 352 unset( $args['capabilities'] ); 353 353 354 354 $args['name'] = $taxonomy; 355 $args['object_type'] = is_array($object_type) ? array_map('sanitize_key', $object_type) : (array) sanitize_key($object_type);355 $args['object_type'] = (array) $object_type; 356 356 357 357 $args['labels'] = get_taxonomy_labels( (object) $args ); 358 358 $args['label'] = $args['labels']->name;