From: Anthony Talarico Date: Fri, 15 Sep 2017 19:17:18 +0000 (-0400) Subject: fixing leftover references from previous plugin X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=9f3e48a3136359818bc05667e92439057d52a827;p=WP-Plugins%2Fglm-member-db-buy-sell.git fixing leftover references from previous plugin copied over some data files and had to fix some of the references to the original plugin --- diff --git a/setup/adminMenus.php b/setup/adminMenus.php index d983c68..fd9efd8 100644 --- a/setup/adminMenus.php +++ b/setup/adminMenus.php @@ -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');} ); } diff --git a/setup/shortcodes.php b/setup/shortcodes.php index 70b5de8..3002795 100644 --- a/setup/shortcodes.php +++ b/setup/shortcodes.php @@ -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( diff --git a/setup/validActions.php b/setup/validActions.php index ef56e72..ab4adb0 100644 --- a/setup/validActions.php +++ b/setup/validActions.php @@ -61,13 +61,13 @@ $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, ), ) );