[wp-trac] [WordPress Trac] #46162: get_taxonomies by post_type no output

WordPress Trac noreply at wordpress.org
Fri Feb 1 06:47:14 UTC 2019


#46162: get_taxonomies by post_type no output
--------------------------+-----------------------------
 Reporter:  tangfou       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.0.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 if:

 {{{#!php
 <?php
 register_taxonomy('area', array('demand'), $args);

 $taxonomies = get_taxonomies( 'object_type' =>array('demand'), $output,
 $operator );
 }}}

 that is ok!

 but if:

 {{{#!php
 <?php

 register_taxonomy('area', array('profile', 'resource', 'demand'), $args);

 $taxonomies = get_taxonomies( 'object_type' =>array('demand'), $output,
 $operator );
 }}}

 There is no output.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46162>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list