Opened 6 years ago
Last modified 4 years ago
#46162 new defect (bug)
get_taxonomies by post_type no output
Reported by: | tangfou | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.0.3 |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
if:
<?php register_taxonomy('area', array('demand'), $args); $taxonomies = get_taxonomies( 'object_type' =>array('demand'), $output, $operator );
that is ok!
but if:
<?php register_taxonomy('area', array('profile', 'resource', 'demand'), $args); $taxonomies = get_taxonomies( 'object_type' =>array('demand'), $output, $operator );
There is no output.
Note: See
TracTickets for help on using
tickets.