Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -145,6 +145,10 @@ function shutdown_action_hook() {
|
||||
}
|
||||
register_shutdown_function('shutdown_action_hook');
|
||||
|
||||
// Everything is loaded.
|
||||
$wp_query = new WP_Query();
|
||||
$wp_rewrite = new WP_Rewrite();
|
||||
$wp = new WP();
|
||||
|
||||
// Everything is loaded and initialized.
|
||||
do_action('init');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user