mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-30 16:17:56 +02:00
Add file level documentation for template-loader.php. Fixes #5513 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
287edad647
commit
efcd1eb5c5
@ -1,4 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Loads the correct template based on the visitor's url
|
||||||
|
* @package WordPress
|
||||||
|
*/
|
||||||
if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
|
if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
|
||||||
do_action('template_redirect');
|
do_action('template_redirect');
|
||||||
if ( is_robots() ) {
|
if ( is_robots() ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user