P3 (Plugin Performance Profiler) - Version 1.0.4

Version Description

  • Bugfix - uninstalling the plugin when it hasn't be activated can result in an error message
Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

Files changed (2) hide show
  1. p3-profiler.php +3 -1
  2. readme.txt +4 -1
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.0.3
8
  Author URI: http://www.godaddy.com/
9
  */
10
 
@@ -663,6 +663,8 @@ class P3_Profiler_Plugin {
663
  * @return void
664
  */
665
  private function _delete_profiles_folder( $path ) {
 
 
666
  $dir = opendir( $path );
667
  while ( ( $file = readdir( $dir ) ) !== false ) {
668
  if ( $file != '.' && $file != '..' ) {
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.0.4
8
  Author URI: http://www.godaddy.com/
9
  */
10
 
663
  * @return void
664
  */
665
  private function _delete_profiles_folder( $path ) {
666
+ if ( !file_exists( $path ) )
667
+ return;
668
  $dir = opendir( $path );
669
  while ( ( $file = readdir( $dir ) ) !== false ) {
670
  if ( $file != '.' && $file != '..' ) {
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
6
- Stable tag: 1.0.3
7
 
8
  See which plugins are slowing down your site. This plugin creates a performance report for your site.
9
 
@@ -48,6 +48,9 @@ Warning messages like this: `Warning: usort() [function.usort]: Array was modifi
48
 
49
  == Changelog ==
50
 
 
 
 
51
  = 1.0.3 =
52
  * Enforcing WordPress 3.3 requirement during activation
53
  * Documented warning about usort() and php bug
3
  Tags: debug, debugging, developer, development, performance, plugin, profiler, speed
4
  Requires at least: 3.3
5
  Tested up to: 3.3
6
+ Stable tag: 1.0.4
7
 
8
  See which plugins are slowing down your site. This plugin creates a performance report for your site.
9
 
48
 
49
  == Changelog ==
50
 
51
+ = 1.0.4 =
52
+ * Bugfix - uninstalling the plugin when it hasn't be activated can result in an error message
53
+
54
  = 1.0.3 =
55
  * Enforcing WordPress 3.3 requirement during activation
56
  * Documented warning about usort() and php bug