[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
Fri Feb 13 16:26:39 UTC 2015


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

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31449"]:
 {{{
 #!CommitTicketReference repository="" revision="31449"
 Return a `WP_Error` if an empty name is provided when registering a
 taxonomy.

 Fixes #31135
 Props tyxla, MikeHansenMe
 }}}

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


More information about the wp-trac mailing list