P3 (Plugin Performance Profiler) - Version 1.3.1

Version Description

Fixed an error when upgrading to 1.3.x from 1.1.x and skipping the 1.2.x upgrade.

Download this release

Release Info

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

Code changes from version 1.3.0 to 1.3.1

Files changed (4) hide show
  1. p3-profiler.php +1 -1
  2. p3-profiler.pot +41 -39
  3. readme.txt +7 -1
  4. start-profile.php +1 -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.3.0
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.3.1
8
  Author URI: http://www.godaddy.com/
9
  */
10
 
p3-profiler.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the P3 (Plugin Performance Profiler) package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: P3 (Plugin Performance Profiler) 1.3.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/p3-profiler\n"
7
- "POT-Creation-Date: 2012-05-26 00:32:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,133 +12,135 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: classes/class.p3-profiler-plugin-admin.php:74
16
- #: classes/class.p3-profiler-plugin-admin.php:75
17
- #: classes/class.p3-profiler-plugin.php:16
18
- #: classes/class.p3-profiler-plugin.php:17
19
- msgid "P3 Plugin Profiler"
20
- msgstr ""
21
-
22
- #: classes/class.p3-profiler-plugin-admin.php:135
23
  msgid "Scan does not exist"
24
  msgstr ""
25
 
26
- #: classes/class.p3-profiler-plugin-admin.php:161
27
  msgid ""
28
  "No visits recorded during this profiling session. Check the <a href=\"%s"
29
  "\">help</a> page for more information"
30
  msgstr ""
31
 
32
- #: classes/class.p3-profiler-plugin-admin.php:169
33
  msgid "Error reading scan"
34
  msgstr ""
35
 
36
- #: classes/class.p3-profiler-plugin-admin.php:177
37
  msgid "Click \"Start Scan\" to run a performance scan of your website."
38
  msgstr ""
39
 
40
- #: classes/class.p3-profiler-plugin-admin.php:272
41
- #: classes/class.p3-profiler-plugin-admin.php:310
42
- #: classes/class.p3-profiler-plugin-admin.php:339
43
- #: classes/class.p3-profiler-plugin-admin.php:374
44
- #: classes/class.p3-profiler-plugin-admin.php:419
45
- #: classes/class.p3-profiler-plugin-admin.php:430
46
  #: classes/class.p3-profiler-table.php:210
47
  msgid "You do not have sufficient permissions to access this page."
48
  msgstr ""
49
 
50
- #: classes/class.p3-profiler-plugin-admin.php:321
51
  msgid "Turned off performance scanning."
52
  msgstr ""
53
 
54
- #: classes/class.p3-profiler-plugin-admin.php:394
55
- #: classes/class.p3-profiler-plugin-admin.php:397
56
  msgid "Invalid subject"
57
  msgstr ""
58
 
59
- #: classes/class.p3-profiler-plugin-admin.php:401
60
  msgid "<a href=\"%s\" target=\"_blank\">wp_mail()</a> function returned false"
61
  msgstr ""
62
 
63
- #: classes/class.p3-profiler-plugin-admin.php:447 templates/help.php:366
64
  #: templates/help.php:406
65
  msgid "Profiling Enabled"
66
  msgstr ""
67
 
68
- #: classes/class.p3-profiler-plugin-admin.php:448 templates/help.php:367
69
  #: templates/help.php:407
70
  msgid "Recording IP"
71
  msgstr ""
72
 
73
- #: classes/class.p3-profiler-plugin-admin.php:449 templates/callouts.php:257
74
  #: templates/help.php:368 templates/help.php:408
75
  msgid "Scan Name"
76
  msgstr ""
77
 
78
- #: classes/class.p3-profiler-plugin-admin.php:450 templates/help.php:369
79
  #: templates/help.php:409
80
  msgid "Recording"
81
  msgstr ""
82
 
83
- #: classes/class.p3-profiler-plugin-admin.php:451 templates/help.php:370
84
  #: templates/help.php:410
85
  msgid "Disable Optimizers"
86
  msgstr ""
87
 
88
- #: classes/class.p3-profiler-plugin-admin.php:452 templates/help.php:371
89
  #: templates/help.php:411
90
  msgid "URL"
91
  msgstr ""
92
 
93
- #: classes/class.p3-profiler-plugin-admin.php:453 templates/help.php:372
94
  #: templates/help.php:412
95
  msgid "Visitor IP"
96
  msgstr ""
97
 
98
- #: classes/class.p3-profiler-plugin-admin.php:454 templates/help.php:373
99
  #: templates/help.php:413
100
  msgid "Time"
101
  msgstr ""
102
 
103
- #: classes/class.p3-profiler-plugin-admin.php:455 templates/help.php:374
104
  #: templates/help.php:414
105
  msgctxt "Abbreviation for process id"
106
  msgid "PID"
