[wp-trac] [WordPress Trac] #19384: register_taxonomy() doesn't fail (silently or otherwise) when trying to use a reserved term

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 28 19:33:52 UTC 2011


#19384: register_taxonomy() doesn't fail (silently or otherwise) when trying to use
a reserved term
--------------------------+------------------------------
 Reporter:  iamfriendly   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 'type' isn't an existing taxonomy, it's just a pseudo-reserved term due to
 the media library.

 IIRC, the conflict stems from a `type` query variable, rather than the
 taxonomy as a whole.

 I would rather adjust the media library, or temporarily force the
 unregistering of a `type` (and `tab`, I believe) query variable when
 loading up the iframe.

 N.B. taxonomy_exists() was renamed from is_taxonomy() in 3.0. The original
 function was introduced in 2.3.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19384#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list