WordPress.org

Make WordPress Core

Changeset 11574


Ignore:
Timestamp:
06/15/2009 09:54:12 PM (9 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 2.8.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-settings.php

    r11268 r11574  
    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.