Merge branch 'master' into 8.0.0

Conflicts:
	lib/sidebar.php
This commit is contained in:
Ben Word
2015-02-19 11:18:49 -06:00
2 changed files with 4 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
namespace Roots\Sage\Sidebar;
use Roots\Sage\Wrapper;
/**
* Determines whether or not to display the sidebar based on an array of conditional tags or page templates.
*
@@ -44,6 +46,6 @@ class SageSidebar {
}
private function checkPageTemplate($page_template) {
return is_page_template($page_template);
return is_page_template($page_template) || Wrapper\SageWrapping::$base . '.php' === $page_template;
}
}