P3 (Plugin Performance Profiler) - Version 1.1.3

Version Description

Fixed a regression bug re-introduced in v 1.1.2. Thanks to user adamf for finding this so quickly!

Download this release

Release Info

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

Code changes from version 1.1.2 to 1.1.3

Files changed (3) hide show
  1. p3-profiler.php +1 -1
  2. readme.txt +13 -1
  3. templates/view-scan.php +5 -5
p3-profiler.php CHANGED
@@ -4,7 +4,7 @@ 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.1.2
8
  Author URI: http://www.godaddy.com/
9
  */
10
 
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.1.3
8
  Author URI: http://www.godaddy.com/
9
  */
10
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Godaddy, StarfieldTech
3
  Tags: debug, debugging, developer, development, performance, plugin, profiler, speed
4
  Requires at least: 3.3
5
  Tested up to: 3.3.1
6
- Stable tag: 1.1.2
7
 
8
  See which plugins are slowing down your site. This plugin creates a performance report for your site.
9
 
@@ -43,6 +43,9 @@ Manual installation:
43
 
44
  == Upgrade Notice ==
45
 
 
 
 
46
  = 1.1.2 =
47
  Fix a few bugs reported by users. Upgrading is optional if this plugin is working well for you.
48
 
@@ -65,8 +68,17 @@ Warning messages like this: `Warning: usort() [function.usort]: Array was modifi
65
 
66
  Previous version of the plugin (before 1.1.0) did not have theme name detection support. If you performed a scan with a previous version, then upgraded to 1.1.0+ to view the scan, the theme name will show as "unknown."
67
 
 
 
 
 
 
 
68
  == Changelog ==
69
 
 
 
 
70
  = 1.1.2 =
71
  * Don't show screen options if there is no table
72
  * Show a "rate us / tweet us" box
3
  Tags: debug, debugging, developer, development, performance, plugin, profiler, speed
4
  Requires at least: 3.3
5
  Tested up to: 3.3.1
6
+ Stable tag: 1.1.3
7
 
8
  See which plugins are slowing down your site. This plugin creates a performance report for your site.
9
 
43
 
44
  == Upgrade Notice ==
45
 
46
+ = 1.1.3 =
47
+ Fixed a regression bug re-introduced in v 1.1.2. Thanks to user adamf for finding this so quickly!
48
+
49
  = 1.1.2 =
50
  Fix a few bugs reported by users. Upgrading is optional if this plugin is working well for you.
51
 
68
 
69
  Previous version of the plugin (before 1.1.0) did not have theme name detection support. If you performed a scan with a previous version, then upgraded to 1.1.0+ to view the scan, the theme name will show as "unknown."
70
 
71
+ = How do I get support for P3? =
72
+
73
+ We love to make P3 better. When reporting a bug, please visit this page so we can get more information: [http://x.co/p3support](http://x.co/p3support)
74
+
75
+ Thanks!
76
+
77
  == Changelog ==
78
 
79
+ = 1.1.3 =
80
+ * Bugfix - regression bug re-introduced in v 1.1.2. Thanks to user adamf for finding this so quickly!
81
+
82
  = 1.1.2 =
83
  * Don't show screen options if there is no table
84
  * Show a "rate us / tweet us" box
templates/view-scan.php CHANGED
@@ -168,7 +168,7 @@ $component_runtime_chart_id = substr( md5( uniqid() ), -8 );
168
  <?php if ( !empty( $this->profile ) ){ ?>
169
  <?php foreach ( $this->profile->plugin_times as $k => $v ) { ?>
170
  {
171
- label: "<?php echo $k; ?>",
172
  data: <?php echo $v; ?>
173
  },
174
  <?php } ?>
@@ -436,7 +436,7 @@ $component_runtime_chart_id = substr( md5( uniqid() ), -8 );
436
  <?php $i = 2; $other = 0; ?>
437
  <?php foreach ( $this->profile->plugin_times as $k => $v ) { ?>
438
  {
439
- label: '<?php echo $k; ?>',
440
  data: [[
441
  <?php echo $i++; ?>,
442
  <?php echo $v; ?>
@@ -476,7 +476,7 @@ $component_runtime_chart_id = substr( md5( uniqid() ), -8 );
476
  <?php foreach ( $this->profile->plugin_times as $k => $v ) { ?>
477
  [
478
  <?php echo $i++ ?>,
479
- '<?php echo $k; ?>'
480
  ],
481
  <?php } ?>
482
  ],
@@ -552,7 +552,7 @@ $component_runtime_chart_id = substr( md5( uniqid() ), -8 );
552
  <?php if ( !empty( $this->profile ) && !empty( $this->profile->detected_plugins ) ) { ?>
553
  <?php foreach ( $this->profile->detected_plugins as $plugin ) { ?>
554
  {
555
- label: "<?php echo $plugin; ?>",
556
  data: [
557
  <?php foreach ( array_values( $url_stats ) as $k => $v ) { ?>
558
  <?php if ( array_key_exists( $plugin, $v['breakdown'] ) ) { ?>
@@ -575,7 +575,7 @@ $component_runtime_chart_id = substr( md5( uniqid() ), -8 );
575
  jQuery( "#p3-detailed-series-toggle" ).append( '<div><label><input type="checkbox" checked="checked" class="p3-detailed-series-toggle" data-key="WP Core Time" />WP Core Time</label></div>' );
576
  jQuery( "#p3-detailed-series-toggle" ).append( '<div><label><input type="checkbox" checked="checked" class="p3-detailed-series-toggle" data-key="Theme" />Theme</label></div>' );
577
  <?php foreach ( $this->profile->detected_plugins as $plugin ) { ?>
578
- jQuery( "#p3-detailed-series-toggle" ).append( '<div><label><input type="checkbox" checked="checked" class="p3-detailed-series-toggle" data-key="<?php echo $plugin; ?>" /><?php echo $plugin ;?></label></div>' );
579
  <?php } ?>
580
  <?php } ?>
581
  jQuery( "input.p3-detailed-series-toggle" ).click( function() {
168
  <?php if ( !empty( $this->profile ) ){ ?>
169
  <?php foreach ( $this->profile->plugin_times as $k => $v ) { ?>
170
  {
171
+ label: "<?php echo esc_js( $k ); ?>",
172
  data: <?php echo $v; ?>
173
  },
174
  <?php } ?>
436
  <?php $i = 2; $other = 0; ?>
437
  <?php foreach ( $this->profile->plugin_times as $k => $v ) { ?>
438
  {
439
+ label: '<?php echo esc_js( $k ); ?>',
440
  data: [[
441
  <?php echo $i++; ?>,
442
  <?php echo $v; ?>
476
  <?php foreach ( $this->profile->plugin_times as $k => $v ) { ?>
477
  [
478
  <?php echo $i++ ?>,
479
+ '<?php echo esc_js( $k ); ?>'
480
  ],
481
  <?php } ?>
482
  ],
552
  <?php if ( !empty( $this->profile ) && !empty( $this->profile->detected_plugins ) ) { ?>
553
  <?php foreach ( $this->profile->detected_plugins as $plugin ) { ?>
554
  {
555
+ label: "<?php echo esc_js( $plugin ); ?>",
556
  data: [
557
  <?php foreach ( array_values( $url_stats ) as $k => $v ) { ?>
558
  <?php if ( array_key_exists( $plugin, $v['breakdown'] ) ) { ?>
575
  jQuery( "#p3-detailed-series-toggle" ).append( '<div><label><input type="checkbox" checked="checked" class="p3-detailed-series-toggle" data-key="WP Core Time" />WP Core Time</label></div>' );
576
  jQuery( "#p3-detailed-series-toggle" ).append( '<div><label><input type="checkbox" checked="checked" class="p3-detailed-series-toggle" data-key="Theme" />Theme</label></div>' );
577
  <?php foreach ( $this->profile->detected_plugins as $plugin ) { ?>
578
+ jQuery( "#p3-detailed-series-toggle" ).append( '<div><label><input type="checkbox" checked="checked" class="p3-detailed-series-toggle" data-key="<?php echo esc_html( $plugin ); ?>" /><?php echo esc_html( $plugin ); ?></label></div>' );
579
  <?php } ?>
580
  <?php } ?>
581
  jQuery( "input.p3-detailed-series-toggle" ).click( function() {