fixing leftover references from previous plugin
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 15 Sep 2017 19:17:18 +0000 (15:17 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 15 Sep 2017 19:17:18 +0000 (15:17 -0400)
copied over some data files and had to fix some of the references to the
original plugin

setup/adminMenus.php
setup/shortcodes.php
setup/validActions.php

index d983c68..fd9efd8 100644 (file)
@@ -64,7 +64,7 @@
         'Buy Sell',
         'Buy Sell',
         'edit_posts',
-        'glm-members-admin-menu-jobs-index',
+        'glm-members-admin-menu-buy-sell-index',
         function(){$this->controller('buy-sell');}
     );
 }
index 70b5de8..3002795 100644 (file)
@@ -87,9 +87,9 @@
  */
 
  $glmMembersBuySellShortcodes = array(
-    'glm-members-BuySell' => array(
-        'plugin'     => GLM_MEMBERS_BuySell_PLUGIN_SLUG,
-        'menu'       => 'BuySell',
+    'glm-members-buy-sell' => array(
+        'plugin'     => GLM_MEMBERS_BUY_SELL_PLUGIN_SLUG,
+        'menu'       => 'Buy Sell',
         'action'     => 'list',
         'table'      => false,
         'attributes' => array(
@@ -97,9 +97,9 @@
             'member_only' => true
         )
     ),
-    'glm-members-job-detail' => array(
-        'plugin'     => GLM_MEMBERS_BuySell_PLUGIN_SLUG,
-        'menu'       => 'BuySell',
+    'glm-members-buy-sell-detail' => array(
+        'plugin'     => GLM_MEMBERS_BUY_SELL_PLUGIN_SLUG,
+        'menu'       => 'Buy Sell',
         'action'     => 'detail',
         'table'      => false,
         'attributes' => array(
index ef56e72..ab4adb0 100644 (file)
  $glmMembersBuySellAddOnValidActions = array(
     'adminActions' => array(
         'BuySell' => array( 
-            'index' => GLM_MEMBERS_BuySell_PLUGIN_SLUG,
+            'index' => GLM_MEMBERS_BUY_SELL_PLUGIN_SLUG,
         ),
     ),
     'frontActions' => array(
         'BuySell' => array( 
-            'list' => GLM_MEMBERS_BuySell_PLUGIN_SLUG,
-            'detail'   => GLM_MEMBERS_BuySell_PLUGIN_SLUG,
+            'list' => GLM_MEMBERS_BUY_SELL_PLUGIN_SLUG,
+            'detail'   => GLM_MEMBERS_BUY_SELL_PLUGIN_SLUG,
         ),
     )
 );