Make WordPress Core

Opened 8 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.

Change History (1)

#1 @sabernhardt
6 years ago

  • Component General → Taxonomy
Note: See TracTickets for help on using tickets.