[wp-trac] [WordPress Trac] #31155: register_taxonomy function does not check reserved taxonomies

WordPress Trac noreply at wordpress.org
Wed Jan 28 15:14:56 UTC 2015


#31155: register_taxonomy function does not check reserved taxonomies
------------------------------+------------------------------
 Reporter:  sebastiaandegeus  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Taxonomy          |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by danielbachhuber):

 > Projects and plugins that are using reserved taxonomies in the wild will
 not break.

 But you're returning early and the taxonomy wouldn't be registered?

 Co-Authors Plus uses an `author` taxonomy behind the scenes, which seems
 like a perfectly valid use that would be broken by this patch.

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


More information about the wp-trac mailing list