Version Description
- Added option to exclude certain JS files from being moved to the footer.
- Added option to exclude certain JS files from being defered.
- Added a list of handles of all scripts and styles enqueued by your theme, useful for excluding options.
- Removed FOUC option since is useless with W3 Total Cache.
- Some visual changes on plugin options page.
- Translation updated with the new strings.
- Moved some admin inline scripts to js files.
Download this release
Release Info
Developer | tiguan |
Plugin | Speed Booster Pack |
Version | 2.5 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.5
- css/sbp_style.min.css +1 -1
- css/style.dev.css +161 -76
- inc/core.php +147 -25
- inc/settings.php +243 -3
- inc/template/options.php +190 -60
- js/post-tabs-edit.js +9 -0
- js/sbp-hide.js +16 -0
- js/sbp-slide.js +13 -0
- lang/ro_RO.mo +0 -0
- lang/ro_RO.po +168 -80
- lang/sb-pack.mo +0 -0
- lang/sb-pack.po +140 -63
- lang/sb-pack.pot +140 -63
- readme.txt +23 -9
- speed-booster-pack.php +51 -12
css/sbp_style.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap .sb-pack .welcome-panel .welcome-panel-column:first-child{display:block!important}.wrap .sb-pack .welcome-panel h4{margin:1.33em 0 20px}
|
1 |
+
.wrap .sb-pack .welcome-panel .welcome-panel-column:first-child{display:block!important}.wrap .sb-pack .welcome-panel h4{margin:1.33em 0 20px}.wrap .sb-pack .sbp-inline-wrap{display:inline-block;margin-right:10px;vertical-align:top}.wrap .sb-pack .sbp-more-width{width:300px}.wrap .sb-pack input[type=text]{line-height:1.3}.wrap .sb-pack .sbp-all-enqueued{background-color:#FCFCFC;padding:5px 0 10px;border:1px solid #ddd;width:auto}.wrap .sb-pack .sbp-width{min-width:200px;width:auto;padding:0 20px}.wrap .sb-pack .sbp-title-scripts{min-width:200px;width:auto;display:inline-block;font-weight:700;padding:0 20px}.wrap .sb-pack #poststuff h2{font-size:26px;padding:9px 15px 20px 0;font-weight:700}.wrap .sb-pack #poststuff .main-sbp-title h3{font-size:24px;padding:8px 0 20px;font-weight:700;color:#FA5148}.wrap .sb-pack .handlediv{color:#80828F}.wrap .sb-pack .meta-box-sortables .postbox .handlediv:before{right:20px;font:400 30px/1.2 dashicons;padding:8px 0;content:"\f343"}.wrap .sb-pack .meta-box-sortables .postbox.closed .handlediv:before{content:"\f347"}.wrap .sb-pack .postbox .inside{padding:0 20px 20px}.wrap .sb-pack #poststuff .inside{margin:26px 0 0}.wrap .sb-pack #poststuff h3{font-size:24px;padding:8px 20px;font-weight:700}.wrap .sb-pack .sbp-columns1{display:inline-block}.wrap .sb-pack .sbp-columns2{display:inline-block;max-width:73%}.wrap .sb-pack .sbp-title-div{height:50px;clear:both}.wrap .sb-pack .sbp-amount{background-color:transparent;border:none;box-shadow:none;font-size:16px}.wrap .sb-pack .sbp-slider{width:40%}.wrap .sb-pack p{color:#464646;line-height:1.6}.wrap .sb-pack .debug-info{margin-top:19px;border:1px solid #1A9E51;padding:17px 10px;background-color:#2DCB73;color:#FFF;font-size:16px;line-height:1.6;text-shadow:1px 1px #1A9E51}.wrap .sb-pack .td-margin{margin:1.5em 0}.wrap .sb-pack .sbp-div-head{border-bottom:1px solid #E1E1E1;margin:0 0 5px;padding:0 0 5px}.wrap .sb-pack .td-border{border-bottom:1px solid #E1E1E1;margin:10px 0}.wrap .sb-pack .td-border-last{border-bottom:1px solid #E1E1E1;margin:1.5em 0}.wrap .sb-pack .sbp-radio-content{display:block}.wrap .sb-pack .sbp-radio-content label{display:block!important}.wrap .sb-pack .sbp-box hr{margin-left:70px}.wrap .sb-pack .sbp-1{padding-top:10px}.wrap .sb-pack .sbp-2{padding-bottom:15px}.wrap .sb-pack .sbp-3{padding-top:5px}.wrap .sb-pack .sbp-title-div .sbp-title{font-size:23px;font-weight:300;line-height:26px;padding-top:16px;padding-right:15px;display:block;float:left}.wrap .sb-pack .sbp-box{background:#fff;border:1px solid #E5E5E5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:15px;margin-bottom:15px;position:relative;overflow:hidden}.wrap .sb-pack .sbp-box p{margin:5px 0 5px 70px;color:#777}.wrap .sb-pack .sbp-infos{display:block;margin:0 auto;padding-left:70px;font-weight:700;color:#777}.wrap .sb-pack .sbp-infos span{color:#777;font-weight:400}.wrap .sb-pack .sbp-infos-title{font-weight:700;color:#777}.wrap .sb-pack .sbp-box-legend,.wrap .sb-pack .sbp-box-version{position:absolute;left:0;top:0;height:100%}.wrap .sb-pack .sbp-box-version{background:none repeat scroll 0 0 #80828F;padding:20px 15px}.wrap .sb-pack .sbp-box-legend{background:none repeat scroll 0 0 #FCC500;padding:15px}.wrap .sb-pack .sbp-box-legend:hover{background-color:#F39C12}.wrap .sb-pack .sbp-box-version:hover{background-color:#6C6E79}.wrap .sb-pack .sbp-icon-help,.wrap .sb-pack .sbp-icon-version{color:#FFF;font-size:25px}.wrap .sb-pack .sbp-icon:before{content:"\f185";display:inline-block;-webkit-font-smoothing:antialiased;font:400 36px/0.6 dashicons;vertical-align:top;color:#FA5148;padding-right:5px}.wrap .sb-pack .sbp-icon-information:before{content:"\f348";display:inline-block;-webkit-font-smoothing:antialiased;font:400 28px/1 dashicons;vertical-align:middle;color:#C9D6E2;padding-right:5px}.wrap .sb-pack label{display:inline-block;cursor:pointer;position:relative;padding-left:35px;font-size:16px}.wrap .sb-pack label:before{content:"\2717";font-size:16px;-webkit-font-smoothing:antialiased;text-align:center;color:#fff;display:inline-block;width:26px;height:26px;margin-right:10px;position:absolute;left:0;background:#C9D6E2;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);border:1px solid #B2BFCA}.wrap .sb-pack input[type=checkbox],.wrap .sb-pack input[type=radio]{display:none}.wrap .sb-pack input[type=checkbox]:checked+label:before{content:"\2714";background:#2DCB73;text-shadow:1px 1px 1px #148D44;border:1px solid #1A9E51;font-size:16px;-webkit-font-smoothing:antialiased;color:#fff;text-align:center}.wrap .sb-pack .sbp-icon-version:before{content:"\f348";display:inline-block;-webkit-font-smoothing:antialiased;font:400 30px/1 dashicons;vertical-align:top}.wrap .sb-pack .sbp-icon-help:before{content:"\f123";display:inline-block;-webkit-font-smoothing:antialiased;font:400 30px/1 dashicons;vertical-align:top}.wrap .sb-pack .sbp-stats{font-size:16px;line-height:1.5}.wrap .sb-pack .ui-widget-content .ui-state-default,.wrap .sb-pack .ui-widget-header .ui-state-default,.wrap .sb-pack.ui-state-default{border:1px solid #1A9E51;background-color:#2DCB73;font-weight:400;color:#555;outline:0;cursor:pointer}.wrap .sb-pack .ui-state-default:before,.wrap .sb-pack .ui-widget-content .ui-state-default:before,.wrap .sb-pack .ui-widget-header .ui-state-default:before{content:"\2630";display:inline-block;-webkit-font-smoothing:antialiased;color:#fff;font-weight:700;text-shadow:0 1px #1A9E51;line-height:1.8em}.wrap .sb-pack .ui-state-default a,.wrap .sb-pack .ui-state-default a:link,.wrap .sb-pack .ui-state-default a:visited{color:#fff;text-decoration:none}.wrap .sb-pack .ui-state-focus,.wrap .sb-pack .ui-state-hover,.wrap .sb-pack .ui-widget-content .ui-state-focus,.wrap .sb-pack .ui-widget-content .ui-state-hover,.wrap .sb-pack .ui-widget-header .ui-state-focus,.wrap .sb-pack .ui-widget-header .ui-state-hover{background:#3CE281}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-left,.wrap .sb-pack .ui-corner-tl,.wrap .sb-pack .ui-corner-top{border-top-left-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-right,.wrap .sb-pack .ui-corner-top,.wrap .sb-pack .ui-corner-tr{border-top-right-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-bottom,.wrap .sb-pack .ui-corner-br,.wrap .sb-pack .ui-corner-right{border-bottom-right-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-bl,.wrap .sb-pack .ui-corner-bottom,.wrap .sb-pack .ui-corner-left{border-bottom-left-radius:0}.wrap .sb-pack .ui-slider-horizontal{height:1.3em}.wrap .sb-pack .ui-slider .ui-slider-handle{width:1.8em;height:1.8em;cursor:pointer;text-align:center}.wrap .sb-pack .ui-widget-content{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);border:1px solid #B2BFCA;background:#F1F2F7;color:#222}.wrap .sb-pack .sbp-progress.queries,.wrap .sb-pack .sbp-progress.time{height:30px;width:77%;display:inline-block;position:relative;background-color:#F1F2F7;overflow:hidden;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.wrap .sbp-progress.queries>span,.wrap .sbp-progress.time>span{background-color:#7EDBA5;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#7EDBA5),color-stop(1,#2DCB73));background-image:-webkit-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-moz-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-ms-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-o-linear-gradient(top,#7EDBA5,#f36d0a);color:#fff;width:0;max-width:98%;float:left;display:block;height:100%;position:relative;overflow:hidden}.wrap .sb-pack .sbp-progress.time>span{-webkit-animation:progress-bar-time 2s 1 forwards;-moz-animation:progress-bar-time 2s 1 forwards;-ms-animation:progress-bar-time 2s 1 forwards;-o-animation:progress-bar-time 2s 1 forwards;animation:progress-bar-time 2s 1 forwards}.wrap .sb-pack .sbp-progress.queries>span{-webkit-animation:progress-bar-queries 2s 1 forwards;-moz-animation:progress-bar-queries 2s 1 forwards;-ms-animation:progress-bar-queries 2s 1 forwards;-o-animation:progress-bar-queries 2s 1 forwards;animation:progress-bar-queries 2s 1 forwards}.wrap .sb-pack .sbp-values{float:right;padding:0 5px;background-color:#1AB4EF;color:#fff;width:18%;height:30px;line-height:30px;text-align:center;text-shadow:0 -2px #1AB4EF}.wrap .sb-pack .sbp-numbers{-webkit-animation:opacity 2s;-moz-animation:opacity 2s;-ms-animation:opacity 2s;-o-animation:opacity 2s;animation:opacity 2s;transition-delay:2s;-moz-transition-delay:2s;-webkit-transition-delay:2s;-o-transition-delay:2s;font-size:16px}@keyframes opacity{from{opacity:0}to{opacity:1}}@-moz-keyframes opacity{from{opacity:0}to{opacity:1}}@-webkit-keyframes opacity{from{opacity:0}to{opacity:1}}@-ms-keyframes opacity{from{opacity:0}to{opacity:1}}@-o-keyframes opacity{from{opacity:0}to{opacity:1}}@media screen and (max-width:783px){.wrap .sb-pack input.regular-text{width:14em}}@media screen and (min-width:784px){.wrap .sb-pack input.regular-text{width:45em}}
|
css/style.dev.css
CHANGED
@@ -1,32 +1,98 @@
|
|
1 |
.wrap .sb-pack .welcome-panel .welcome-panel-column:first-child {
|
2 |
-
|
3 |
}
|
4 |
|
5 |
.wrap .sb-pack .welcome-panel h4 {
|
6 |
margin: 1.33em 0 20px;
|
7 |
}
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
}
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
width: 45em;
|
18 |
-
}
|
19 |
}
|
20 |
|
21 |
-
.wrap .sb-pack
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
}
|
26 |
|
27 |
-
.wrap .sb-pack .
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
|
32 |
.wrap .sb-pack .sbp-title-div {
|
@@ -53,10 +119,11 @@ vertical-align: top;
|
|
53 |
.wrap .sb-pack .debug-info {
|
54 |
margin-top: 19px;
|
55 |
border: 1px solid #1A9E51;
|
56 |
-
padding:
|
57 |
background-color: #2DCB73;
|
58 |
color: #FFF;
|
59 |
font-size: 16px;
|
|
|
60 |
text-shadow: 1px 1px #1A9E51;
|
61 |
}
|
62 |
|
@@ -64,10 +131,15 @@ vertical-align: top;
|
|
64 |
margin: 1.5em 0 1.5em;
|
65 |
}
|
66 |
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
.wrap .sb-pack .td-border {
|
69 |
border-bottom: 1px solid #E1E1E1;
|
70 |
-
margin:
|
71 |
}
|
72 |
|
73 |
.wrap .sb-pack .td-border-last {
|
@@ -176,7 +248,7 @@ vertical-align: top;
|
|
176 |
content: "\f185";
|
177 |
display: inline-block;
|
178 |
-webkit-font-smoothing: antialiased;
|
179 |
-
font: normal 36px/0.
|
180 |
vertical-align: top;
|
181 |
color: #FA5148;
|
182 |
padding-right: 5px;
|
@@ -187,7 +259,7 @@ vertical-align: top;
|
|
187 |
display: inline-block;
|
188 |
-webkit-font-smoothing: antialiased;
|
189 |
font: normal 28px/1 'dashicons';
|
190 |
-
vertical-align:
|
191 |
color: #C9D6E2;
|
192 |
padding-right: 5px;
|
193 |
}
|
@@ -203,31 +275,31 @@ vertical-align: top;
|
|
203 |
|
204 |
/*.wrap .sb-pack #sbp-css-content {
|
205 |
display: none;
|
206 |
-
}*/
|
207 |
-
|
208 |
-
.wrap .sb-pack label:before {
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
}
|
226 |
|
227 |
-
.wrap .sb-pack input[type=checkbox],
|
228 |
-
.wrap .sb-pack input[type=radio] {
|
229 |
-
|
230 |
-
}
|
231 |
|
232 |
/*.wrap .sb-pack .sbp-radio-content label:before {
|
233 |
content: "\2630";
|
@@ -254,39 +326,39 @@ vertical-align: top;
|
|
254 |
font-weight: 700;
|
255 |
color: #fff;
|
256 |
border: 1px solid #1A9E51;
|
257 |
-
} */
|
258 |
-
|
259 |
-
.wrap .sb-pack input[type=checkbox]:checked + label:before {
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
}
|
269 |
|
270 |
-
.wrap .sb-pack .sbp-icon-version:before {
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
}
|
277 |
|
278 |
-
.wrap .sb-pack .sbp-icon-help:before {
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
}
|
285 |
|
286 |
-
.wrap .sb-pack .sbp-stats {
|
287 |
-
|
288 |
-
|
289 |
-
}
|
290 |
|
291 |
/* Jquery UI slider
|
292 |
-------------------------------------------------------------- */
|
@@ -310,6 +382,7 @@ vertical-align: top;
|
|
310 |
color:#fff;
|
311 |
font-weight:700;
|
312 |
text-shadow:0 1px #1A9E51;
|
|
|
313 |
}
|
314 |
|
315 |
.wrap .sb-pack .ui-state-default a,
|
@@ -356,7 +429,7 @@ vertical-align: top;
|
|
356 |
.wrap .sb-pack .ui-corner-bottom,
|
357 |
.wrap .sb-pack .ui-corner-left,
|
358 |
.wrap .sb-pack .ui-corner-bl {
|
359 |
-
|
360 |
}
|
361 |
|
362 |
.wrap .sb-pack .ui-slider-horizontal {
|
@@ -480,4 +553,16 @@ vertical-align: top;
|
|
480 |
@-o-keyframes opacity {
|
481 |
from { opacity:0; }
|
482 |
to { opacity: 1; }
|
483 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.wrap .sb-pack .welcome-panel .welcome-panel-column:first-child {
|
2 |
+
display: block !important;
|
3 |
}
|
4 |
|
5 |
.wrap .sb-pack .welcome-panel h4 {
|
6 |
margin: 1.33em 0 20px;
|
7 |
}
|
8 |
|
9 |
+
.wrap .sb-pack .sbp-inline-wrap {
|
10 |
+
display: inline-block;
|
11 |
+
margin-right: 10px;
|
12 |
+
vertical-align: top;
|
13 |
}
|
14 |
|
15 |
+
.wrap .sb-pack .sbp-more-width {
|
16 |
+
width: 300px;
|
|
|
|
|
17 |
}
|
18 |
|
19 |
+
.wrap .sb-pack input[type="text"] {
|
20 |
+
line-height: 1.3;
|
21 |
+
}
|
22 |
+
|
23 |
+
.wrap .sb-pack .sbp-all-enqueued {
|
24 |
+
background-color: #FCFCFC;
|
25 |
+
padding: 5px 0px 10px;
|
26 |
+
border: 1px solid #ddd;
|
27 |
+
width: auto;
|
28 |
+
}
|
29 |
+
|
30 |
+
.wrap .sb-pack .sbp-width {
|
31 |
+
min-width: 200px;
|
32 |
+
width: auto;
|
33 |
+
padding: 0 20px;
|
34 |
+
}
|
35 |
+
|
36 |
+
.wrap .sb-pack .sbp-title-scripts {
|
37 |
+
min-width: 200px;
|
38 |
+
width: auto;
|
39 |
+
display: inline-block;
|
40 |
+
font-weight: 700;
|
41 |
+
padding: 0 20px;
|
42 |
+
}
|
43 |
+
|
44 |
+
.wrap .sb-pack #poststuff h2 {
|
45 |
+
font-size: 26px;
|
46 |
+
padding: 9px 15px 20px 0px;
|
47 |
+
font-weight: 700;
|
48 |
+
}
|
49 |
+
|
50 |
+
.wrap .sb-pack #poststuff .main-sbp-title h3 {
|
51 |
+
font-size: 24px;
|
52 |
+
padding: 8px 0 20px;
|
53 |
+
font-weight: 700;
|
54 |
+
color: #FA5148;
|
55 |
+
}
|
56 |
+
|
57 |
+
.wrap .sb-pack .handlediv {
|
58 |
+
color: #80828F;
|
59 |
+
}
|
60 |
+
|
61 |
+
.wrap .sb-pack .meta-box-sortables .postbox .handlediv:before {
|
62 |
+
right: 20px;
|
63 |
+
font: 400 30px/1.2 'dashicons';
|
64 |
+
padding: 8px 0;
|
65 |
+
}
|
66 |
+
|
67 |
+
.wrap .sb-pack .meta-box-sortables .postbox .handlediv:before {
|
68 |
+
content: "\f343";
|
69 |
+
}
|
70 |
+
|
71 |
+
.wrap .sb-pack .meta-box-sortables .postbox.closed .handlediv:before {
|
72 |
+
content: "\f347";
|
73 |
+
}
|
74 |
+
|
75 |
+
.wrap .sb-pack .postbox .inside {
|
76 |
+
padding: 0 20px 20px;
|
77 |
}
|
78 |
|
79 |
+
.wrap .sb-pack #poststuff .inside {
|
80 |
+
margin: 26px 0 0;
|
81 |
+
}
|
82 |
+
|
83 |
+
.wrap .sb-pack #poststuff h3{
|
84 |
+
font-size: 24px;
|
85 |
+
padding: 8px 20px;
|
86 |
+
font-weight: 700;
|
87 |
+
}
|
88 |
+
|
89 |
+
.wrap .sb-pack .sbp-columns1 {
|
90 |
+
display: inline-block;
|
91 |
+
}
|
92 |
+
|
93 |
+
.wrap .sb-pack .sbp-columns2 {
|
94 |
+
display: inline-block;
|
95 |
+
max-width: 73%;
|
96 |
}
|
97 |
|
98 |
.wrap .sb-pack .sbp-title-div {
|
119 |
.wrap .sb-pack .debug-info {
|
120 |
margin-top: 19px;
|
121 |
border: 1px solid #1A9E51;
|
122 |
+
padding: 17px 10px;
|
123 |
background-color: #2DCB73;
|
124 |
color: #FFF;
|
125 |
font-size: 16px;
|
126 |
+
line-height: 1.6;
|
127 |
text-shadow: 1px 1px #1A9E51;
|
128 |
}
|
129 |
|
131 |
margin: 1.5em 0 1.5em;
|
132 |
}
|
133 |
|
134 |
+
.wrap .sb-pack .sbp-div-head {
|
135 |
+
border-bottom: 1px solid #E1E1E1;
|
136 |
+
margin:0 0 5px;
|
137 |
+
padding: 0 0 5px;
|
138 |
+
}
|
139 |
|
140 |
.wrap .sb-pack .td-border {
|
141 |
border-bottom: 1px solid #E1E1E1;
|
142 |
+
margin: 10px 0;
|
143 |
}
|
144 |
|
145 |
.wrap .sb-pack .td-border-last {
|
248 |
content: "\f185";
|
249 |
display: inline-block;
|
250 |
-webkit-font-smoothing: antialiased;
|
251 |
+
font: normal 36px/0.6 'dashicons';
|
252 |
vertical-align: top;
|
253 |
color: #FA5148;
|
254 |
padding-right: 5px;
|
259 |
display: inline-block;
|
260 |
-webkit-font-smoothing: antialiased;
|
261 |
font: normal 28px/1 'dashicons';
|
262 |
+
vertical-align: middle;
|
263 |
color: #C9D6E2;
|
264 |
padding-right: 5px;
|
265 |
}
|
275 |
|
276 |
/*.wrap .sb-pack #sbp-css-content {
|
277 |
display: none;
|
278 |
+
}*/
|
279 |
+
|
280 |
+
.wrap .sb-pack label:before {
|
281 |
+
content: "\2717";
|
282 |
+
font-size: 16px;
|
283 |
+
-webkit-font-smoothing: antialiased;
|
284 |
+
text-align: center;
|
285 |
+
color: #fff;
|
286 |
+
display: inline-block;
|
287 |
+
width: 26px;
|
288 |
+
height: 26px;
|
289 |
+
margin-right: 10px;
|
290 |
+
position: absolute;
|
291 |
+
left: 0;
|
292 |
+
background: #C9D6E2;
|
293 |
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
294 |
+
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
295 |
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
296 |
+
border: 1px solid #B2BFCA;
|
297 |
+
}
|
298 |
|
299 |
+
.wrap .sb-pack input[type=checkbox],
|
300 |
+
.wrap .sb-pack input[type=radio] {
|
301 |
+
display: none;
|
302 |
+
}
|
303 |
|
304 |
/*.wrap .sb-pack .sbp-radio-content label:before {
|
305 |
content: "\2630";
|
326 |
font-weight: 700;
|
327 |
color: #fff;
|
328 |
border: 1px solid #1A9E51;
|
329 |
+
} */
|
330 |
+
|
331 |
+
.wrap .sb-pack input[type=checkbox]:checked + label:before {
|
332 |
+
content: "\2714";
|
333 |
+
background: #2DCB73;
|
334 |
+
text-shadow: 1px 1px 1px #148D44;
|
335 |
+
border: 1px solid #1A9E51;
|
336 |
+
font-size: 16px;
|
337 |
+
-webkit-font-smoothing: antialiased;
|
338 |
+
color: #fff;
|
339 |
+
text-align: center;
|
340 |
+
}
|
341 |
|
342 |
+
.wrap .sb-pack .sbp-icon-version:before {
|
343 |
+
content: "\f348";
|
344 |
+
display: inline-block;
|
345 |
+
-webkit-font-smoothing: antialiased;
|
346 |
+
font: normal 30px/1 'dashicons';
|
347 |
+
vertical-align: top;
|
348 |
+
}
|
349 |
|
350 |
+
.wrap .sb-pack .sbp-icon-help:before {
|
351 |
+
content: "\f123";
|
352 |
+
display: inline-block;
|
353 |
+
-webkit-font-smoothing: antialiased;
|
354 |
+
font: normal 30px/1 'dashicons';
|
355 |
+
vertical-align: top;
|
356 |
+
}
|
357 |
|
358 |
+
.wrap .sb-pack .sbp-stats {
|
359 |
+
font-size: 16px;
|
360 |
+
line-height: 1.5;
|
361 |
+
}
|
362 |
|
363 |
/* Jquery UI slider
|
364 |
-------------------------------------------------------------- */
|
382 |
color:#fff;
|
383 |
font-weight:700;
|
384 |
text-shadow:0 1px #1A9E51;
|
385 |
+
line-height: 1.8em;
|
386 |
}
|
387 |
|
388 |
.wrap .sb-pack .ui-state-default a,
|
429 |
.wrap .sb-pack .ui-corner-bottom,
|
430 |
.wrap .sb-pack .ui-corner-left,
|
431 |
.wrap .sb-pack .ui-corner-bl {
|
432 |
+
border-bottom-left-radius: 0;
|
433 |
}
|
434 |
|
435 |
.wrap .sb-pack .ui-slider-horizontal {
|
553 |
@-o-keyframes opacity {
|
554 |
from { opacity:0; }
|
555 |
to { opacity: 1; }
|
556 |
+
}
|
557 |
+
|
558 |
+
@media screen and (max-width: 783px) {
|
559 |
+
.wrap .sb-pack input.regular-text {
|
560 |
+
width: 14em;
|
561 |
+
}
|
562 |
+
}
|
563 |
+
|
564 |
+
@media screen and (min-width: 784px) {
|
565 |
+
.wrap .sb-pack input.regular-text {
|
566 |
+
width: 45em;
|
567 |
+
}
|
568 |
+
}
|
inc/core.php
CHANGED
@@ -11,10 +11,13 @@ if( !class_exists( 'Speed_Booster_Pack_Core' ) ) {
|
|
11 |
public function __construct() {
|
12 |
|
13 |
global $sbp_options;
|
14 |
-
add_action( 'wp_head', array( $this, 'sbp_prevent_fouc_start' ) );
|
15 |
-
add_action( 'wp_footer', array( $this, 'sbp_prevent_fouc_end' ), SBP_FOOTER_LAST );
|
16 |
add_action( 'wp_enqueue_scripts', array( $this, 'sbp_no_more_fontawesome'), 9999 );
|
17 |
add_action( 'wp_enqueue_scripts', array( $this, 'sbp_move_scripts_to_footer' ) );
|
|
|
|
|
|
|
|
|
|
|
18 |
add_action( 'wp_footer', array( $this, 'sbp_show_page_load_stats' ), 999 );
|
19 |
add_action( 'after_setup_theme', array( $this, 'sbp_junk_header_tags' ) );
|
20 |
add_action( 'init', array( $this, 'sbp_init') );
|
@@ -73,27 +76,6 @@ if( !class_exists( 'Speed_Booster_Pack_Core' ) ) {
|
|
73 |
} // END public public function __construct
|
74 |
|
75 |
|
76 |
-
/*--------------------------------------------------------------------------------------------------------
|
77 |
-
Prevent Flash of Unstyled Content (FOUC) - BETA
|
78 |
-
---------------------------------------------------------------------------------------------------------*/
|
79 |
-
|
80 |
-
function sbp_prevent_fouc_start() {
|
81 |
-
global $sbp_options;
|
82 |
-
if ( isset( $sbp_options['sbp_css_async'] ) and isset( $sbp_options['sbp_footer_css'] ) and isset ( $sbp_options['sbp_prevent_fouc'] ) ) {
|
83 |
-
echo '<style>.no-js{display:none;}</style>';
|
84 |
-
}
|
85 |
-
}
|
86 |
-
|
87 |
-
|
88 |
-
function sbp_prevent_fouc_end() {
|
89 |
-
global $sbp_options;
|
90 |
-
if ( isset( $sbp_options['sbp_css_async'] ) and isset( $sbp_options['sbp_footer_css'] ) and isset ( $sbp_options['sbp_prevent_fouc'] ) ) {
|
91 |
-
echo '<style>.no-js{display:block;}</style>' ;
|
92 |
-
}
|
93 |
-
}
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
/*--------------------------------------------------------------------------------------------------------
|
98 |
Init the CSS Optimizer actions
|
99 |
---------------------------------------------------------------------------------------------------------*/
|
@@ -243,6 +225,116 @@ function sbp_move_scripts_to_footer() {
|
|
243 |
} // END function sbp_move_scripts_to_footer
|
244 |
|
245 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
/*--------------------------------------------------------------------------------------------------------
|
247 |
Show Number of Queries and Page Load Time
|
248 |
---------------------------------------------------------------------------------------------------------*/
|
@@ -294,16 +386,46 @@ function sbp_css_optimizer() {
|
|
294 |
|
295 |
|
296 |
/*--------------------------------------------------------------------------------------------------------
|
297 |
-
Defer parsing of JavaScript
|
298 |
---------------------------------------------------------------------------------------------------------*/
|
299 |
|
300 |
function sbp_defer_parsing_of_js ( $url ) {
|
301 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
if ( FALSE === strpos( $url, '.js' ) ) {
|
303 |
return $url;
|
304 |
}
|
305 |
|
306 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
return $url;
|
308 |
}
|
309 |
|
11 |
public function __construct() {
|
12 |
|
13 |
global $sbp_options;
|
|
|
|
|
14 |
add_action( 'wp_enqueue_scripts', array( $this, 'sbp_no_more_fontawesome'), 9999 );
|
15 |
add_action( 'wp_enqueue_scripts', array( $this, 'sbp_move_scripts_to_footer' ) );
|
16 |
+
if ( !is_admin() and isset( $sbp_options['jquery_to_footer'] ) ) {
|
17 |
+
add_action( 'wp_head', array( $this, 'sbp_scripts_to_head' ) );
|
18 |
+
add_action( 'wp_print_scripts', array( $this, 'sbp_exclude_scripts' ), 100 );
|
19 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'sbp_exclude_scripts' ), 100 );
|
20 |
+
}
|
21 |
add_action( 'wp_footer', array( $this, 'sbp_show_page_load_stats' ), 999 );
|
22 |
add_action( 'after_setup_theme', array( $this, 'sbp_junk_header_tags' ) );
|
23 |
add_action( 'init', array( $this, 'sbp_init') );
|
76 |
} // END public public function __construct
|
77 |
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
/*--------------------------------------------------------------------------------------------------------
|
80 |
Init the CSS Optimizer actions
|
81 |
---------------------------------------------------------------------------------------------------------*/
|
225 |
} // END function sbp_move_scripts_to_footer
|
226 |
|
227 |
|
228 |
+
/*--------------------------------------------------------------------------------------------------------
|
229 |
+
Exclude scripts from "Move scripts to footer" option
|
230 |
+
---------------------------------------------------------------------------------------------------------*/
|
231 |
+
|
232 |
+
public function sbp_exclude_scripts() {
|
233 |
+
|
234 |
+
|
235 |
+
if ( get_option( 'sbp_js_footer_exceptions1' ) ) {
|
236 |
+
$sbp_handle1 = esc_html( get_option( 'sbp_js_footer_exceptions1' ) );
|
237 |
+
}
|
238 |
+
|
239 |
+
if ( get_option( 'sbp_js_footer_exceptions2' ) ) {
|
240 |
+
$sbp_handle2 = esc_html( get_option( 'sbp_js_footer_exceptions2' ) );
|
241 |
+
}
|
242 |
+
|
243 |
+
if ( get_option( 'sbp_js_footer_exceptions3' ) ) {
|
244 |
+
$sbp_handle3 = esc_html( get_option( 'sbp_js_footer_exceptions3' ) );
|
245 |
+
}
|
246 |
+
|
247 |
+
if ( get_option( 'sbp_js_footer_exceptions4' ) ) {
|
248 |
+
$sbp_handle4 = esc_html( get_option( 'sbp_js_footer_exceptions4' ) );
|
249 |
+
}
|
250 |
+
|
251 |
+
$sbp_enq = 'enqueued';
|
252 |
+
$sbp_reg = 'registered';
|
253 |
+
$sbp_done = 'done';
|
254 |
+
|
255 |
+
/*--------------------------------------------------------------------------------------------------------*/
|
256 |
+
|
257 |
+
if ( get_option( 'sbp_js_footer_exceptions1' ) and wp_script_is( $sbp_handle1 , $sbp_enq ) ) {
|
258 |
+
wp_dequeue_script( $sbp_handle1 );
|
259 |
+
}
|
260 |
+
|
261 |
+
if ( get_option( 'sbp_js_footer_exceptions2' ) and wp_script_is( $sbp_handle2 , $sbp_enq ) ) {
|
262 |
+
wp_dequeue_script( $sbp_handle2 );
|
263 |
+
}
|
264 |
+
|
265 |
+
if ( get_option( 'sbp_js_footer_exceptions3' ) and wp_script_is( $sbp_handle3 , $sbp_enq ) ) {
|
266 |
+
wp_dequeue_script( $sbp_handle3 );
|
267 |
+
}
|
268 |
+
|
269 |
+
if ( get_option( 'sbp_js_footer_exceptions4' ) and wp_script_is( $sbp_handle4 , $sbp_enq ) ) {
|
270 |
+
wp_dequeue_script( $sbp_handle4 );
|
271 |
+
}
|
272 |
+
|
273 |
+
/*--------------------------------------------------------------------------------------------------------*/
|
274 |
+
|
275 |
+
if ( get_option( 'sbp_js_footer_exceptions1' ) and wp_script_is( $sbp_handle1 , $sbp_reg ) ) {
|
276 |
+
wp_deregister_script( $sbp_handle1 );
|
277 |
+
}
|
278 |
+
|
279 |
+
if ( get_option( 'sbp_js_footer_exceptions2' ) and wp_script_is( $sbp_handle2 , $sbp_reg ) ) {
|
280 |
+
wp_deregister_script( $sbp_handle2 );
|
281 |
+
}
|
282 |
+
|
283 |
+
if ( get_option( 'sbp_js_footer_exceptions3' ) and wp_script_is( $sbp_handle3 , $sbp_reg ) ) {
|
284 |
+
wp_deregister_script( $sbp_handle3 );
|
285 |
+
}
|
286 |
+
|
287 |
+
if ( get_option( 'sbp_js_footer_exceptions4' ) and wp_script_is( $sbp_handle4 , $sbp_reg ) ) {
|
288 |
+
wp_deregister_script( $sbp_handle4 );
|
289 |
+
}
|
290 |
+
|
291 |
+
/*--------------------------------------------------------------------------------------------------------*/
|
292 |
+
|
293 |
+
if ( get_option( 'sbp_js_footer_exceptions1' ) and wp_script_is( $sbp_handle1 , $sbp_done ) ) {
|
294 |
+
wp_deregister_script( $sbp_handle1 );
|
295 |
+
}
|
296 |
+
|
297 |
+
if ( get_option( 'sbp_js_footer_exceptions2' ) and wp_script_is( $sbp_handle2 , $sbp_done ) ) {
|
298 |
+
wp_deregister_script( $sbp_handle2 );
|
299 |
+
}
|
300 |
+
|
301 |
+
if ( get_option( 'sbp_js_footer_exceptions3' ) and wp_script_is( $sbp_handle3 , $sbp_done ) ) {
|
302 |
+
wp_deregister_script( $sbp_handle3 );
|
303 |
+
}
|
304 |
+
|
305 |
+
if ( get_option( 'sbp_js_footer_exceptions4' ) and wp_script_is( $sbp_handle4 , $sbp_done ) ) {
|
306 |
+
wp_deregister_script( $sbp_handle4 );
|
307 |
+
}
|
308 |
+
|
309 |
+
}
|
310 |
+
|
311 |
+
|
312 |
+
/*--------------------------------------------------------------------------------------------------------
|
313 |
+
Put scripts back to the head
|
314 |
+
---------------------------------------------------------------------------------------------------------*/
|
315 |
+
|
316 |
+
public function sbp_scripts_to_head() {
|
317 |
+
|
318 |
+
if ( get_option( 'sbp_head_html_script1' ) ) {
|
319 |
+
echo get_option( 'sbp_head_html_script1' ) . "\n";
|
320 |
+
|
321 |
+
}
|
322 |
+
|
323 |
+
if ( get_option( 'sbp_head_html_script2' ) ) {
|
324 |
+
echo get_option( 'sbp_head_html_script2' ) . "\n";
|
325 |
+
}
|
326 |
+
|
327 |
+
if ( get_option( 'sbp_head_html_script3' ) ) {
|
328 |
+
echo get_option( 'sbp_head_html_script3' ) . "\n";
|
329 |
+
}
|
330 |
+
|
331 |
+
if ( get_option( 'sbp_head_html_script4' ) ) {
|
332 |
+
echo get_option( 'sbp_head_html_script4' ) . "\n";
|
333 |
+
}
|
334 |
+
|
335 |
+
}
|
336 |
+
|
337 |
+
|
338 |
/*--------------------------------------------------------------------------------------------------------
|
339 |
Show Number of Queries and Page Load Time
|
340 |
---------------------------------------------------------------------------------------------------------*/
|
386 |
|
387 |
|
388 |
/*--------------------------------------------------------------------------------------------------------
|
389 |
+
Defer parsing of JavaScript and exclusion files
|
390 |
---------------------------------------------------------------------------------------------------------*/
|
391 |
|
392 |
function sbp_defer_parsing_of_js ( $url ) {
|
393 |
|
394 |
+
if ( get_option( 'sbp_defer_exceptions1' ) ) {
|
395 |
+
$defer_exclude1 = get_option( 'sbp_defer_exceptions1' );
|
396 |
+
}
|
397 |
+
|
398 |
+
if ( get_option( 'sbp_defer_exceptions2' ) ) {
|
399 |
+
$defer_exclude2 = get_option( 'sbp_defer_exceptions2' );
|
400 |
+
}
|
401 |
+
|
402 |
+
if ( get_option( 'sbp_defer_exceptions3' ) ) {
|
403 |
+
$defer_exclude3 = get_option( 'sbp_defer_exceptions3' );
|
404 |
+
}
|
405 |
+
|
406 |
+
if ( get_option( 'sbp_defer_exceptions4' ) ) {
|
407 |
+
$defer_exclude4 = get_option( 'sbp_defer_exceptions4' );
|
408 |
+
}
|
409 |
+
|
410 |
+
|
411 |
if ( FALSE === strpos( $url, '.js' ) ) {
|
412 |
return $url;
|
413 |
}
|
414 |
|
415 |
+
|
416 |
+
if ( get_option( 'sbp_defer_exceptions1' ) and strpos( $url, $defer_exclude1 ) ) {
|
417 |
+
return $url;
|
418 |
+
}
|
419 |
+
|
420 |
+
if ( get_option( 'sbp_defer_exceptions2' ) and strpos( $url, $defer_exclude2 ) ) {
|
421 |
+
return $url;
|
422 |
+
}
|
423 |
+
|
424 |
+
if ( get_option( 'sbp_defer_exceptions3' ) and strpos( $url, $defer_exclude3 ) ) {
|
425 |
+
return $url;
|
426 |
+
}
|
427 |
+
|
428 |
+
if ( get_option( 'sbp_defer_exceptions4' ) and strpos( $url, $defer_exclude4 ) ) {
|
429 |
return $url;
|
430 |
}
|
431 |
|
inc/settings.php
CHANGED
@@ -5,7 +5,6 @@ if( !class_exists( 'Speed_Booster_Pack_Options' ) ) {
|
|
5 |
class Speed_Booster_Pack_Options {
|
6 |
|
7 |
private $sbp_options;
|
8 |
-
|
9 |
/*--------------------------------------------------------------------------------------------------------
|
10 |
Construct the plugin object
|
11 |
---------------------------------------------------------------------------------------------------------*/
|
@@ -14,6 +13,9 @@ if( !class_exists( 'Speed_Booster_Pack_Options' ) ) {
|
|
14 |
|
15 |
add_action( 'admin_init', array( $this, 'sbp_admin_init' ) );
|
16 |
add_action( 'admin_menu', array( $this, 'sbp_add_menu' ) );
|
|
|
|
|
|
|
17 |
|
18 |
} // END public function __construct
|
19 |
|
@@ -23,12 +25,167 @@ if( !class_exists( 'Speed_Booster_Pack_Options' ) ) {
|
|
23 |
register_setting( 'speed_booster_settings_group', 'sbp_settings' );
|
24 |
register_setting( 'speed_booster_settings_group', 'sbp_integer' );
|
25 |
register_setting( 'speed_booster_settings_group', 'sbp_css_exceptions' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
} // END public function admin_init
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
public function sbp_add_menu() {
|
30 |
|
31 |
-
// Add a page to manage the plugin's settings
|
32 |
global $sbp_settings_page;
|
33 |
$sbp_settings_page = add_options_page( 'Speed Booster Options', 'Speed Booster Pack', 'manage_options', 'sbp-options', array( $this, 'sbp_plugin_settings_page' ) );
|
34 |
|
@@ -50,9 +207,12 @@ if( !class_exists( 'Speed_Booster_Pack_Options' ) ) {
|
|
50 |
|
51 |
// Global variables used in plugin options page
|
52 |
$url = get_site_url();
|
|
|
53 |
$page_time = get_option( 'sbp_page_time' );
|
54 |
$page_queries = get_option( 'sbp_page_queries' );
|
55 |
-
$
|
|
|
|
|
56 |
|
57 |
// fallback for image compression integer
|
58 |
if ( get_option( 'sbp_integer' ) ) {
|
@@ -68,6 +228,86 @@ if( !class_exists( 'Speed_Booster_Pack_Options' ) ) {
|
|
68 |
$css_exceptions = '' ;
|
69 |
}
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
// Render the plugin options page HTML
|
72 |
include( SPEED_BOOSTER_PACK_PATH . 'css/dynamic-css.php' );
|
73 |
|
5 |
class Speed_Booster_Pack_Options {
|
6 |
|
7 |
private $sbp_options;
|
|
|
8 |
/*--------------------------------------------------------------------------------------------------------
|
9 |
Construct the plugin object
|
10 |
---------------------------------------------------------------------------------------------------------*/
|
13 |
|
14 |
add_action( 'admin_init', array( $this, 'sbp_admin_init' ) );
|
15 |
add_action( 'admin_menu', array( $this, 'sbp_add_menu' ) );
|
16 |
+
add_action('wp_footer', array( $this, 'sbp_detected_scripts_handle'), 999 );
|
17 |
+
add_action('wp_footer', array( $this, 'sbp_detected_scripts_src'), 999 );
|
18 |
+
add_action('wp_footer', array( $this, 'sbp_detected_styles_handle'), 999 );
|
19 |
|
20 |
} // END public function __construct
|
21 |
|
25 |
register_setting( 'speed_booster_settings_group', 'sbp_settings' );
|
26 |
register_setting( 'speed_booster_settings_group', 'sbp_integer' );
|
27 |
register_setting( 'speed_booster_settings_group', 'sbp_css_exceptions' );
|
28 |
+
register_setting( 'speed_booster_settings_group', 'sbp_sanitize');
|
29 |
+
|
30 |
+
register_setting( 'speed_booster_settings_group', 'sbp_js_footer_exceptions1' );
|
31 |
+
register_setting( 'speed_booster_settings_group', 'sbp_js_footer_exceptions2' );
|
32 |
+
register_setting( 'speed_booster_settings_group', 'sbp_js_footer_exceptions3' );
|
33 |
+
register_setting( 'speed_booster_settings_group', 'sbp_js_footer_exceptions4' );
|
34 |
+
|
35 |
+
register_setting( 'speed_booster_settings_group', 'sbp_head_html_script1' );
|
36 |
+
register_setting( 'speed_booster_settings_group', 'sbp_head_html_script2' );
|
37 |
+
register_setting( 'speed_booster_settings_group', 'sbp_head_html_script3' );
|
38 |
+
register_setting( 'speed_booster_settings_group', 'sbp_head_html_script4' );
|
39 |
+
|
40 |
+
register_setting( 'speed_booster_settings_group', 'sbp_defer_exceptions1' );
|
41 |
+
register_setting( 'speed_booster_settings_group', 'sbp_defer_exceptions2' );
|
42 |
+
register_setting( 'speed_booster_settings_group', 'sbp_defer_exceptions3' );
|
43 |
+
register_setting( 'speed_booster_settings_group', 'sbp_defer_exceptions4' );
|
44 |
|
45 |
} // END public function admin_init
|
46 |
|
47 |
+
|
48 |
+
/*--------------------------------------------------------------------------------------------------------
|
49 |
+
Get enqueued scripts handles
|
50 |
+
---------------------------------------------------------------------------------------------------------*/
|
51 |
+
|
52 |
+
public function sbp_detected_scripts_handle( $handles = array() ) {
|
53 |
+
|
54 |
+
global $wp_scripts;
|
55 |
+
|
56 |
+
|
57 |
+
// scripts
|
58 |
+
foreach ( $wp_scripts -> registered as $registered )
|
59 |
+
$script_urls[ $registered -> handle ] = $registered -> src;
|
60 |
+
|
61 |
+
// if empty
|
62 |
+
if ( empty( $handles ) ) {
|
63 |
+
$handles = array_merge( $wp_scripts -> queue );
|
64 |
+
array_values( $handles );
|
65 |
+
}
|
66 |
+
// output of values
|
67 |
+
$get_enqueued_scripts_handle = '';
|
68 |
+
foreach ( $handles as $handle ) {
|
69 |
+
if ( ! empty( $script_urls[ $handle ] ) )
|
70 |
+
$get_enqueued_scripts_handle .= $handle . '<br />';
|
71 |
+
|
72 |
+
}
|
73 |
+
|
74 |
+
update_option( 'all_theme_scripts_handle', $get_enqueued_scripts_handle );
|
75 |
+
|
76 |
+
}
|
77 |
+
|
78 |
+
/*--------------------------------------------------------------------------------------------------------
|
79 |
+
Get enqueued scripts src path
|
80 |
+
---------------------------------------------------------------------------------------------------------*/
|
81 |
+
|
82 |
+
public function sbp_detected_scripts_src( $handles = array() ) {
|
83 |
+
|
84 |
+
global $wp_scripts;
|
85 |
+
|
86 |
+
// scripts
|
87 |
+
foreach ( $wp_scripts -> registered as $registered )
|
88 |
+
$script_urls[ $registered -> handle ] = $registered -> src;
|
89 |
+
|
90 |
+
// if empty
|
91 |
+
if ( empty( $handles ) ) {
|
92 |
+
$handles = array_merge( $wp_scripts -> queue );
|
93 |
+
array_values( $handles );
|
94 |
+
}
|
95 |
+
// output of values
|
96 |
+
$get_enqueued_scripts_src = '';
|
97 |
+
foreach ( $handles as $handle ) {
|
98 |
+
if ( ! empty( $script_urls[ $handle ] ) )
|
99 |
+
$get_enqueued_scripts_src .= $script_urls[ $handle ] . '<br />';
|
100 |
+
|
101 |
+
}
|
102 |
+
|
103 |
+
update_option( 'all_theme_scripts_src', $get_enqueued_scripts_src );
|
104 |
+
|
105 |
+
}
|
106 |
+
|
107 |
+
|
108 |
+
/*--------------------------------------------------------------------------------------------------------
|
109 |
+
Get enqueued style handles
|
110 |
+
---------------------------------------------------------------------------------------------------------*/
|
111 |
+
|
112 |
+
public function sbp_detected_styles_handle( $handles = array() ) {
|
113 |
+
|
114 |
+
global $wp_styles;
|
115 |
+
|
116 |
+
|
117 |
+
// scripts
|
118 |
+
foreach ( $wp_styles -> registered as $registered )
|
119 |
+
$style_urls[ $registered -> handle ] = $registered -> src;
|
120 |
+
|
121 |
+
// if empty
|
122 |
+
if ( empty( $handles ) ) {
|
123 |
+
$handles = array_merge( $wp_styles -> queue );
|
124 |
+
array_values( $handles );
|
125 |
+
}
|
126 |
+
// output of values
|
127 |
+
$get_enqueued_styles_handle = '';
|
128 |
+
foreach ( $handles as $handle ) {
|
129 |
+
if ( ! empty( $style_urls[ $handle ] ) )
|
130 |
+
$get_enqueued_styles_handle .= $handle . '<br />';
|
131 |
+
|
132 |
+
}
|
133 |
+
|
134 |
+
update_option( 'all_theme_styles_handle', $get_enqueued_styles_handle );
|
135 |
+
|
136 |
+
}
|
137 |
+
|
138 |
+
|
139 |
+
/*--------------------------------------------------------------------------------------------------------
|
140 |
+
Sanitize Options
|
141 |
+
---------------------------------------------------------------------------------------------------------*/
|
142 |
+
|
143 |
+
public function sbp_sanitize( $input ) {
|
144 |
+
|
145 |
+
$output = array();
|
146 |
+
|
147 |
+
foreach( $input as $key => $tigu ) {
|
148 |
+
|
149 |
+
switch( $key ) {
|
150 |
+
case 'sbp_js_footer_exceptions1':
|
151 |
+
$output[$key] = wp_filter_post_kses( $tigu );
|
152 |
+
break;
|
153 |
+
case 'sbp_js_footer_exceptions2':
|
154 |
+
$output[$key] = wp_filter_post_kses( $tigu );
|
155 |
+
break;
|
156 |
+
case 'sbp_js_footer_exceptions3':
|
157 |
+
$output[$key] = wp_filter_post_kses( $tigu );
|
158 |
+
break;
|
159 |
+
case 'sbp_js_footer_exceptions4':
|
160 |
+
$output[$key] = wp_filter_post_kses( $tigu );
|
161 |
+
break;
|
162 |
+
case 'sbp_head_html_script1':
|
163 |
+
$output[$key] = wp_filter_post_kses( $tigu );
|
164 |
+
break;
|
165 |
+
case 'sbp_head_html_script2':
|
166 |
+
$output[$key] = wp_kses_stripslashes( $tigu );
|
167 |
+
break;
|
168 |
+
case 'sbp_head_html_script3':
|
169 |
+
$output[$key] = wp_kses_stripslashes( $tigu );
|
170 |
+
break;
|
171 |
+
case 'sbp_head_html_script4':
|
172 |
+
$output[$key] = wp_kses_stripslashes( $tigu );
|
173 |
+
break;
|
174 |
+
|
175 |
+
}
|
176 |
+
|
177 |
+
}
|
178 |
+
|
179 |
+
return $output;
|
180 |
+
}
|
181 |
+
|
182 |
+
|
183 |
+
/*--------------------------------------------------------------------------------------------------------
|
184 |
+
// Add a page to manage the plugin's settings
|
185 |
+
---------------------------------------------------------------------------------------------------------*/
|
186 |
+
|
187 |
public function sbp_add_menu() {
|
188 |
|
|
|
189 |
global $sbp_settings_page;
|
190 |
$sbp_settings_page = add_options_page( 'Speed Booster Options', 'Speed Booster Pack', 'manage_options', 'sbp-options', array( $this, 'sbp_plugin_settings_page' ) );
|
191 |
|
207 |
|
208 |
// Global variables used in plugin options page
|
209 |
$url = get_site_url();
|
210 |
+
$response = wp_remote_get( $url, array() );
|
211 |
$page_time = get_option( 'sbp_page_time' );
|
212 |
$page_queries = get_option( 'sbp_page_queries' );
|
213 |
+
$get_enqueued_scripts_handle = get_option( 'all_theme_scripts_handle' );
|
214 |
+
$get_enqueued_scripts_src = get_option( 'all_theme_scripts_src' );
|
215 |
+
$get_enqueued_styles_handle = get_option( 'all_theme_styles_handle' );
|
216 |
|
217 |
// fallback for image compression integer
|
218 |
if ( get_option( 'sbp_integer' ) ) {
|
228 |
$css_exceptions = '' ;
|
229 |
}
|
230 |
|
231 |
+
/*--------------------------------------------------------------------------------------------------------*/
|
232 |
+
|
233 |
+
if ( get_option( 'sbp_js_footer_exceptions1' ) ) {
|
234 |
+
$js_footer_exceptions1 = get_option( 'sbp_js_footer_exceptions1' );
|
235 |
+
} else {
|
236 |
+
$js_footer_exceptions1 = '' ;
|
237 |
+
}
|
238 |
+
|
239 |
+
if ( get_option( 'sbp_js_footer_exceptions2' ) ) {
|
240 |
+
$js_footer_exceptions2 = get_option( 'sbp_js_footer_exceptions2' );
|
241 |
+
} else {
|
242 |
+
$js_footer_exceptions2 = '' ;
|
243 |
+
}
|
244 |
+
|
245 |
+
if ( get_option( 'sbp_js_footer_exceptions3' ) ) {
|
246 |
+
$js_footer_exceptions3 = get_option( 'sbp_js_footer_exceptions3' );
|
247 |
+
} else {
|
248 |
+
$js_footer_exceptions3 = '' ;
|
249 |
+
}
|
250 |
+
|
251 |
+
if ( get_option( 'sbp_js_footer_exceptions4' ) ) {
|
252 |
+
$js_footer_exceptions4 = get_option( 'sbp_js_footer_exceptions4' );
|
253 |
+
} else {
|
254 |
+
$js_footer_exceptions4 = '' ;
|
255 |
+
}
|
256 |
+
|
257 |
+
/*--------------------------------------------------------------------------------------------------------*/
|
258 |
+
|
259 |
+
if ( get_option( 'sbp_head_html_script1' ) ) {
|
260 |
+
$sbp_html_script1 = get_option( 'sbp_head_html_script1' );
|
261 |
+
} else {
|
262 |
+
$sbp_html_script1 = '' ;
|
263 |
+
}
|
264 |
+
|
265 |
+
if ( get_option( 'sbp_head_html_script2' ) ) {
|
266 |
+
$sbp_html_script2 = get_option( 'sbp_head_html_script2' );
|
267 |
+
} else {
|
268 |
+
$sbp_html_script2 = '' ;
|
269 |
+
}
|
270 |
+
|
271 |
+
if ( get_option( 'sbp_head_html_script3' ) ) {
|
272 |
+
$sbp_html_script3 = get_option( 'sbp_head_html_script3' );
|
273 |
+
} else {
|
274 |
+
$sbp_html_script3 = '' ;
|
275 |
+
}
|
276 |
+
|
277 |
+
if ( get_option( 'sbp_head_html_script4' ) ) {
|
278 |
+
$sbp_html_script4 = get_option( 'sbp_head_html_script4' );
|
279 |
+
} else {
|
280 |
+
$sbp_html_script4 = '' ;
|
281 |
+
}
|
282 |
+
|
283 |
+
/*--------------------------------------------------------------------------------------------------------*/
|
284 |
+
|
285 |
+
if ( get_option( 'sbp_defer_exceptions1' ) ) {
|
286 |
+
$defer_exceptions1 = get_option( 'sbp_defer_exceptions1' );
|
287 |
+
} else {
|
288 |
+
$defer_exceptions1 = '' ;
|
289 |
+
}
|
290 |
+
|
291 |
+
if ( get_option( 'sbp_defer_exceptions2' ) ) {
|
292 |
+
$defer_exceptions2 = get_option( 'sbp_defer_exceptions2' );
|
293 |
+
} else {
|
294 |
+
$defer_exceptions2 = '' ;
|
295 |
+
}
|
296 |
+
|
297 |
+
if ( get_option( 'sbp_defer_exceptions3' ) ) {
|
298 |
+
$defer_exceptions3 = get_option( 'sbp_defer_exceptions3' );
|
299 |
+
} else {
|
300 |
+
$defer_exceptions3 = '' ;
|
301 |
+
}
|
302 |
+
|
303 |
+
if ( get_option( 'sbp_defer_exceptions4' ) ) {
|
304 |
+
$defer_exceptions4 = get_option( 'sbp_defer_exceptions4' );
|
305 |
+
} else {
|
306 |
+
$defer_exceptions4 = '' ;
|
307 |
+
}
|
308 |
+
|
309 |
+
/*--------------------------------------------------------------------------------------------------------*/
|
310 |
+
|
311 |
// Render the plugin options page HTML
|
312 |
include( SPEED_BOOSTER_PACK_PATH . 'css/dynamic-css.php' );
|
313 |
|
inc/template/options.php
CHANGED
@@ -2,6 +2,11 @@
|
|
2 |
|
3 |
<div class="sb-pack">
|
4 |
|
|
|
|
|
|
|
|
|
|
|
5 |
<h2 class="sbp-icon"><?php echo esc_html( get_admin_page_title() ); ?></h2>
|
6 |
|
7 |
<div class="welcome-panel">
|
@@ -11,8 +16,13 @@
|
|
11 |
<form method="post" action="options.php">
|
12 |
|
13 |
<?php settings_fields( 'speed_booster_settings_group' ); ?>
|
|
|
|
|
14 |
|
15 |
-
<
|
|
|
|
|
|
|
16 |
|
17 |
<div class="welcome-panel-column-container">
|
18 |
|
@@ -20,7 +30,6 @@
|
|
20 |
|
21 |
<h4><?php _e( 'Main plugin options', 'sb-pack' ); ?></h4>
|
22 |
|
23 |
-
|
24 |
<p>
|
25 |
<input id="sbp_settings[jquery_to_footer]" name="sbp_settings[jquery_to_footer]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['jquery_to_footer'] ) ); ?> />
|
26 |
<label for="sbp_settings[jquery_to_footer]"><?php _e( 'Move scripts to the footer', 'sb-pack' ); ?></label>
|
@@ -38,17 +47,17 @@
|
|
38 |
|
39 |
<p>
|
40 |
<input id="sbp_settings[query_strings]" name="sbp_settings[query_strings]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['query_strings'] ) ); ?> />
|
41 |
-
<label for="sbp_settings[query_strings]"><?php _e( 'Remove query strings
|
42 |
</p>
|
43 |
|
44 |
<p>
|
45 |
<input id="sbp_settings[lazy_load]" name="sbp_settings[lazy_load]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['lazy_load'] ) ); ?> />
|
46 |
-
<label for="sbp_settings[lazy_load]"><?php _e( 'Lazy load images to improve
|
47 |
</p>
|
48 |
|
49 |
<p>
|
50 |
<input id="sbp_settings[font_awesome]" name="sbp_settings[font_awesome]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['font_awesome'] ) ); ?> />
|
51 |
-
<label for="sbp_settings[font_awesome]"><?php _e( 'Removes extra Font Awesome
|
52 |
</p>
|
53 |
|
54 |
</div> <!-- END welcome-panel-column -->
|
@@ -74,17 +83,17 @@
|
|
74 |
|
75 |
<p>
|
76 |
<input id="sbp_settings[wml_link]" name="sbp_settings[wml_link]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['wml_link'] ) ); ?> />
|
77 |
-
<label for="sbp_settings[wml_link]"><?php _e( 'Remove Windows
|
78 |
</p>
|
79 |
|
80 |
<p>
|
81 |
<input id="sbp_settings[wp_generator]" name="sbp_settings[wp_generator]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['wp_generator'] ) ); ?> />
|
82 |
-
<label for="sbp_settings[wp_generator]"><?php _e( 'Remove the WordPress Version
|
83 |
</p>
|
84 |
|
85 |
<p>
|
86 |
<input id="sbp_settings[remove_all_feeds]" name="sbp_settings[remove_all_feeds]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['remove_all_feeds'] ) ); ?> />
|
87 |
-
<label for="sbp_settings[remove_all_feeds]"><?php _e( 'Remove all rss feed links
|
88 |
</p>
|
89 |
|
90 |
</div> <!-- END welcome-panel-column -->
|
@@ -127,27 +136,137 @@
|
|
127 |
|
128 |
</div> <!-- END welcome-panel-column-container -->
|
129 |
|
130 |
-
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
-
<h3><?php _e( 'Change the default image compression level', 'sb-pack' ); ?></h3>
|
135 |
|
136 |
-
<script type='text/javascript'>
|
137 |
-
jQuery(document).ready(function () {
|
138 |
-
jQuery(".sbp-slider").slider({
|
139 |
-
value: jpegCompression,
|
140 |
-
min: 0,
|
141 |
-
max: 100,
|
142 |
-
step: 1,
|
143 |
-
slide: function (event, ui) {
|
144 |
-
jQuery(".sbp-amount").val(ui.value);
|
145 |
-
jQuery("#sbp_integer").val(ui.value);
|
146 |
-
}
|
147 |
-
});
|
148 |
-
jQuery(".sbp-amount").val(jQuery(".sbp-slider").slider("value"));
|
149 |
-
});
|
150 |
-
</script>
|
151 |
<script type='text/javascript'>
|
152 |
var jpegCompression = '<?php echo $this->image_compression; ?>';
|
153 |
</script>
|
@@ -165,14 +284,21 @@ var jpegCompression = '<?php echo $this->image_compression; ?>';
|
|
165 |
|
166 |
<p class="description">
|
167 |
<?php _e( 'The default image compression setting in WordPress is 90%. Compressing your images further than the default will make your file sizes even smaller and will boost your site performance.', 'sb-pack' ); ?><br />
|
|
|
|
|
168 |
<?php _e( 'Note that any changes you make will only affect new images uploaded to your site. If you want to update all of your images with the new sizes, install and run the Regenerate Thumbnails plugin. As a reference, a lower level of compression means more performance. We recommend you choose a compression level between 50 and 75.', 'sb-pack' ); ?>
|
169 |
</p>
|
170 |
|
171 |
</div>
|
172 |
|
173 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
|
175 |
-
<h3 class="td-margin"><?php _e( 'Still need more speed?', 'sb-pack' ); ?></h3>
|
176 |
|
177 |
<p>
|
178 |
<input id="sbp_css_async" name="sbp_settings[sbp_css_async]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['sbp_css_async'] ) ); ?> />
|
@@ -199,30 +325,51 @@ var jpegCompression = '<?php echo $this->image_compression; ?>';
|
|
199 |
<label for="sbp_settings[sbp_is_mobile]"><?php _e( 'Disable all above CSS options on mobile devices', 'sb-pack' ); ?></label>
|
200 |
</p>
|
201 |
|
202 |
-
<
|
203 |
-
|
204 |
-
<
|
|
|
|
|
|
|
205 |
</p>
|
206 |
|
|
|
207 |
<div class="td-border-last"></div>
|
208 |
|
209 |
-
<
|
210 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
<p class="description">
|
212 |
-
<?php _e('
|
213 |
</p>
|
214 |
|
|
|
|
|
215 |
<div class="td-border-last"></div>
|
216 |
<h4 class="sbp-icon-information"><?php _e( 'Additional information:', 'sb-pack' ); ?></h4>
|
217 |
<p class ="description"><strong><?php _e( 'Insert all CSS styles inline to the footer: ', 'sb-pack' ); ?></strong><?php _e( 'this option will eliminate render-blocking CSS warning in Google Page Speed test. If there is something broken after activation, you need to disable this option. Please note that before enabling this sensitive option, it is strongly recommended that you also enable the "Move scripts to the footer" option.', 'sb-pack' ); ?></p>
|
218 |
-
<p class ="description"><strong><?php _e( 'Eliminate flash of unstyled content (FOUC): ', 'sb-pack' ); ?></strong><?php _e( 'inserting all CSS styles inline to the footer could create some type of flash of unstyled content(FOUC), i.e. first it shows your site content as though it has not styles then the styled content appear after a very short time (half of second or so). Enabling this option could eliminate this unwanted effect. Please note that this is a beta option so if there is something broken after activation, you need to disable this option.', 'sb-pack' ); ?></p>
|
219 |
-
|
220 |
|
|
|
|
|
221 |
</div><!-- END sbp-radio-content -->
|
222 |
</div><!-- END sbp-css-content -->
|
223 |
|
224 |
-
|
225 |
-
</div><!-- END wrap -->
|
226 |
|
227 |
<?php submit_button() ?>
|
228 |
|
@@ -279,26 +426,9 @@ var jpegCompression = '<?php echo $this->image_compression; ?>';
|
|
279 |
</div> <!-- end sbp-box div 2 -->
|
280 |
|
281 |
<!-- END docs and version areas -->
|
282 |
-
|
|
|
|
|
283 |
</div> <!-- END sb-pack-->
|
284 |
|
285 |
-
</div> <!-- end wrap div -->
|
286 |
-
|
287 |
-
<script>
|
288 |
-
if (typeof (jQuery) != 'undefined') {
|
289 |
-
jQuery(document).ready(function () {
|
290 |
-
validate();
|
291 |
-
jQuery('input').change(function () {
|
292 |
-
validate();
|
293 |
-
})
|
294 |
-
});
|
295 |
-
|
296 |
-
function validate() {
|
297 |
-
if (jQuery('input[id=sbp_css_async]').is(':checked')) {
|
298 |
-
jQuery('#sbp-css-content').show();
|
299 |
-
} else {
|
300 |
-
jQuery('#sbp-css-content').hide();
|
301 |
-
}
|
302 |
-
}
|
303 |
-
}
|
304 |
-
</script>
|
2 |
|
3 |
<div class="sb-pack">
|
4 |
|
5 |
+
<div id="poststuff">
|
6 |
+
<div id="postbox-container" class="postbox-container">
|
7 |
+
<div class="meta-box-sortables ui-sortable" id="normal-sortables">
|
8 |
+
|
9 |
+
|
10 |
<h2 class="sbp-icon"><?php echo esc_html( get_admin_page_title() ); ?></h2>
|
11 |
|
12 |
<div class="welcome-panel">
|
16 |
<form method="post" action="options.php">
|
17 |
|
18 |
<?php settings_fields( 'speed_booster_settings_group' ); ?>
|
19 |
+
<div class="main-sbp-title"><h3 ><?php _e( 'Boost Your Website Speed!', 'sb-pack' ); ?></h3></div>
|
20 |
+
<div class="postbox" id="tiguan1">
|
21 |
|
22 |
+
<div title="Click to toggle" class="handlediv"><br></div>
|
23 |
+
<h3 class="hndle"><span><?php _e( 'General options', 'sb-pack' ); ?></span></h3>
|
24 |
+
|
25 |
+
<div class="inside">
|
26 |
|
27 |
<div class="welcome-panel-column-container">
|
28 |
|
30 |
|
31 |
<h4><?php _e( 'Main plugin options', 'sb-pack' ); ?></h4>
|
32 |
|
|
|
33 |
<p>
|
34 |
<input id="sbp_settings[jquery_to_footer]" name="sbp_settings[jquery_to_footer]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['jquery_to_footer'] ) ); ?> />
|
35 |
<label for="sbp_settings[jquery_to_footer]"><?php _e( 'Move scripts to the footer', 'sb-pack' ); ?></label>
|
47 |
|
48 |
<p>
|
49 |
<input id="sbp_settings[query_strings]" name="sbp_settings[query_strings]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['query_strings'] ) ); ?> />
|
50 |
+
<label for="sbp_settings[query_strings]"><?php _e( 'Remove query strings', 'sb-pack' ); ?></label>
|
51 |
</p>
|
52 |
|
53 |
<p>
|
54 |
<input id="sbp_settings[lazy_load]" name="sbp_settings[lazy_load]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['lazy_load'] ) ); ?> />
|
55 |
+
<label for="sbp_settings[lazy_load]"><?php _e( 'Lazy load images to improve speed', 'sb-pack' ); ?></label>
|
56 |
</p>
|
57 |
|
58 |
<p>
|
59 |
<input id="sbp_settings[font_awesome]" name="sbp_settings[font_awesome]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['font_awesome'] ) ); ?> />
|
60 |
+
<label for="sbp_settings[font_awesome]"><?php _e( 'Removes extra Font Awesome styles', 'sb-pack' ); ?></label>
|
61 |
</p>
|
62 |
|
63 |
</div> <!-- END welcome-panel-column -->
|
83 |
|
84 |
<p>
|
85 |
<input id="sbp_settings[wml_link]" name="sbp_settings[wml_link]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['wml_link'] ) ); ?> />
|
86 |
+
<label for="sbp_settings[wml_link]"><?php _e( 'Remove Windows Manifest', 'sb-pack' ); ?></label>
|
87 |
</p>
|
88 |
|
89 |
<p>
|
90 |
<input id="sbp_settings[wp_generator]" name="sbp_settings[wp_generator]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['wp_generator'] ) ); ?> />
|
91 |
+
<label for="sbp_settings[wp_generator]"><?php _e( 'Remove the WordPress Version', 'sb-pack' ); ?></label>
|
92 |
</p>
|
93 |
|
94 |
<p>
|
95 |
<input id="sbp_settings[remove_all_feeds]" name="sbp_settings[remove_all_feeds]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['remove_all_feeds'] ) ); ?> />
|
96 |
+
<label for="sbp_settings[remove_all_feeds]"><?php _e( 'Remove all rss feed links', 'sb-pack' ); ?></label>
|
97 |
</p>
|
98 |
|
99 |
</div> <!-- END welcome-panel-column -->
|
136 |
|
137 |
</div> <!-- END welcome-panel-column-container -->
|
138 |
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<div style="display: block;" class="postbox closed" id="tiguan2">
|
143 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><?php _e( 'Exclude scripts from being moved to the footer', 'sb-pack' ); ?></h3>
|
144 |
+
<div class="inside">
|
145 |
+
|
146 |
+
<div class="sbp-inline-wrap">
|
147 |
+
<div class="sbp-columns1">
|
148 |
+
|
149 |
+
<h4><?php _e( 'Script Handle', 'sb-pack' ); ?></h4>
|
150 |
+
|
151 |
+
<p>
|
152 |
+
<input type="text" name="sbp_js_footer_exceptions1" id="sbp_js_footer_exceptions1" value="<?php echo $js_footer_exceptions1; ?>" />
|
153 |
+
</p>
|
154 |
+
|
155 |
+
<p>
|
156 |
+
<input type="text" name="sbp_js_footer_exceptions2" id="sbp_js_footer_exceptions2" value="<?php echo $js_footer_exceptions2; ?>" />
|
157 |
+
</p>
|
158 |
+
|
159 |
+
<p>
|
160 |
+
<input type="text" name="sbp_js_footer_exceptions3" id="sbp_js_footer_exceptions3" value="<?php echo $js_footer_exceptions3; ?>" />
|
161 |
+
</p>
|
162 |
+
|
163 |
+
<p>
|
164 |
+
<input type="text" name="sbp_js_footer_exceptions4" id="sbp_js_footer_exceptions4" value="<?php echo $js_footer_exceptions4; ?>" />
|
165 |
+
</p>
|
166 |
+
|
167 |
+
|
168 |
+
</div>
|
169 |
+
|
170 |
+
<div class="sbp-columns2">
|
171 |
+
|
172 |
+
<h4><?php _e( 'Copy the HTML code of the script from your page source and add it below', 'sb-pack' ); ?></h4>
|
173 |
+
|
174 |
+
|
175 |
+
<p>
|
176 |
+
<input type="text" name="sbp_head_html_script1" id="sbp_head_html_script1" class="regular-text" value="<?php echo $sbp_html_script1; ?>" />
|
177 |
+
</p>
|
178 |
+
|
179 |
+
<p>
|
180 |
+
<input type="text" name="sbp_head_html_script2" id="sbp_head_html_script2" class="regular-text" value="<?php echo $sbp_html_script2; ?>" />
|
181 |
+
</p>
|
182 |
+
|
183 |
+
<p>
|
184 |
+
<input type="text" name="sbp_head_html_script3" id="sbp_head_html_script3" class="regular-text" value="<?php echo $sbp_html_script3; ?>" />
|
185 |
+
</p>
|
186 |
+
|
187 |
+
<p>
|
188 |
+
<input type="text" name="sbp_head_html_script4" id="sbp_head_html_script4" class="regular-text" value="<?php echo $sbp_html_script4; ?>" />
|
189 |
+
</p>
|
190 |
+
|
191 |
+
</div>
|
192 |
+
</div>
|
193 |
+
|
194 |
+
<p class="description">
|
195 |
+
<?php _e('Enter one js handle per text field, in the left area and the correspondent html script in the right text fields.', 'sb-pack' ); ?> <?php _e( 'Read more', 'sb-pack' ); ?> <a href="http://tiguandesign.com/docs/speed-booster/#exclude-scripts-from-being-moved-to-the-footer-50" target="_blank" title="Documentation"><?php _e( 'detailed instructions', 'sb-pack' ); ?></a> <?php _e( 'on this option on plugin documentation.', 'sb-pack' ); ?> <br /> <?php _e( 'If you want to exclude more than 4 scripts, your page score will be hit and therefore the use of "Move scripts to footer" option will become useless so you can disable it.', 'sb-pack' ); ?>
|
196 |
+
</p>
|
197 |
+
<div class="td-border-last"></div>
|
198 |
+
|
199 |
+
<p>
|
200 |
+
<h4 class="hndle"><?php _e( 'As a guidance, here is a list of script handles and script paths of each enqueued script detected by our plugin:', 'sb-pack' ); ?></h4>
|
201 |
+
</p>
|
202 |
+
|
203 |
+
<div class="sbp-all-enqueued">
|
204 |
+
|
205 |
+
<div class="sbp-div-head">
|
206 |
+
<div class="sbp-title-scripts"><?php _e('Script Handle', 'sb-pack' ); ?></div>
|
207 |
+
<div class="sbp-title-scripts"><?php _e('Script Path', 'sb-pack' ); ?></div>
|
208 |
+
</div>
|
209 |
+
|
210 |
+
<div class="sbp-inline-wrap">
|
211 |
+
|
212 |
+
<div class="sbp-columns1 sbp-width">
|
213 |
+
<?php echo get_option( 'all_theme_scripts_handle' ) ; ?>
|
214 |
+
</div>
|
215 |
+
|
216 |
+
<div class="sbp-columns2 sbp-width">
|
217 |
+
<?php echo get_option( 'all_theme_scripts_src' ) ; ?>
|
218 |
+
</div>
|
219 |
+
|
220 |
+
|
221 |
+
</div>
|
222 |
+
|
223 |
+
</div>
|
224 |
+
<p class="description">
|
225 |
+
<?php _e('*The list may be incomplete in some circumstances.', 'sb-pack' ); ?>
|
226 |
+
</p>
|
227 |
+
</div>
|
228 |
+
</div>
|
229 |
+
|
230 |
+
|
231 |
+
|
232 |
+
<div style="display: block;" class="postbox closed" id="tiguan3">
|
233 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><?php _e( 'Exclude scripts from being deferred', 'sb-pack' ); ?></h3>
|
234 |
+
<div class="inside">
|
235 |
+
|
236 |
+
<div class="sbp-inline-wrap">
|
237 |
+
|
238 |
+
<p>
|
239 |
+
<input type="text" class="sbp-more-width" name="sbp_defer_exceptions1" id="sbp_defer_exceptions1" value="<?php echo $defer_exceptions1; ?>" />
|
240 |
+
</p>
|
241 |
+
|
242 |
+
<p>
|
243 |
+
<input type="text" class="sbp-more-width" name="sbp_defer_exceptions2" id="sbp_defer_exceptions2" value="<?php echo $defer_exceptions2; ?>" />
|
244 |
+
</p>
|
245 |
+
|
246 |
+
<p>
|
247 |
+
<input type="text" class="sbp-more-width" name="sbp_defer_exceptions3" id="sbp_defer_exceptions3" value="<?php echo $defer_exceptions3; ?>" />
|
248 |
+
</p>
|
249 |
+
|
250 |
+
<p>
|
251 |
+
<input type="text" class="sbp-more-width" name="sbp_defer_exceptions4" id="sbp_defer_exceptions4" value="<?php echo $defer_exceptions4; ?>" />
|
252 |
+
</p>
|
253 |
+
|
254 |
+
|
255 |
+
</div>
|
256 |
+
<p class="description">
|
257 |
+
<?php _e('Enter one by text field, the final part of the js files that you want to be excluded from defer parsing option. For example: <code>jquery.min.js</code> If you want to exclude more than 4 scripts, your page score will be hit and therefore the use of "Defer parsing of javascript files" option will become useless so you can disable it', 'sb-pack' ); ?>
|
258 |
+
</p>
|
259 |
+
|
260 |
+
</div>
|
261 |
+
</div>
|
262 |
+
|
263 |
+
|
264 |
+
<div style="display: block;" class="postbox closed" id="tiguan4">
|
265 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><?php _e( 'Change the default image compression level', 'sb-pack' ); ?></h3>
|
266 |
+
<div class="inside">
|
267 |
+
|
268 |
|
|
|
269 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
<script type='text/javascript'>
|
271 |
var jpegCompression = '<?php echo $this->image_compression; ?>';
|
272 |
</script>
|
284 |
|
285 |
<p class="description">
|
286 |
<?php _e( 'The default image compression setting in WordPress is 90%. Compressing your images further than the default will make your file sizes even smaller and will boost your site performance.', 'sb-pack' ); ?><br />
|
287 |
+
</p>
|
288 |
+
<p class="description">
|
289 |
<?php _e( 'Note that any changes you make will only affect new images uploaded to your site. If you want to update all of your images with the new sizes, install and run the Regenerate Thumbnails plugin. As a reference, a lower level of compression means more performance. We recommend you choose a compression level between 50 and 75.', 'sb-pack' ); ?>
|
290 |
</p>
|
291 |
|
292 |
</div>
|
293 |
|
294 |
+
</div>
|
295 |
+
</div>
|
296 |
+
|
297 |
+
|
298 |
+
<div style="display: block;" class="postbox closed" id="tiguan5">
|
299 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><?php _e( 'Still need more speed?', 'sb-pack' ); ?></h3>
|
300 |
+
<div class="inside">
|
301 |
|
|
|
302 |
|
303 |
<p>
|
304 |
<input id="sbp_css_async" name="sbp_settings[sbp_css_async]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['sbp_css_async'] ) ); ?> />
|
325 |
<label for="sbp_settings[sbp_is_mobile]"><?php _e( 'Disable all above CSS options on mobile devices', 'sb-pack' ); ?></label>
|
326 |
</p>
|
327 |
|
328 |
+
<div class="td-border-last"></div>
|
329 |
+
|
330 |
+
<h4><?php _e( 'Exclude styles from asynchronously option: ', 'sb-pack' ); ?></h4>
|
331 |
+
<p><textarea cols="50" rows="3" name="sbp_css_exceptions" id="sbp_css_exceptions" value="<?php echo $css_exceptions; ?>" /><?php echo $css_exceptions; ?></textarea></p>
|
332 |
+
<p class="description">
|
333 |
+
<?php _e('Enter one by line, the handles of css files or the final part of the style URL. For example: <code>font-awesome</code> or <code>font-awesome.min.css</code>', 'sb-pack' ); ?>
|
334 |
</p>
|
335 |
|
336 |
+
|
337 |
<div class="td-border-last"></div>
|
338 |
|
339 |
+
<p>
|
340 |
+
<h4 class="hndle"><?php _e( 'As a guidance, here is a list of css handles of each enqueued style detected by our plugin:', 'sb-pack' ); ?></h4>
|
341 |
+
</p>
|
342 |
+
|
343 |
+
<div class="sbp-all-enqueued">
|
344 |
+
|
345 |
+
<div class="sbp-div-head">
|
346 |
+
<div class="sbp-title-scripts"><?php _e('CSS Handle', 'sb-pack' ); ?></div>
|
347 |
+
</div>
|
348 |
+
|
349 |
+
<div class="sbp-inline-wrap">
|
350 |
+
<div class="sbp-columns1 sbp-width">
|
351 |
+
<?php echo get_option( 'all_theme_styles_handle' ) ; ?>
|
352 |
+
</div>
|
353 |
+
</div>
|
354 |
+
|
355 |
+
</div>
|
356 |
+
|
357 |
<p class="description">
|
358 |
+
<?php _e('*The list may be incomplete in some circumstances.', 'sb-pack' ); ?>
|
359 |
</p>
|
360 |
|
361 |
+
|
362 |
+
|
363 |
<div class="td-border-last"></div>
|
364 |
<h4 class="sbp-icon-information"><?php _e( 'Additional information:', 'sb-pack' ); ?></h4>
|
365 |
<p class ="description"><strong><?php _e( 'Insert all CSS styles inline to the footer: ', 'sb-pack' ); ?></strong><?php _e( 'this option will eliminate render-blocking CSS warning in Google Page Speed test. If there is something broken after activation, you need to disable this option. Please note that before enabling this sensitive option, it is strongly recommended that you also enable the "Move scripts to the footer" option.', 'sb-pack' ); ?></p>
|
|
|
|
|
366 |
|
367 |
+
</div>
|
368 |
+
</div>
|
369 |
</div><!-- END sbp-radio-content -->
|
370 |
</div><!-- END sbp-css-content -->
|
371 |
|
372 |
+
|
|
|
373 |
|
374 |
<?php submit_button() ?>
|
375 |
|
426 |
</div> <!-- end sbp-box div 2 -->
|
427 |
|
428 |
<!-- END docs and version areas -->
|
429 |
+
</div>
|
430 |
+
</div>
|
431 |
+
</div>
|
432 |
</div> <!-- END sb-pack-->
|
433 |
|
434 |
+
</div> <!-- end wrap div -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/post-tabs-edit.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).on('ready', function($){
|
2 |
+
postboxes.save_state = function(){
|
3 |
+
return;
|
4 |
+
};
|
5 |
+
postboxes.save_order = function(){
|
6 |
+
return;
|
7 |
+
};
|
8 |
+
postboxes.add_postbox_toggles();
|
9 |
+
});
|
js/sbp-hide.js
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if (typeof (jQuery) != 'undefined') {
|
2 |
+
jQuery(document).ready(function () {
|
3 |
+
validate();
|
4 |
+
jQuery('input').change(function () {
|
5 |
+
validate();
|
6 |
+
})
|
7 |
+
});
|
8 |
+
|
9 |
+
function validate() {
|
10 |
+
if (jQuery('input[id=sbp_css_async]').is(':checked')) {
|
11 |
+
jQuery('#sbp-css-content').show();
|
12 |
+
} else {
|
13 |
+
jQuery('#sbp-css-content').hide();
|
14 |
+
}
|
15 |
+
}
|
16 |
+
}
|
js/sbp-slide.js
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function () {
|
2 |
+
jQuery(".sbp-slider").slider({
|
3 |
+
value: jpegCompression,
|
4 |
+
min: 0,
|
5 |
+
max: 100,
|
6 |
+
step: 1,
|
7 |
+
slide: function (event, ui) {
|
8 |
+
jQuery(".sbp-amount").val(ui.value);
|
9 |
+
jQuery("#sbp_integer").val(ui.value);
|
10 |
+
}
|
11 |
+
});
|
12 |
+
jQuery(".sbp-amount").val(jQuery(".sbp-slider").slider("value"));
|
13 |
+
});
|
lang/ro_RO.mo
CHANGED
Binary file
|
lang/ro_RO.po
CHANGED
@@ -10,128 +10,208 @@ msgstr ""
|
|
10 |
"Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Language: en\n"
|
13 |
-
"X-Generator: Poedit 1.6.
|
|
|
14 |
"X-Poedit-KeywordsList: _e;__\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
|
|
17 |
|
18 |
#. Text in echo
|
19 |
-
#: speed-booster-pack/inc/template/options.php:
|
20 |
msgid " with guidelines to enhance your website performance."
|
21 |
msgstr "care conţine îndrumari pentru a îmbunătăți performanța site-ul tău."
|
22 |
|
23 |
#. Text in echo
|
24 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
25 |
msgid "Active Plugins:"
|
26 |
msgstr "Pluginuri Active:"
|
27 |
|
28 |
#. Text in echo
|
29 |
-
#: speed-booster-pack/inc/template/options.php:
|
30 |
msgid "Additional information:"
|
31 |
msgstr "Informaţii suplimentare:"
|
32 |
|
33 |
#. Text in echo
|
34 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Boost Your Website Speed!"
|
36 |
msgstr "Sporeşte-ţi viteza site-ului!"
|
37 |
|
38 |
#. Text in echo
|
39 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
40 |
msgid "Change the default image compression level"
|
41 |
msgstr "Schimbă nivelul de compresie al imaginilor"
|
42 |
|
43 |
#. Text in echo
|
44 |
-
#: speed-booster-pack/inc/template/options.php:
|
45 |
msgid "Compression level:"
|
46 |
msgstr "Nivelul de compresie:"
|
47 |
|
48 |
#. Text in echo
|
49 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Defer parsing of javascript files"
|
51 |
msgstr "Amână analizarea fişierelor javascript"
|
52 |
|
53 |
#. Text in echo
|
54 |
-
#: speed-booster-pack/inc/template/options.php:
|
55 |
msgid "Disable all above CSS options on mobile devices"
|
56 |
msgstr ""
|
57 |
"Dezactivează toate opţiunile CSS de mai sus pentru dispozitivele mobile"
|
58 |
|
59 |
#. Text in echo
|
60 |
-
#: speed-booster-pack/inc/template/options.php:
|
61 |
-
msgid "
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
#. Text in echo
|
65 |
-
#: speed-booster-pack/inc/template/options.php:
|
66 |
-
msgid "
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
#. Text in echo
|
70 |
-
#: speed-booster-pack/inc/template/options.php:
|
71 |
msgid ""
|
72 |
-
"Enter one
|
73 |
-
"
|
74 |
msgstr ""
|
75 |
-
"Introdu
|
76 |
-
"ului
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
#. Text in echo
|
79 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
80 |
msgid "Exclude styles from asynchronously option: "
|
81 |
-
msgstr "Exclude stiluri
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
#. Text in echo
|
84 |
-
#: speed-booster-pack/inc/template/options.php:
|
85 |
msgid "Home Page Load Stats"
|
86 |
msgstr "Încărcarea paginii de bază"
|
87 |
|
88 |
#. Text in echo
|
89 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
msgid "Insert all CSS styles inline to the footer"
|
91 |
msgstr "Mută toate stilurile CSS în linie în footer"
|
92 |
|
93 |
#. Text in echo
|
94 |
-
#: speed-booster-pack/inc/template/options.php:
|
95 |
msgid "Insert all CSS styles inline to the footer: "
|
96 |
msgstr "Mută toate stilurile CSS în linie în footer:"
|
97 |
|
98 |
#. Text in echo
|
99 |
-
#: speed-booster-pack/inc/template/options.php:
|
100 |
msgid "Installed Version:"
|
101 |
msgstr "Versiunea instalată:"
|
102 |
|
103 |
#. Text in echo
|
104 |
-
#: speed-booster-pack/inc/template/options.php:
|
105 |
-
msgid "Lazy load images to improve
|
106 |
msgstr "Întârzie încărcarea imaginilor"
|
107 |
|
108 |
#. Text in echo
|
109 |
-
#: speed-booster-pack/inc/template/options.php:
|
110 |
msgid "Load CSS asynchronously"
|
111 |
msgstr "Încărcare CSS în mod asincron"
|
112 |
|
113 |
#. Text in echo
|
114 |
-
#: speed-booster-pack/inc/template/options.php:
|
115 |
msgid "Load JS from Google Libraries"
|
116 |
msgstr "Încarcă JS din Google Libraries"
|
117 |
|
118 |
#. Text in echo
|
119 |
-
#: speed-booster-pack/inc/template/options.php:
|
120 |
msgid "Main plugin options"
|
121 |
msgstr "Opţiunile principale"
|
122 |
|
123 |
#. Text in echo
|
124 |
-
#: speed-booster-pack/inc/template/options.php:
|
125 |
msgid "Minify all CSS styles"
|
126 |
msgstr "Comprimă toate fişierele CSS"
|
127 |
|
128 |
#. Text in echo
|
129 |
-
#: speed-booster-pack/inc/template/options.php:
|
130 |
msgid "Move scripts to the footer"
|
131 |
msgstr "Muta script-uri in footer"
|
132 |
|
133 |
#. Text in echo
|
134 |
-
#: speed-booster-pack/inc/template/options.php:
|
135 |
msgid ""
|
136 |
"Note that any changes you make will only affect new images uploaded to your "
|
137 |
"site. If you want to update all of your images with the new sizes, install "
|
@@ -147,82 +227,98 @@ msgstr ""
|
|
147 |
"de compresie cu valorea cuprinsă între 50 şi 75."
|
148 |
|
149 |
#. Text in echo
|
150 |
-
#: speed-booster-pack/inc/template/options.php:
|
151 |
msgid "Number of executed queries:"
|
152 |
msgstr "Numărul de interogări (queries) executate:"
|
153 |
|
154 |
#. Text in echo
|
155 |
-
#: speed-booster-pack/inc/template/options.php:
|
156 |
msgid "Page loading time in seconds:"
|
157 |
msgstr "Timpul de încărcare a paginii în secunde:"
|
158 |
|
159 |
#. Text in echo
|
160 |
-
#: speed-booster-pack/inc/template/options.php:
|
161 |
msgid "Peak Memory Used:"
|
162 |
msgstr "Memoria folosită"
|
163 |
|
164 |
#. Text in echo
|
165 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
166 |
msgid "Read online plugin documentation"
|
167 |
msgstr "Citeşte online documentaţia pluginului"
|
168 |
|
169 |
#. Text in echo
|
170 |
-
#: speed-booster-pack/inc/template/options.php:
|
171 |
msgid "Released date:"
|
172 |
msgstr "Data lansării:"
|
173 |
|
174 |
#. Text in echo
|
175 |
-
#: speed-booster-pack/inc/template/options.php:
|
176 |
msgid "Remove Adjacent Posts Links"
|
177 |
msgstr "Elimină Adjacent Posts Links"
|
178 |
|
179 |
#. Text in echo
|
180 |
-
#: speed-booster-pack/inc/template/options.php:
|
181 |
msgid "Remove RSD Link"
|
182 |
msgstr "Elimină linkul RSD"
|
183 |
|
184 |
#. Text in echo
|
185 |
-
#: speed-booster-pack/inc/template/options.php:
|
186 |
-
msgid "Remove Windows
|
187 |
-
msgstr "Elimină Windows
|
188 |
|
189 |
#. Text in echo
|
190 |
-
#: speed-booster-pack/inc/template/options.php:
|
191 |
msgid "Remove WordPress Shortlink"
|
192 |
msgstr "Elimină WordPress Shortlink"
|
193 |
|
194 |
#. Text in echo
|
195 |
-
#: speed-booster-pack/inc/template/options.php:
|
196 |
-
msgid "Remove all rss feed links
|
197 |
msgstr "Elimină toate link-urile RSS feed"
|
198 |
|
199 |
#. Text in echo
|
200 |
-
#: speed-booster-pack/inc/template/options.php:
|
201 |
msgid "Remove junk header tags"
|
202 |
msgstr "Elimină tag-urile inutile din header"
|
203 |
|
204 |
#. Text in echo
|
205 |
-
#: speed-booster-pack/inc/template/options.php:
|
206 |
-
msgid "Remove query strings
|
207 |
-
msgstr "Elimină versiunea
|
208 |
|
209 |
#. Text in echo
|
210 |
-
#: speed-booster-pack/inc/template/options.php:
|
211 |
-
msgid "Remove the WordPress Version
|
212 |
-
msgstr "Elimină
|
213 |
|
214 |
#. Text in echo
|
215 |
-
#: speed-booster-pack/inc/template/options.php:
|
216 |
-
msgid "Removes extra Font Awesome
|
217 |
msgstr "Elimină extra Font Awesome CSS"
|
218 |
|
219 |
#. Text in echo
|
220 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
msgid "Still need more speed?"
|
222 |
msgstr "Încă ai nevoie de mai multă viteză?"
|
223 |
|
224 |
#. Text in echo
|
225 |
-
#: speed-booster-pack/inc/template/options.php:
|
226 |
msgid ""
|
227 |
"The default image compression setting in WordPress is 90%. Compressing your "
|
228 |
"images further than the default will make your file sizes even smaller and "
|
@@ -233,45 +329,37 @@ msgstr ""
|
|
233 |
"micşora dimensiunile fişierelor şi va stimula performanta site-ului tău."
|
234 |
|
235 |
#. Text in echo
|
236 |
-
#: speed-booster-pack/inc/template/options.php:
|
237 |
msgid "Version Information"
|
238 |
msgstr "Informaţii despre versiune"
|
239 |
|
240 |
#. Text in echo
|
241 |
-
#: speed-booster-pack/inc/template/options.php:
|
242 |
msgid "What do these settings mean?"
|
243 |
msgstr "Ce reprezintă toate aceste opţiuni?"
|
244 |
|
245 |
#. Text in echo
|
246 |
-
#: speed-booster-pack/inc/template/options.php:
|
247 |
-
msgid ""
|
248 |
-
"
|
249 |
-
"flash of unstyled content(FOUC), i.e. first it shows your site content as "
|
250 |
-
"though it has not styles then the styled content appear after a very short "
|
251 |
-
"time (half of second or so). Enabling this option could eliminate this "
|
252 |
-
"unwanted effect. Please note that this is a beta option so if there is "
|
253 |
-
"something broken after activation, you need to disable this option."
|
254 |
-
msgstr ""
|
255 |
-
"mutând toate stilurile CSS în footer ar putea crea un efect nedorit denumit "
|
256 |
-
"FOUC. De exemplu, la încărcarea site-ului în primele milisecunde, site-ul va "
|
257 |
-
"arăta ca şi cum nu conţine stiluri, conţinutul cu stil apărând după un "
|
258 |
-
"foarte scurt timp.. Activând această opţiune ar putea elimina acest efect "
|
259 |
-
"nedorit. Te rog să notezi că această opţiune este experimentală aşa că dacă "
|
260 |
-
"observi că ceva nu merge după activare, va trebui să dezactivezi această "
|
261 |
-
"opţiune."
|
262 |
|
263 |
#. Text in echo
|
264 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
265 |
msgid "q"
|
266 |
msgstr "q"
|
267 |
|
268 |
#. Text in echo
|
269 |
-
#: speed-booster-pack/inc/template/options.php:
|
270 |
msgid "s"
|
271 |
-
msgstr "
|
272 |
|
273 |
#. Text in echo
|
274 |
-
#: speed-booster-pack/inc/template/options.php:
|
275 |
msgid ""
|
276 |
"this option will eliminate render-blocking CSS warning in Google Page Speed "
|
277 |
"test. If there is something broken after activation, you need to disable "
|
10 |
"Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Language: en\n"
|
13 |
+
"X-Generator: Poedit 1.6.7\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: _e;__\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
"X-Poedit-SearchPath-1: ...\n"
|
19 |
|
20 |
#. Text in echo
|
21 |
+
#: speed-booster-pack/inc/template/options.php:399
|
22 |
msgid " with guidelines to enhance your website performance."
|
23 |
msgstr "care conţine îndrumari pentru a îmbunătăți performanța site-ul tău."
|
24 |
|
25 |
#. Text in echo
|
26 |
+
#: speed-booster-pack/inc/template/options.php:360
|
27 |
+
msgid "*The list may be incomplete in some circumstances."
|
28 |
+
msgstr "* Lista poate fi incompletă în anumite circumstanțe."
|
29 |
+
|
30 |
+
#. Text in echo
|
31 |
+
#: speed-booster-pack/inc/template/options.php:132
|
32 |
msgid "Active Plugins:"
|
33 |
msgstr "Pluginuri Active:"
|
34 |
|
35 |
#. Text in echo
|
36 |
+
#: speed-booster-pack/inc/template/options.php:367
|
37 |
msgid "Additional information:"
|
38 |
msgstr "Informaţii suplimentare:"
|
39 |
|
40 |
#. Text in echo
|
41 |
+
#: speed-booster-pack/inc/template/options.php:342
|
42 |
+
msgid ""
|
43 |
+
"As a guidance, here is a list of css handles of each enqueued style detected "
|
44 |
+
"by our plugin:"
|
45 |
+
msgstr ""
|
46 |
+
"Orientativ, aici este o listă cu toate handle-urile CSS detectate de "
|
47 |
+
"pluginul nostru:"
|
48 |
+
|
49 |
+
#. Text in echo
|
50 |
+
#: speed-booster-pack/inc/template/options.php:200
|
51 |
+
msgid ""
|
52 |
+
"As a guidance, here is a list of script handles and script paths of each "
|
53 |
+
"enqueued script detected by our plugin:"
|
54 |
+
msgstr ""
|
55 |
+
"Orientativ, aici este o listă cu toate handle-urile JS si calea acestora, "
|
56 |
+
"detectate de pluginul nostru:"
|
57 |
+
|
58 |
+
#. Text in echo
|
59 |
+
#: speed-booster-pack/inc/template/options.php:19
|
60 |
msgid "Boost Your Website Speed!"
|
61 |
msgstr "Sporeşte-ţi viteza site-ului!"
|
62 |
|
63 |
#. Text in echo
|
64 |
+
#: speed-booster-pack/inc/template/options.php:348
|
65 |
+
msgid "CSS Handle"
|
66 |
+
msgstr "Handle pentru CSS"
|
67 |
+
|
68 |
+
#. Text in echo
|
69 |
+
#: speed-booster-pack/inc/template/options.php:265
|
70 |
msgid "Change the default image compression level"
|
71 |
msgstr "Schimbă nivelul de compresie al imaginilor"
|
72 |
|
73 |
#. Text in echo
|
74 |
+
#: speed-booster-pack/inc/template/options.php:277
|
75 |
msgid "Compression level:"
|
76 |
msgstr "Nivelul de compresie:"
|
77 |
|
78 |
#. Text in echo
|
79 |
+
#: speed-booster-pack/inc/template/options.php:172
|
80 |
+
msgid "Copy the HTML code of the script from your page source and add it below"
|
81 |
+
msgstr ""
|
82 |
+
"Copiaţi codul HTML al script-ului din sursa paginii, şi adăugaţi-l mai jos"
|
83 |
+
|
84 |
+
#. Text in echo
|
85 |
+
#: speed-booster-pack/inc/template/options.php:45
|
86 |
msgid "Defer parsing of javascript files"
|
87 |
msgstr "Amână analizarea fişierelor javascript"
|
88 |
|
89 |
#. Text in echo
|
90 |
+
#: speed-booster-pack/inc/template/options.php:325
|
91 |
msgid "Disable all above CSS options on mobile devices"
|
92 |
msgstr ""
|
93 |
"Dezactivează toate opţiunile CSS de mai sus pentru dispozitivele mobile"
|
94 |
|
95 |
#. Text in echo
|
96 |
+
#: speed-booster-pack/inc/template/options.php:333
|
97 |
+
msgid ""
|
98 |
+
"Enter one by line, the handles of css files or the final part of the style "
|
99 |
+
"URL. For example: <code>font-awesome</code> or <code>font-awesome.min.css</"
|
100 |
+
"code>"
|
101 |
+
msgstr ""
|
102 |
+
"Introdu câte una pe linie, denumirile fişierelor CSS sau partea finală a URL-"
|
103 |
+
"ului acestora. De exemplu: <code>font-awesome</code> sau <code>font-awesome."
|
104 |
+
"min.css</code>"
|
105 |
|
106 |
#. Text in echo
|
107 |
+
#: speed-booster-pack/inc/template/options.php:257
|
108 |
+
msgid ""
|
109 |
+
"Enter one by text field, the final part of the js files that you want to be "
|
110 |
+
"excluded from defer parsing option. For example: <code>jquery.min.js</code> "
|
111 |
+
"If you want to exclude more than 4 scripts, your page score will be hit and "
|
112 |
+
"therefore the use of \"Defer parsing of javascript files\" option will "
|
113 |
+
"become useless so you can disable it"
|
114 |
+
msgstr ""
|
115 |
+
"Introdu câte una pe linie, partea finală a fişierelor JS pe care vrei să le "
|
116 |
+
"excluzi de la opţiunea \"Amână analizarea fişierelor javascript\" De "
|
117 |
+
"exemplu: <code>jquery.min.js</code> Dacă doreşti să excluzi mai mult de 4 "
|
118 |
+
"script-uri, scorul pagini va avea de suferit şi, prin urmare, utilizarea "
|
119 |
+
"opţiunii \"Amână analizarea fişierelor javascript \" va deveni inutilă, şi "
|
120 |
+
"o poţi dezactiva."
|
121 |
|
122 |
#. Text in echo
|
123 |
+
#: speed-booster-pack/inc/template/options.php:195
|
124 |
msgid ""
|
125 |
+
"Enter one js handle per text field, in the left area and the corespondent "
|
126 |
+
"html script in the right text fields."
|
127 |
msgstr ""
|
128 |
+
"Introdu un handle js pe câte un câmp text, în zona din stânga şi codul HTML "
|
129 |
+
"al script-ului corespondent în câmpurile text din dreapta."
|
130 |
+
|
131 |
+
#. Text in echo
|
132 |
+
#: speed-booster-pack/inc/template/options.php:233
|
133 |
+
msgid "Exclude scripts from being deferred"
|
134 |
+
msgstr ""
|
135 |
+
"Exclude script-uri de la opţiunea \"Amână analizarea fişierelor javascript\""
|
136 |
|
137 |
#. Text in echo
|
138 |
+
#: speed-booster-pack/inc/template/options.php:143
|
139 |
+
msgid "Exclude scripts from being moved to the footer"
|
140 |
+
msgstr "Exclude script-uri de la opţiunea \"Muta script-uri in footer\""
|
141 |
+
|
142 |
+
#. Text in echo
|
143 |
+
#: speed-booster-pack/inc/template/options.php:330
|
144 |
msgid "Exclude styles from asynchronously option: "
|
145 |
+
msgstr "Exclude stiluri de la opţiunea \"Încărcare CSS în mod asincron\""
|
146 |
+
|
147 |
+
#. Text in echo
|
148 |
+
#: speed-booster-pack/inc/template/options.php:23
|
149 |
+
msgid "General options"
|
150 |
+
msgstr "Opţiuni Generale"
|
151 |
|
152 |
#. Text in echo
|
153 |
+
#: speed-booster-pack/inc/template/options.php:104
|
154 |
msgid "Home Page Load Stats"
|
155 |
msgstr "Încărcarea paginii de bază"
|
156 |
|
157 |
#. Text in echo
|
158 |
+
#: speed-booster-pack/inc/template/options.php:195
|
159 |
+
msgid ""
|
160 |
+
"If you want to exclude more than 4 scripts, your page score will be hit and "
|
161 |
+
"therefore the use of \"Move scripts to footer\" option will become useless "
|
162 |
+
"so you can disable it."
|
163 |
+
msgstr ""
|
164 |
+
"Dacă doreşti să excluzi mai mult de 4 script-uri, scorul paginii va avea de "
|
165 |
+
"suferit şi, prin urmare, utilizarea opţiunii \"Mută script-uri în footer \" "
|
166 |
+
"va deveni inutilă, şi o poţi dezactiva."
|
167 |
+
|
168 |
+
#. Text in echo
|
169 |
+
#: speed-booster-pack/inc/template/options.php:320
|
170 |
msgid "Insert all CSS styles inline to the footer"
|
171 |
msgstr "Mută toate stilurile CSS în linie în footer"
|
172 |
|
173 |
#. Text in echo
|
174 |
+
#: speed-booster-pack/inc/template/options.php:368
|
175 |
msgid "Insert all CSS styles inline to the footer: "
|
176 |
msgstr "Mută toate stilurile CSS în linie în footer:"
|
177 |
|
178 |
#. Text in echo
|
179 |
+
#: speed-booster-pack/inc/template/options.php:416
|
180 |
msgid "Installed Version:"
|
181 |
msgstr "Versiunea instalată:"
|
182 |
|
183 |
#. Text in echo
|
184 |
+
#: speed-booster-pack/inc/template/options.php:55
|
185 |
+
msgid "Lazy load images to improve speed"
|
186 |
msgstr "Întârzie încărcarea imaginilor"
|
187 |
|
188 |
#. Text in echo
|
189 |
+
#: speed-booster-pack/inc/template/options.php:305
|
190 |
msgid "Load CSS asynchronously"
|
191 |
msgstr "Încărcare CSS în mod asincron"
|
192 |
|
193 |
#. Text in echo
|
194 |
+
#: speed-booster-pack/inc/template/options.php:40
|
195 |
msgid "Load JS from Google Libraries"
|
196 |
msgstr "Încarcă JS din Google Libraries"
|
197 |
|
198 |
#. Text in echo
|
199 |
+
#: speed-booster-pack/inc/template/options.php:31
|
200 |
msgid "Main plugin options"
|
201 |
msgstr "Opţiunile principale"
|
202 |
|
203 |
#. Text in echo
|
204 |
+
#: speed-booster-pack/inc/template/options.php:313
|
205 |
msgid "Minify all CSS styles"
|
206 |
msgstr "Comprimă toate fişierele CSS"
|
207 |
|
208 |
#. Text in echo
|
209 |
+
#: speed-booster-pack/inc/template/options.php:35
|
210 |
msgid "Move scripts to the footer"
|
211 |
msgstr "Muta script-uri in footer"
|
212 |
|
213 |
#. Text in echo
|
214 |
+
#: speed-booster-pack/inc/template/options.php:289
|
215 |
msgid ""
|
216 |
"Note that any changes you make will only affect new images uploaded to your "
|
217 |
"site. If you want to update all of your images with the new sizes, install "
|
227 |
"de compresie cu valorea cuprinsă între 50 şi 75."
|
228 |
|
229 |
#. Text in echo
|
230 |
+
#: speed-booster-pack/inc/template/options.php:118
|
231 |
msgid "Number of executed queries:"
|
232 |
msgstr "Numărul de interogări (queries) executate:"
|
233 |
|
234 |
#. Text in echo
|
235 |
+
#: speed-booster-pack/inc/template/options.php:106
|
236 |
msgid "Page loading time in seconds:"
|
237 |
msgstr "Timpul de încărcare a paginii în secunde:"
|
238 |
|
239 |
#. Text in echo
|
240 |
+
#: speed-booster-pack/inc/template/options.php:131
|
241 |
msgid "Peak Memory Used:"
|
242 |
msgstr "Memoria folosită"
|
243 |
|
244 |
#. Text in echo
|
245 |
+
#: speed-booster-pack/inc/template/options.php:195
|
246 |
+
msgid "Read more"
|
247 |
+
msgstr "Citeşte mai multe"
|
248 |
+
|
249 |
+
#. Text in echo
|
250 |
+
#: speed-booster-pack/inc/template/options.php:399
|
251 |
msgid "Read online plugin documentation"
|
252 |
msgstr "Citeşte online documentaţia pluginului"
|
253 |
|
254 |
#. Text in echo
|
255 |
+
#: speed-booster-pack/inc/template/options.php:423
|
256 |
msgid "Released date:"
|
257 |
msgstr "Data lansării:"
|
258 |
|
259 |
#. Text in echo
|
260 |
+
#: speed-booster-pack/inc/template/options.php:81
|
261 |
msgid "Remove Adjacent Posts Links"
|
262 |
msgstr "Elimină Adjacent Posts Links"
|
263 |
|
264 |
#. Text in echo
|
265 |
+
#: speed-booster-pack/inc/template/options.php:71
|
266 |
msgid "Remove RSD Link"
|
267 |
msgstr "Elimină linkul RSD"
|
268 |
|
269 |
#. Text in echo
|
270 |
+
#: speed-booster-pack/inc/template/options.php:86
|
271 |
+
msgid "Remove Windows Manifest"
|
272 |
+
msgstr "Elimină Windows Manifest"
|
273 |
|
274 |
#. Text in echo
|
275 |
+
#: speed-booster-pack/inc/template/options.php:76
|
276 |
msgid "Remove WordPress Shortlink"
|
277 |
msgstr "Elimină WordPress Shortlink"
|
278 |
|
279 |
#. Text in echo
|
280 |
+
#: speed-booster-pack/inc/template/options.php:96
|
281 |
+
msgid "Remove all rss feed links"
|
282 |
msgstr "Elimină toate link-urile RSS feed"
|
283 |
|
284 |
#. Text in echo
|
285 |
+
#: speed-booster-pack/inc/template/options.php:67
|
286 |
msgid "Remove junk header tags"
|
287 |
msgstr "Elimină tag-urile inutile din header"
|
288 |
|
289 |
#. Text in echo
|
290 |
+
#: speed-booster-pack/inc/template/options.php:50
|
291 |
+
msgid "Remove query strings"
|
292 |
+
msgstr "Elimină versiunea fisierelor"
|
293 |
|
294 |
#. Text in echo
|
295 |
+
#: speed-booster-pack/inc/template/options.php:91
|
296 |
+
msgid "Remove the WordPress Version"
|
297 |
+
msgstr "Elimină versiunea WordPress"
|
298 |
|
299 |
#. Text in echo
|
300 |
+
#: speed-booster-pack/inc/template/options.php:60
|
301 |
+
msgid "Removes extra Font Awesome styles"
|
302 |
msgstr "Elimină extra Font Awesome CSS"
|
303 |
|
304 |
#. Text in echo
|
305 |
+
#: speed-booster-pack/inc/template/options.php:149
|
306 |
+
#: speed-booster-pack/inc/template/options.php:206
|
307 |
+
msgid "Script Handle"
|
308 |
+
msgstr "Script Handle"
|
309 |
+
|
310 |
+
#. Text in echo
|
311 |
+
#: speed-booster-pack/inc/template/options.php:207
|
312 |
+
msgid "Script Path"
|
313 |
+
msgstr "Calea scriptului"
|
314 |
+
|
315 |
+
#. Text in echo
|
316 |
+
#: speed-booster-pack/inc/template/options.php:299
|
317 |
msgid "Still need more speed?"
|
318 |
msgstr "Încă ai nevoie de mai multă viteză?"
|
319 |
|
320 |
#. Text in echo
|
321 |
+
#: speed-booster-pack/inc/template/options.php:286
|
322 |
msgid ""
|
323 |
"The default image compression setting in WordPress is 90%. Compressing your "
|
324 |
"images further than the default will make your file sizes even smaller and "
|
329 |
"micşora dimensiunile fişierelor şi va stimula performanta site-ului tău."
|
330 |
|
331 |
#. Text in echo
|
332 |
+
#: speed-booster-pack/inc/template/options.php:405
|
333 |
msgid "Version Information"
|
334 |
msgstr "Informaţii despre versiune"
|
335 |
|
336 |
#. Text in echo
|
337 |
+
#: speed-booster-pack/inc/template/options.php:389
|
338 |
msgid "What do these settings mean?"
|
339 |
msgstr "Ce reprezintă toate aceste opţiuni?"
|
340 |
|
341 |
#. Text in echo
|
342 |
+
#: speed-booster-pack/inc/template/options.php:195
|
343 |
+
msgid "detailed instructions"
|
344 |
+
msgstr "instrucţiuni detaliate"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
|
346 |
#. Text in echo
|
347 |
+
#: speed-booster-pack/inc/template/options.php:195
|
348 |
+
msgid "on this option on plugin documentation."
|
349 |
+
msgstr "cu privire la această opţiune în documentaţia puginului."
|
350 |
+
|
351 |
+
#. Text in echo
|
352 |
+
#: speed-booster-pack/inc/template/options.php:126
|
353 |
msgid "q"
|
354 |
msgstr "q"
|
355 |
|
356 |
#. Text in echo
|
357 |
+
#: speed-booster-pack/inc/template/options.php:114
|
358 |
msgid "s"
|
359 |
+
msgstr "q"
|
360 |
|
361 |
#. Text in echo
|
362 |
+
#: speed-booster-pack/inc/template/options.php:368
|
363 |
msgid ""
|
364 |
"this option will eliminate render-blocking CSS warning in Google Page Speed "
|
365 |
"test. If there is something broken after activation, you need to disable "
|
lang/sb-pack.mo
CHANGED
Binary file
|
lang/sb-pack.po
CHANGED
@@ -10,125 +10,187 @@ msgstr ""
|
|
10 |
"Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Language: en\n"
|
13 |
-
"X-Generator: Poedit 1.6.
|
|
|
14 |
"X-Poedit-KeywordsList: _e;__\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
|
|
17 |
|
18 |
#. Text in echo
|
19 |
-
#: speed-booster-pack/inc/template/options.php:
|
20 |
msgid " with guidelines to enhance your website performance."
|
21 |
msgstr ""
|
22 |
|
23 |
#. Text in echo
|
24 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
25 |
msgid "Active Plugins:"
|
26 |
msgstr ""
|
27 |
|
28 |
#. Text in echo
|
29 |
-
#: speed-booster-pack/inc/template/options.php:
|
30 |
msgid "Additional information:"
|
31 |
msgstr ""
|
32 |
|
33 |
#. Text in echo
|
34 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Boost Your Website Speed!"
|
36 |
msgstr ""
|
37 |
|
38 |
#. Text in echo
|
39 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
40 |
msgid "Change the default image compression level"
|
41 |
msgstr ""
|
42 |
|
43 |
#. Text in echo
|
44 |
-
#: speed-booster-pack/inc/template/options.php:
|
45 |
msgid "Compression level:"
|
46 |
msgstr ""
|
47 |
|
48 |
#. Text in echo
|
49 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Defer parsing of javascript files"
|
51 |
msgstr ""
|
52 |
|
53 |
#. Text in echo
|
54 |
-
#: speed-booster-pack/inc/template/options.php:
|
55 |
msgid "Disable all above CSS options on mobile devices"
|
56 |
msgstr ""
|
57 |
|
58 |
#. Text in echo
|
59 |
-
#: speed-booster-pack/inc/template/options.php:
|
60 |
-
msgid "
|
|
|
|
|
|
|
61 |
msgstr ""
|
62 |
|
63 |
#. Text in echo
|
64 |
-
#: speed-booster-pack/inc/template/options.php:
|
65 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
66 |
msgstr ""
|
67 |
|
68 |
#. Text in echo
|
69 |
-
#: speed-booster-pack/inc/template/options.php:
|
70 |
msgid ""
|
71 |
-
"Enter one
|
72 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
msgstr ""
|
74 |
|
75 |
#. Text in echo
|
76 |
-
#: speed-booster-pack/inc/template/options.php:
|
77 |
msgid "Exclude styles from asynchronously option: "
|
78 |
msgstr ""
|
79 |
|
80 |
#. Text in echo
|
81 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
82 |
msgid "Home Page Load Stats"
|
83 |
msgstr ""
|
84 |
|
85 |
#. Text in echo
|
86 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
msgid "Insert all CSS styles inline to the footer"
|
88 |
msgstr ""
|
89 |
|
90 |
#. Text in echo
|
91 |
-
#: speed-booster-pack/inc/template/options.php:
|
92 |
msgid "Insert all CSS styles inline to the footer: "
|
93 |
msgstr ""
|
94 |
|
95 |
#. Text in echo
|
96 |
-
#: speed-booster-pack/inc/template/options.php:
|
97 |
msgid "Installed Version:"
|
98 |
msgstr ""
|
99 |
|
100 |
#. Text in echo
|
101 |
-
#: speed-booster-pack/inc/template/options.php:
|
102 |
-
msgid "Lazy load images to improve
|
103 |
msgstr ""
|
104 |
|
105 |
#. Text in echo
|
106 |
-
#: speed-booster-pack/inc/template/options.php:
|
107 |
msgid "Load CSS asynchronously"
|
108 |
msgstr ""
|
109 |
|
110 |
#. Text in echo
|
111 |
-
#: speed-booster-pack/inc/template/options.php:
|
112 |
msgid "Load JS from Google Libraries"
|
113 |
msgstr ""
|
114 |
|
115 |
#. Text in echo
|
116 |
-
#: speed-booster-pack/inc/template/options.php:
|
117 |
msgid "Main plugin options"
|
118 |
msgstr ""
|
119 |
|
120 |
#. Text in echo
|
121 |
-
#: speed-booster-pack/inc/template/options.php:
|
122 |
msgid "Minify all CSS styles"
|
123 |
msgstr ""
|
124 |
|
125 |
#. Text in echo
|
126 |
-
#: speed-booster-pack/inc/template/options.php:
|
127 |
msgid "Move scripts to the footer"
|
128 |
msgstr ""
|
129 |
|
130 |
#. Text in echo
|
131 |
-
#: speed-booster-pack/inc/template/options.php:
|
132 |
msgid ""
|
133 |
"Note that any changes you make will only affect new images uploaded to your "
|
134 |
"site. If you want to update all of your images with the new sizes, install "
|
@@ -138,82 +200,98 @@ msgid ""
|
|
138 |
msgstr ""
|
139 |
|
140 |
#. Text in echo
|
141 |
-
#: speed-booster-pack/inc/template/options.php:
|
142 |
msgid "Number of executed queries:"
|
143 |
msgstr ""
|
144 |
|
145 |
#. Text in echo
|
146 |
-
#: speed-booster-pack/inc/template/options.php:
|
147 |
msgid "Page loading time in seconds:"
|
148 |
msgstr ""
|
149 |
|
150 |
#. Text in echo
|
151 |
-
#: speed-booster-pack/inc/template/options.php:
|
152 |
msgid "Peak Memory Used:"
|
153 |
msgstr ""
|
154 |
|
155 |
#. Text in echo
|
156 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
157 |
msgid "Read online plugin documentation"
|
158 |
msgstr ""
|
159 |
|
160 |
#. Text in echo
|
161 |
-
#: speed-booster-pack/inc/template/options.php:
|
162 |
msgid "Released date:"
|
163 |
msgstr ""
|
164 |
|
165 |
#. Text in echo
|
166 |
-
#: speed-booster-pack/inc/template/options.php:
|
167 |
msgid "Remove Adjacent Posts Links"
|
168 |
msgstr ""
|
169 |
|
170 |
#. Text in echo
|
171 |
-
#: speed-booster-pack/inc/template/options.php:
|
172 |
msgid "Remove RSD Link"
|
173 |
msgstr ""
|
174 |
|
175 |
#. Text in echo
|
176 |
-
#: speed-booster-pack/inc/template/options.php:
|
177 |
-
msgid "Remove Windows
|
178 |
msgstr ""
|
179 |
|
180 |
#. Text in echo
|
181 |
-
#: speed-booster-pack/inc/template/options.php:
|
182 |
msgid "Remove WordPress Shortlink"
|
183 |
msgstr ""
|
184 |
|
185 |
#. Text in echo
|
186 |
-
#: speed-booster-pack/inc/template/options.php:
|
187 |
-
msgid "Remove all rss feed links
|
188 |
msgstr ""
|
189 |
|
190 |
#. Text in echo
|
191 |
-
#: speed-booster-pack/inc/template/options.php:
|
192 |
msgid "Remove junk header tags"
|
193 |
msgstr ""
|
194 |
|
195 |
#. Text in echo
|
196 |
-
#: speed-booster-pack/inc/template/options.php:
|
197 |
-
msgid "Remove query strings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
msgstr ""
|
199 |
|
200 |
#. Text in echo
|
201 |
-
#: speed-booster-pack/inc/template/options.php:
|
202 |
-
|
|
|
203 |
msgstr ""
|
204 |
|
205 |
#. Text in echo
|
206 |
-
#: speed-booster-pack/inc/template/options.php:
|
207 |
-
msgid "
|
208 |
msgstr ""
|
209 |
|
210 |
#. Text in echo
|
211 |
-
#: speed-booster-pack/inc/template/options.php:
|
212 |
msgid "Still need more speed?"
|
213 |
msgstr ""
|
214 |
|
215 |
#. Text in echo
|
216 |
-
#: speed-booster-pack/inc/template/options.php:
|
217 |
msgid ""
|
218 |
"The default image compression setting in WordPress is 90%. Compressing your "
|
219 |
"images further than the default will make your file sizes even smaller and "
|
@@ -221,38 +299,37 @@ msgid ""
|
|
221 |
msgstr ""
|
222 |
|
223 |
#. Text in echo
|
224 |
-
#: speed-booster-pack/inc/template/options.php:
|
225 |
msgid "Version Information"
|
226 |
msgstr ""
|
227 |
|
228 |
#. Text in echo
|
229 |
-
#: speed-booster-pack/inc/template/options.php:
|
230 |
msgid "What do these settings mean?"
|
231 |
msgstr ""
|
232 |
|
233 |
#. Text in echo
|
234 |
-
#: speed-booster-pack/inc/template/options.php:
|
235 |
-
msgid ""
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
"
|
241 |
-
"something broken after activation, you need to disable this option."
|
242 |
msgstr ""
|
243 |
|
244 |
#. Text in echo
|
245 |
-
#: speed-booster-pack/inc/template/options.php:
|
246 |
msgid "q"
|
247 |
msgstr ""
|
248 |
|
249 |
#. Text in echo
|
250 |
-
#: speed-booster-pack/inc/template/options.php:
|
251 |
msgid "s"
|
252 |
msgstr ""
|
253 |
|
254 |
#. Text in echo
|
255 |
-
#: speed-booster-pack/inc/template/options.php:
|
256 |
msgid ""
|
257 |
"this option will eliminate render-blocking CSS warning in Google Page Speed "
|
258 |
"test. If there is something broken after activation, you need to disable "
|
10 |
"Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Language: en\n"
|
13 |
+
"X-Generator: Poedit 1.6.7\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: _e;__\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
"X-Poedit-SearchPath-1: ...\n"
|
19 |
|
20 |
#. Text in echo
|
21 |
+
#: speed-booster-pack/inc/template/options.php:399
|
22 |
msgid " with guidelines to enhance your website performance."
|
23 |
msgstr ""
|
24 |
|
25 |
#. Text in echo
|
26 |
+
#: speed-booster-pack/inc/template/options.php:360
|
27 |
+
msgid "*The list may be incomplete in some circumstances."
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#. Text in echo
|
31 |
+
#: speed-booster-pack/inc/template/options.php:132
|
32 |
msgid "Active Plugins:"
|
33 |
msgstr ""
|
34 |
|
35 |
#. Text in echo
|
36 |
+
#: speed-booster-pack/inc/template/options.php:367
|
37 |
msgid "Additional information:"
|
38 |
msgstr ""
|
39 |
|
40 |
#. Text in echo
|
41 |
+
#: speed-booster-pack/inc/template/options.php:342
|
42 |
+
msgid ""
|
43 |
+
"As a guidance, here is a list of css handles of each enqueued style detected "
|
44 |
+
"by our plugin:"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#. Text in echo
|
48 |
+
#: speed-booster-pack/inc/template/options.php:200
|
49 |
+
msgid ""
|
50 |
+
"As a guidance, here is a list of script handles and script paths of each "
|
51 |
+
"enqueued script detected by our plugin:"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#. Text in echo
|
55 |
+
#: speed-booster-pack/inc/template/options.php:19
|
56 |
msgid "Boost Your Website Speed!"
|
57 |
msgstr ""
|
58 |
|
59 |
#. Text in echo
|
60 |
+
#: speed-booster-pack/inc/template/options.php:348
|
61 |
+
msgid "CSS Handle"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#. Text in echo
|
65 |
+
#: speed-booster-pack/inc/template/options.php:265
|
66 |
msgid "Change the default image compression level"
|
67 |
msgstr ""
|
68 |
|
69 |
#. Text in echo
|
70 |
+
#: speed-booster-pack/inc/template/options.php:277
|
71 |
msgid "Compression level:"
|
72 |
msgstr ""
|
73 |
|
74 |
#. Text in echo
|
75 |
+
#: speed-booster-pack/inc/template/options.php:172
|
76 |
+
msgid "Copy the HTML code of the script from your page source and add it below"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#. Text in echo
|
80 |
+
#: speed-booster-pack/inc/template/options.php:45
|
81 |
msgid "Defer parsing of javascript files"
|
82 |
msgstr ""
|
83 |
|
84 |
#. Text in echo
|
85 |
+
#: speed-booster-pack/inc/template/options.php:325
|
86 |
msgid "Disable all above CSS options on mobile devices"
|
87 |
msgstr ""
|
88 |
|
89 |
#. Text in echo
|
90 |
+
#: speed-booster-pack/inc/template/options.php:333
|
91 |
+
msgid ""
|
92 |
+
"Enter one by line, the handles of css files or the final part of the style "
|
93 |
+
"URL. For example: <code>font-awesome</code> or <code>font-awesome.min.css</"
|
94 |
+
"code>"
|
95 |
msgstr ""
|
96 |
|
97 |
#. Text in echo
|
98 |
+
#: speed-booster-pack/inc/template/options.php:257
|
99 |
+
msgid ""
|
100 |
+
"Enter one by text field, the final part of the js files that you want to be "
|
101 |
+
"excluded from defer parsing option. For example: <code>jquery.min.js</code> "
|
102 |
+
"If you want to exclude more than 4 scripts, your page score will be hit and "
|
103 |
+
"therefore the use of \"Defer parsing of javascript files\" option will "
|
104 |
+
"become useless so you can disable it"
|
105 |
msgstr ""
|
106 |
|
107 |
#. Text in echo
|
108 |
+
#: speed-booster-pack/inc/template/options.php:195
|
109 |
msgid ""
|
110 |
+
"Enter one js handle per text field, in the left area and the corespondent "
|
111 |
+
"html script in the right text fields."
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#. Text in echo
|
115 |
+
#: speed-booster-pack/inc/template/options.php:233
|
116 |
+
msgid "Exclude scripts from being deferred"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#. Text in echo
|
120 |
+
#: speed-booster-pack/inc/template/options.php:143
|
121 |
+
msgid "Exclude scripts from being moved to the footer"
|
122 |
msgstr ""
|
123 |
|
124 |
#. Text in echo
|
125 |
+
#: speed-booster-pack/inc/template/options.php:330
|
126 |
msgid "Exclude styles from asynchronously option: "
|
127 |
msgstr ""
|
128 |
|
129 |
#. Text in echo
|
130 |
+
#: speed-booster-pack/inc/template/options.php:23
|
131 |
+
msgid "General options"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#. Text in echo
|
135 |
+
#: speed-booster-pack/inc/template/options.php:104
|
136 |
msgid "Home Page Load Stats"
|
137 |
msgstr ""
|
138 |
|
139 |
#. Text in echo
|
140 |
+
#: speed-booster-pack/inc/template/options.php:195
|
141 |
+
msgid ""
|
142 |
+
"If you want to exclude more than 4 scripts, your page score will be hit and "
|
143 |
+
"therefore the use of \"Move scripts to footer\" option will become useless "
|
144 |
+
"so you can disable it."
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#. Text in echo
|
148 |
+
#: speed-booster-pack/inc/template/options.php:320
|
149 |
msgid "Insert all CSS styles inline to the footer"
|
150 |
msgstr ""
|
151 |
|
152 |
#. Text in echo
|
153 |
+
#: speed-booster-pack/inc/template/options.php:368
|
154 |
msgid "Insert all CSS styles inline to the footer: "
|
155 |
msgstr ""
|
156 |
|
157 |
#. Text in echo
|
158 |
+
#: speed-booster-pack/inc/template/options.php:416
|
159 |
msgid "Installed Version:"
|
160 |
msgstr ""
|
161 |
|
162 |
#. Text in echo
|
163 |
+
#: speed-booster-pack/inc/template/options.php:55
|
164 |
+
msgid "Lazy load images to improve speed"
|
165 |
msgstr ""
|
166 |
|
167 |
#. Text in echo
|
168 |
+
#: speed-booster-pack/inc/template/options.php:305
|
169 |
msgid "Load CSS asynchronously"
|
170 |
msgstr ""
|
171 |
|
172 |
#. Text in echo
|
173 |
+
#: speed-booster-pack/inc/template/options.php:40
|
174 |
msgid "Load JS from Google Libraries"
|
175 |
msgstr ""
|
176 |
|
177 |
#. Text in echo
|
178 |
+
#: speed-booster-pack/inc/template/options.php:31
|
179 |
msgid "Main plugin options"
|
180 |
msgstr ""
|
181 |
|
182 |
#. Text in echo
|
183 |
+
#: speed-booster-pack/inc/template/options.php:313
|
184 |
msgid "Minify all CSS styles"
|
185 |
msgstr ""
|
186 |
|
187 |
#. Text in echo
|
188 |
+
#: speed-booster-pack/inc/template/options.php:35
|
189 |
msgid "Move scripts to the footer"
|
190 |
msgstr ""
|
191 |
|
192 |
#. Text in echo
|
193 |
+
#: speed-booster-pack/inc/template/options.php:289
|
194 |
msgid ""
|
195 |
"Note that any changes you make will only affect new images uploaded to your "
|
196 |
"site. If you want to update all of your images with the new sizes, install "
|
200 |
msgstr ""
|
201 |
|
202 |
#. Text in echo
|
203 |
+
#: speed-booster-pack/inc/template/options.php:118
|
204 |
msgid "Number of executed queries:"
|
205 |
msgstr ""
|
206 |
|
207 |
#. Text in echo
|
208 |
+
#: speed-booster-pack/inc/template/options.php:106
|
209 |
msgid "Page loading time in seconds:"
|
210 |
msgstr ""
|
211 |
|
212 |
#. Text in echo
|
213 |
+
#: speed-booster-pack/inc/template/options.php:131
|
214 |
msgid "Peak Memory Used:"
|
215 |
msgstr ""
|
216 |
|
217 |
#. Text in echo
|
218 |
+
#: speed-booster-pack/inc/template/options.php:195
|
219 |
+
msgid "Read more"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#. Text in echo
|
223 |
+
#: speed-booster-pack/inc/template/options.php:399
|
224 |
msgid "Read online plugin documentation"
|
225 |
msgstr ""
|
226 |
|
227 |
#. Text in echo
|
228 |
+
#: speed-booster-pack/inc/template/options.php:423
|
229 |
msgid "Released date:"
|
230 |
msgstr ""
|
231 |
|
232 |
#. Text in echo
|
233 |
+
#: speed-booster-pack/inc/template/options.php:81
|
234 |
msgid "Remove Adjacent Posts Links"
|
235 |
msgstr ""
|
236 |
|
237 |
#. Text in echo
|
238 |
+
#: speed-booster-pack/inc/template/options.php:71
|
239 |
msgid "Remove RSD Link"
|
240 |
msgstr ""
|
241 |
|
242 |
#. Text in echo
|
243 |
+
#: speed-booster-pack/inc/template/options.php:86
|
244 |
+
msgid "Remove Windows Manifest"
|
245 |
msgstr ""
|
246 |
|
247 |
#. Text in echo
|
248 |
+
#: speed-booster-pack/inc/template/options.php:76
|
249 |
msgid "Remove WordPress Shortlink"
|
250 |
msgstr ""
|
251 |
|
252 |
#. Text in echo
|
253 |
+
#: speed-booster-pack/inc/template/options.php:96
|
254 |
+
msgid "Remove all rss feed links"
|
255 |
msgstr ""
|
256 |
|
257 |
#. Text in echo
|
258 |
+
#: speed-booster-pack/inc/template/options.php:67
|
259 |
msgid "Remove junk header tags"
|
260 |
msgstr ""
|
261 |
|
262 |
#. Text in echo
|
263 |
+
#: speed-booster-pack/inc/template/options.php:50
|
264 |
+
msgid "Remove query strings"
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#. Text in echo
|
268 |
+
#: speed-booster-pack/inc/template/options.php:91
|
269 |
+
msgid "Remove the WordPress Version"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#. Text in echo
|
273 |
+
#: speed-booster-pack/inc/template/options.php:60
|
274 |
+
msgid "Removes extra Font Awesome styles"
|
275 |
msgstr ""
|
276 |
|
277 |
#. Text in echo
|
278 |
+
#: speed-booster-pack/inc/template/options.php:149
|
279 |
+
#: speed-booster-pack/inc/template/options.php:206
|
280 |
+
msgid "Script Handle"
|
281 |
msgstr ""
|
282 |
|
283 |
#. Text in echo
|
284 |
+
#: speed-booster-pack/inc/template/options.php:207
|
285 |
+
msgid "Script Path"
|
286 |
msgstr ""
|
287 |
|
288 |
#. Text in echo
|
289 |
+
#: speed-booster-pack/inc/template/options.php:299
|
290 |
msgid "Still need more speed?"
|
291 |
msgstr ""
|
292 |
|
293 |
#. Text in echo
|
294 |
+
#: speed-booster-pack/inc/template/options.php:286
|
295 |
msgid ""
|
296 |
"The default image compression setting in WordPress is 90%. Compressing your "
|
297 |
"images further than the default will make your file sizes even smaller and "
|
299 |
msgstr ""
|
300 |
|
301 |
#. Text in echo
|
302 |
+
#: speed-booster-pack/inc/template/options.php:405
|
303 |
msgid "Version Information"
|
304 |
msgstr ""
|
305 |
|
306 |
#. Text in echo
|
307 |
+
#: speed-booster-pack/inc/template/options.php:389
|
308 |
msgid "What do these settings mean?"
|
309 |
msgstr ""
|
310 |
|
311 |
#. Text in echo
|
312 |
+
#: speed-booster-pack/inc/template/options.php:195
|
313 |
+
msgid "detailed instructions"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#. Text in echo
|
317 |
+
#: speed-booster-pack/inc/template/options.php:195
|
318 |
+
msgid "on this option on plugin documentation."
|
|
|
319 |
msgstr ""
|
320 |
|
321 |
#. Text in echo
|
322 |
+
#: speed-booster-pack/inc/template/options.php:126
|
323 |
msgid "q"
|
324 |
msgstr ""
|
325 |
|
326 |
#. Text in echo
|
327 |
+
#: speed-booster-pack/inc/template/options.php:114
|
328 |
msgid "s"
|
329 |
msgstr ""
|
330 |
|
331 |
#. Text in echo
|
332 |
+
#: speed-booster-pack/inc/template/options.php:368
|
333 |
msgid ""
|
334 |
"this option will eliminate render-blocking CSS warning in Google Page Speed "
|
335 |
"test. If there is something broken after activation, you need to disable "
|
lang/sb-pack.pot
CHANGED
@@ -10,125 +10,187 @@ msgstr ""
|
|
10 |
"Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Language: en\n"
|
13 |
-
"X-Generator: Poedit 1.6.
|
|
|
14 |
"X-Poedit-KeywordsList: _e;__\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
|
|
17 |
|
18 |
#. Text in echo
|
19 |
-
#: speed-booster-pack/inc/template/options.php:
|
20 |
msgid " with guidelines to enhance your website performance."
|
21 |
msgstr ""
|
22 |
|
23 |
#. Text in echo
|
24 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
25 |
msgid "Active Plugins:"
|
26 |
msgstr ""
|
27 |
|
28 |
#. Text in echo
|
29 |
-
#: speed-booster-pack/inc/template/options.php:
|
30 |
msgid "Additional information:"
|
31 |
msgstr ""
|
32 |
|
33 |
#. Text in echo
|
34 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Boost Your Website Speed!"
|
36 |
msgstr ""
|
37 |
|
38 |
#. Text in echo
|
39 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
40 |
msgid "Change the default image compression level"
|
41 |
msgstr ""
|
42 |
|
43 |
#. Text in echo
|
44 |
-
#: speed-booster-pack/inc/template/options.php:
|
45 |
msgid "Compression level:"
|
46 |
msgstr ""
|
47 |
|
48 |
#. Text in echo
|
49 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Defer parsing of javascript files"
|
51 |
msgstr ""
|
52 |
|
53 |
#. Text in echo
|
54 |
-
#: speed-booster-pack/inc/template/options.php:
|
55 |
msgid "Disable all above CSS options on mobile devices"
|
56 |
msgstr ""
|
57 |
|
58 |
#. Text in echo
|
59 |
-
#: speed-booster-pack/inc/template/options.php:
|
60 |
-
msgid "
|
|
|
|
|
|
|
61 |
msgstr ""
|
62 |
|
63 |
#. Text in echo
|
64 |
-
#: speed-booster-pack/inc/template/options.php:
|
65 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
66 |
msgstr ""
|
67 |
|
68 |
#. Text in echo
|
69 |
-
#: speed-booster-pack/inc/template/options.php:
|
70 |
msgid ""
|
71 |
-
"Enter one
|
72 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
msgstr ""
|
74 |
|
75 |
#. Text in echo
|
76 |
-
#: speed-booster-pack/inc/template/options.php:
|
77 |
msgid "Exclude styles from asynchronously option: "
|
78 |
msgstr ""
|
79 |
|
80 |
#. Text in echo
|
81 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
82 |
msgid "Home Page Load Stats"
|
83 |
msgstr ""
|
84 |
|
85 |
#. Text in echo
|
86 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
msgid "Insert all CSS styles inline to the footer"
|
88 |
msgstr ""
|
89 |
|
90 |
#. Text in echo
|
91 |
-
#: speed-booster-pack/inc/template/options.php:
|
92 |
msgid "Insert all CSS styles inline to the footer: "
|
93 |
msgstr ""
|
94 |
|
95 |
#. Text in echo
|
96 |
-
#: speed-booster-pack/inc/template/options.php:
|
97 |
msgid "Installed Version:"
|
98 |
msgstr ""
|
99 |
|
100 |
#. Text in echo
|
101 |
-
#: speed-booster-pack/inc/template/options.php:
|
102 |
-
msgid "Lazy load images to improve
|
103 |
msgstr ""
|
104 |
|
105 |
#. Text in echo
|
106 |
-
#: speed-booster-pack/inc/template/options.php:
|
107 |
msgid "Load CSS asynchronously"
|
108 |
msgstr ""
|
109 |
|
110 |
#. Text in echo
|
111 |
-
#: speed-booster-pack/inc/template/options.php:
|
112 |
msgid "Load JS from Google Libraries"
|
113 |
msgstr ""
|
114 |
|
115 |
#. Text in echo
|
116 |
-
#: speed-booster-pack/inc/template/options.php:
|
117 |
msgid "Main plugin options"
|
118 |
msgstr ""
|
119 |
|
120 |
#. Text in echo
|
121 |
-
#: speed-booster-pack/inc/template/options.php:
|
122 |
msgid "Minify all CSS styles"
|
123 |
msgstr ""
|
124 |
|
125 |
#. Text in echo
|
126 |
-
#: speed-booster-pack/inc/template/options.php:
|
127 |
msgid "Move scripts to the footer"
|
128 |
msgstr ""
|
129 |
|
130 |
#. Text in echo
|
131 |
-
#: speed-booster-pack/inc/template/options.php:
|
132 |
msgid ""
|
133 |
"Note that any changes you make will only affect new images uploaded to your "
|
134 |
"site. If you want to update all of your images with the new sizes, install "
|
@@ -138,82 +200,98 @@ msgid ""
|
|
138 |
msgstr ""
|
139 |
|
140 |
#. Text in echo
|
141 |
-
#: speed-booster-pack/inc/template/options.php:
|
142 |
msgid "Number of executed queries:"
|
143 |
msgstr ""
|
144 |
|
145 |
#. Text in echo
|
146 |
-
#: speed-booster-pack/inc/template/options.php:
|
147 |
msgid "Page loading time in seconds:"
|
148 |
msgstr ""
|
149 |
|
150 |
#. Text in echo
|
151 |
-
#: speed-booster-pack/inc/template/options.php:
|
152 |
msgid "Peak Memory Used:"
|
153 |
msgstr ""
|
154 |
|
155 |
#. Text in echo
|
156 |
-
#: speed-booster-pack/inc/template/options.php:
|
|
|
|
|
|
|
|
|
|
|
157 |
msgid "Read online plugin documentation"
|
158 |
msgstr ""
|
159 |
|
160 |
#. Text in echo
|
161 |
-
#: speed-booster-pack/inc/template/options.php:
|
162 |
msgid "Released date:"
|
163 |
msgstr ""
|
164 |
|
165 |
#. Text in echo
|
166 |
-
#: speed-booster-pack/inc/template/options.php:
|
167 |
msgid "Remove Adjacent Posts Links"
|
168 |
msgstr ""
|
169 |
|
170 |
#. Text in echo
|
171 |
-
#: speed-booster-pack/inc/template/options.php:
|
172 |
msgid "Remove RSD Link"
|
173 |
msgstr ""
|
174 |
|
175 |
#. Text in echo
|
176 |
-
#: speed-booster-pack/inc/template/options.php:
|
177 |
-
msgid "Remove Windows
|
178 |
msgstr ""
|
179 |
|
180 |
#. Text in echo
|
181 |
-
#: speed-booster-pack/inc/template/options.php:
|
182 |
msgid "Remove WordPress Shortlink"
|
183 |
msgstr ""
|
184 |
|
185 |
#. Text in echo
|
186 |
-
#: speed-booster-pack/inc/template/options.php:
|
187 |
-
msgid "Remove all rss feed links
|
188 |
msgstr ""
|
189 |
|
190 |
#. Text in echo
|
191 |
-
#: speed-booster-pack/inc/template/options.php:
|
192 |
msgid "Remove junk header tags"
|
193 |
msgstr ""
|
194 |
|
195 |
#. Text in echo
|
196 |
-
#: speed-booster-pack/inc/template/options.php:
|
197 |
-
msgid "Remove query strings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
msgstr ""
|
199 |
|
200 |
#. Text in echo
|
201 |
-
#: speed-booster-pack/inc/template/options.php:
|
202 |
-
|
|
|
203 |
msgstr ""
|
204 |
|
205 |
#. Text in echo
|
206 |
-
#: speed-booster-pack/inc/template/options.php:
|
207 |
-
msgid "
|
208 |
msgstr ""
|
209 |
|
210 |
#. Text in echo
|
211 |
-
#: speed-booster-pack/inc/template/options.php:
|
212 |
msgid "Still need more speed?"
|
213 |
msgstr ""
|
214 |
|
215 |
#. Text in echo
|
216 |
-
#: speed-booster-pack/inc/template/options.php:
|
217 |
msgid ""
|
218 |
"The default image compression setting in WordPress is 90%. Compressing your "
|
219 |
"images further than the default will make your file sizes even smaller and "
|
@@ -221,38 +299,37 @@ msgid ""
|
|
221 |
msgstr ""
|
222 |
|
223 |
#. Text in echo
|
224 |
-
#: speed-booster-pack/inc/template/options.php:
|
225 |
msgid "Version Information"
|
226 |
msgstr ""
|
227 |
|
228 |
#. Text in echo
|
229 |
-
#: speed-booster-pack/inc/template/options.php:
|
230 |
msgid "What do these settings mean?"
|
231 |
msgstr ""
|
232 |
|
233 |
#. Text in echo
|
234 |
-
#: speed-booster-pack/inc/template/options.php:
|
235 |
-
msgid ""
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
"
|
241 |
-
"something broken after activation, you need to disable this option."
|
242 |
msgstr ""
|
243 |
|
244 |
#. Text in echo
|
245 |
-
#: speed-booster-pack/inc/template/options.php:
|
246 |
msgid "q"
|
247 |
msgstr ""
|
248 |
|
249 |
#. Text in echo
|
250 |
-
#: speed-booster-pack/inc/template/options.php:
|
251 |
msgid "s"
|
252 |
msgstr ""
|
253 |
|
254 |
#. Text in echo
|
255 |
-
#: speed-booster-pack/inc/template/options.php:
|
256 |
msgid ""
|
257 |
"this option will eliminate render-blocking CSS warning in Google Page Speed "
|
258 |
"test. If there is something broken after activation, you need to disable "
|
10 |
"Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Language: en\n"
|
13 |
+
"X-Generator: Poedit 1.6.7\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: _e;__\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
"X-Poedit-SearchPath-1: ...\n"
|
19 |
|
20 |
#. Text in echo
|
21 |
+
#: speed-booster-pack/inc/template/options.php:399
|
22 |
msgid " with guidelines to enhance your website performance."
|
23 |
msgstr ""
|
24 |
|
25 |
#. Text in echo
|
26 |
+
#: speed-booster-pack/inc/template/options.php:360
|
27 |
+
msgid "*The list may be incomplete in some circumstances."
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#. Text in echo
|
31 |
+
#: speed-booster-pack/inc/template/options.php:132
|
32 |
msgid "Active Plugins:"
|
33 |
msgstr ""
|
34 |
|
35 |
#. Text in echo
|
36 |
+
#: speed-booster-pack/inc/template/options.php:367
|
37 |
msgid "Additional information:"
|
38 |
msgstr ""
|
39 |
|
40 |
#. Text in echo
|
41 |
+
#: speed-booster-pack/inc/template/options.php:342
|
42 |
+
msgid ""
|
43 |
+
"As a guidance, here is a list of css handles of each enqueued style detected "
|
44 |
+
"by our plugin:"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#. Text in echo
|
48 |
+
#: speed-booster-pack/inc/template/options.php:200
|
49 |
+
msgid ""
|
50 |
+
"As a guidance, here is a list of script handles and script paths of each "
|
51 |
+
"enqueued script detected by our plugin:"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#. Text in echo
|
55 |
+
#: speed-booster-pack/inc/template/options.php:19
|
56 |
msgid "Boost Your Website Speed!"
|
57 |
msgstr ""
|
58 |
|
59 |
#. Text in echo
|
60 |
+
#: speed-booster-pack/inc/template/options.php:348
|
61 |
+
msgid "CSS Handle"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#. Text in echo
|
65 |
+
#: speed-booster-pack/inc/template/options.php:265
|
66 |
msgid "Change the default image compression level"
|
67 |
msgstr ""
|
68 |
|
69 |
#. Text in echo
|
70 |
+
#: speed-booster-pack/inc/template/options.php:277
|
71 |
msgid "Compression level:"
|
72 |
msgstr ""
|
73 |
|
74 |
#. Text in echo
|
75 |
+
#: speed-booster-pack/inc/template/options.php:172
|
76 |
+
msgid "Copy the HTML code of the script from your page source and add it below"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#. Text in echo
|
80 |
+
#: speed-booster-pack/inc/template/options.php:45
|
81 |
msgid "Defer parsing of javascript files"
|
82 |
msgstr ""
|
83 |
|
84 |
#. Text in echo
|
85 |
+
#: speed-booster-pack/inc/template/options.php:325
|
86 |
msgid "Disable all above CSS options on mobile devices"
|
87 |
msgstr ""
|
88 |
|
89 |
#. Text in echo
|
90 |
+
#: speed-booster-pack/inc/template/options.php:333
|
91 |
+
msgid ""
|
92 |
+
"Enter one by line, the handles of css files or the final part of the style "
|
93 |
+
"URL. For example: <code>font-awesome</code> or <code>font-awesome.min.css</"
|
94 |
+
"code>"
|
95 |
msgstr ""
|
96 |
|
97 |
#. Text in echo
|
98 |
+
#: speed-booster-pack/inc/template/options.php:257
|
99 |
+
msgid ""
|
100 |
+
"Enter one by text field, the final part of the js files that you want to be "
|
101 |
+
"excluded from defer parsing option. For example: <code>jquery.min.js</code> "
|
102 |
+
"If you want to exclude more than 4 scripts, your page score will be hit and "
|
103 |
+
"therefore the use of \"Defer parsing of javascript files\" option will "
|
104 |
+
"become useless so you can disable it"
|
105 |
msgstr ""
|
106 |
|
107 |
#. Text in echo
|
108 |
+
#: speed-booster-pack/inc/template/options.php:195
|
109 |
msgid ""
|
110 |
+
"Enter one js handle per text field, in the left area and the corespondent "
|
111 |
+
"html script in the right text fields."
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#. Text in echo
|
115 |
+
#: speed-booster-pack/inc/template/options.php:233
|
116 |
+
msgid "Exclude scripts from being deferred"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#. Text in echo
|
120 |
+
#: speed-booster-pack/inc/template/options.php:143
|
121 |
+
msgid "Exclude scripts from being moved to the footer"
|
122 |
msgstr ""
|
123 |
|
124 |
#. Text in echo
|
125 |
+
#: speed-booster-pack/inc/template/options.php:330
|
126 |
msgid "Exclude styles from asynchronously option: "
|
127 |
msgstr ""
|
128 |
|
129 |
#. Text in echo
|
130 |
+
#: speed-booster-pack/inc/template/options.php:23
|
131 |
+
msgid "General options"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#. Text in echo
|
135 |
+
#: speed-booster-pack/inc/template/options.php:104
|
136 |
msgid "Home Page Load Stats"
|
137 |
msgstr ""
|
138 |
|
139 |
#. Text in echo
|
140 |
+
#: speed-booster-pack/inc/template/options.php:195
|
141 |
+
msgid ""
|
142 |
+
"If you want to exclude more than 4 scripts, your page score will be hit and "
|
143 |
+
"therefore the use of \"Move scripts to footer\" option will become useless "
|
144 |
+
"so you can disable it."
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#. Text in echo
|
148 |
+
#: speed-booster-pack/inc/template/options.php:320
|
149 |
msgid "Insert all CSS styles inline to the footer"
|
150 |
msgstr ""
|
151 |
|
152 |
#. Text in echo
|
153 |
+
#: speed-booster-pack/inc/template/options.php:368
|
154 |
msgid "Insert all CSS styles inline to the footer: "
|
155 |
msgstr ""
|
156 |
|
157 |
#. Text in echo
|
158 |
+
#: speed-booster-pack/inc/template/options.php:416
|
159 |
msgid "Installed Version:"
|
160 |
msgstr ""
|
161 |
|
162 |
#. Text in echo
|
163 |
+
#: speed-booster-pack/inc/template/options.php:55
|
164 |
+
msgid "Lazy load images to improve speed"
|
165 |
msgstr ""
|
166 |
|
167 |
#. Text in echo
|
168 |
+
#: speed-booster-pack/inc/template/options.php:305
|
169 |
msgid "Load CSS asynchronously"
|
170 |
msgstr ""
|
171 |
|
172 |
#. Text in echo
|
173 |
+
#: speed-booster-pack/inc/template/options.php:40
|
174 |
msgid "Load JS from Google Libraries"
|
175 |
msgstr ""
|
176 |
|
177 |
#. Text in echo
|
178 |
+
#: speed-booster-pack/inc/template/options.php:31
|
179 |
msgid "Main plugin options"
|
180 |
msgstr ""
|
181 |
|
182 |
#. Text in echo
|
183 |
+
#: speed-booster-pack/inc/template/options.php:313
|
184 |
msgid "Minify all CSS styles"
|
185 |
msgstr ""
|
186 |
|
187 |
#. Text in echo
|
188 |
+
#: speed-booster-pack/inc/template/options.php:35
|
189 |
msgid "Move scripts to the footer"
|
190 |
msgstr ""
|
191 |
|
192 |
#. Text in echo
|
193 |
+
#: speed-booster-pack/inc/template/options.php:289
|
194 |
msgid ""
|
195 |
"Note that any changes you make will only affect new images uploaded to your "
|
196 |
"site. If you want to update all of your images with the new sizes, install "
|
200 |
msgstr ""
|
201 |
|
202 |
#. Text in echo
|
203 |
+
#: speed-booster-pack/inc/template/options.php:118
|
204 |
msgid "Number of executed queries:"
|
205 |
msgstr ""
|
206 |
|
207 |
#. Text in echo
|
208 |
+
#: speed-booster-pack/inc/template/options.php:106
|
209 |
msgid "Page loading time in seconds:"
|
210 |
msgstr ""
|
211 |
|
212 |
#. Text in echo
|
213 |
+
#: speed-booster-pack/inc/template/options.php:131
|
214 |
msgid "Peak Memory Used:"
|
215 |
msgstr ""
|
216 |
|
217 |
#. Text in echo
|
218 |
+
#: speed-booster-pack/inc/template/options.php:195
|
219 |
+
msgid "Read more"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#. Text in echo
|
223 |
+
#: speed-booster-pack/inc/template/options.php:399
|
224 |
msgid "Read online plugin documentation"
|
225 |
msgstr ""
|
226 |
|
227 |
#. Text in echo
|
228 |
+
#: speed-booster-pack/inc/template/options.php:423
|
229 |
msgid "Released date:"
|
230 |
msgstr ""
|
231 |
|
232 |
#. Text in echo
|
233 |
+
#: speed-booster-pack/inc/template/options.php:81
|
234 |
msgid "Remove Adjacent Posts Links"
|
235 |
msgstr ""
|
236 |
|
237 |
#. Text in echo
|
238 |
+
#: speed-booster-pack/inc/template/options.php:71
|
239 |
msgid "Remove RSD Link"
|
240 |
msgstr ""
|
241 |
|
242 |
#. Text in echo
|
243 |
+
#: speed-booster-pack/inc/template/options.php:86
|
244 |
+
msgid "Remove Windows Manifest"
|
245 |
msgstr ""
|
246 |
|
247 |
#. Text in echo
|
248 |
+
#: speed-booster-pack/inc/template/options.php:76
|
249 |
msgid "Remove WordPress Shortlink"
|
250 |
msgstr ""
|
251 |
|
252 |
#. Text in echo
|
253 |
+
#: speed-booster-pack/inc/template/options.php:96
|
254 |
+
msgid "Remove all rss feed links"
|
255 |
msgstr ""
|
256 |
|
257 |
#. Text in echo
|
258 |
+
#: speed-booster-pack/inc/template/options.php:67
|
259 |
msgid "Remove junk header tags"
|
260 |
msgstr ""
|
261 |
|
262 |
#. Text in echo
|
263 |
+
#: speed-booster-pack/inc/template/options.php:50
|
264 |
+
msgid "Remove query strings"
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#. Text in echo
|
268 |
+
#: speed-booster-pack/inc/template/options.php:91
|
269 |
+
msgid "Remove the WordPress Version"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#. Text in echo
|
273 |
+
#: speed-booster-pack/inc/template/options.php:60
|
274 |
+
msgid "Removes extra Font Awesome styles"
|
275 |
msgstr ""
|
276 |
|
277 |
#. Text in echo
|
278 |
+
#: speed-booster-pack/inc/template/options.php:149
|
279 |
+
#: speed-booster-pack/inc/template/options.php:206
|
280 |
+
msgid "Script Handle"
|
281 |
msgstr ""
|
282 |
|
283 |
#. Text in echo
|
284 |
+
#: speed-booster-pack/inc/template/options.php:207
|
285 |
+
msgid "Script Path"
|
286 |
msgstr ""
|
287 |
|
288 |
#. Text in echo
|
289 |
+
#: speed-booster-pack/inc/template/options.php:299
|
290 |
msgid "Still need more speed?"
|
291 |
msgstr ""
|
292 |
|
293 |
#. Text in echo
|
294 |
+
#: speed-booster-pack/inc/template/options.php:286
|
295 |
msgid ""
|
296 |
"The default image compression setting in WordPress is 90%. Compressing your "
|
297 |
"images further than the default will make your file sizes even smaller and "
|
299 |
msgstr ""
|
300 |
|
301 |
#. Text in echo
|
302 |
+
#: speed-booster-pack/inc/template/options.php:405
|
303 |
msgid "Version Information"
|
304 |
msgstr ""
|
305 |
|
306 |
#. Text in echo
|
307 |
+
#: speed-booster-pack/inc/template/options.php:389
|
308 |
msgid "What do these settings mean?"
|
309 |
msgstr ""
|
310 |
|
311 |
#. Text in echo
|
312 |
+
#: speed-booster-pack/inc/template/options.php:195
|
313 |
+
msgid "detailed instructions"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#. Text in echo
|
317 |
+
#: speed-booster-pack/inc/template/options.php:195
|
318 |
+
msgid "on this option on plugin documentation."
|
|
|
319 |
msgstr ""
|
320 |
|
321 |
#. Text in echo
|
322 |
+
#: speed-booster-pack/inc/template/options.php:126
|
323 |
msgid "q"
|
324 |
msgstr ""
|
325 |
|
326 |
#. Text in echo
|
327 |
+
#: speed-booster-pack/inc/template/options.php:114
|
328 |
msgid "s"
|
329 |
msgstr ""
|
330 |
|
331 |
#. Text in echo
|
332 |
+
#: speed-booster-pack/inc/template/options.php:368
|
333 |
msgid ""
|
334 |
"this option will eliminate render-blocking CSS warning in Google Page Speed "
|
335 |
"test. If there is something broken after activation, you need to disable "
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: speed, optimization, performance, scripts to the footer, google libraries, font awesome cdn, defer parsing of javascript, remove query strings, lazy load images, gtmetrix, google pageSpeed, yslow, eliminate external render-blocking javascript and css, compression, async, render-blocking css
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -27,8 +27,6 @@ The following video is not about "how to get a score of 100 in Google Page Speed
|
|
27 |
|
28 |
https://www.youtube.com/watch?v=u0G6pk2mX4M
|
29 |
|
30 |
-
[This](http://tiguandesign.com/testing-speed-booster) is the website used in the video for testing Speed Booster Pack plugin. Test it yourself!
|
31 |
-
|
32 |
= Main Plugin Features =
|
33 |
|
34 |
* **Eliminates external render-blocking javascript and css** in above-the-fold content.
|
@@ -46,11 +44,17 @@ https://www.youtube.com/watch?v=u0G6pk2mX4M
|
|
46 |
* **Displays the number of executed queries** in the plugin options page.
|
47 |
* **Displays the Peak Memory Used** in the plugin options page.
|
48 |
|
49 |
-
|
|
|
|
|
|
|
|
|
50 |
|
51 |
-
*
|
52 |
-
*
|
53 |
-
|
|
|
|
|
54 |
|
55 |
== Installation ==
|
56 |
|
@@ -61,12 +65,22 @@ https://www.youtube.com/watch?v=u0G6pk2mX4M
|
|
61 |
5. A new sub menu item `Speed Booster Pack` will appear in your main Settings menu.
|
62 |
|
63 |
== Screenshots ==
|
64 |
-
1. Plugin options page, simple view (v2.
|
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
= 2.4 =
|
69 |
-
Fixed TypeError: $ is not a function when Prevent Flash of Unstyled Content (FOUC) option is active. Thanks to [@Marcio Duarte](http://profiles.wordpress.org/pagelab) for the [bug report](http://wordpress.org/support/topic/javascript-error-53).
|
70 |
|
71 |
= 2.3 =
|
72 |
* Added option to exclude certain CSS files from being loaded asynchronously.
|
4 |
Tags: speed, optimization, performance, scripts to the footer, google libraries, font awesome cdn, defer parsing of javascript, remove query strings, lazy load images, gtmetrix, google pageSpeed, yslow, eliminate external render-blocking javascript and css, compression, async, render-blocking css
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 2.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
27 |
|
28 |
https://www.youtube.com/watch?v=u0G6pk2mX4M
|
29 |
|
|
|
|
|
30 |
= Main Plugin Features =
|
31 |
|
32 |
* **Eliminates external render-blocking javascript and css** in above-the-fold content.
|
44 |
* **Displays the number of executed queries** in the plugin options page.
|
45 |
* **Displays the Peak Memory Used** in the plugin options page.
|
46 |
|
47 |
+
For complete usage instructions visit [Plugin Documentation](http://tiguandesign.com/docs/speed-booster/)
|
48 |
+
|
49 |
+
= Recommended Plugins =
|
50 |
+
|
51 |
+
The following are other recommended plugins by the author of Speed Booster Pack:
|
52 |
|
53 |
+
* [Simple Author Box](http://wordpress.org/plugins/simple-author-box/) - A simple but cool author box with social icons.
|
54 |
+
* [Verify Ownership](http://wordpress.org/plugins/verify-ownership/) - Adds meta tag verification codes to your site.
|
55 |
+
|
56 |
+
= Translators are welcome! =
|
57 |
+
* Romanian (ro_RO) - [Liviu Costache](http://tiguandesign.com/)
|
58 |
|
59 |
== Installation ==
|
60 |
|
65 |
5. A new sub menu item `Speed Booster Pack` will appear in your main Settings menu.
|
66 |
|
67 |
== Screenshots ==
|
68 |
+
1. Plugin options page, simple view (v2.5)
|
69 |
+
2. The Google Page Speed results on our [testing site](http://tiguandesign.com/testing-speed-booster/) (v2.5)
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 2.5 =
|
74 |
+
* Added option to exclude certain JS files from being moved to the footer.
|
75 |
+
* Added option to exclude certain JS files from being defered.
|
76 |
+
* Added a list of handles of all scripts and styles enqueued by your theme, useful for excluding options.
|
77 |
+
* Removed FOUC option since is useless with W3 Total Cache.
|
78 |
+
* Some visual changes on plugin options page.
|
79 |
+
* Translation updated with the new strings.
|
80 |
+
* Moved some admin inline scripts to js files.
|
81 |
+
|
82 |
= 2.4 =
|
83 |
+
* Fixed TypeError: $ is not a function when Prevent Flash of Unstyled Content (FOUC) option is active. Thanks to [@Marcio Duarte](http://profiles.wordpress.org/pagelab) for the [bug report](http://wordpress.org/support/topic/javascript-error-53).
|
84 |
|
85 |
= 2.3 =
|
86 |
* Added option to exclude certain CSS files from being loaded asynchronously.
|
speed-booster-pack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Speed Booster Pack
|
4 |
* Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed Booster Pack allows you to improve your page loading speed and get a higher score on the major speed testing services such as <a href="http://gtmetrix.com/">GTmetrix</a>, <a href="http://developers.google.com/speed/pagespeed/insights/">Google PageSpeed</a> or other speed testing tools.
|
6 |
-
* Version: 2.
|
7 |
* Author: Tiguan
|
8 |
* Author URI: http://tiguandesign.com
|
9 |
* License: GPLv2
|
@@ -38,7 +38,7 @@ $sbp_options = get_option( 'sbp_settings', 'checked' ); // retrieve the plugin s
|
|
38 |
|
39 |
define( 'SPEED_BOOSTER_PACK_RELEASE_DATE', date_i18n( 'F j, Y', '1400569200' ) ); // Defining plugin release date
|
40 |
define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
|
41 |
-
define( 'SPEED_BOOSTER_PACK_VERSION', 'v2.
|
42 |
define( 'SPEED_BOOSTER_PACK_NAME', 'Speed Booster Pack Plugin'); // Defining plugin name
|
43 |
define( 'SBP_FOOTER', 10 ); // Defining css position
|
44 |
define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
|
@@ -60,9 +60,10 @@ define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
|
|
60 |
|
61 |
// Enqueue admin scripts
|
62 |
add_action( 'admin_enqueue_scripts', array( $this, 'sbp_admin_enqueue_scripts' ) );
|
|
|
63 |
|
64 |
// load plugin textdomain
|
65 |
-
add_action('
|
66 |
|
67 |
// Load plugin settings page
|
68 |
require_once( SPEED_BOOSTER_PACK_PATH . 'inc/settings.php' );
|
@@ -92,8 +93,8 @@ define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
|
|
92 |
Load plugin textdomain
|
93 |
-----------------------------------------------------------------------------------------------------------*/
|
94 |
|
95 |
-
function
|
96 |
-
load_plugin_textdomain( 'sb-pack', false, SPEED_BOOSTER_PACK_PATH . 'lang' );
|
97 |
}
|
98 |
|
99 |
|
@@ -107,6 +108,13 @@ define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
|
|
107 |
$timer_stop = timer_stop( 0, 2 );
|
108 |
$get_num_queries = get_num_queries();
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
if ( get_option('sbp_page_time') == '' ) {
|
111 |
update_option( 'sbp_page_time', $timer_stop );
|
112 |
}
|
@@ -115,6 +123,19 @@ define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
|
|
115 |
update_option( 'sbp_page_queries', $get_num_queries );
|
116 |
}
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
if ( get_option('sbp_css_async' ) === FALSE ) {
|
119 |
update_option( 'sbp_css_async', 1 );
|
120 |
update_option( 'sbp_css_minify', 1 );
|
@@ -151,15 +172,33 @@ define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
|
|
151 |
|
152 |
|
153 |
/*----------------------------------------------------------------------------------------------------------
|
154 |
-
|
155 |
-----------------------------------------------------------------------------------------------------------*/
|
156 |
|
157 |
-
function sbp_admin_enqueue_scripts() {
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
|
164 |
/*----------------------------------------------------------------------------------------------------------
|
165 |
Enqueue front end scripts
|
3 |
* Plugin Name: Speed Booster Pack
|
4 |
* Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed Booster Pack allows you to improve your page loading speed and get a higher score on the major speed testing services such as <a href="http://gtmetrix.com/">GTmetrix</a>, <a href="http://developers.google.com/speed/pagespeed/insights/">Google PageSpeed</a> or other speed testing tools.
|
6 |
+
* Version: 2.5
|
7 |
* Author: Tiguan
|
8 |
* Author URI: http://tiguandesign.com
|
9 |
* License: GPLv2
|
38 |
|
39 |
define( 'SPEED_BOOSTER_PACK_RELEASE_DATE', date_i18n( 'F j, Y', '1400569200' ) ); // Defining plugin release date
|
40 |
define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
|
41 |
+
define( 'SPEED_BOOSTER_PACK_VERSION', 'v2.5'); // Defining plugin version
|
42 |
define( 'SPEED_BOOSTER_PACK_NAME', 'Speed Booster Pack Plugin'); // Defining plugin name
|
43 |
define( 'SBP_FOOTER', 10 ); // Defining css position
|
44 |
define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
|
60 |
|
61 |
// Enqueue admin scripts
|
62 |
add_action( 'admin_enqueue_scripts', array( $this, 'sbp_admin_enqueue_scripts' ) );
|
63 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'sbp_collapsible' ) );
|
64 |
|
65 |
// load plugin textdomain
|
66 |
+
add_action('plugins_loaded', array( $this, 'sbp_load_translation' ) );
|
67 |
|
68 |
// Load plugin settings page
|
69 |
require_once( SPEED_BOOSTER_PACK_PATH . 'inc/settings.php' );
|
93 |
Load plugin textdomain
|
94 |
-----------------------------------------------------------------------------------------------------------*/
|
95 |
|
96 |
+
function sbp_load_translation() {
|
97 |
+
load_plugin_textdomain( 'sb-pack', false, SPEED_BOOSTER_PACK_PATH . '/lang/' );
|
98 |
}
|
99 |
|
100 |
|
108 |
$timer_stop = timer_stop( 0, 2 );
|
109 |
$get_num_queries = get_num_queries();
|
110 |
|
111 |
+
$url = get_site_url();
|
112 |
+
$response = wp_remote_get( $url, array() );
|
113 |
+
|
114 |
+
$get_enqueued_scripts_handle = get_option( 'all_theme_scripts_handle' );
|
115 |
+
$get_enqueued_scripts_src = get_option( 'all_theme_scripts_src' );
|
116 |
+
$get_enqueued_styles_handle = get_option( 'all_theme_styles_handle' );
|
117 |
+
|
118 |
if ( get_option('sbp_page_time') == '' ) {
|
119 |
update_option( 'sbp_page_time', $timer_stop );
|
120 |
}
|
123 |
update_option( 'sbp_page_queries', $get_num_queries );
|
124 |
}
|
125 |
|
126 |
+
if ( get_option( 'all_theme_scripts_handle') == '' ) {
|
127 |
+
update_option( 'all_theme_scripts_handle', $get_enqueued_scripts_handle );
|
128 |
+
}
|
129 |
+
|
130 |
+
if ( get_option( 'all_theme_scripts_src') == '' ) {
|
131 |
+
update_option( 'all_theme_scripts_src', $get_enqueued_scripts_src );
|
132 |
+
}
|
133 |
+
|
134 |
+
if ( get_option( 'all_theme_styles_handle') == '' ) {
|
135 |
+
update_option( 'all_theme_styles_handle', $get_enqueued_styles_handle );
|
136 |
+
}
|
137 |
+
|
138 |
+
|
139 |
if ( get_option('sbp_css_async' ) === FALSE ) {
|
140 |
update_option( 'sbp_css_async', 1 );
|
141 |
update_option( 'sbp_css_minify', 1 );
|
172 |
|
173 |
|
174 |
/*----------------------------------------------------------------------------------------------------------
|
175 |
+
Enqueue admin scripts to plugin options page
|
176 |
-----------------------------------------------------------------------------------------------------------*/
|
177 |
|
178 |
+
public function sbp_admin_enqueue_scripts( $hook_sbp ) {
|
179 |
+
// load scripts only on plugin options page
|
180 |
+
global $sbp_settings_page;
|
181 |
+
if ( $hook_sbp != $sbp_settings_page )
|
182 |
+
return;
|
183 |
+
wp_enqueue_script( 'jquery-ui-slider' );
|
184 |
+
wp_enqueue_script( 'sbp-slide', plugins_url('js/sbp-slide.js', __FILE__ ), array( 'jquery', 'jquery-ui-slider' ), SPEED_BOOSTER_PACK_VERSION, true );
|
185 |
+
wp_enqueue_script( 'sbp-hide', plugins_url('js/sbp-hide.js', __FILE__ ), array( 'jquery' ), SPEED_BOOSTER_PACK_VERSION, true );
|
186 |
+
|
187 |
+
}
|
188 |
+
|
189 |
+
|
190 |
+
/*----------------------------------------------------------------------------------------------------------
|
191 |
+
Enqueue script to plugin options page for collapsible options
|
192 |
+
-----------------------------------------------------------------------------------------------------------*/
|
193 |
+
|
194 |
+
function sbp_collapsible( $sbp_suffix ) {
|
195 |
+
global $sbp_settings_page;
|
196 |
+
if ( $sbp_suffix != $sbp_settings_page )
|
197 |
+
return;
|
198 |
+
wp_enqueue_script( 'postbox' );
|
199 |
+
wp_enqueue_script( 'postbox-edit', plugins_url('js/post-tabs-edit.js', __FILE__ ), array( 'jquery', 'postbox' ) );
|
200 |
+
}
|
201 |
+
|
202 |
|
203 |
/*----------------------------------------------------------------------------------------------------------
|
204 |
Enqueue front end scripts
|