1
0
mirror of https://github.com/WordPress/WordPress.git synced 2025-01-30 20:21:37 +01:00
WordPress/wp-blog-header.php
2015-12-19 11:20:28 +00:00

22 lines
364 B
PHP

<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once( dirname(__FILE__) . '/wp-load.php' );
// Set up the WordPress query.
wp();
// Load the theme template.
require_once( ABSPATH . WPINC . '/template-loader.php' );
}