Changeset 36335 for trunk/src/wp-includes/template-loader.php
- Timestamp:
- 01/17/2016 05:28:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template-loader.php
r35848 r36335 85 85 * @param string $template The path of the template to include. 86 86 */ 87 if ( $template = apply_filters( 'template_include', $template ) ) 87 if ( $template = apply_filters( 'template_include', $template ) ) { 88 88 include( $template ); 89 } elseif ( is_user_logged_in() ) { 90 $theme = wp_get_theme(); 91 if ( $theme->errors() ) { 92 wp_die( $theme->errors() ); 93 } 94 } 89 95 return; 90 96 endif;
Note: See TracChangeset
for help on using the changeset viewer.