Google Pagespeed Insights - Version 4.0.6

Version Description

  • Additional validating, sanitizing, and escaping the plugin codebase
Download this release

Release Info

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

Code changes from version 4.0.5 to 4.0.6

documentation/assets/blueprint-css/plugins/fancy-type/screen.css CHANGED
@@ -1,71 +1,71 @@
1
- /* --------------------------------------------------------------
2
-
3
- fancy-type.css
4
- * Lots of pretty advanced classes for manipulating text.
5
-
6
- See the Readme file in this folder for additional instructions.
7
-
8
- -------------------------------------------------------------- */
9
-
10
- /* Indentation instead of line shifts for sibling paragraphs. */
11
- /* p + p { text-indent:2em; margin-top:-1.5em; } */
12
- form p + p { text-indent: 0; } /* Don't want this in forms. */
13
-
14
-
15
- /* For great looking type, use this code instead of asdf:
16
- <span class="alt">asdf</span>
17
- Best used on prepositions and ampersands. */
18
-
19
- .alt {
20
- color: #666;
21
- font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
22
- font-style: italic;
23
- font-weight: normal;
24
- }
25
-
26
-
27
- /* For great looking quote marks in titles, replace "asdf" with:
28
- <span class="dquo">&#8220;</span>asdf&#8221;
29
- (That is, when the title starts with a quote mark).
30
- (You may have to change this value depending on your font size). */
31
-
32
- .dquo { margin-left: -.5em; }
33
-
34
-
35
- /* Reduced size type with incremental leading
36
- (http://www.markboulton.co.uk/journal/comments/incremental_leading/)
37
-
38
- This could be used for side notes. For smaller type, you don't necessarily want to
39
- follow the 1.5x vertical rhythm -- the line-height is too much.
40
-
41
- Using this class, it reduces your font size and line-height so that for
42
- every four lines of normal sized type, there is five lines of the sidenote. eg:
43
-
44
- New type size in em's:
45
- 10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems)
46
-
47
- New line-height value:
48
- 12px x 1.5 = 18px (old line-height)
49
- 18px x 4 = 72px
50
- 72px / 5 = 14.4px (new line height)
51
- 14.4px / 10px = 1.44 (new line height in em's) */
52
-
53
- p.incr, .incr p {
54
- font-size: 10px;
55
- line-height: 1.44em;
56
- margin-bottom: 1.5em;
57
- }
58
-
59
-
60
- /* Surround uppercase words and abbreviations with this class.
61
- Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */
62
-
63
- .caps {
64
- font-variant: small-caps;
65
- letter-spacing: 1px;
66
- text-transform: lowercase;
67
- font-size:1.2em;
68
- line-height:1%;
69
- font-weight:bold;
70
- padding:0 2px;
71
- }
1
+ /* --------------------------------------------------------------
2
+
3
+ fancy-type.css
4
+ * Lots of pretty advanced classes for manipulating text.
5
+
6
+ See the Readme file in this folder for additional instructions.
7
+
8
+ -------------------------------------------------------------- */
9
+
10
+ /* Indentation instead of line shifts for sibling paragraphs. */
11
+ /* p + p { text-indent:2em; margin-top:-1.5em; } */
12
+ form p + p { text-indent: 0; } /* Don't want this in forms. */
13
+
14
+
15
+ /* For great looking type, use this code instead of asdf:
16
+ <span class="alt">asdf</span>
17
+ Best used on prepositions and ampersands. */
18
+
19
+ .alt {
20
+ color: #666;
21
+ font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
22
+ font-style: italic;
23
+ font-weight: normal;
24
+ }
25
+
26
+
27
+ /* For great looking quote marks in titles, replace "asdf" with:
28
+ <span class="dquo">&#8220;</span>asdf&#8221;
29
+ (That is, when the title starts with a quote mark).
30
+ (You may have to change this value depending on your font size). */
31
+
32
+ .dquo { margin-left: -.5em; }
33
+
34
+
35
+ /* Reduced size type with incremental leading
36
+ (http://www.markboulton.co.uk/journal/comments/incremental_leading/)
37
+
38
+ This could be used for side notes. For smaller type, you don't necessarily want to
39
+ follow the 1.5x vertical rhythm -- the line-height is too much.
40
+
41
+ Using this class, it reduces your font size and line-height so that for
42
+ every four lines of normal sized type, there is five lines of the sidenote. eg:
43
+
44
+ New type size in em's:
45
+ 10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems)
46
+
47
+ New line-height value:
48
+ 12px x 1.5 = 18px (old line-height)
49
+ 18px x 4 = 72px
50
+ 72px / 5 = 14.4px (new line height)
51
+ 14.4px / 10px = 1.44 (new line height in em's) */
52
+
53
+ p.incr, .incr p {
54
+ font-size: 10px;
55
+ line-height: 1.44em;
56
+ margin-bottom: 1.5em;
57
+ }
58
+
59
+
60
+ /* Surround uppercase words and abbreviations with this class.
61
+ Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */
62
+
63
+ .caps {
64
+ font-variant: small-caps;
65
+ letter-spacing: 1px;
66
+ text-transform: lowercase;
67
+ font-size:1.2em;
68
+ line-height:1%;
69
+ font-weight:bold;
70
+ padding:0 2px;
71
+ }
google-pagespeed-insights.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Insights from Google PageSpeed
4
  Plugin URI: http://mattkeys.me
