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

WordPress Trac noreply at wordpress.org
Sun Feb 5 19:48:19 UTC 2017


#34413: calling register_taxonomy() multiple times will overwrite existing object
types
----------------------------------------+-----------------------------
 Reporter:  BjornW                      |       Owner:  drewapicture
     Type:  defect (bug)                |      Status:  reviewing
 Priority:  normal                      |   Milestone:  Future Release
Component:  Taxonomy                    |     Version:  2.6
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs
----------------------------------------+-----------------------------
Changes (by swissspidy):

 * keywords:  has-patch => needs-patch good-first-bug


Comment:

 > I don't think we should change the behavior of the functions as a part
 of this ticket. I do think we should clarify the PHPdoc as a part of this
 ticket.

 +1. [attachment:34413.3.diff] isn't possible with `WP_Taxonomy` anyway.
 See also #31154 which is slightly related.

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


More information about the wp-trac mailing list