Google Pagespeed Insights - Version 1.0.5

Version Description

  • Fixed problem with temp directory used by Google API which was not writable on many shared hosting environments, and prevented the plugin from working properly. Replaced sys_get_temp_dir function with WordPress get_temp_dir function to resolve.
Download this release

Release Info

Developer mattkeys
Plugin Icon 128x128 Google Pagespeed Insights
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

google-api/src/config.php CHANGED
@@ -46,8 +46,8 @@ $apiConfig = array(
46
  // IO Class dependent configuration, you only have to configure the values
47
  // for the class that was configured as the ioClass above
48
  'ioFileCache_directory' =>
49
- (function_exists('sys_get_temp_dir') ?
50
- sys_get_temp_dir() . '/Google_Client' :
51
  '/tmp/Google_Client'),
52
 
53
  // Definition of service specific values like scopes, oauth token URLs, etc
46
  // IO Class dependent configuration, you only have to configure the values
47
  // for the class that was configured as the ioClass above
48
  'ioFileCache_directory' =>
49
+ (function_exists('get_temp_dir') ?
50
+ get_temp_dir() . '/Google_Client' :
51
  '/tmp/Google_Client'),
52
 
53
  // Definition of service specific values like scopes, oauth token URLs, etc
google-pagespeed-insights.php CHANGED
@@ -1,14 +1,14 @@
1
  <?php
2
  /**
3
  * @package google_pagespeed_insights
4
- * @version 1.0.4
5
  */
6
  /*
7
  Plugin Name: Google Pagespeed Insights
8
  Plugin URI: http://mattkeys.me
9
  Description: Google Pagespeed Insights
10
  Author: Matt Keys
11
- Version: 1.0.4
12
  Author URI: http://mattkeys.me
13
  */
14
 
1
  <?php
2
  /**
3
  * @package google_pagespeed_insights
4
+ * @version 1.0.5
5
  */
6
  /*
7
  Plugin Name: Google Pagespeed Insights
8
  Plugin URI: http://mattkeys.me
9
  Description: Google Pagespeed Insights
10
  Author: Matt Keys
11
+ Version: 1.0.5
12
  Author URI: http://mattkeys.me
13
  */
14
 
js/gpagespeedi_javascript.js CHANGED
@@ -1,6 +1,4 @@
1
- var $ = jQuery;
2
-
3
- $(document).ready(function() {
4
 
5
  $(".impact_chart_right a").hover(
6
  function () {
1
+ jQuery(document).ready(function($) {
 
 
2
 
3
  $(".impact_chart_right a").hover(
4
  function () {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mattkeys
3
  Donate link: http://mattkeys.me/
4
  Tags: SEO, seo, performance, speed, google, search engine optimization, pagespeed, google page speed, page speed, pagespeed insights, google pagespeed insights
5
  Requires at least: 3.3
6
- Tested up to: 4.0
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -136,6 +136,9 @@ Google Pagespeed Insights requires a Google API Key. Keys are free and can be ob
136
 
137
  == Changelog ==
138
 
 
 
 
139
  = 1.0.4 =
140
  * Added Spanish and Serbian translations. Thank you Ogi Djuraskovic from [firstsiteguide.com](http://firstsiteguide.com) for providing these.
141
 
@@ -158,6 +161,9 @@ Google Pagespeed Insights requires a Google API Key. Keys are free and can be ob
158
 
159
  == Upgrade Notice ==
160
 
 
 
 
161
  = 1.0.4 =
162
  Added Spanish and Serbian translations
163
 
3
  Donate link: http://mattkeys.me/
4
  Tags: SEO, seo, performance, speed, google, search engine optimization, pagespeed, google page speed, page speed, pagespeed insights, google pagespeed insights
5
  Requires at least: 3.3
6
+ Tested up to: 4.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
136
 
137
  == Changelog ==
138
 
139
+ = 1.0.5 =
140
+ * Fixed problem with temp directory used by Google API which was not writable on many shared hosting environments, and prevented the plugin from working properly. Replaced sys_get_temp_dir function with WordPress get_temp_dir function to resolve.
141
+
142
  = 1.0.4 =
143
  * Added Spanish and Serbian translations. Thank you Ogi Djuraskovic from [firstsiteguide.com](http://firstsiteguide.com) for providing these.
144
 
161
 
162
  == Upgrade Notice ==
163
 
164
+ = 1.0.5 =
165
+ Fixed problems preventing reports from running on many shared hosting environments
166
+
167
  = 1.0.4 =
168
  Added Spanish and Serbian translations
169