Merge pull request #1126 from mikespainhower/patch-display-sidebar

Update Sidebar to fix default template check
This commit is contained in:
Scott Walkinshaw
2014-12-23 08:25:56 -05:00

View File

@@ -41,6 +41,6 @@ class Roots_Sidebar {
}
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;
}
}