[wp-trac] Re: [WordPress Trac] #9647: initial taxonomies

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 29 13:41:55 GMT 2009


#9647: initial  taxonomies
--------------------------+-------------------------------------------------
 Reporter:  arena         |       Owner:  ryan                   
     Type:  defect (bug)  |      Status:  new                    
 Priority:  high          |   Milestone:  2.8                    
Component:  Taxonomy      |     Version:  2.8                    
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by arena):

 Here attached is a patch 9647_2.diff replacing the previous ones.

 * register_taxonomy() : as following tests added

         if (!is_array($wp_taxonomies)) $wp_taxonomies = array();

         if (isset($wp_taxonomies[$taxonomy])) return;

 * create_initial_taxonomies() using register_taxonomy()and add_action(
 'init', 'create_initial_taxonomies', 0); with the highest priority.

 I think load_default_textdomain() to be moved further up should be delayed
 to a next release, new ticket !

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


More information about the wp-trac mailing list