WP-Matomo (WP-Piwik) - Version 0.9.9.5

Version Description

  • Fatal error on statistics settings page fixed
Download this release

Release Info

Developer Braekling
Plugin Icon 128x128 WP-Matomo (WP-Piwik)
Version 0.9.9.5
Comparing to
See all releases

Code changes from version 0.9.9.4 to 0.9.9.5

Files changed (3) hide show
  1. readme.txt +4 -1
  2. settings/views.php +2 -1
  3. wp-piwik.php +3 -3
readme.txt CHANGED
@@ -3,7 +3,7 @@
3
  Contributors: Braekling
4
  Requires at least: 3.5
5
  Tested up to: 3.5.1
6
- Stable tag: 0.9.9.4
7
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6046779
8
  Tags: statistics, stats, analytics, piwik, wpmu
9
 
@@ -114,6 +114,9 @@ Please update Piwik if not done yet (Piwik 1.11 or higher is recommended)!
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 0.9.9.4 =
118
  * Use Transients API (one week caching)
119
  * Option: Track visitors without JavaScript, see http://piwik.org/faq/how-to/#faq_176
3
  Contributors: Braekling
4
  Requires at least: 3.5
5
  Tested up to: 3.5.1
6
+ Stable tag: 0.9.9.5
7
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6046779
8
  Tags: statistics, stats, analytics, piwik, wpmu
9
 
114
 
115
  == Changelog ==
116
 
117
+ = 0.9.9.5 =
118
+ * Fatal error on statistics settings page fixed
119
+
120
  = 0.9.9.4 =
121
  * Use Transients API (one week caching)
122
  * Option: Track visitors without JavaScript, see http://piwik.org/faq/how-to/#faq_176
settings/views.php CHANGED
@@ -44,8 +44,9 @@ if (!$bolFOpen && !$bolCURL) {
44
  <tr><th>Piwik <?php _e('Display to', 'wp-piwik'); ?>:</th><td>
45
  <?php
46
  global $wp_roles;
 
47
  foreach($wp_roles->role_names as $strKey => $strName)
48
- echo '<input name="wp-piwik_displayto['.$strKey.']" type="checkbox" value="1"'.(isset(self::$settings->getGlobalOption('capability_read_stats')[$strKey]) && self::$settings->getGlobalOption('capability_read_stats')[$strKey]?' checked="checked"':'').'/> '.$strName.' &nbsp; ';
49
  ?>
50
  <br><?php echo _e('Choose user roles allowed to see the statistics page.', 'wp-piwik'); ?>
51
  </td></tr>
44
  <tr><th>Piwik <?php _e('Display to', 'wp-piwik'); ?>:</th><td>
45
  <?php
46
  global $wp_roles;
47
+ $aryCapability = self::$settings->getGlobalOption('capability_read_stats');
48
  foreach($wp_roles->role_names as $strKey => $strName)
49
+ echo '<input name="wp-piwik_displayto['.$strKey.']" type="checkbox" value="1"'.(isset($aryCapability[$strKey]) && $aryCapability[$strKey]?' checked="checked"':'').'/> '.$strName.' &nbsp; ';
50
  ?>
51
  <br><?php echo _e('Choose user roles allowed to see the statistics page.', 'wp-piwik'); ?>
52
  </td></tr>
wp-piwik.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://wordpress.org/extend/plugins/wp-piwik/
6
 
7
  Description: Adds Piwik stats to your dashboard menu and Piwik code to your wordpress header.
8
 
9
- Version: 0.9.9.4
10
  Author: Andr&eacute; Br&auml;kling
11
  Author URI: http://www.braekling.de
12
 
@@ -41,8 +41,8 @@ if (!function_exists('is_plugin_active_for_network'))
41
  class wp_piwik {
42
 
43
  private static
44
- $intRevisionId = 90940,
45
- $strVersion = '0.9.9.4',
46
  $blog_id,
47
  $intDashboardID = 30,
48
  $strPluginBasename = NULL,
6
 
7
  Description: Adds Piwik stats to your dashboard menu and Piwik code to your wordpress header.
8
 
9
+ Version: 0.9.9.5
10
  Author: Andr&eacute; Br&auml;kling
11
  Author URI: http://www.braekling.de
12
 
41
  class wp_piwik {
42
 
43
  private static
44
+ $intRevisionId = 90950,
45
+ $strVersion = '0.9.9.5',
46
  $blog_id,
47
  $intDashboardID = 30,
48
  $strPluginBasename = NULL,