From: Steve Sutton Date: Fri, 13 Jul 2018 13:45:05 +0000 (-0400) Subject: Release 1.2.1 X-Git-Tag: v1.2.1^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=eba0b360c3b076d991846176f03bb2c77d835c11;p=WP-Plugins%2Fglm-member-db-serverstats.git Release 1.2.1 Update dashboard stats --- diff --git a/index.php b/index.php index 4a3e972..af51245 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database ServerStats * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.2.0 + * Version: 1.2.1 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabaseServerStatsAddOn * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.2.0 + * @version 1.2.1 */ // Check that we're being called by WordPress. @@ -43,7 +43,7 @@ if (!defined('ABSPATH')) { * so that we're sure the other add-ons see an up to date * version from this plugin. */ -define('GLM_MEMBERS_SERVERSTATS_PLUGIN_VERSION', '1.2.0'); +define('GLM_MEMBERS_SERVERSTATS_PLUGIN_VERSION', '1.2.1'); define('GLM_MEMBERS_SERVERSTATS_PLUGIN_DB_VERSION', '1.0.0'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 59c8200..183605b 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -46,7 +46,9 @@ add_filter('glm-member-db-admin-management-hooksHelp', function($content) { // Add server stats summary and graphs to main dashboard widget add_filter( 'glm-member-db-dashboard-widget-othernotices', function( $content ) { - $content .= $this->controller('dashboardWidget', 'serverStats', array('location' => 'widget')); + // Commenting out the main dashboard widget stats. + // This is causing issues with slowing down the admin area in wordpress sites. + // $content .= $this->controller('dashboardWidget', 'serverStats', array('location' => 'widget')); return $content; });