5
  Description: Get insights from the Google Pagespeed API right in your WordPress dashboard
6
  Author: Matt Keys
7
- Version: 4.0.5
8
  Author URI: http://mattkeys.me
9
  */
10
 
@@ -45,7 +45,7 @@ if ( ! defined( 'GPI_BASENAME' ) ) {
45
 
46
  // Internal version number
47
  if ( ! defined( 'GPI_VERSION' ) ) {
48
- define( 'GPI_VERSION', '4.0.5' );
49
  }
50
 
51
  if ( is_admin() ) {
4
  Plugin URI: http://mattkeys.me
5
  Description: Get insights from the Google Pagespeed API right in your WordPress dashboard
6
  Author: Matt Keys
7
+ Version: 4.0.6
8
  Author URI: http://mattkeys.me
9
  */
10
 
45
 
46
  // Internal version number
47
  if ( ! defined( 'GPI_VERSION' ) ) {
48
+ define( 'GPI_VERSION', '4.0.6' );
49
  }
50
 
51
  if ( is_admin() ) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mattkeys
3
  Tags: SEO, performance, speed, page speed, search engine optimization, pagespeed, google page speed, pagespeed insights, google pagespeed insights
4
  Requires at least: 3.6
5
  Tested up to: 5.9
6
- Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -136,6 +136,9 @@ Google Pagespeed Insights requires a Google API Key. Keys are free and can be ob
136
 
137
  == Changelog ==
138
 
 
 
 
139
  = 4.0.5 =
140
  * Bugfix some validation rule reports not showing properly (some results may need to be rechecked to see the fixes)
141
  * Better styling for readability in report details
@@ -235,6 +238,9 @@ Google Pagespeed Insights requires a Google API Key. Keys are free and can be ob
235
 
236
  == Upgrade Notice ==
237
 
 
 
 
238
  = 4.0.5 =
239
  * Bugfix some validation rule reports not showing properly (some results may need to be rechecked to see the fixes)
240
  * Better styling for readability in report details
3
  Tags: SEO, performance, speed, page speed, search engine optimization, pagespeed, google page speed, pagespeed insights, google pagespeed insights
4
  Requires at least: 3.6
5
  Tested up to: 5.9
6
+ Stable tag: 4.0.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
136
 
137
  == Changelog ==
138
 
139
+ = 4.0.6 =
140
+ * Additional validating, sanitizing, and escaping the plugin codebase
141
+
142
  = 4.0.5 =
143
  * Bugfix some validation rule reports not showing properly (some results may need to be rechecked to see the fixes)
144
  * Better styling for readability in report details
238
 
239
  == Upgrade Notice ==
240
 
241
+ = 4.0.6 =
242
+ * Additional validating, sanitizing, and escaping the plugin codebase
243
+
244
  = 4.0.5 =
245
  * Bugfix some validation rule reports not showing properly (some results may need to be rechecked to see the fixes)
246
  * Better styling for readability in report details
templates/logs.php CHANGED
@@ -36,7 +36,7 @@ if ( ! defined( 'ABSPATH' ) ) {
36
  <tr>
37
  <td><a target="_blank" href="<?php echo esc_url( $error_log['URL'] ); ?>"><?php echo esc_url( $error_log['URL'] ); ?></a></td>
38
  <td><?php echo esc_html( $error_log['strategy'] ); ?></td>
39
- <td><?php echo $update; ?></td>
40
  <td><?php echo esc_html( $error_log['type'] ); ?></td>
41
  <td><?php echo esc_html( date_i18n( 'M d g:ia', $error_log['timestamp'] ) ); ?></td>
42
  <td>
36
  <tr>
37
  <td><a target="_blank" href="<?php echo esc_url( $error_log['URL'] ); ?>"><?php echo esc_url( $error_log['URL'] ); ?></a></td>
38
  <td><?php echo esc_html( $error_log['strategy'] ); ?></td>
39
+ <td><?php echo esc_html( $update ); ?></td>
40
  <td><?php echo esc_html( $error_log['type'] ); ?></td>
41
  <td><?php echo esc_html( date_i18n( 'M d g:ia', $error_log['timestamp'] ) ); ?></td>
42
  <td>