P3 (Plugin Performance Profiler) - Version 1.5.3.7

Version Description

Ensure HTML element names are distinct. Props mogulbuster

Download this release

Release Info

Developer StarfieldTech
Plugin Icon wp plugin P3 (Plugin Performance Profiler)
Version 1.5.3.7
Comparing to
See all releases

Code changes from version 1.5.3.6 to 1.5.3.7

Files changed (3) hide show
  1. p3-profiler.php +2 -2
  2. readme.txt +7 -1
  3. templates/view-scan.php +5 -5
p3-profiler.php CHANGED
@@ -4,13 +4,13 @@ Plugin Name: P3 (Plugin Performance Profiler)
4
  Plugin URI: http://support.godaddy.com/godaddy/wordpress-p3-plugin/
5
  Description: See which plugins are slowing down your site. Create a profile of your WordPress site's plugins' performance by measuring their impact on your site's load time.
6
  Author: GoDaddy.com
7
- Version: 1.5.3.6
8
  Author URI: http://www.godaddy.com/
9
  Text Domain: p3-profiler
10
  Domain Path: /languages
11
  */
12
 
13
- define( 'P3_VERSION', '1.5.3.6' );
14
 
15
  // Make sure it's wordpress
16
  if ( !defined( 'ABSPATH') )
4
  Plugin URI: http://support.godaddy.com/godaddy/wordpress-p3-plugin/
5
  Description: See which plugins are slowing down your site. Create a profile of your WordPress site's plugins' performance by measuring their impact on your site's load time.
6
  Author: GoDaddy.com
7
+ Version: 1.5.3.7
8
  Author URI: http://www.godaddy.com/
9
  Text Domain: p3-profiler
10
  Domain Path: /languages
11
  */
12
 
13
+ define( 'P3_VERSION', '1.5.3.7' );
14
 
15
  // Make sure it's wordpress
16
  if ( !defined( 'ABSPATH') )
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Godaddy, StarfieldTech, kurtpayne
3
  Tags: debug, debugging, developer, development, performance, plugin, profiler, speed
4
  Requires at least: 3.3
5
  Tested up to: 4.1
6
- Stable tag: 1.5.3.6
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -46,6 +46,9 @@ Manual installation:
46
  4. Then activate the Plugin from Plugins page.
47
 
48
  == Upgrade Notice ==
 
 
 
49
  = 1.5.3.6 =
50
  Internal version bump to ensure new CSS/JS isn't cached
51
 
@@ -165,6 +168,9 @@ add_filter( 'p3_automatic_scan_urls', 'my_p3_auto_scan_pages' );
165
  </code>
166
 
167
  == Changelog ==
 
 
 
168
  = 1.5.3.6 =
169
  Internal version bump to ensure new CSS/JS isn't cached
170
 
3
  Tags: debug, debugging, developer, development, performance, plugin, profiler, speed
4
  Requires at least: 3.3
5
  Tested up to: 4.1
6
+ Stable tag: 1.5.3.7
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
46
  4. Then activate the Plugin from Plugins page.
47
 
48
  == Upgrade Notice ==
49
+ = 1.5.3.7
50
+ Ensure HTML element names are distinct. Props mogulbuster
51
+
52
  = 1.5.3.6 =
53
  Internal version bump to ensure new CSS/JS isn't cached
54
 
168
  </code>
169
 
170
  == Changelog ==
171
+ = 1.5.3.7 =
172
+ Ensure HTML element names are distinct. Props mogulbuster
173
+
174
  = 1.5.3.6 =
175
  Internal version bump to ensure new CSS/JS isn't cached
176
 
templates/view-scan.php CHANGED
@@ -7,11 +7,11 @@ if ( !empty( self::$profile ) ) {
7
  $url_stats = self::$profile->get_stats_by_url();
8
  $domain = @parse_url( self::$profile->report_url, PHP_URL_HOST );
9
  }
10
- $pie_chart_id = substr( md5( uniqid() ), -8 );
11
- $runtime_chart_id = substr( md5( uniqid() ), -8 );
12
- $query_chart_id = substr( md5( uniqid() ), -8 );
13
- $component_breakdown_chart_id = substr( md5( uniqid() ), -8 );
14
- $component_runtime_chart_id = substr( md5( uniqid() ), -8 );
15
  ?>
16
  <script type="text/javascript">
17
 
7
  $url_stats = self::$profile->get_stats_by_url();
8
  $domain = @parse_url( self::$profile->report_url, PHP_URL_HOST );
9
  }
10
+ $pie_chart_id = 'pie_' . substr( md5( uniqid() ), -8 );
11
+ $runtime_chart_id = 'runtime_ ' . substr( md5( uniqid() ), -8 );
12
+ $query_chart_id = 'query_' . substr( md5( uniqid() ), -8 );
13
+ $component_breakdown_chart_id = 'breakdown_' . substr( md5( uniqid() ), -8 );
14
+ $component_runtime_chart_id = 'runtime2_' . substr( md5( uniqid() ), -8 );
15
  ?>
16
  <script type="text/javascript">
17