WordPress.org

Make WordPress Core

Opened 9 months 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: General Keywords:
Focuses: Cc:
PR Number:

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 (0)

Note: See TracTickets for help on using tickets.