From: laury Date: Mon, 16 May 2016 15:53:09 +0000 (-0400) Subject: Change underscored_name to underscored_title X-Git-Tag: v2.0.0^2~16^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=26d2e88f241cfe6d2a3cc072f83fae4021687c9a;p=WP-Plugins%2Fglm-member-db.git Change underscored_name to underscored_title --- 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') {