[wp-trac] [WordPress Trac] #34413: calling register_taxonomy() multiple times will overwrite existing object types

WordPress Trac noreply at wordpress.org
Fri Oct 23 11:28:22 UTC 2015


#34413: calling register_taxonomy() multiple times will overwrite existing object
types
--------------------------+-----------------------------
 Reporter:  BjornW        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  4.3.1
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 Using register_taxonomy() with the same taxonomy, but different object
 types will result in the already registered object types to be
 overwritten.
 The comment at the register_taxonomy() function state that it will modify
 (not overwrite existing registrated object types with this taxonomy),
 therefor the comment is wrong or the code needs to be adjusted.

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


More information about the wp-trac mailing list