Browse files

Don't load file with locate_template(). This won't allow the filters …

…to be applied.
  • Loading branch information...
1 parent 1f7ed24 commit 0562d35b00ebba7e47055c1a9e9953e86d01495d @justintadlock committed Aug 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions/template.php
View
2 functions/template.php
@@ -54,7 +54,7 @@ function hybrid_get_content_template() {
$templates[] = 'content.php';
/* Apply filters and return the found content template. */
- return apply_atomic( 'content_template', locate_template( $templates, true, false ) );
+ include( apply_atomic( 'content_template', locate_template( $templates, false, false ) ) );
}
?>

0 comments on commit 0562d35

Please sign in to comment.