Wordpress/src/wp-blog-header.php
Eric Andrew Lewis 07c62c3c5f Docs: Add documentation to wp-blog-header.php.
Fixes #35161.


git-svn-id: https://develop.svn.wordpress.org/trunk@36029 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 11:19:57 +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' );
}