P3 (Plugin Performance Profiler) - Version 1.4.1

Version Description

Fixed 2 php notices and removed a reference to a missing stylesheet.

Download this release

Release Info

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

Code changes from version 1.4 to 1.4.1

classes/class.p3-profiler-plugin-admin.php CHANGED
@@ -85,7 +85,6 @@ class P3_Profiler_Plugin_Admin {
85
  * Load styles
86
  */
87
  public static function load_styles() {
88
- wp_enqueue_style ( 'jquery-ui-demo', plugins_url() . '/p3-profiler/css/jquery-ui.css' );
89
  if ( 'classic' == get_user_option( 'admin_color' ) ) {
90
  wp_enqueue_style ( 'jquery-ui-css', plugins_url() . '/p3-profiler/css/jquery-ui-classic.css' );
91
  } else {
@@ -95,6 +94,14 @@ class P3_Profiler_Plugin_Admin {
95
  wp_enqueue_style( 'p3_css', plugins_url() . '/p3-profiler/css/p3.css' );
96
  }
97
 
 
 
 
 
 
 
 
 
98
  /**
99
  * Initialize, upgrade, etc.
100
  * Determine the action from the query string that guides the exection path
@@ -102,10 +109,6 @@ class P3_Profiler_Plugin_Admin {
102
  */
103
  public static function init() {
104
 
105
- // Determine the profiles path
106
- $uploads_dir = wp_upload_dir();
107
- define( 'P3_PROFILES_PATH', $uploads_dir['basedir'] . DIRECTORY_SEPARATOR . 'profiles' );
108
-
109
  // Upgrade
110
  self::upgrade();
111
 
85
  * Load styles
86
  */
87
  public static function load_styles() {
 
88
  if ( 'classic' == get_user_option( 'admin_color' ) ) {
89
  wp_enqueue_style ( 'jquery-ui-css', plugins_url() . '/p3-profiler/css/jquery-ui-classic.css' );
90
  } else {
94
  wp_enqueue_style( 'p3_css', plugins_url() . '/p3-profiler/css/p3.css' );
95
  }
96
 
97
+ /**
98
+ * Determine the profiles path
99
+ */
100
+ public static function set_path() {
101
+ $uploads_dir = wp_upload_dir();
102
+ define( 'P3_PROFILES_PATH', $uploads_dir['basedir'] . DIRECTORY_SEPARATOR . 'profiles' );
103
+ }
104
+
105
  /**
106
  * Initialize, upgrade, etc.
107
  * Determine the action from the query string that guides the exection path
109
  */
110
  public static function init() {
111
 
 
 
 
 
112
  // Upgrade
113
  self::upgrade();
114
 
languages/p3-profiler-tr_TR.mo CHANGED
Binary file
languages/p3-profiler-tr_TR.po CHANGED
@@ -4,142 +4,142 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: P3 Plugin Performance Profiler\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"
11
- "PO-Revision-Date: 2012-08-13 15:34-0700\n"
12
- "Last-Translator: Kurt Payne <kpayne@godaddy.com>\n"
13
- "Language-Team: hakaner <hakanerwptr@gmail.com>\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "Language: türkçe\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
 
18
- #: classes/class.p3-profiler-plugin-admin.php:122
19
  msgid "Scan does not exist"
20
  msgstr "Tarama yok"
21
 
22
- #: classes/class.p3-profiler-plugin-admin.php:148
23
  msgid "No visits recorded during this profiling session. Check the <a href=\"%s\">help</a> page for more information"
24
  msgstr "Bu profil oluşturma oturumunda bir ziyaret kaydedilmedi. Daha fazla bilgi için <a href=\"%s\">yardım</a> sayfasına bakın."
25
 
26
- #: classes/class.p3-profiler-plugin-admin.php:156
27
  msgid "Error reading scan"
28
  msgstr "Tarama okuma hatası"
29
 
30
- #: classes/class.p3-profiler-plugin-admin.php:164
31
  msgid "Click \"Start Scan\" to run a performance scan of your website."
32
  msgstr "Web sitenizin performans taraması için \"Taramayı Başlat\"a tıklayın."
33
 
34
- #: classes/class.p3-profiler-plugin-admin.php:259
35
- #: classes/class.p3-profiler-plugin-admin.php:297
36
- #: classes/class.p3-profiler-plugin-admin.php:326
37
- #: classes/class.p3-profiler-plugin-admin.php:361
38
- #: classes/class.p3-profiler-plugin-admin.php:406
39
- #: classes/class.p3-profiler-plugin-admin.php:417
40
  #: classes/class.p3-profiler-table.php:210
41
  msgid "You do not have sufficient permissions to access this page."
42
  msgstr "Bu sayfaya erişmek için yeterli izinlere sahip değilsiniz."
43
 
44
- #: classes/class.p3-profiler-plugin-admin.php:308
45
  msgid "Turned off performance scanning."
46
  msgstr "Performans taraması kapatıldı."
47
 
48
- #: classes/class.p3-profiler-plugin-admin.php:381
49
- #: classes/class.p3-profiler-plugin-admin.php:384
50
  msgid "Invalid subject"
51
  msgstr "Geçersiz konu"
52
 
53
- #: classes/class.p3-profiler-plugin-admin.php:388
54
  msgid "<a href=\"%s\" target=\"_blank\">wp_mail()</a> function returned false"
55
  msgstr "<a href=\"%s\" target=\"_blank\">wp_mail()</a> işlevi hatalı oldu"
56
 
57
- #: classes/class.p3-profiler-plugin-admin.php:434
58
  #: templates/help.php:366
59
  #: templates/help.php:406
60
  msgid "Profiling Enabled"
61
  msgstr "Profilleme etkin"
62
 
63
- #: classes/class.p3-profiler-plugin-admin.php:435
64
  #: templates/help.php:367
65
  #: templates/help.php:407
66
  msgid "Recording IP"
67
  msgstr "IP Kaydetme"
68
 
69
- #: classes/class.p3-profiler-plugin-admin.php:436
70
  #: templates/callouts.php:257
71
  #: templates/help.php:368
72
  #: templates/help.php:408
73
  msgid "Scan Name"
74
  msgstr "Tarama Adı"
75
 
76
- #: classes/class.p3-profiler-plugin-admin.php:437
77
  #: templates/help.php:369
78
  #: templates/help.php:409
79
  msgid "Recording"
80
  msgstr "Kaydediliyor"
81
 
82
- #: classes/class.p3-profiler-plugin-admin.php:438
83
  #: templates/help.php:370
84
  #: templates/help.php:410
85
  msgid "Disable Optimizers"
86
  msgstr "Düzenleyiciler Devre Dışı"
87
 
88
- #: classes/class.p3-profiler-plugin-admin.php:439
89
  #: templates/help.php:371
90
  #: templates/help.php:411
91
  msgid "URL"
92
  msgstr "URL"
93
 
94
- #: classes/class.p3-profiler-plugin-admin.php:440
95
  #: templates/help.php:372
96
  #: templates/help.php:412
97
  msgid "Visitor IP"
98
  msgstr "Ziyaretçi IP"
99
 
100
- #: classes/class.p3-profiler-plugin-admin.php:441
101
  #: templates/help.php:373
102
  #: templates/help.php:413
103
  msgid "Time"
104
  msgstr "Zaman"
105
 
106
- #: classes/class.p3-profiler-plugin-admin.php:442
107
  #: templates/help.php:374
108
  #: templates/help.php:414
109
  msgctxt "Abbreviation for process id"
110
  msgid "PID"
111
  msgstr "PID"
112
 
113
- #: classes/class.p3-profiler-plugin-admin.php:477
114
  msgid "Cannot read profiles directory"
115
  msgstr "Profil dizini okunamıyor"
116
 
117
- #: classes/class.p3-profiler-plugin-admin.php:539
118
  msgid "Performance scanning is enabled."
119
  msgstr "Performans tarama etkin."
120
 
121
- #: classes/class.p3-profiler-plugin-admin.php:593
122
  msgctxt "Abbreviation for bytes"
123
  msgid "B"
124
  msgstr "B"
125
 
126
- #: classes/class.p3-profiler-plugin-admin.php:594
127
  msgctxt "Abbreviation for kilobytes"
128
  msgid "KB"
129
  msgstr "KB"
130
 
131
- #: classes/class.p3-profiler-plugin-admin.php:595
132
  #: templates/view-scan.php:959
133
  msgctxt "Abbreviation for megabytes"
134
  msgid "MB"
135
  msgstr "MB"
136
 
137
- #: classes/class.p3-profiler-plugin-admin.php:596
138
  msgctxt "Abbreviation for gigabytes"
139
  msgid "GB"
140
  msgstr "GB"
141
 
142
- #: classes/class.p3-profiler-plugin-admin.php:597
143
  msgctxt "Abbreviation for terabytes"
144
  msgid "TB"
145
  msgstr "TB"
@@ -1258,48 +1258,48 @@ msgstr "Veritabanına gönderilen sorgu sayısı. Bu get_num_queries() WordPress
1258
  msgid "MySQL Queries:"
1259
  msgstr "MySQL Sorguları:"
1260
 
1261
- #: templates/view-scan.php:979
1262
- #: templates/view-scan.php:980
1263
  msgid "Email these results"
1264
  msgstr "Sonuçları epostala"
1265
 
1266
- #: templates/view-scan.php:986
1267
  msgid "From:"
1268
  msgstr "Tarafından:"
1269
 
1270
- #: templates/view-scan.php:988
1271
  msgid "Enter the e-mail address to send from"
1272
  msgstr "Göndermek için e-posta adresinizi girin"
1273
 
1274
- #: templates/view-scan.php:992
1275
  msgid "Recipient:"
1276
  msgstr "Alıcı:"
1277
 
1278
- #: templates/view-scan.php:995
1279
  msgid "Enter the e-mail address where you would like to send these results"
1280
  msgstr "Bu sonuçlar göndermek istediğiniz e-posta adresini girin"
1281
 
1282
- #: templates/view-scan.php:999
1283
  msgid "Subject:"
1284
  msgstr "Konu:"
1285
 
1286
- #: templates/view-scan.php:1001
1287
  msgid "Performance Profile Results for %s"
1288
  msgstr "%s için Performance Profile Sonuçları"
1289
 
1290
- #: templates/view-scan.php:1001
1291
  msgid "Enter the e-mail subject"
1292
  msgstr "E-posta konusunu girin"
1293
 
1294
- #: templates/view-scan.php:1005
1295
  msgid "Message:"
1296
  msgstr "Mesaj:"
1297
 
1298
- #: templates/view-scan.php:1005
1299
  msgid "(optional)"
1300
  msgstr "(isteğe bağlı)"
1301
 
1302
- #: templates/view-scan.php:1006
1303
  msgid ""
1304
  "Hello,\n"
1305
  "\n"
@@ -1310,15 +1310,15 @@ msgstr ""
1310
  "\n"
1311
  "Profile eklentisini kullanarak WordPress sitemin performans profilini çıkardım ve seninle sonuçları paylaşmak istedim. Lütfen aşağıdaki bilgilere bir göz at:"
1312
 
1313
- #: templates/view-scan.php:1013
1314
  msgid "Results:"
1315
  msgstr "Sonuçlar:"
1316
 
1317
- #: templates/view-scan.php:1013
1318
  msgid "(system generated, do not edit)"
1319
  msgstr "(sistem tarafından oluşturulur, düzenlemeyin)"
1320
 
1321
- #: templates/view-scan.php:1019
1322
  msgid ""
1323
  "WordPress Plugin Profile Report\n"
1324
  "===========================================\n"
@@ -1360,19 +1360,19 @@ msgstr ""
1360
  "===========================================\n"
1361
  "%14$s\n"
1362
 
1363
- #: templates/view-scan.php:1061
1364
  msgid "Loading"
1365
  msgstr "Yükleniyor"
1366
 
1367
- #: templates/view-scan.php:1064
1368
  msgid "There was a problem sending the e-mail:"
1369
  msgstr "E-posta gönderilirken bir sorun oluştu:"
1370
 
1371
- #: templates/view-scan.php:1067
1372
  msgid "Your report was sent successfully to"
1373
  msgstr "Raporunuz başarıyla gönderildi"
1374
 
1375
- #: templates/view-scan.php:1070
1376
  msgid "Done"
1377
  msgstr "Tamam"
1378
 
4
  msgstr ""
5
  "Project-Id-Version: P3 Plugin Performance Profiler\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/p3-profiler\n"
7
+ "POT-Creation-Date: 2012-11-19 18:50:13+00:00\n"
8
+ "PO-Revision-Date: 2012-11-19 14:20-0700\n"
9
+ "Last-Translator: Kurt Payne <kpayne@godaddy.com>\n"
10
+ "Language-Team: hakaner <hakanerwptr@gmail.com>\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "Language: türkçe\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
 
18
+ #: classes/class.p3-profiler-plugin-admin.php:127
19
  msgid "Scan does not exist"
20
  msgstr "Tarama yok"
21
 
22
+ #: classes/class.p3-profiler-plugin-admin.php:153
23
  msgid "No visits recorded during this profiling session. Check the <a href=\"%s\">help</a> page for more information"
24
  msgstr "Bu profil oluşturma oturumunda bir ziyaret kaydedilmedi. Daha fazla bilgi için <a href=\"%s\">yardım</a> sayfasına bakın."
25
 
26
+ #: classes/class.p3-profiler-plugin-admin.php:161
27
  msgid "Error reading scan"
28
  msgstr "Tarama okuma hatası"
29
 
30
+ #: classes/class.p3-profiler-plugin-admin.php:169
31
  msgid "Click \"Start Scan\" to run a performance scan of your website."
32
  msgstr "Web sitenizin performans taraması için \"Taramayı Başlat\"a tıklayın."
33
 
34
+ #: classes/class.p3-profiler-plugin-admin.php:264
35
+ #: classes/class.p3-profiler-plugin-admin.php:302
36
+ #: classes/class.p3-profiler-plugin-admin.php:331
37
+ #: classes/class.p3-profiler-plugin-admin.php:366
38
+ #: classes/class.p3-profiler-plugin-admin.php:411
39
+ #: classes/class.p3-profiler-plugin-admin.php:422
40
  #: classes/class.p3-profiler-table.php:210
41
  msgid "You do not have sufficient permissions to access this page."
42
  msgstr "Bu sayfaya erişmek için yeterli izinlere sahip değilsiniz."
43
 
44
+ #: classes/class.p3-profiler-plugin-admin.php:313
45
  msgid "Turned off performance scanning."
46
  msgstr "Performans taraması kapatıldı."
47
 
48
+ #: classes/class.p3-profiler-plugin-admin.php:386
49
+ #: classes/class.p3-profiler-plugin-admin.php:389
50
  msgid "Invalid subject"
51
  msgstr "Geçersiz konu"
52
 
53
+ #: classes/class.p3-profiler-plugin-admin.php:393
54
  msgid "<a href=\"%s\" target=\"_blank\">wp_mail()</a> function returned false"
55
  msgstr "<a href=\"%s\" target=\"_blank\">wp_mail()</a> işlevi hatalı oldu"
56
 
57
+ #: classes/class.p3-profiler-plugin-admin.php:439
58
  #: templates/help.php:366
59
  #: templates/help.php:406
60
  msgid "Profiling Enabled"
61
  msgstr "Profilleme etkin"
62
 
63
+ #: classes/class.p3-profiler-plugin-admin.php:440
64
  #: templates/help.php:367
65
  #: templates/help.php:407
66
  msgid "Recording IP"
67
  msgstr "IP Kaydetme"
68
 
69
+ #: classes/class.p3-profiler-plugin-admin.php:441
70
  #: templates/callouts.php:257
71
  #: templates/help.php:368
72
  #: templates/help.php:408
73
  msgid "Scan Name"
74
  msgstr "Tarama Adı"
75
 
76
+ #: classes/class.p3-profiler-plugin-admin.php:442
77
  #: templates/help.php:369
78
  #: templates/help.php:409
79
  msgid "Recording"
80
  msgstr "Kaydediliyor"
81
 
82
+ #: classes/class.p3-profiler-plugin-admin.php:443
83
  #: templates/help.php:370
84
  #: templates/help.php:410
85
  msgid "Disable Optimizers"
86
  msgstr "Düzenleyiciler Devre Dışı"
87
 
88
+ #: classes/class.p3-profiler-plugin-admin.php:444
89
  #: templates/help.php:371
90
  #: templates/help.php:411
91
  msgid "URL"
92
  msgstr "URL"
93
 
94
+ #: classes/class.p3-profiler-plugin-admin.php:445
95
  #: templates/help.php:372
96
  #: templates/help.php:412
97
  msgid "Visitor IP"
98
  msgstr "Ziyaretçi IP"
99
 
100
+ #: classes/class.p3-profiler-plugin-admin.php:446
101
  #: templates/help.php:373
102
  #: templates/help.php:413
103
  msgid "Time"
104
  msgstr "Zaman"
105
 
106
+ #: classes/class.p3-profiler-plugin-admin.php:447
107
  #: templates/help.php:374
108
  #: templates/help.php:414
109
  msgctxt "Abbreviation for process id"
110
  msgid "PID"
111
  msgstr "PID"
112
 
113
+ #: classes/class.p3-profiler-plugin-admin.php:482
114
  msgid "Cannot read profiles directory"
115
  msgstr "Profil dizini okunamıyor"
116
 
117
+ #: classes/class.p3-profiler-plugin-admin.php:544
118
  msgid "Performance scanning is enabled."
119
  msgstr "Performans tarama etkin."
120
 
121
+ #: classes/class.p3-profiler-plugin-admin.php:598
122
  msgctxt "Abbreviation for bytes"
123
  msgid "B"
124
  msgstr "B"
125
 
126
+ #: classes/class.p3-profiler-plugin-admin.php:599
127
  msgctxt "Abbreviation for kilobytes"
128
  msgid "KB"
129
  msgstr "KB"
130
 
131
+ #: classes/class.p3-profiler-plugin-admin.php:600
132
  #: templates/view-scan.php:959
133
  msgctxt "Abbreviation for megabytes"
134
  msgid "MB"
135
  msgstr "MB"
136
 
137
+ #: classes/class.p3-profiler-plugin-admin.php:601
138
  msgctxt "Abbreviation for gigabytes"
139
  msgid "GB"
140
  msgstr "GB"
141
 
142
+ #: classes/class.p3-profiler-plugin-admin.php:602
143
  msgctxt "Abbreviation for terabytes"
144
  msgid "TB"
145
  msgstr "TB"
1258
  msgid "MySQL Queries:"
1259
  msgstr "MySQL Sorguları:"
1260
 
1261
+ #: templates/view-scan.php:981
1262
+ #: templates/view-scan.php:982
1263
  msgid "Email these results"
1264
  msgstr "Sonuçları epostala"
1265
 
1266
+ #: templates/view-scan.php:990
1267
  msgid "From:"
1268
  msgstr "Tarafından:"
1269
 
1270
+ #: templates/view-scan.php:992
1271
  msgid "Enter the e-mail address to send from"
1272
  msgstr "Göndermek için e-posta adresinizi girin"
1273
 
1274
+ #: templates/view-scan.php:996
1275
  msgid "Recipient:"
1276
  msgstr "Alıcı:"
1277
 
1278
+ #: templates/view-scan.php:999
1279
  msgid "Enter the e-mail address where you would like to send these results"
1280
  msgstr "Bu sonuçlar göndermek istediğiniz e-posta adresini girin"
1281
 
1282
+ #: templates/view-scan.php:1003
1283
  msgid "Subject:"
1284
  msgstr "Konu:"
1285
 
1286
+ #: templates/view-scan.php:1005
1287
  msgid "Performance Profile Results for %s"
1288
  msgstr "%s için Performance Profile Sonuçları"
1289
 
1290
+ #: templates/view-scan.php:1005
1291
  msgid "Enter the e-mail subject"
1292
  msgstr "E-posta konusunu girin"
1293
 
1294
+ #: templates/view-scan.php:1009
1295
  msgid "Message:"
1296
  msgstr "Mesaj:"
1297
 
1298
+ #: templates/view-scan.php:1009
1299
  msgid "(optional)"
1300
  msgstr "(isteğe bağlı)"
1301
 
1302
+ #: templates/view-scan.php:1010
1303
  msgid ""
1304
  "Hello,\n"
1305
  "\n"
1310
  "\n"
1311
  "Profile eklentisini kullanarak WordPress sitemin performans profilini çıkardım ve seninle sonuçları paylaşmak istedim. Lütfen aşağıdaki bilgilere bir göz at:"
1312
 
1313
+ #: templates/view-scan.php:1017
1314
  msgid "Results:"
1315
  msgstr "Sonuçlar:"
1316
 
1317
+ #: templates/view-scan.php:1017
1318
  msgid "(system generated, do not edit)"
1319
  msgstr "(sistem tarafından oluşturulur, düzenlemeyin)"
1320
 
1321
+ #: templates/view-scan.php:1023
1322
  msgid ""
1323
  "WordPress Plugin Profile Report\n"
1324
  "===========================================\n"
1360
  "===========================================\n"
1361
  "%14$s\n"
1362
 
1363
+ #: templates/view-scan.php:1065
1364
  msgid "Loading"
1365
  msgstr "Yükleniyor"
1366
 
1367
+ #: templates/view-scan.php:1068
1368
  msgid "There was a problem sending the e-mail:"
1369
  msgstr "E-posta gönderilirken bir sorun oluştu:"
1370
 
1371
+ #: templates/view-scan.php:1071
1372
  msgid "Your report was sent successfully to"
1373
  msgstr "Raporunuz başarıyla gönderildi"
1374
 
1375
+ #: templates/view-scan.php:1074
1376
  msgid "Done"
1377
  msgstr "Tamam"
1378
 
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.4
8
  Author URI: http://www.godaddy.com/
9
  Text Domain: p3-profiler
10
  Domain Path: /languages
@@ -55,6 +55,7 @@ require_once P3_PATH . '/start-profile.php';
55
  // Ajax actions
56
  if ( is_admin() && 'admin-ajax.php' == end( explode( '/', $_SERVER['PHP_SELF'] ) ) ) {
57
 
 
58
  add_action( 'wp_ajax_p3_start_scan', array( 'P3_Profiler_Plugin_Admin', 'ajax_start_scan' ) );
59
  add_action( 'wp_ajax_p3_stop_scan', array( 'P3_Profiler_Plugin_Admin', 'ajax_stop_scan' ) );
60
  add_action( 'wp_ajax_p3_send_results', array( 'P3_Profiler_Plugin_Admin', 'ajax_send_results' ) );
@@ -72,6 +73,7 @@ if ( is_admin() && 'admin-ajax.php' == end( explode( '/', $_SERVER['PHP_SELF'] )
72
  if ( isset( $_REQUEST['page'] ) && P3_PLUGIN_SLUG == $_REQUEST['page'] ) {
73
 
74
  // Pre-processing of actions
 
75
  add_action( 'admin_init', array( 'P3_Profiler_Plugin_Admin', 'init' ) );
76
 
77
  // Show any notices
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.4.1
8
  Author URI: http://www.godaddy.com/
9
  Text Domain: p3-profiler
10
  Domain Path: /languages
55
  // Ajax actions
56
  if ( is_admin() && 'admin-ajax.php' == end( explode( '/', $_SERVER['PHP_SELF'] ) ) ) {
57
 
58
+ add_action( 'admin_init', array( 'P3_Profiler_Plugin_Admin', 'set_path' ) );
59
  add_action( 'wp_ajax_p3_start_scan', array( 'P3_Profiler_Plugin_Admin', 'ajax_start_scan' ) );
60
  add_action( 'wp_ajax_p3_stop_scan', array( 'P3_Profiler_Plugin_Admin', 'ajax_stop_scan' ) );
61
  add_action( 'wp_ajax_p3_send_results', array( 'P3_Profiler_Plugin_Admin', 'ajax_send_results' ) );
73
  if ( isset( $_REQUEST['page'] ) && P3_PLUGIN_SLUG == $_REQUEST['page'] ) {
74
 
75
  // Pre-processing of actions
76
+ add_action( 'admin_init', array( 'P3_Profiler_Plugin_Admin', 'set_path' ) );
77
  add_action( 'admin_init', array( 'P3_Profiler_Plugin_Admin', 'init' ) );
78
 
79
  // Show any notices
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.5
6
- Stable tag: 1.4
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -47,6 +47,9 @@ Manual installation:
47
 
48
  == Upgrade Notice ==
49
 
 
 
 
50
  = 1.4 =
51
  Added 3.5 compatibility and refreshed UI colors.
52
 
@@ -134,6 +137,11 @@ add_filter( 'p3_automatic_scan_urls', 'my_p3_auto_scan_pages' );
134
 
135
  == Changelog ==
136
 
 
 
 
 
 
137
  = 1.4 =
138
  * Added a Turkish translation. Thanks to Hakaner! http://hakanertr.wordpress.com/
139
  * Updated some UI elements to allow for longer text strings for translations
3
  Tags: debug, debugging, developer, development, performance, plugin, profiler, speed
4
  Requires at least: 3.3
5
  Tested up to: 3.5
6
+ Stable tag: 1.4.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
47
 
48
  == Upgrade Notice ==
49
 
50
+ = 1.4.1 =
51
+ Fixed 2 php notices and removed a reference to a missing stylesheet.
52
+
53
  = 1.4 =
54
  Added 3.5 compatibility and refreshed UI colors.
55
 
137
 
138
  == Changelog ==
139
 
140
+ = 1.4.1 =
141
+ * Fixed a logged php notice during uninstall
142
+ * Fixed a php notice when starting scan. props rrhobbs
143
+ * Removed a reference to a missing stylesheet. props zorl-zorl
144
+
145
  = 1.4 =
146
  * Added a Turkish translation. Thanks to Hakaner! http://hakanertr.wordpress.com/
147
  * Updated some UI elements to allow for longer text strings for translations
uninstall.php CHANGED
@@ -10,7 +10,6 @@ $profile_path = $uploads_dir['basedir'] . DIRECTORY_SEPARATOR . 'profiles';
10
  // Unhook the profiler
11
  update_option( 'p3-profiler_debug', false );
12
  update_option( 'p3-profiler_debug_log', array() );
13
- remove_action( 'shutdown', array( $p3_profiler, 'shutdown_handler' ) );
14
 
15
  // Delete the profiles folder
16
  if ( function_exists( 'is_multisite' ) && is_multisite() ) {
10
  // Unhook the profiler
11
  update_option( 'p3-profiler_debug', false );
12
  update_option( 'p3-profiler_debug_log', array() );
 
13
 
14
  // Delete the profiles folder
15
  if ( function_exists( 'is_multisite' ) && is_multisite() ) {