Release 1.2.1
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 13 Jul 2018 13:45:05 +0000 (09:45 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 13 Jul 2018 13:45:05 +0000 (09:45 -0400)
Update dashboard stats

index.php
setup/adminHooks.php

index 4a3e972..af51245 100644 (file)
--- 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 <cscott@gaslightmedia.com>
  * @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.
index 59c8200..183605b 100644 (file)
@@ -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;
 });