[wp-trac] [WordPress Trac] #31135: register_taxonomy() should call a _doing_it_wrong() when called with an empty taxonomy name

WordPress Trac noreply at wordpress.org
Mon Jan 26 08:14:22 UTC 2015


#31135: register_taxonomy() should call a _doing_it_wrong() when called with an
empty taxonomy name
--------------------------+------------------
 Reporter:  tyxla         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  Taxonomy      |     Version:  3.0
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by tyxla):

 Thanks for making things more clear on how `_doing_it_wrong()` cases are
 tested. And I really missed the `test_register_long_taxonomy()` test.

 Updating the patch with your suggestions right away.

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


More information about the wp-trac mailing list