Ticket #12491: 12491.diff
File 12491.diff, 784 bytes (added by , 11 years ago) |
---|
-
wp-includes/template-loader.php
20 20 21 21 if ( defined('WP_USE_THEMES') && WP_USE_THEMES ) : 22 22 $template = false; 23 if ( is_404() && $template = get_404_template() ) : 23 if ( $template = apply_filters('pre_template_include', $template) ) : 24 elseif ( is_404() && $template = get_404_template() ) : 24 25 elseif ( is_search() && $template = get_search_template() ) : 25 26 elseif ( is_tax() && $template = get_taxonomy_template() ) : 26 27 elseif ( is_home() && $template = get_home_template() ) :