Ticket #9644: 9644.diff
File 9644.diff, 1.2 KB (added by , 16 years ago) |
---|
-
wp-includes/taxonomy.php
19 19 register_taxonomy( 'post_tag', 'post', array('hierarchical' => false, 'update_count_callback' => '_update_post_term_count', 'label' => __('Post Tags'), 'query_var' => false, 'rewrite' => false) ) ; 20 20 register_taxonomy( 'link_category', 'link', array('hierarchical' => false, 'label' => __('Categories'), 'query_var' => false, 'rewrite' => false) ) ; 21 21 } 22 add_action( ' init', 'create_initial_taxonomies', 0 ); // highest priority22 add_action( 'pre_theme_functions_load', 'create_initial_taxonomies', 0 ); // highest priority 23 23 24 24 /** 25 25 * Return all of the taxonomy names that are of $object_type. -
wp-settings.php
660 660 */ 661 661 $wp_locale =& new WP_Locale(); 662 662 663 do_action('pre_theme_functions_load'); 664 663 665 // Load functions for active theme. 664 666 if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists(STYLESHEETPATH . '/functions.php') ) 665 667 include(STYLESHEETPATH . '/functions.php');