[wp-trac] [WordPress Trac] #15568: Fatal Error in taxonomy.php

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 11 17:53:16 UTC 2010


#15568: Fatal Error in taxonomy.php
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:          
Component:  Taxonomy      |      Version:  3.0.1   
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by miqrogroove):

 Replying to [comment:6 garyc40]:
 > Why did you reopen the ticket?

 I reopened the ticket because there is a fatal error in WordPress caused
 by calling register_taxonomy().  Despite the inexplicable reponses posted
 above, there is no documentation that says this function must be called a
 certain way.  This are the exact instructions, which caused the error in
 the first place:

 {{{
 Function Reference/register taxonomy

 Description
 This function adds or overwrites a taxonomy. It takes in a name, an object
 name that it affects, and an array of parameters. It does not return
 anything.

 Care should be used in selecting a taxonomy name so that it does not
 conflict with other taxonomies, post types, and reserved WordPress public
 and private query variables. A complete list of those is described in the
 Reserved Terms section.

 Usage

  <?php register_taxonomy($taxonomy, $object_type, $args); ?>
 }}}

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


More information about the wp-trac mailing list