107
  msgstr ""
108
 
109
- #: classes/class.p3-profiler-plugin-admin.php:490
110
  msgid "Cannot read profiles directory"
111
  msgstr ""
112
 
113
- #: classes/class.p3-profiler-plugin-admin.php:552
114
  msgid "Performance scanning is enabled."
115
  msgstr ""
116
 
117
- #: classes/class.p3-profiler-plugin-admin.php:606
118
  msgctxt "Abbreviation for bytes"
119
  msgid "B"
120
  msgstr ""
121
 
122
- #: classes/class.p3-profiler-plugin-admin.php:607
123
  msgctxt "Abbreviation for kilobytes"
124
  msgid "KB"
125
  msgstr ""
126
 
127
- #: classes/class.p3-profiler-plugin-admin.php:608 templates/view-scan.php:959
128
  msgctxt "Abbreviation for megabytes"
129
  msgid "MB"
130
  msgstr ""
131
 
132
- #: classes/class.p3-profiler-plugin-admin.php:609
133
  msgctxt "Abbreviation for gigabytes"
134
  msgid "GB"
135
  msgstr ""
136
 
137
- #: classes/class.p3-profiler-plugin-admin.php:610
138
  msgctxt "Abbreviation for terabytes"
139
  msgid "TB"
140
  msgstr ""
141
 
 
 
 
 
 
 
 
 
 
142
  #: classes/class.p3-profiler-reader.php:155
143
  msgid "Cannot open file: "
144
  msgstr ""
2
  # This file is distributed under the same license as the P3 (Plugin Performance Profiler) package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: P3 (Plugin Performance Profiler) 1.3.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/p3-profiler\n"
7
+ "POT-Creation-Date: 2012-06-02 07:25:11+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: classes/class.p3-profiler-plugin-admin.php:122
 
 
 
 
 
 
 
16
  msgid "Scan does not exist"
17
  msgstr ""
18
 
19
+ #: classes/class.p3-profiler-plugin-admin.php:148
20
  msgid ""
21
  "No visits recorded during this profiling session. Check the <a href=\"%s"
22
  "\">help</a> page for more information"
23
  msgstr ""
24
 
25
+ #: classes/class.p3-profiler-plugin-admin.php:156
26
  msgid "Error reading scan"
27
  msgstr ""
28
 
29
+ #: classes/class.p3-profiler-plugin-admin.php:164
30
  msgid "Click \"Start Scan\" to run a performance scan of your website."
31
  msgstr ""
32
 
33
+ #: classes/class.p3-profiler-plugin-admin.php:259
34
+ #: classes/class.p3-profiler-plugin-admin.php:297
35
+ #: classes/class.p3-profiler-plugin-admin.php:326
36
+ #: classes/class.p3-profiler-plugin-admin.php:361
37
+ #: classes/class.p3-profiler-plugin-admin.php:406
38
+ #: classes/class.p3-profiler-plugin-admin.php:417
39
  #: classes/class.p3-profiler-table.php:210
40
  msgid "You do not have sufficient permissions to access this page."
41
  msgstr ""
42
 
43
+ #: classes/class.p3-profiler-plugin-admin.php:308
44
  msgid "Turned off performance scanning."
45
  msgstr ""
46
 
47
+ #: classes/class.p3-profiler-plugin-admin.php:381
48
+ #: classes/class.p3-profiler-plugin-admin.php:384
49
  msgid "Invalid subject"
50
  msgstr ""
51
 
52
+ #: classes/class.p3-profiler-plugin-admin.php:388
53
  msgid "<a href=\"%s\" target=\"_blank\">wp_mail()</a> function returned false"
54
  msgstr ""
55
 
56
+ #: classes/class.p3-profiler-plugin-admin.php:434 templates/help.php:366
57
  #: templates/help.php:406
58
  msgid "Profiling Enabled"
59
  msgstr ""
60
 
61
+ #: classes/class.p3-profiler-plugin-admin.php:435 templates/help.php:367
62
  #: templates/help.php:407
63
  msgid "Recording IP"
64
  msgstr ""
65
 
66
+ #: classes/class.p3-profiler-plugin-admin.php:436 templates/callouts.php:257
67
  #: templates/help.php:368 templates/help.php:408
68
  msgid "Scan Name"
69
  msgstr ""
70
 
71
+ #: classes/class.p3-profiler-plugin-admin.php:437 templates/help.php:369
72
  #: templates/help.php:409
73
  msgid "Recording"
74
  msgstr ""
75
 
76
+ #: classes/class.p3-profiler-plugin-admin.php:438 templates/help.php:370
77
  #: templates/help.php:410
78
  msgid "Disable Optimizers"
79
  msgstr ""
80
 
81
+ #: classes/class.p3-profiler-plugin-admin.php:439 templates/help.php:371
82
  #: templates/help.php:411
