Permalink
Browse files

Add files via upload

Fixes error where $tersus_body_class wasn't defined in functions.php
  • Loading branch information...
cdharrison committed Aug 4, 2016
1 parent 7899ea6 commit 4a987573b7ea79195c0e001fa80a309847f90c3b
Showing with 2 additions and 1 deletion.
  1. +2 −1 functions.php
View
@@ -240,7 +240,8 @@ function tersus_body_class($wp_class_list, $simple_class_list) {
// Filter the unwanted classes
$wp_class_list = array_intersect($wp_class_list, $whitelist);
-
+ $tersus_body_class = $wp_class_list;
+
// Output allowed classes
return array_merge($wp_class_list, (array) $tersus_body_class);
}

0 comments on commit 4a98757

Please sign in to comment.