From 26d2e88f241cfe6d2a3cc072f83fae4021687c9a Mon Sep 17 00:00:00 2001 From: laury Date: Mon, 16 May 2016 11:53:09 -0400 Subject: [PATCH] Change underscored_name to underscored_title --- classes/glmPluginSupport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/glmPluginSupport.php b/classes/glmPluginSupport.php index f2303d09..16f96523 100644 --- a/classes/glmPluginSupport.php +++ b/classes/glmPluginSupport.php @@ -512,7 +512,7 @@ class GlmPluginSupport public function createPages($requiredPages) { foreach($requiredPages as $requiredPage => $requiredPageInfo) { - $trimmedName = GLM_MEMBERS_PLUGIN_OPTION_PREFIX.$requiredPageInfo['underscored_name']; + $trimmedName = GLM_MEMBERS_PLUGIN_OPTION_PREFIX.$requiredPageInfo['underscored_title']; if ($requiredPageInfo['parent'] == 'associate') { $postParent = get_option(GLM_MEMBERS_PLUGIN_OPTION_ASSOCIATE_ID); } else if ($requiredPageInfo['parent'] == 'membersonly') { -- 2.17.1