WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/17/2010 04:11:44 PM (10 years ago)
Author:
ryan
Message:

Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r16353 r16424  
    175175create_initial_post_types();
    176176
     177// Register the default theme directory root
     178register_theme_directory( get_theme_root() );
     179
    177180// Load active plugins.
    178181foreach ( wp_get_active_and_valid_plugins() as $plugin )
Note: See TracChangeset for help on using the changeset viewer.