Ticket #36685: 36685.patch
File 36685.patch, 939 bytes (added by , 9 years ago) |
---|
-
wp-settings.php
241 241 // Create common globals. 242 242 require( ABSPATH . WPINC . '/vars.php' ); 243 243 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 249 244 // Register the default theme directory root 250 245 register_theme_directory( get_theme_root() ); 251 246 … … 256 251 } 257 252 unset( $plugin ); 258 253 254 // Make taxonomies and posts available to plugins and themes. 255 // @plugin authors: warning: these get registered again on the init hook. 256 create_initial_taxonomies(); 257 create_initial_post_types(); 258 259 259 // Load pluggable functions. 260 260 require( ABSPATH . WPINC . '/pluggable.php' ); 261 261 require( ABSPATH . WPINC . '/pluggable-deprecated.php' );