From 73d1a69fcfc389016eb1903634cfafdd1dc8e58a Mon Sep 17 00:00:00 2001 From: Josh Schmidt Date: Wed, 15 Jul 2015 15:33:12 -0600 Subject: [PATCH] Fix wrapper class bug The class for the wrapper section is stored in $types['wrapper_class'], not $types['class'] --- include/admin/admin_menu_new.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/admin/admin_menu_new.php b/include/admin/admin_menu_new.php index 36255c685..48c861e74 100755 --- a/include/admin/admin_menu_new.php +++ b/include/admin/admin_menu_new.php @@ -1959,7 +1959,7 @@ function CreateNew(){ //wrapper section $section = gp_edit::DefaultContent('wrapper_section'); $section['contains_sections'] = count($types['types']); - $section['attributes']['class'] = $types['class']; + $section['attributes']['class'] = $types['wrapper_class']; $content[] = $section;