Use phpcs.xml for all rules

This commit is contained in:
QWp6t
2015-12-28 15:28:21 -08:00
committed by Ben Word
parent c5f3724efd
commit 246955c59a
4 changed files with 45 additions and 48 deletions

View File

@@ -8,7 +8,7 @@ use Roots\Sage\Template\Wrapper;
* @link https://codex.wordpress.org/Conditional_Tags
*/
add_filter('sage/display_sidebar', function ($display) {
// The sidebar will NOT be displayed if ANY of the following return true
// The sidebar will NOT be displayed if ANY of the following return true
return $display ? !in_array(true, [
is_404(),
is_front_page(),