Ticket #20171: rewrite_init.diff
File rewrite_init.diff, 849 bytes (added by , 13 years ago) |
---|
-
wp-includes/taxonomy.php
110 110 'show_in_nav_menus' => current_theme_supports( 'post-formats' ), 111 111 ) ); 112 112 } 113 add_action( ' init', 'create_initial_taxonomies', 0 ); // highest priority113 add_action( 'rewrite_init', 'create_initial_taxonomies', 0 ); // highest priority 114 114 115 115 /** 116 116 * Get a list of registered taxonomy objects. -
wp-includes/rewrite.php
1975 1975 $this->use_verbose_page_rules = true; 1976 1976 else 1977 1977 $this->use_verbose_page_rules = false; 1978 1979 do_action( 'rewrite_init' ); 1978 1980 } 1979 1981 1980 1982 /**