Opened 7 years ago
Last modified 6 years ago
#46162 new defect (bug)
get_taxonomies by post_type no output
| Reported by: | tangfou | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Taxonomy | Version: | 5.0.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)