83
  msgid "URL"
84
  msgstr ""
85
 
86
+ #: classes/class.p3-profiler-plugin-admin.php:440 templates/help.php:372
87
  #: templates/help.php:412
88
  msgid "Visitor IP"
89
  msgstr ""
90
 
91
+ #: classes/class.p3-profiler-plugin-admin.php:441 templates/help.php:373
92
  #: templates/help.php:413
93
  msgid "Time"
94
  msgstr ""
95
 
96
+ #: classes/class.p3-profiler-plugin-admin.php:442 templates/help.php:374
97
  #: templates/help.php:414
98
  msgctxt "Abbreviation for process id"
99
  msgid "PID"
100
  msgstr ""
101
 
102
+ #: classes/class.p3-profiler-plugin-admin.php:477
103
  msgid "Cannot read profiles directory"
104
  msgstr ""
105
 
106
+ #: classes/class.p3-profiler-plugin-admin.php:539
107
  msgid "Performance scanning is enabled."
108
  msgstr ""
109
 
110
+ #: classes/class.p3-profiler-plugin-admin.php:593
111
  msgctxt "Abbreviation for bytes"
112
  msgid "B"
113
  msgstr ""
114
 
115
+ #: classes/class.p3-profiler-plugin-admin.php:594
116
  msgctxt "Abbreviation for kilobytes"
117
  msgid "KB"
118
  msgstr ""
119
 
120
+ #: classes/class.p3-profiler-plugin-admin.php:595 templates/view-scan.php:959
121
  msgctxt "Abbreviation for megabytes"
122
  msgid "MB"
123
  msgstr ""
124
 
125
+ #: classes/class.p3-profiler-plugin-admin.php:596
126
  msgctxt "Abbreviation for gigabytes"
127
  msgid "GB"
128
  msgstr ""
129
 
130
+ #: classes/class.p3-profiler-plugin-admin.php:597
131
  msgctxt "Abbreviation for terabytes"
132
  msgid "TB"
133
  msgstr ""
134
 
135
+ #: classes/class.p3-profiler-plugin.php:16
136
+ #: classes/class.p3-profiler-plugin.php:17
137
+ msgid "P3 Plugin Profiler"
138
+ msgstr ""
139
+
140
+ #: classes/class.p3-profiler-plugin.php:32
141
+ msgid "Scan Now"
142
+ msgstr ""
143
+
144
  #: classes/class.p3-profiler-reader.php:155
145
  msgid "Cannot open file: "
146
  msgstr ""
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.4
6
- Stable tag: 1.3.0
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -45,6 +45,9 @@ Manual installation:
45
 
46
  == Upgrade Notice ==
47
 
 
 
 
48
  = 1.3.0 =
49
  Internationalized P3, major refactoring for lower memory usage, compatibility with WordPress 3.4.
50
 
@@ -111,6 +114,9 @@ P3 is available on the Tools menu for each site in the network.
111
 
112
  == Changelog ==
113
 
 
 
 
114
  = 1.3.0 =
115
  * Internationalized P3
116
  * Compatibility with WordPress 3.4.0
3
  Tags: debug, debugging, developer, development, performance, plugin, profiler, speed
4
  Requires at least: 3.3
5
  Tested up to: 3.4
6
+ Stable tag: 1.3.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
45
 
46
  == Upgrade Notice ==
47
 
48
+ = 1.3.1 =
49
+ Fixed an error when upgrading to 1.3.x from 1.1.x and skipping the 1.2.x upgrade.
50
+
51
  = 1.3.0 =
52
  Internationalized P3, major refactoring for lower memory usage, compatibility with WordPress 3.4.
53
 
114
 
115
  == Changelog ==
116
 
117
+ = 1.3.1 =
118
+ * Fixed an error when upgrading to 1.3.x from 1.1.x and skipping the 1.2.x upgrade.
119
+
120
  = 1.3.0 =
121
  * Internationalized P3
122
  * Compatibility with WordPress 3.4.0
start-profile.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  // If profiling hasn't started, start it
4
- if ( !isset( $GLOBALS['p3_profiler'] ) && basename( __FILE__ ) != basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
5
  $opts = get_option( 'p3-profiler_options' );
6
  if ( !empty( $opts['profiling_enabled'] ) ) {
7
  $file = realpath( dirname( __FILE__ ) ) . '/classes/class.p3-profiler.php';
1
  <?php
2
 
3
  // If profiling hasn't started, start it
4
+ if ( function_exists( 'get_option' ) && !isset( $GLOBALS['p3_profiler'] ) && basename( __FILE__ ) != basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
5
  $opts = get_option( 'p3-profiler_options' );
6
  if ( !empty( $opts['profiling_enabled'] ) ) {
7
  $file = realpath( dirname( __FILE__ ) ) . '/classes/class.p3-profiler.php';