* Plugin Name: GLM Bandwidth
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Website Bandwidth Display and Reporting
- * Version: 2.3.0
+ * Version: 2.3.1
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmServerStats
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.3.0
+ * @version 2.3.1
*/
// Check that we're being called by WordPress.
die();
}
-define('GLM_SERVERSTATS_PLUGIN_VERSION', '2.3.0');
+define('GLM_SERVERSTATS_PLUGIN_VERSION', '2.3.1');
// Required to be able to get user capabilities when being called as a filter from the main plugin
require_once ABSPATH . 'wp-includes/pluggable.php';
1. Activate the plugin through the 'Plugins' menu in WordPress
== Changelog ==
+= 2.3.1 =
+* Notification Menu now follows notifications management flag
+
= 2.3.0 =
Updated location and appearance of cookie pop-up.
}
-/* Tempoorarily re enabled
-*/
- add_menu_page(
- 'GLM Notifications',
- 'GLM Notifications',
- 'edit_pages',
- 'glm-info-main-menu',
- function(){
- serverStatsController('glmInfoNotifications');
- },
- GLM_SERVERSTATS_PLUGIN_ASSETS_URL.'/flame.png',
- '3.200'
- );
+ if ($serverstatsConfig['show_notifications']) {
+ add_menu_page(
+ 'GLM Notifications',
+ 'GLM Notifications',
+ 'edit_pages',
+ 'glm-info-main-menu',
+ function(){
+ serverStatsController('glmInfoNotifications');
+ },
+ GLM_SERVERSTATS_PLUGIN_ASSETS_URL.'/flame.png',
+ '3.200'
+ );
+ }
}