Make WordPress Core


Ignore:
Timestamp:
06/15/2009 09:53:51 PM (15 years ago)
Author:
ryan
Message:

Register default taxonomies before theme functions are loaded to satisfy themes that don't wait until init to call taxonomy functions. Default taxonomies are registered again during init so that translations are handled correctly. Props Denis-de-Bernardy. fixes #9644 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r11268 r11573  
    529529require (ABSPATH . WPINC . '/vars.php');
    530530
     531// make taxonomies available to plugins and themes
     532// @plugin authors: warning: this gets registered again on the init hook
     533create_initial_taxonomies();
     534
    531535// Check for hacks file if the option is enabled
    532536if ( get_option('hack_file') ) {
Note: See TracChangeset for help on using the changeset viewer.