Skip to content

Commit

Permalink
Merge pull request roots#1126 from mikespainhower/patch-display-sidebar
Browse files Browse the repository at this point in the history
Update Sidebar to fix default template check
  • Loading branch information
swalkinshaw committed Dec 23, 2014
2 parents 07fd684 + 1195739 commit 2723692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ private function check_conditional_tag($conditional_tag) {
}

private function check_page_template($page_template) {
return is_page_template($page_template);
return is_page_template($page_template) || Roots_Wrapping::$base . '.php' === $page_template;
}
}

0 comments on commit 2723692

Please sign in to comment.