From: Laury GvR Date: Tue, 13 Nov 2018 22:00:11 +0000 (-0500) Subject: Fix widget dashboard showing list. Remove action echoing X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=6d6b9f2ccd8f7a22e06fb642515d3d8e2818756f;p=WP-Plugins%2Fglm-member-db.git Fix widget dashboard showing list. Remove action echoing --- diff --git a/controllers/admin.php b/controllers/admin.php index 87141fe8..b241ee0d 100755 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -861,9 +861,6 @@ class glmMembersAdmin extends GlmPluginSupport $plugIn = $this->config['validActions']['adminActions'][$menuItem][$action]; // Build model and path and class names - echo "menuItem: " . $menuitem . "
"; - echo "plugin: " . var_dump($plugIn) . "
"; - echo "action: " . $action . "

"; $modelName = GLM_MEMBERS_WORDPRESS_PLUGIN_PATH . "$plugIn/models/admin/$menuItem/$action.php"; $className = 'GlmMembersAdmin_' . $menuItem . '_' . $action; $loopTracking .= "

Loop: $loopCheck
Model: $modelName
Class: $className

"; diff --git a/models/admin/newDashboard/index.php b/models/admin/newDashboard/index.php index 4036a5eb..978be2b6 100644 --- a/models/admin/newDashboard/index.php +++ b/models/admin/newDashboard/index.php @@ -148,7 +148,7 @@ class GlmMembersAdmin_newDashboard_index extends GlmDataMembers // echo "
" . $a['slug'] . " has no filter called " . $a['slug'] . "-dashboard-widget"; } } - echo apply_filters('glm-member-db-admin-search', array('glm_action'=>'list')); + // Compile template data. $templateData = array( 'lockedToMember' => $lockedToMember,