Make WordPress Core

Ticket #36685: 36685.patch

File 36685.patch, 939 bytes (added by sidati, 8 years ago)
  • wp-settings.php

     
    241241// Create common globals.
    242242require( ABSPATH . WPINC . '/vars.php' );
    243243
    244 // Make taxonomies and posts available to plugins and themes.
    245 // @plugin authors: warning: these get registered again on the init hook.
    246 create_initial_taxonomies();
    247 create_initial_post_types();
    248 
    249244// Register the default theme directory root
    250245register_theme_directory( get_theme_root() );
    251246
     
    256251}
    257252unset( $plugin );
    258253
     254// Make taxonomies and posts available to plugins and themes.
     255// @plugin authors: warning: these get registered again on the init hook.
     256create_initial_taxonomies();
     257create_initial_post_types();
     258
    259259// Load pluggable functions.
    260260require( ABSPATH . WPINC . '/pluggable.php' );
    261261require( ABSPATH . WPINC . '/pluggable-deprecated.php' );