Version Description
12/Dec/2016 =
OWNERSHIP: WP-Optimize is now under the leadership of Team UpdraftPlus - https://updraftplus.com. A big thank you to Ruhani (who remains on-board) for his leadership of WP-Optimize until this point! Layout, branding and links have been altered to reflect this change.
RE-FACTOR: Internal code completely re-factored, laying the foundations for future improvements
TWEAK: Various filters introduced internally for easier customisation
TWEAK: Marked form element labels, so that they can be clicked
TWEAK: Various small UI improvements (more to come in future releases)
FIX: Previous versions could potentially run OPTIMIZE commands on tables in the same MySQL database (if it was shared) belonging to other sites
FIX: Previous versions were not deleting most delete-able transients. This is now fixed, with the modification that we now delete all expired transients.
LANGUAGES: Removed language packs and screenshots that are already carried by wordpress.org, reducing the plugin download / install size
Release Info
Developer | DavidAnderson |
Plugin | WP-Optimize |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 2.0.1
- css/wpo_admin.css +57 -229
- images/elegantthemes_sm.png +0 -0
- images/embedplus.png +0 -0
- images/icon/wpo.png +0 -0
- images/logo/udp_logo_small.png +0 -0
- images/logo/wpo_logo_small.png +0 -0
- images/mythemeshop.png +0 -0
- includes/class-wp-optimization.php +161 -0
- includes/class-wp-optimize-options.php +308 -0
- includes/class-wp-optimizer.php +325 -0
- index.htm → index.html +0 -0
- js/admin.js +56 -0
- languages/wp-optimize-de_DE.mo +0 -0
- languages/wp-optimize-es_ES.mo +0 -0
- languages/wp-optimize-es_ES.po +0 -726
- languages/wp-optimize-fi.mo +0 -0
- languages/{wp-optimize-hu_HU.po → wp-optimize-fi.po} +169 -169
- languages/wp-optimize-fr_FR.mo +0 -0
- languages/wp-optimize-fr_FR.po +0 -710
- languages/wp-optimize-hu_HU.mo +0 -0
- languages/wp-optimize-id_ID.mo +0 -0
- languages/{wp-optimize-sl_SI.po → wp-optimize-id_ID.po} +167 -171
- languages/wp-optimize-it_IT.mo +0 -0
- languages/{wp-optimize-de_DE.po → wp-optimize-it_IT.po} +167 -165
- languages/wp-optimize-ka_GE.mo +0 -0
- languages/wp-optimize-ka_GE.po +0 -745
- languages/wp-optimize-nl_NL.mo +0 -0
- languages/wp-optimize-nl_NL.po +0 -711
- languages/wp-optimize-pt_PT.mo +0 -0
- languages/wp-optimize-pt_PT.po +896 -0
- languages/wp-optimize-sl_SI.mo +0 -0
- languages/wp-optimize.pot +0 -782
- optimizations/autodraft.php +81 -0
- optimizations/commentmeta.php +54 -0
- optimizations/inactive-tags.php +31 -0
- optimizations/optimizetables.php +99 -0
- optimizations/orphandata.php +39 -0
- optimizations/pingbacks.php +36 -0
- optimizations/postmeta.php +49 -0
- optimizations/revisions.php +64 -0
- optimizations/spam.php +75 -0
- optimizations/trackbacks.php +36 -0
- optimizations/transient.php +131 -0
- optimizations/unapproved.php +61 -0
- readme.txt +95 -97
- screenshot-1.jpg +0 -0
- screenshot-2.jpg +0 -0
- screenshot-3.jpg +0 -0
- screenshot-4.jpg +0 -0
- screenshot-5.jpg +0 -0
- templates/admin-page-header.php +52 -0
- templates/admin-settings.php +163 -0
- templates/may-also-like.php +45 -0
- templates/optimize-table.php +158 -0
- templates/tables.php +136 -0
- wp-optimize-admin.php +0 -125
- wp-optimize-common.php +0 -943
- wp-optimize-credits.php +0 -122
- wp-optimize-main.php +0 -537
- wp-optimize-settings.php +0 -293
- wp-optimize-tables.php +0 -224
- wp-optimize.php +463 -206
- wp-optimize.png +0 -0
- wpo.png +0 -0
@@ -1,125 +1,46 @@
|
|
1 |
-
/* @import url(http://fonts.googleapis.com/css?family=Open+Sans:700); */
|
2 |
-
|
3 |
/* big button */
|
4 |
.wpo_primary_big {
|
5 |
-
|
6 |
-
-
|
7 |
-
|
8 |
-
|
9 |
-
background:-moz-linear-gradient( center top, #79bbff 5%, #4197ee 100% );
|
10 |
-
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#4197ee');
|
11 |
-
background-color:#79bbff;
|
12 |
-
-webkit-border-top-left-radius:6px;
|
13 |
-
-moz-border-radius-topleft:6px;
|
14 |
-
border-top-left-radius:6px;
|
15 |
-
-webkit-border-top-right-radius:6px;
|
16 |
-
-moz-border-radius-topright:6px;
|
17 |
-
border-top-right-radius:6px;
|
18 |
-
-webkit-border-bottom-right-radius:6px;
|
19 |
-
-moz-border-radius-bottomright:6px;
|
20 |
-
border-bottom-right-radius:6px;
|
21 |
-
-webkit-border-bottom-left-radius:6px;
|
22 |
-
-moz-border-radius-bottomleft:6px;
|
23 |
-
border-bottom-left-radius:6px;
|
24 |
-
text-indent:0;
|
25 |
-
border:1px solid #469df5;
|
26 |
-
display:inline-block;
|
27 |
-
color:#ffffff;
|
28 |
-
font-size:120%;
|
29 |
-
font-weight:bold;
|
30 |
-
font-style:normal;
|
31 |
-
height:60px;
|
32 |
-
line-height:60px;
|
33 |
-
width:130px;
|
34 |
-
text-decoration:none;
|
35 |
-
text-align:center;
|
36 |
-
text-shadow:1px 1px 0px #287ace;
|
37 |
-
}
|
38 |
-
.wpo_primary_big:hover {
|
39 |
-
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4197ee), color-stop(1, #79bbff) );
|
40 |
-
background:-moz-linear-gradient( center top, #4197ee 5%, #79bbff 100% );
|
41 |
-
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4197ee', endColorstr='#79bbff');
|
42 |
-
background-color:#4197ee;
|
43 |
-
}.wpo_primary_big:active {
|
44 |
-
position:relative;
|
45 |
-
top:1px;
|
46 |
}
|
47 |
|
48 |
-
.wpo_normal_button {
|
49 |
-
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
|
50 |
-
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
|
51 |
-
box-shadow:inset 0px 1px 0px 0px #ffffff;
|
52 |
-
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
|
53 |
-
background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
|
54 |
-
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
|
55 |
-
background-color:#f9f9f9;
|
56 |
-
-webkit-border-top-left-radius:20px;
|
57 |
-
-moz-border-radius-topleft:20px;
|
58 |
-
border-top-left-radius:20px;
|
59 |
-
-webkit-border-top-right-radius:20px;
|
60 |
-
-moz-border-radius-topright:20px;
|
61 |
-
border-top-right-radius:20px;
|
62 |
-
-webkit-border-bottom-right-radius:20px;
|
63 |
-
-moz-border-radius-bottomright:20px;
|
64 |
-
border-bottom-right-radius:20px;
|
65 |
-
-webkit-border-bottom-left-radius:20px;
|
66 |
-
-moz-border-radius-bottomleft:20px;
|
67 |
-
border-bottom-left-radius:20px;
|
68 |
-
text-indent:0;
|
69 |
-
border:1px solid #dcdcdc;
|
70 |
-
display:inline-block;
|
71 |
-
color:#666666;
|
72 |
-
font-size:120%;
|
73 |
-
font-weight:bold;
|
74 |
-
font-style:normal;
|
75 |
-
height:60px;
|
76 |
-
line-height:60px;
|
77 |
-
width:141px;
|
78 |
-
text-decoration:none;
|
79 |
-
text-align:center;
|
80 |
-
text-shadow:1px 1px 0px #ffffff;
|
81 |
-
}
|
82 |
-
.wpo_normal_button:hover {
|
83 |
-
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) );
|
84 |
-
background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
|
85 |
-
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
|
86 |
-
background-color:#e9e9e9;
|
87 |
-
}.wpo_normal_button:active {
|
88 |
-
position:relative;
|
89 |
-
top:1px;
|
90 |
-
}
|
91 |
-
|
92 |
-
|
93 |
/* SECTIONS */
|
94 |
.wpo_section {
|
95 |
clear: both;
|
96 |
-
padding:
|
97 |
-
margin:
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
100 |
/* COLUMN SETUP */
|
101 |
.wpo_col {
|
102 |
display: block;
|
103 |
-
float:left;
|
104 |
margin: 1% 0 1% 1%;
|
105 |
}
|
106 |
-
.wpo_col:first-child {
|
107 |
-
|
|
|
108 |
|
109 |
/* GROUPING */
|
110 |
.wpo_group:before,
|
111 |
.wpo_group:after {
|
112 |
-
content:"";
|
113 |
-
display:table;
|
114 |
}
|
115 |
.wpo_group:after {
|
116 |
-
clear:both;
|
117 |
}
|
118 |
-
|
119 |
-
|
|
|
120 |
}
|
121 |
-
|
122 |
-
|
123 |
/* GRID OF THREE */
|
124 |
.wpo_span_3_of_3 {
|
125 |
width: 100%;
|
@@ -131,144 +52,51 @@
|
|
131 |
width: 32.1%;
|
132 |
}
|
133 |
|
134 |
-
|
135 |
-
|
136 |
-
/* background: #d7d8db; */
|
137 |
-
width: auto;
|
138 |
-
}
|
139 |
-
|
140 |
-
#wpo_cssmenu ul {
|
141 |
-
list-style: none;
|
142 |
-
margin: 0;
|
143 |
-
padding: 0;
|
144 |
-
line-height: 1;
|
145 |
-
display: block;
|
146 |
-
zoom: 1;
|
147 |
-
}
|
148 |
-
#wpo_cssmenu ul:after {
|
149 |
-
content: ' ';
|
150 |
-
display: block;
|
151 |
-
font-size: 0;
|
152 |
-
height: 0;
|
153 |
-
clear: both;
|
154 |
-
visibility: hidden;
|
155 |
-
}
|
156 |
-
#wpo_cssmenu ul li {
|
157 |
-
float: left;
|
158 |
-
display: block;
|
159 |
-
padding: 0;
|
160 |
-
}
|
161 |
-
#wpo_cssmenu ul li a {
|
162 |
-
color: #000000;
|
163 |
-
text-decoration: none;
|
164 |
-
display: block;
|
165 |
-
padding: 15px 25px;
|
166 |
-
font-family: 'Open Sans', sans-serif;
|
167 |
-
font-weight: 700;
|
168 |
-
text-transform: uppercase;
|
169 |
-
font-size: 14px;
|
170 |
-
position: relative;
|
171 |
-
-webkit-transition: color .25s;
|
172 |
-
-moz-transition: color .25s;
|
173 |
-
-ms-transition: color .25s;
|
174 |
-
-o-transition: color .25s;
|
175 |
-
transition: color .25s;
|
176 |
-
}
|
177 |
-
#wpo_cssmenu ul li a:hover {
|
178 |
-
color: #0069d9;
|
179 |
-
}
|
180 |
-
#wpo_cssmenu ul li a:hover:before {
|
181 |
-
width: 100%;
|
182 |
-
}
|
183 |
-
#wpo_cssmenu ul li a:after {
|
184 |
-
content: '';
|
185 |
-
display: block;
|
186 |
-
position: absolute;
|
187 |
-
right: -3px;
|
188 |
-
top: 19px;
|
189 |
-
height: 6px;
|
190 |
-
width: 6px;
|
191 |
-
background: #000000;
|
192 |
-
opacity: .5;
|
193 |
-
}
|
194 |
-
#wpo_cssmenu ul li a:before {
|
195 |
-
content: '';
|
196 |
-
display: block;
|
197 |
-
position: absolute;
|
198 |
-
left: 0;
|
199 |
-
bottom: 0;
|
200 |
-
height: 3px;
|
201 |
-
width: 0;
|
202 |
-
background: #0069d9;
|
203 |
-
-webkit-transition: width .25s;
|
204 |
-
-moz-transition: width .25s;
|
205 |
-
-ms-transition: width .25s;
|
206 |
-
-o-transition: width .25s;
|
207 |
-
transition: width .25s;
|
208 |
-
}
|
209 |
-
#wpo_cssmenu ul li.last > a:after,
|
210 |
-
#wpo_cssmenu ul li:last-child > a:after {
|
211 |
-
display: none;
|
212 |
-
}
|
213 |
-
#wpo_cssmenu ul li.active a {
|
214 |
-
color: #0069d9;
|
215 |
-
}
|
216 |
-
#wpo_cssmenu ul li.active a:before {
|
217 |
-
width: 100%;
|
218 |
}
|
219 |
|
220 |
@media screen and (max-width: 768px) {
|
221 |
-
|
222 |
-
|
223 |
-
}
|
224 |
-
#wpo_cssmenu ul li a {
|
225 |
-
width: 100%;
|
226 |
-
-moz-box-sizing: border-box;
|
227 |
-
-webkit-box-sizing: border-box;
|
228 |
-
box-sizing: border-box;
|
229 |
-
}
|
230 |
-
#wpo_cssmenu ul li a:after {
|
231 |
-
display: none;
|
232 |
-
}
|
233 |
-
#wpo_cssmenu ul li a:before {
|
234 |
-
height: 1px;
|
235 |
-
background: #000000;
|
236 |
-
width: 100%;
|
237 |
-
opacity: .2;
|
238 |
-
}
|
239 |
-
#wpo_cssmenu ul li.last > a:before,
|
240 |
-
#wpo_cssmenu ul li:last-child > a:before {
|
241 |
-
display: none;
|
242 |
-
}
|
243 |
-
|
244 |
-
.wpo_col {
|
245 |
-
margin: 1% 0 1% 0%;
|
246 |
}
|
247 |
.wpo_span_3_of_3 {
|
248 |
-
width: 100%;
|
249 |
}
|
250 |
.wpo_span_2_of_3 {
|
251 |
-
width: 100%;
|
252 |
}
|
253 |
.wpo_span_1_of_3 {
|
254 |
width: 100%;
|
255 |
-
}
|
256 |
-
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
257 |
-
|
258 |
-
/* @media only screen and (max-width: 480px) { */
|
259 |
-
/* @media only screen and (max-width: 600px) {
|
260 |
-
.wpo_col {
|
261 |
-
margin: 1% 0 1% 0%;
|
262 |
-
}
|
263 |
-
.wpo_span_3_of_3 {
|
264 |
-
width: 100%;
|
265 |
}
|
266 |
-
.
|
267 |
-
width: 100%;
|
268 |
-
}
|
269 |
-
.wpo_span_1_of_3 {
|
270 |
width: 100%;
|
271 |
-
}
|
272 |
-
}
|
273 |
-
|
274 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
/* big button */
|
2 |
.wpo_primary_big {
|
3 |
+
padding: 4px 6px !important;
|
4 |
+
font-size:22px !important;
|
5 |
+
min-height: 34px;
|
6 |
+
min-width: 200px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
/* SECTIONS */
|
10 |
.wpo_section {
|
11 |
clear: both;
|
12 |
+
padding: 0;
|
13 |
+
margin: 0;
|
14 |
+
}
|
15 |
+
|
16 |
+
.wp-optimize-settings {
|
17 |
+
margin-bottom: 16px;
|
18 |
}
|
19 |
|
20 |
/* COLUMN SETUP */
|
21 |
.wpo_col {
|
22 |
display: block;
|
23 |
+
float: left;
|
24 |
margin: 1% 0 1% 1%;
|
25 |
}
|
26 |
+
.wpo_col:first-child {
|
27 |
+
margin-left: 0;
|
28 |
+
}
|
29 |
|
30 |
/* GROUPING */
|
31 |
.wpo_group:before,
|
32 |
.wpo_group:after {
|
33 |
+
content: "";
|
34 |
+
display: table;
|
35 |
}
|
36 |
.wpo_group:after {
|
37 |
+
clear: both;
|
38 |
}
|
39 |
+
|
40 |
+
.wpo_half_width {
|
41 |
+
width: 48%;
|
42 |
}
|
43 |
+
|
|
|
44 |
/* GRID OF THREE */
|
45 |
.wpo_span_3_of_3 {
|
46 |
width: 100%;
|
52 |
width: 32.1%;
|
53 |
}
|
54 |
|
55 |
+
.nav-tab-wrapper {
|
56 |
+
margin: 14px 0px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
@media screen and (max-width: 768px) {
|
60 |
+
.wpo_col {
|
61 |
+
margin: 1% 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
.wpo_span_3_of_3 {
|
64 |
+
width: 100%;
|
65 |
}
|
66 |
.wpo_span_2_of_3 {
|
67 |
+
width: 100%;
|
68 |
}
|
69 |
.wpo_span_1_of_3 {
|
70 |
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
+
.wpo_half_width {
|
|
|
|
|
|
|
73 |
width: 100%;
|
74 |
+
}
|
75 |
+
}
|
76 |
+
|
77 |
+
.wp-optimize-settings-clean-transient label, .wp-optimize-settings-clean-pingbacks label, .wp-optimize-settings-clean-trackbacks label, .wp-optimize-settings-clean-postmeta label, .wp-optimize-settings-clean-orphandata label, .wp-optimize-settings-clean-commentmeta label {
|
78 |
+
color: red;
|
79 |
+
}
|
80 |
+
|
81 |
+
#retention-period {
|
82 |
+
width: 60px;
|
83 |
+
}
|
84 |
+
|
85 |
+
.wp-optimize-settings-optimization-info {
|
86 |
+
font-size: 80%;
|
87 |
+
padding-left: 32px;
|
88 |
+
font-style: italic;
|
89 |
+
}
|
90 |
+
|
91 |
+
.wp-optimize-settings input[type="checkbox"] {
|
92 |
+
width: 18px;
|
93 |
+
}
|
94 |
+
|
95 |
+
/* Added for the Image on Addons tab*/
|
96 |
+
img.addons {
|
97 |
+
display: block;
|
98 |
+
margin-left: auto;
|
99 |
+
margin-right: auto;
|
100 |
+
width: 260px;
|
101 |
+
height: 220px;
|
102 |
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
// Parent class for all optimizations
|
6 |
+
|
7 |
+
abstract class WP_Optimization {
|
8 |
+
|
9 |
+
// Ideally, these would all be the same. But, historically, some are not; hence, three separate IDs.
|
10 |
+
// TODO: Make them all the same (will involve some options re-writing)
|
11 |
+
public $id;
|
12 |
+
|
13 |
+
protected $setting_id;
|
14 |
+
// TODO: I suspect that dom_id can be changed + then removed fairly easily. Even if it is used for saving options (haven't checked), that can be re-written at save time.
|
15 |
+
protected $dom_id;
|
16 |
+
protected $auto_id;
|
17 |
+
|
18 |
+
protected $available_for_auto;
|
19 |
+
|
20 |
+
protected $ui_sort_order;
|
21 |
+
protected $run_sort_order = 1000;
|
22 |
+
|
23 |
+
protected $optimizer;
|
24 |
+
protected $options;
|
25 |
+
|
26 |
+
public $retention_enabled;
|
27 |
+
public $retention_period;
|
28 |
+
|
29 |
+
// Results. These should be accessed via get_results()
|
30 |
+
private $output;
|
31 |
+
private $meta;
|
32 |
+
private $sql_commands;
|
33 |
+
|
34 |
+
protected $wpdb;
|
35 |
+
|
36 |
+
// This is abstracted so as to provide future possibilities, e.g. logging
|
37 |
+
protected function query($sql) {
|
38 |
+
$this->sql_commands[] = $sql;
|
39 |
+
do_action('wp_optimize_optimization_query', $sql, $this);
|
40 |
+
$result = $this->wpdb->query($sql);
|
41 |
+
return apply_filters('wp_optimize_optimization_query_result', $result, $sql, $this);
|
42 |
+
}
|
43 |
+
|
44 |
+
abstract public function get_info();
|
45 |
+
|
46 |
+
abstract public function optimize();
|
47 |
+
|
48 |
+
abstract public function settings_label();
|
49 |
+
|
50 |
+
public function __construct() {
|
51 |
+
$class_name = get_class($this);
|
52 |
+
// Remove the prefixed WP_Optimization_
|
53 |
+
$this->id = substr($class_name, 16);
|
54 |
+
$this->optimizer = WP_Optimize()->get_optimizer();
|
55 |
+
$this->options = WP_Optimize()->get_options();
|
56 |
+
global $wpdb;
|
57 |
+
$this->wpdb = $wpdb;
|
58 |
+
}
|
59 |
+
|
60 |
+
public function do_optimization() {
|
61 |
+
return $this->optimizer->do_optimization($this);
|
62 |
+
}
|
63 |
+
|
64 |
+
public function get_optimization_info() {
|
65 |
+
return $this->optimizer->get_optimization_info($this);
|
66 |
+
}
|
67 |
+
|
68 |
+
// This function adds output to the current registered output
|
69 |
+
public function register_output($output) {
|
70 |
+
$this->output[] = $output;
|
71 |
+
}
|
72 |
+
|
73 |
+
// This function adds meta-data associated with the result to the registered output
|
74 |
+
public function register_meta($key, $value) {
|
75 |
+
$this->meta[$key] = $value;
|
76 |
+
}
|
77 |
+
|
78 |
+
public function init() {
|
79 |
+
|
80 |
+
$this->output = array();
|
81 |
+
$this->meta = array();
|
82 |
+
$this->sql_commands = array();
|
83 |
+
|
84 |
+
list ($retention_enabled, $retention_period) = $this->optimizer->get_retain_info();
|
85 |
+
|
86 |
+
$this->retention_enabled = $retention_enabled;
|
87 |
+
$this->retention_period = $retention_period;
|
88 |
+
|
89 |
+
}
|
90 |
+
|
91 |
+
// The next three functions reflect the fact that historically, WP-Optimize has not, for all optimizations, used the same ID consistently throughout forms, saved settings, and saved settings for automatic clean-ups. Mostly, it has; but some flexibility is needed for the exceptions.
|
92 |
+
public function get_setting_id() {
|
93 |
+
return empty($this->setting_id) ? 'user-'.$this->id : 'user-'.$this->setting_id;
|
94 |
+
}
|
95 |
+
|
96 |
+
public function get_dom_id() {
|
97 |
+
return empty($this->dom_id) ? 'clean-'.$this->id : $this->dom_id;
|
98 |
+
}
|
99 |
+
|
100 |
+
public function get_auto_id() {
|
101 |
+
return empty($this->auto_id) ? $this->id : $this->auto_id;
|
102 |
+
}
|
103 |
+
|
104 |
+
// Only used if $available_for_auto is true, in which case this function should be over-ridden
|
105 |
+
public function get_auto_option_description() {
|
106 |
+
return 'Error: missing automatic option description ('.$this->id.')';
|
107 |
+
}
|
108 |
+
|
109 |
+
public function get_results() {
|
110 |
+
|
111 |
+
// As yet, we have no need for a dedicated object type for our results
|
112 |
+
$results = new stdClass;
|
113 |
+
|
114 |
+
$results->sql_commands = $this->sql_commands;
|
115 |
+
$results->output = $this->output;
|
116 |
+
$results->meta = $this->meta;
|
117 |
+
|
118 |
+
return apply_filters('wp_optimize_optimization_results', $results, $this->id, $this);
|
119 |
+
}
|
120 |
+
|
121 |
+
public function output_settings_html() {
|
122 |
+
|
123 |
+
$wpo_user_selection = $this->options->get_main_settings();
|
124 |
+
$setting_id = $this->get_setting_id();
|
125 |
+
$dom_id = $this->get_dom_id();
|
126 |
+
|
127 |
+
// N.B. Some of the optimizations used to have an onclick call to fCheck(). But that function was commented out, so did nothing.
|
128 |
+
|
129 |
+
$settings_label = $this->settings_label();
|
130 |
+
|
131 |
+
$setting_activated = (empty($wpo_user_selection[$setting_id]) || 'false' == $wpo_user_selection[$setting_id]) ? false : true;
|
132 |
+
|
133 |
+
if (!empty($settings_label)) {
|
134 |
+
|
135 |
+
?>
|
136 |
+
<div class="wp-optimize-settings wp-optimize-settings-<?php echo $dom_id;?>">
|
137 |
+
|
138 |
+
<input name="<?php echo $dom_id;?>" id="<?php echo $dom_id;?>" type="checkbox" value="true" <?php if ($setting_activated) echo 'checked="checked"';?>>
|
139 |
+
|
140 |
+
<label for="<?php echo $dom_id;?>"><?php echo $settings_label; ?></label>
|
141 |
+
|
142 |
+
<br>
|
143 |
+
|
144 |
+
<div class="wp-optimize-settings-optimization-info"><?php
|
145 |
+
$results = $this->get_optimization_info()->output;
|
146 |
+
$subsequent_one = false;
|
147 |
+
foreach ($results as $key => $line) {
|
148 |
+
if ($subsequent_one) { echo '<br>'; } else { $subsequent_one = true; }
|
149 |
+
echo $line;
|
150 |
+
}
|
151 |
+
?></div>
|
152 |
+
|
153 |
+
</div>
|
154 |
+
<?php
|
155 |
+
} else {
|
156 |
+
// error_log, as this is a defect
|
157 |
+
error_log("Optimization with setting ID ".$setting_id." lacks a settings label (method: settings_label())");
|
158 |
+
}
|
159 |
+
}
|
160 |
+
|
161 |
+
}
|
@@ -0,0 +1,308 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die ('No direct access allowed');
|
4 |
+
|
5 |
+
// Options handling
|
6 |
+
|
7 |
+
// The proper way to obtain access to the instance is via WP_Optimize()->get_options();
|
8 |
+
|
9 |
+
class WP_Optimize_Options {
|
10 |
+
|
11 |
+
// private $opts = array();
|
12 |
+
|
13 |
+
// public function options_table() {
|
14 |
+
// return 'options';
|
15 |
+
// }
|
16 |
+
//
|
17 |
+
public function admin_page_url() {
|
18 |
+
return admin_url('admin.php?page=WP-Optimize');
|
19 |
+
}
|
20 |
+
//
|
21 |
+
// public function admin_page() {
|
22 |
+
// return 'options-general.php';
|
23 |
+
// }
|
24 |
+
|
25 |
+
public function get_option($option, $default = false) {
|
26 |
+
return get_option('wp-optimize-'.$option, $default);
|
27 |
+
}
|
28 |
+
|
29 |
+
public function update_option($option, $value, $use_cache = true) {
|
30 |
+
return update_option('wp-optimize-'.$option, $value);
|
31 |
+
}
|
32 |
+
|
33 |
+
public function delete_option($option) {
|
34 |
+
delete_option('wp-optimize-'.$option);
|
35 |
+
}
|
36 |
+
|
37 |
+
public function get_option_keys() {
|
38 |
+
|
39 |
+
return apply_filters(
|
40 |
+
'wp_optimize_option_keys',
|
41 |
+
array('weekly-schedule', 'schedule', 'retention-enabled', 'retention-period', 'last-optimized', 'enable-admin-menu', 'schedule-type', 'total-cleaned', 'current-cleaned', 'email-address', 'email', 'auto', 'settings')
|
42 |
+
);
|
43 |
+
}
|
44 |
+
|
45 |
+
// This particular option has its own functions abstracted to make it easier to change the format in future, and to allow callers to always assume the latest format (because get_main_settings() will convert, if needed)
|
46 |
+
private function save_main_settings($settings) {
|
47 |
+
$settings['last_saved_in'] = WPO_VERSION;
|
48 |
+
$this->update_option('settings', $settings);
|
49 |
+
}
|
50 |
+
|
51 |
+
public function get_main_settings() {
|
52 |
+
return $this->get_option('settings');
|
53 |
+
}
|
54 |
+
|
55 |
+
public function save_posted_settings() {
|
56 |
+
|
57 |
+
if ('POST' != $_SERVER['REQUEST_METHOD']) return array();
|
58 |
+
|
59 |
+
// Nonce check
|
60 |
+
check_admin_referer('wpo_settings');
|
61 |
+
|
62 |
+
$optimizer = WP_Optimize()->get_optimizer();
|
63 |
+
|
64 |
+
$output = array();
|
65 |
+
|
66 |
+
if (isset($_POST["enable-schedule"])) {
|
67 |
+
|
68 |
+
$this->update_option('schedule', 'true');
|
69 |
+
|
70 |
+
wpo_cron_deactivate();
|
71 |
+
|
72 |
+
/* if (!wp_next_scheduled('wpo_cron_event2')) {
|
73 |
+
wp_schedule_event(time(), 'wpo_weekly', 'wpo_cron_event2');
|
74 |
+
add_filter('cron_schedules', 'wpo_cron_update_sched');
|
75 |
+
|
76 |
+
}*/
|
77 |
+
|
78 |
+
if (isset($_POST["schedule_type"])) {
|
79 |
+
$schedule_type = (string)$_POST['schedule_type'];
|
80 |
+
$this->update_option('schedule-type', $schedule_type);
|
81 |
+
} else {
|
82 |
+
$this->update_option('schedule-type', 'wpo_weekly');
|
83 |
+
}
|
84 |
+
|
85 |
+
WP_Optimize()->cron_activate();
|
86 |
+
|
87 |
+
} else {
|
88 |
+
$this->update_option('schedule', 'false');
|
89 |
+
$this->update_option('schedule-type', 'wpo_weekly');
|
90 |
+
wpo_cron_deactivate();
|
91 |
+
}
|
92 |
+
if (isset($_POST["enable-retention"])) {
|
93 |
+
$retention_period = (int)$_POST['retention-period'];
|
94 |
+
$this->update_option('retention-enabled', 'true');
|
95 |
+
$this->update_option('retention-period', $retention_period);
|
96 |
+
} else {
|
97 |
+
$this->update_option('retention-enabled', 'false');
|
98 |
+
}
|
99 |
+
|
100 |
+
if (isset($_POST['enable-admin-bar'])) {
|
101 |
+
$this->update_option('enable-admin-menu', 'true');
|
102 |
+
} else {
|
103 |
+
$this->update_option('enable-admin-menu', 'false');
|
104 |
+
}
|
105 |
+
|
106 |
+
if (isset($_POST["enable-email"])) {
|
107 |
+
// $this->update_option('enable-email', 'true');
|
108 |
+
} else {
|
109 |
+
//$this->update_option('enable-email', 'false');
|
110 |
+
}
|
111 |
+
|
112 |
+
if (isset($_POST["enable-email-address"])) {
|
113 |
+
//$this->update_option('enable-email-address', wp_unslash( $_POST["enable-email-address"] ) );
|
114 |
+
} else {
|
115 |
+
//$this->update_option('enable-email-address', get_bloginfo ( 'admin_email' ) );
|
116 |
+
}
|
117 |
+
|
118 |
+
if (isset($_POST['wp-optimize-settings'])) {
|
119 |
+
|
120 |
+
$new_options = isset($_POST['wp-optimize-auto']) ? $_POST['wp-optimize-auto'] : array();
|
121 |
+
|
122 |
+
if (!is_array($new_options)) $new_options = array();
|
123 |
+
|
124 |
+
$new_auto_options = array();
|
125 |
+
|
126 |
+
$optimizations = $optimizer->get_optimizations();
|
127 |
+
|
128 |
+
foreach ($optimizations as $optimization_id => $optimization) {
|
129 |
+
|
130 |
+
if (empty($optimization->available_for_auto)) continue;
|
131 |
+
|
132 |
+
$auto_id = $optimization->get_auto_id();
|
133 |
+
|
134 |
+
$new_auto_options[$auto_id] = !empty($new_options[$auto_id]) ? 'true' : 'false';
|
135 |
+
|
136 |
+
}
|
137 |
+
|
138 |
+
$this->update_option('auto', $new_auto_options);
|
139 |
+
|
140 |
+
}
|
141 |
+
|
142 |
+
if (isset($_POST['wp-optimize-disable-enable-trackbacks'])) {
|
143 |
+
|
144 |
+
if (0 == $_POST['wp-optimize-disable-enable-trackbacks']) {
|
145 |
+
$optimizer->enable_linkbacks('trackbacks', false);
|
146 |
+
$output[] = __('Trackbacks disabled on all current and previously published posts', 'wp-optimize');
|
147 |
+
|
148 |
+
}
|
149 |
+
|
150 |
+
if (1 == $_POST['wp-optimize-disable-enable-trackbacks']) {
|
151 |
+
$optimizer->enable_linkbacks('trackbacks');
|
152 |
+
$output[] = __('Trackbacks enabled on all current and previously published posts', 'wp-optimize');
|
153 |
+
}
|
154 |
+
}
|
155 |
+
|
156 |
+
if( isset($_POST['wp-optimize-disable-enable-comments']) ) {
|
157 |
+
|
158 |
+
if (0 == $_POST['wp-optimize-disable-enable-comments']) {
|
159 |
+
$optimizer->enable_linkbacks('comments', false);
|
160 |
+
$output[] = __('Comments disabled on all current and previously published posts', 'wp-optimize');
|
161 |
+
}
|
162 |
+
|
163 |
+
if (1 == $_POST['wp-optimize-disable-enable-comments']) {
|
164 |
+
$optimizer->enable_linkbacks('comments');
|
165 |
+
$output[] = __('Comments enabled on all current and previously published posts', 'wp-optimize');
|
166 |
+
}
|
167 |
+
}
|
168 |
+
|
169 |
+
$output[] = __('Settings updated', 'wp-optimize');
|
170 |
+
|
171 |
+
return $output;
|
172 |
+
|
173 |
+
}
|
174 |
+
|
175 |
+
public function save_posted_options() {
|
176 |
+
|
177 |
+
if (!isset($_POST['wp-optimize'])) return;
|
178 |
+
|
179 |
+
$optimizations = WP_Optimize()->get_optimizer()->get_optimizations();
|
180 |
+
$user_options = array();
|
181 |
+
|
182 |
+
foreach ($optimizations as $optimization) {
|
183 |
+
// In current code, not all options can be saved.
|
184 |
+
///: revisions, drafts, spams, unapproved, optimize
|
185 |
+
if (empty($optimization->available_for_saving)) continue;
|
186 |
+
$setting_id = $optimization->get_setting_id();
|
187 |
+
$dom_id = $optimization->get_dom_id();
|
188 |
+
// 'true' / 'false' are indeed strings here; this is the historical state. It may be possible to change later using our abstraction interface.
|
189 |
+
$user_options[$setting_id] = isset($_POST[$dom_id]) ? 'true' : 'false';
|
190 |
+
}
|
191 |
+
|
192 |
+
$this->save_main_settings($user_options);
|
193 |
+
|
194 |
+
}
|
195 |
+
|
196 |
+
public function delete_all_options() {
|
197 |
+
$option_keys = $this->get_option_keys();
|
198 |
+
foreach ($option_keys as $key) {
|
199 |
+
$this->delete_option($key);
|
200 |
+
}
|
201 |
+
}
|
202 |
+
|
203 |
+
/*
|
204 |
+
* function set_default_options()
|
205 |
+
*
|
206 |
+
* parameters: none
|
207 |
+
*
|
208 |
+
* setup options if not exists already
|
209 |
+
*
|
210 |
+
* @return void
|
211 |
+
*/
|
212 |
+
public function set_default_options() {
|
213 |
+
$deprecated = null;
|
214 |
+
$autoload_no = 'no';
|
215 |
+
|
216 |
+
if ($this->get_option('schedule') !== false) {
|
217 |
+
// The option already exists, so we just update it.
|
218 |
+
|
219 |
+
} else {
|
220 |
+
// The option hasn't been added yet. We'll add it with $autoload_no set to 'no'.
|
221 |
+
$this->update_option('schedule', 'false', $deprecated, $autoload_no );
|
222 |
+
$this->update_option('last-optimized', 'Never', $deprecated, $autoload_no );
|
223 |
+
$this->update_option('schedule-type', 'wpo_weekly', $deprecated, $autoload_no );
|
224 |
+
// deactivate cron
|
225 |
+
wpo_cron_deactivate();
|
226 |
+
}
|
227 |
+
|
228 |
+
if ($this->get_option('retention-enabled') !== false) {
|
229 |
+
//
|
230 |
+
}
|
231 |
+
else {
|
232 |
+
$this->update_option('retention-enabled', 'false', $deprecated, $autoload_no );
|
233 |
+
$this->update_option('retention-period', '2', $deprecated, $autoload_no );
|
234 |
+
}
|
235 |
+
|
236 |
+
if ($this->get_option('enable-admin-menu') !== false) {
|
237 |
+
//
|
238 |
+
} else {
|
239 |
+
$this->update_option('enable-admin-menu', 'false', $deprecated, $autoload_no );
|
240 |
+
}
|
241 |
+
// ---------
|
242 |
+
if ($this->get_option('enable-email') !== false) {
|
243 |
+
//
|
244 |
+
} else {
|
245 |
+
//$this->update_option('enable-email', 'true', $deprecated, $autoload_no );
|
246 |
+
}
|
247 |
+
// ---------
|
248 |
+
if ($this->get_option('enable-email-address') !== '' ) {
|
249 |
+
//
|
250 |
+
} else {
|
251 |
+
//$this->update_option('enable-email-address', get_bloginfo ( 'admin_email' ), $deprecated, $autoload_no );
|
252 |
+
}
|
253 |
+
|
254 |
+
if ($this->get_option('total-cleaned') !== false) {
|
255 |
+
//
|
256 |
+
} else {
|
257 |
+
$this->update_option('total-cleaned', '0', $deprecated, $autoload_no );
|
258 |
+
}
|
259 |
+
|
260 |
+
if ($this->get_option('auto') !== false) {
|
261 |
+
// The option already exists, so we just update it.
|
262 |
+
} else {
|
263 |
+
|
264 |
+
$optimizer = WP_Optimize()->get_optimizer();
|
265 |
+
|
266 |
+
$optimizations = $optimizer->get_optimizations();
|
267 |
+
|
268 |
+
$new_auto_options = array();
|
269 |
+
|
270 |
+
foreach ($optimizations as $optimization) {
|
271 |
+
|
272 |
+
if (empty($optimization->available_for_auto)) continue;
|
273 |
+
|
274 |
+
$auto_id = $optimization->get_auto_id();
|
275 |
+
|
276 |
+
$new_auto_options[$auto_id] = empty($optimization->auto_default) ? 'false' : 'true';
|
277 |
+
|
278 |
+
}
|
279 |
+
|
280 |
+
$this->update_option('auto', $new_auto_options );
|
281 |
+
|
282 |
+
}
|
283 |
+
|
284 |
+
// settings for main screen
|
285 |
+
if ($this->get_main_settings() !== false) {
|
286 |
+
// The option already exists, so we just update it.
|
287 |
+
} else {
|
288 |
+
|
289 |
+
$optimizer = WP_Optimize()->get_optimizer();
|
290 |
+
|
291 |
+
$optimizations = $optimizer->get_optimizations();
|
292 |
+
|
293 |
+
$new_settings = array();
|
294 |
+
|
295 |
+
foreach ($optimizations as $optimization) {
|
296 |
+
|
297 |
+
$setting_id = $optimization->get_setting_id();
|
298 |
+
|
299 |
+
$new_settings[$setting_id] = empty($optimization->setting_default) ? 'false' : 'true';
|
300 |
+
|
301 |
+
}
|
302 |
+
|
303 |
+
$this->save_main_settings($new_settings);
|
304 |
+
}
|
305 |
+
|
306 |
+
}
|
307 |
+
|
308 |
+
}
|
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
/*
|
6 |
+
This class invokes optimiazations. The optimizations themselves live in the 'optimizations' sub-directory of the plugin.
|
7 |
+
|
8 |
+
The proper way to obtain access to the instance is via WP_Optimize()->get_optimizer();
|
9 |
+
*/
|
10 |
+
|
11 |
+
class WP_Optimizer {
|
12 |
+
|
13 |
+
public function get_retain_info() {
|
14 |
+
|
15 |
+
$options = WP_Optimize()->get_options();
|
16 |
+
|
17 |
+
$retain_enabled = $options->get_option('retention-enabled', 'false');
|
18 |
+
$retain_period = $retain_enabled ? $options->get_option('retention-period', '2') : null;
|
19 |
+
|
20 |
+
return array($retain_enabled, $retain_period);
|
21 |
+
}
|
22 |
+
|
23 |
+
public function get_optimizations_list() {
|
24 |
+
|
25 |
+
$optimizations = array();
|
26 |
+
|
27 |
+
$optimizations_dir = WPO_PLUGIN_MAIN_PATH.'/optimizations';
|
28 |
+
|
29 |
+
if ($dh = opendir($optimizations_dir)) {
|
30 |
+
while (($file = readdir($dh)) !== false) {
|
31 |
+
if ('.' == $file || '..' == $file || '.php' != substr($file, -4, 4) || !is_file($optimizations_dir.'/'.$file) || 'inactive-' == substr($file, 0, 9)) continue;
|
32 |
+
$optimizations[] = substr($file, 0, strlen($file) - 4);
|
33 |
+
}
|
34 |
+
closedir($dh);
|
35 |
+
}
|
36 |
+
|
37 |
+
return apply_filters('wp_optimize_get_optimizations_list', $optimizations);
|
38 |
+
|
39 |
+
}
|
40 |
+
|
41 |
+
// Currently, there is only one sort rule (so, the parameter's value is ignored)
|
42 |
+
// $optimizations should be an array of optimizations (i.e. WP_Optimization instances)
|
43 |
+
public function sort_optimizations($optimizations, $sort_on = 'ui_sort_order', $sort_rule = 'traditional') {
|
44 |
+
if ('run_sort_order' == $sort_on) {
|
45 |
+
uasort($optimizations, array($this, 'sort_optimizations_run_traditional'));
|
46 |
+
} else {
|
47 |
+
uasort($optimizations, array($this, 'sort_optimizations_ui_traditional'));
|
48 |
+
}
|
49 |
+
return $optimizations;
|
50 |
+
}
|
51 |
+
|
52 |
+
public function sort_optimizations_ui_traditional($a, $b) {
|
53 |
+
return $this->sort_optimizations_traditional($a, $b, 'ui_sort_order');
|
54 |
+
}
|
55 |
+
|
56 |
+
public function sort_optimizations_run_traditional($a, $b) {
|
57 |
+
return $this->sort_optimizations_traditional($a, $b, 'run_sort_order');
|
58 |
+
}
|
59 |
+
|
60 |
+
public function sort_optimizations_traditional($a, $b, $sort_on = 'ui_sort_order') {
|
61 |
+
|
62 |
+
if (!is_a($a, 'WP_Optimization')) return (!is_a($b, 'WP_Optimization')) ? 0 : 1;
|
63 |
+
if (!is_a($b, 'WP_Optimization')) return -1;
|
64 |
+
|
65 |
+
$sort_order_a = empty($a->$sort_on) ? 0 : $a->$sort_on;
|
66 |
+
$sort_order_b = empty($b->$sort_on) ? 0 : $b->$sort_on;
|
67 |
+
|
68 |
+
if ($sort_order_a == $sort_order_b) return 0;
|
69 |
+
|
70 |
+
return ($sort_order_a < $sort_order_b) ? -1 : 1;
|
71 |
+
|
72 |
+
}
|
73 |
+
|
74 |
+
// This method returns an array of available optimisations. Each array key is an optimization ID, and the value is an object, as returned by get_optimization()
|
75 |
+
public function get_optimizations() {
|
76 |
+
|
77 |
+
$optimizations = $this->get_optimizations_list();
|
78 |
+
|
79 |
+
$optimization_objects = array();
|
80 |
+
|
81 |
+
foreach ($optimizations as $optimization) {
|
82 |
+
$optimization_objects[$optimization] = $this->get_optimization($optimization);
|
83 |
+
}
|
84 |
+
|
85 |
+
return apply_filters('wp_optimize_get_optimizations', $optimization_objects);
|
86 |
+
|
87 |
+
}
|
88 |
+
|
89 |
+
// This method returns an object for a specific optimization
|
90 |
+
// This will return a WP_Error if the requested optimization is not found
|
91 |
+
private function get_optimization($which_optimization) {
|
92 |
+
|
93 |
+
$optimization_class = apply_filters('wp_optimize_optimization_class', 'WP_Optimization_'.$which_optimization);
|
94 |
+
|
95 |
+
if (!class_exists('WP_Optimization')) require_once(WPO_PLUGIN_MAIN_PATH.'/includes/class-wp-optimization.php');
|
96 |
+
|
97 |
+
if (!class_exists($optimization_class)) {
|
98 |
+
$optimization_file = WPO_PLUGIN_MAIN_PATH.'/optimizations/'.$which_optimization.'.php';
|
99 |
+
$class_file = apply_filters('wp_optimize_optimization_class_file', $optimization_file);
|
100 |
+
if (!preg_match('/^[a-z]+$/', $which_optimization) || !file_exists($class_file)) {
|
101 |
+
return new WP_Error('no_such_optimization', __('No such optimization', 'wp-optimize'), $which_optimization);
|
102 |
+
}
|
103 |
+
|
104 |
+
require_once($class_file);
|
105 |
+
|
106 |
+
if (!class_exists($optimization_class)) {
|
107 |
+
return new WP_Error('no_such_optimization', __('No such optimization', 'wp-optimize'), $which_optimization);
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
$optimization = new $optimization_class($which_optimization);
|
112 |
+
|
113 |
+
return $optimization;
|
114 |
+
|
115 |
+
}
|
116 |
+
|
117 |
+
// The method to call to perform an optimization.
|
118 |
+
// $which_optimization can be either a (string)id, or a WP_Optimization object
|
119 |
+
// Returns a result object
|
120 |
+
public function do_optimization($which_optimization) {
|
121 |
+
|
122 |
+
$optimization = (is_object($which_optimization) && is_a($which_optimization, 'WP_Optimization')) ? $which_optimization : $this->get_optimization($which_optimization);
|
123 |
+
|
124 |
+
if (is_wp_error($optimization)) return $optimization;
|
125 |
+
|
126 |
+
$optimization->init();
|
127 |
+
|
128 |
+
if (apply_filters('wp_optimize_do_optimization', true, $which_optimization, $optimization)) {
|
129 |
+
|
130 |
+
$optimization->optimize();
|
131 |
+
|
132 |
+
}
|
133 |
+
|
134 |
+
do_action('wp_optimize_after_optimization', $which_optimization, $optimization);
|
135 |
+
|
136 |
+
$results = $optimization->get_results();
|
137 |
+
|
138 |
+
return $results;
|
139 |
+
}
|
140 |
+
|
141 |
+
// The method to call to get information about an optimization. As with do_optimization, it is somewhat modelled after the template interface
|
142 |
+
// $which_optimization can either be an ID (string), or a class (from get_optimization())
|
143 |
+
public function get_optimization_info($which_optimization) {
|
144 |
+
|
145 |
+
$optimization = (is_object($which_optimization) && is_a($which_optimization, 'WP_Optimization')) ? $which_optimization : $this->get_optimization($which_optimization);
|
146 |
+
|
147 |
+
if (is_wp_error($optimization)) return $optimization;
|
148 |
+
|
149 |
+
$optimization->init();
|
150 |
+
|
151 |
+
$optimization->get_info();
|
152 |
+
|
153 |
+
return $optimization->get_results();
|
154 |
+
}
|
155 |
+
|
156 |
+
|
157 |
+
// $optimization_options: whether to do an optimization depends on what keys are set (legacy - can be changed hopefully)
|
158 |
+
// Returns an array of result objects
|
159 |
+
public function do_optimizations($optimization_options, $which_option = 'dom') {
|
160 |
+
|
161 |
+
$results = array();
|
162 |
+
|
163 |
+
$optimizations = $this->sort_optimizations($this->get_optimizations(), 'run_sort_order');
|
164 |
+
|
165 |
+
foreach ($optimizations as $optimization_id => $optimization) {
|
166 |
+
|
167 |
+
$option_id = call_user_func(array($optimization, 'get_'.$which_option.'_id'));
|
168 |
+
|
169 |
+
if (isset($optimization_options[$option_id])) {
|
170 |
+
|
171 |
+
if ('auto' == $which_option && empty($optimization->available_for_auto)) continue;
|
172 |
+
|
173 |
+
$results[$optimization_id] = $this->do_optimization($optimization_id);
|
174 |
+
|
175 |
+
}
|
176 |
+
|
177 |
+
}
|
178 |
+
|
179 |
+
return $results;
|
180 |
+
|
181 |
+
}
|
182 |
+
|
183 |
+
public function get_table_prefix($allow_override = false) {
|
184 |
+
global $wpdb;
|
185 |
+
if (is_multisite() && !defined('MULTISITE')) {
|
186 |
+
# In this case (which should only be possible on installs upgraded from pre WP 3.0 WPMU), $wpdb->get_blog_prefix() cannot be made to return the right thing. $wpdb->base_prefix is not explicitly marked as public, so we prefer to use get_blog_prefix if we can, for future compatibility.
|
187 |
+
$prefix = $wpdb->base_prefix;
|
188 |
+
} else {
|
189 |
+
$prefix = $wpdb->get_blog_prefix(0);
|
190 |
+
}
|
191 |
+
return ($allow_override) ? apply_filters('wp_optimize_get_table_prefix', $prefix) : $prefix;
|
192 |
+
}
|
193 |
+
|
194 |
+
// Do any InnoDB tables exist in the DB? Returns the number of tables found, or false if the result is undefined.
|
195 |
+
public function any_inno_db_tables() {
|
196 |
+
$tables = $this->get_tables();
|
197 |
+
if (!is_array($tables)) return false;
|
198 |
+
$how_many = 0;
|
199 |
+
foreach ($tables as $table) {
|
200 |
+
if ('InnoDB' == $table->Engine) $how_many++;
|
201 |
+
}
|
202 |
+
return $how_many;
|
203 |
+
}
|
204 |
+
|
205 |
+
public function get_tables() {
|
206 |
+
global $wpdb;
|
207 |
+
|
208 |
+
$table_status = $wpdb->get_results("SHOW TABLE STATUS");
|
209 |
+
|
210 |
+
// Filter on the site's DB prefix (was not done in releases up to 1.9.1)
|
211 |
+
$table_prefix = $this->get_table_prefix();
|
212 |
+
|
213 |
+
if (is_array($table_status)) {
|
214 |
+
foreach ($table_status as $index => $table) {
|
215 |
+
$table_name = $table->Name;
|
216 |
+
|
217 |
+
$include_table = (0 === stripos($table_name, $table_prefix));
|
218 |
+
|
219 |
+
$include_table = apply_filters('wp_optimize_get_tables_include_table', $include_table, $table_name, $table_prefix);
|
220 |
+
|
221 |
+
if (!$include_table) unset($table_status[$index]);
|
222 |
+
}
|
223 |
+
}
|
224 |
+
|
225 |
+
return apply_filters('wp_optimize_get_tables', $table_status);
|
226 |
+
}
|
227 |
+
|
228 |
+
/*
|
229 |
+
* function enable_linkbacks()
|
230 |
+
*
|
231 |
+
* parameters: what sort of linkback to enable or disable: valid values are 'trackbacks' or 'comments', and whether to enable or disable
|
232 |
+
*
|
233 |
+
* @return void
|
234 |
+
*/
|
235 |
+
public function enable_linkbacks($type, $enable = true) {
|
236 |
+
|
237 |
+
global $wpdb;
|
238 |
+
|
239 |
+
$new_status = $enable ? 'open' : 'closed';
|
240 |
+
|
241 |
+
switch ($type) {
|
242 |
+
case "trackbacks":
|
243 |
+
$thissql = "UPDATE `".$wpdb->posts."` SET ping_status='$new_status' WHERE post_status = 'publish' AND post_type = 'post';";
|
244 |
+
$trackbacks = $wpdb->query($thissql);
|
245 |
+
break;
|
246 |
+
|
247 |
+
case "comments":
|
248 |
+
$thissql = "UPDATE `".$wpdb->posts."` SET comment_status='$new_status' WHERE post_status = 'publish' AND post_type = 'post';";
|
249 |
+
$comments = $wpdb->query($thissql);
|
250 |
+
break;
|
251 |
+
|
252 |
+
default:
|
253 |
+
break;
|
254 |
+
}
|
255 |
+
|
256 |
+
}
|
257 |
+
|
258 |
+
/*
|
259 |
+
* function get_current_db_size()
|
260 |
+
*
|
261 |
+
* parameters: none
|
262 |
+
*
|
263 |
+
* this function will return total database size and a possible gain of db in KB
|
264 |
+
*
|
265 |
+
* @return array $total size, $gain
|
266 |
+
*/
|
267 |
+
public function get_current_db_size() {
|
268 |
+
|
269 |
+
$wp_optimize = WP_Optimize();
|
270 |
+
|
271 |
+
global $wpdb;
|
272 |
+
$total_gain = 0;
|
273 |
+
$total_size = 0;
|
274 |
+
$no = 0;
|
275 |
+
$row_usage = 0;
|
276 |
+
$data_usage = 0;
|
277 |
+
$index_usage = 0;
|
278 |
+
$overhead_usage = 0;
|
279 |
+
|
280 |
+
$tablesstatus = $this->get_tables();
|
281 |
+
|
282 |
+
$wp_optimize->log('Checking DB size .... ');
|
283 |
+
foreach ($tablesstatus as $tablestatus) {
|
284 |
+
$row_usage += $tablestatus->Rows;
|
285 |
+
$data_usage += $tablestatus->Data_length;
|
286 |
+
$index_usage += $tablestatus->Index_length;
|
287 |
+
|
288 |
+
if ($tablestatus->Engine != 'InnoDB'){
|
289 |
+
$overhead_usage += $tablestatus->Data_free;
|
290 |
+
$total_gain += $tablestatus->Data_free;
|
291 |
+
}
|
292 |
+
}
|
293 |
+
|
294 |
+
$total_size = $data_usage + $index_usage;
|
295 |
+
// $wp_optimize->log('Total Size .... '.$total_size);
|
296 |
+
// $wp_optimize->log('Total Gain .... '.$total_gain);
|
297 |
+
return array ($wp_optimize->format_size($total_size), $wp_optimize->format_size($total_gain));
|
298 |
+
//$wpdb->flush();
|
299 |
+
}
|
300 |
+
|
301 |
+
/*
|
302 |
+
* function update_total_cleaned($current)
|
303 |
+
*
|
304 |
+
* parameters: a string value
|
305 |
+
*
|
306 |
+
* this function will return total saved data in KB
|
307 |
+
*
|
308 |
+
* @return total size
|
309 |
+
*/
|
310 |
+
public function update_total_cleaned($current) {
|
311 |
+
|
312 |
+
$options = WP_Optimize()->get_options();
|
313 |
+
|
314 |
+
$previously_saved = floatval($options->get_option('total-cleaned', '0'));
|
315 |
+
$converted_current = floatval($current);
|
316 |
+
|
317 |
+
$total_now = strval($previously_saved + $converted_current);
|
318 |
+
|
319 |
+
$options->update_option('total-cleaned', $total_now);
|
320 |
+
$options->update_option('current-cleaned', $current);
|
321 |
+
|
322 |
+
return $total_now;
|
323 |
+
}
|
324 |
+
|
325 |
+
}
|
File without changes
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function fCheck() {
|
2 |
+
var vCleanPingbacks = document.getElementById('clean-pingbacks');
|
3 |
+
var vCleanTrackbacks = document.getElementById('clean-trackbacks');
|
4 |
+
var vCleanPostmeta = document.getElementById('clean-postmeta');
|
5 |
+
var vCleanCommentmeta = document.getElementById('clean-commentmeta');
|
6 |
+
var vCleanOrphandata = document.getElementById('clean-orphandata');
|
7 |
+
var vCleanTransient = document.getElementById('clean-transient');
|
8 |
+
|
9 |
+
/* vCleanTransient.onclick = function () {
|
10 |
+
return confirm('<?php _e('Transient options are automatically re-created by WordPress. Select this option, if you have a large number of Transient.', 'wp-optimize'); ?>');
|
11 |
+
}
|
12 |
+
|
13 |
+
if ( vCleanPingbacks.checked )
|
14 |
+
return confirm('<?php _e('This will delete all pingbacks in the database. Are you sure?', 'wp-optimize'); ?>');
|
15 |
+
|
16 |
+
if ( vCleanTrackbacks.checked )
|
17 |
+
return confirm('<?php _e('This will delete all trackbacks in the database. Are you sure?', 'wp-optimize'); ?>');
|
18 |
+
|
19 |
+
if ( vCleanPostmeta.checked )
|
20 |
+
return confirm('<?php _e('Cleaning up post meta can have unexpected results on some servers. Are you sure?', 'wp-optimize'); ?>');
|
21 |
+
|
22 |
+
if ( vCleanCommentmeta.checked )
|
23 |
+
return confirm('<?php _e('Cleaning up comments meta can have unexpected results on some servers. Are you sure?', 'wp-optimize'); ?>');
|
24 |
+
|
25 |
+
if ( vCleanOrphandata.checked )
|
26 |
+
return confirm('<?php _e('Cleaning up orphaned post relationship data can have unexpected result. Are you sure?', 'wp-optimize'); ?>');*/
|
27 |
+
|
28 |
+
}
|
29 |
+
|
30 |
+
function SetDefaults() {
|
31 |
+
document.getElementById("clean-revisions").checked = true;
|
32 |
+
document.getElementById("clean-comments").checked = true;
|
33 |
+
document.getElementById("clean-autodraft").checked = true;
|
34 |
+
document.getElementById("optimize-db").checked = true;
|
35 |
+
return false;
|
36 |
+
}
|
37 |
+
// SetDefaults();
|
38 |
+
|
39 |
+
jQuery(document).ready(function($) {
|
40 |
+
function enable_or_disable_schedule_options() {
|
41 |
+
var schedule_enabled = $('#enable-schedule').is(':checked');
|
42 |
+
if (schedule_enabled) {
|
43 |
+
$('#wp-optimize-auto-options').css('opacity', '1');
|
44 |
+
//.find('input').prop('disabled', false);
|
45 |
+
} else {
|
46 |
+
$('#wp-optimize-auto-options').css('opacity', '0.5')
|
47 |
+
//.find('input').prop('disabled', true);
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
enable_or_disable_schedule_options();
|
52 |
+
|
53 |
+
$('#enable-schedule').change(function() { enable_or_disable_schedule_options(); });
|
54 |
+
|
55 |
+
|
56 |
+
});
|
Binary file
|
Binary file
|
@@ -1,726 +0,0 @@
|
|
1 |
-
# Translation of WP-Optimize in Spanish (Spain)
|
2 |
-
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"PO-Revision-Date: 2014-09-04 09:50:07+0000\n"
|
6 |
-
"MIME-Version: 1.0\n"
|
7 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
-
"Content-Transfer-Encoding: 8bit\n"
|
9 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/0.1\n"
|
11 |
-
"Project-Id-Version: WP-Optimize\n"
|
12 |
-
|
13 |
-
#: wp-optimize-settings.php:296
|
14 |
-
msgid "This will disable/enable Comments on all your current and previously published posts"
|
15 |
-
msgstr "Esto activara/desactivara los Comentarios en todas tus publicaciones actuales y anteriores"
|
16 |
-
|
17 |
-
#: wp-optimize-settings.php:290
|
18 |
-
msgid "Comments Actions"
|
19 |
-
msgstr "Comentarios Acciones"
|
20 |
-
|
21 |
-
#: wp-optimize-settings.php:286
|
22 |
-
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
23 |
-
msgstr "Esto activara/desactivara los Trackbacks en todas tus publicaciones actuales y anteriores "
|
24 |
-
|
25 |
-
#: wp-optimize-settings.php:283 wp-optimize-settings.php:293
|
26 |
-
msgid "Enable all"
|
27 |
-
msgstr "Habilitar todos"
|
28 |
-
|
29 |
-
#: wp-optimize-settings.php:278
|
30 |
-
msgid "Trackbacks Actions"
|
31 |
-
msgstr "Trackbacks Acciones "
|
32 |
-
|
33 |
-
#: wp-optimize-settings.php:97
|
34 |
-
msgid "Trackbacks enabled on all current and previously published posts"
|
35 |
-
msgstr "Trackbacks habilitadas en todas las publicaciones actuales y publicados anteriormente"
|
36 |
-
|
37 |
-
#: wp-optimize-settings.php:282 wp-optimize-settings.php:292
|
38 |
-
msgid "Disable all"
|
39 |
-
msgstr "Desactivar todos"
|
40 |
-
|
41 |
-
#: wp-optimize-main.php:266
|
42 |
-
msgid "Do not select RED marked items unless you really need to use them"
|
43 |
-
msgstr "No seleccione los elementos marcados en ROJO a menos que realmente los necesite"
|
44 |
-
|
45 |
-
#: wp-optimize-common.php:623
|
46 |
-
#, fuzzy
|
47 |
-
msgid "%d comment removed from Trash"
|
48 |
-
msgid_plural "%d comments removed from Trash"
|
49 |
-
msgstr[0] "%d Comentario eliminado de la Papelera"
|
50 |
-
msgstr[1] "%d Comentarios eliminados de la Papelera"
|
51 |
-
|
52 |
-
#: wp-optimize-common.php:463
|
53 |
-
msgid "KB"
|
54 |
-
msgstr "KB"
|
55 |
-
|
56 |
-
#: wp-optimize-common.php:461
|
57 |
-
msgid "MB"
|
58 |
-
msgstr "MB"
|
59 |
-
|
60 |
-
#: wp-optimize-settings.php:90
|
61 |
-
msgid "Trackbacks disabled on all current and previously published posts"
|
62 |
-
msgstr "Trackbacks deshabilitados en todas las publicaciones actuales y publicados anteriormente"
|
63 |
-
|
64 |
-
#: wp-optimize-settings.php:76
|
65 |
-
msgid "Comments disabled on all current and previously published posts"
|
66 |
-
msgstr "Comentarios deshabilitados en todas las publicaciones actuales y publicados anteriormente "
|
67 |
-
|
68 |
-
#: wp-optimize-settings.php:83
|
69 |
-
msgid "Comments enabled on all current and previously published posts"
|
70 |
-
msgstr "Comentarios habilitados en todas las publicaciones actuales y publicados anteriormente "
|
71 |
-
|
72 |
-
#: wp-optimize-main.php:272
|
73 |
-
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
74 |
-
msgstr "Optimice su incrustación YouTube en WordPress con este plugin"
|
75 |
-
|
76 |
-
#: wp-optimize-common.php:459
|
77 |
-
msgid "GB"
|
78 |
-
msgstr "GB"
|
79 |
-
|
80 |
-
#: wp-optimize-common.php:629
|
81 |
-
#, fuzzy
|
82 |
-
msgid "%d unused comment metadata item removed"
|
83 |
-
msgid_plural "%d unused comment metadata items removed"
|
84 |
-
msgstr[0] "%d Removido metadato sin utilizar de comentario"
|
85 |
-
msgstr[1] "%d Removidos metadatos sin utilizar de comentarios"
|
86 |
-
|
87 |
-
#: wp-optimize-common.php:635
|
88 |
-
#, fuzzy
|
89 |
-
msgid "%d unused akismet comment metadata item removed"
|
90 |
-
msgid_plural "%d unused akismet comment metadata items removed"
|
91 |
-
msgstr[0] "%d Removido metadato sin utilizar de akismet"
|
92 |
-
msgstr[1] "%d Removidos metadatos sin utilizar de akismet"
|
93 |
-
|
94 |
-
#: wp-optimize-credits.php:76
|
95 |
-
msgid "GitHub Development Log"
|
96 |
-
msgstr "Log de Desarrollo en GitHub"
|
97 |
-
|
98 |
-
#: wp-optimize-credits.php:50
|
99 |
-
msgid "(Translator name)"
|
100 |
-
msgstr "Navone Juan | Servicio Tecnico"
|
101 |
-
|
102 |
-
#: wp-optimize-credits.php:50
|
103 |
-
msgid "http://(Translator Website)"
|
104 |
-
msgstr "http://navonejuan.tk/"
|
105 |
-
|
106 |
-
#: wp-optimize-credits.php:52
|
107 |
-
msgid "Read Translation Instructions"
|
108 |
-
msgstr "Leer Instrucciones de Traduccion"
|
109 |
-
|
110 |
-
#: wp-optimize-credits.php:65
|
111 |
-
msgid "Support E-mail"
|
112 |
-
msgstr "E-mail de soporte"
|
113 |
-
|
114 |
-
#: wp-optimize-credits.php:62
|
115 |
-
msgid "Request New Language"
|
116 |
-
msgstr "Pedir Nuevo Lenguaje"
|
117 |
-
|
118 |
-
#: wp-optimize-credits.php:61
|
119 |
-
msgid "Plugin Translation Portal (needs translator account)"
|
120 |
-
msgstr "Portal para Traduccion del Plugin (necesita cuenta de traductor)"
|
121 |
-
|
122 |
-
#: wp-optimize-credits.php:60
|
123 |
-
msgid "Get a Translator Account"
|
124 |
-
msgstr "Obtener cuenta de traductor"
|
125 |
-
|
126 |
-
#: wp-optimize-main.php:323
|
127 |
-
msgid "Rating"
|
128 |
-
msgstr "Clasificación"
|
129 |
-
|
130 |
-
#: wp-optimize-main.php:322
|
131 |
-
msgid "Please give a proper rating :)"
|
132 |
-
msgstr "Por favor, dar una clasificación adecuada :)"
|
133 |
-
|
134 |
-
#: wp-optimize-main.php:321
|
135 |
-
msgid "Donate!"
|
136 |
-
msgstr "Donar!"
|
137 |
-
|
138 |
-
#: wp-optimize-main.php:321
|
139 |
-
msgid "Please donate! It really helps me keep improvising"
|
140 |
-
msgstr "Por Favor Donar! Realmente me ayuda a seguir improvisando"
|
141 |
-
|
142 |
-
#: wp-optimize-credits.php:58
|
143 |
-
msgid "Plugin Resources"
|
144 |
-
msgstr "Recursos del Plugin"
|
145 |
-
|
146 |
-
#: wp-optimize-credits.php:63
|
147 |
-
msgid "Plugin Homepage"
|
148 |
-
msgstr "Pagina Oficial del Plugin"
|
149 |
-
|
150 |
-
#: wp-optimize-credits.php:64
|
151 |
-
msgid "Support (GitHub)"
|
152 |
-
msgstr "Soporte (GitHub)"
|
153 |
-
|
154 |
-
#: wp-optimize-credits.php:66
|
155 |
-
msgid "Change Log"
|
156 |
-
msgstr "Registro de Cambios"
|
157 |
-
|
158 |
-
#: wp-optimize-credits.php:67
|
159 |
-
msgid "FAQ"
|
160 |
-
msgstr "Preguntas Frecuentes"
|
161 |
-
|
162 |
-
#: wp-optimize-credits.php:96
|
163 |
-
msgid "No items"
|
164 |
-
msgstr "No hay elementos"
|
165 |
-
|
166 |
-
#: wp-optimize-main.php:78
|
167 |
-
msgctxt "%s is the Database Name"
|
168 |
-
msgid "%s Database Optimized!"
|
169 |
-
msgstr "Base de Datos %s Optimizada!"
|
170 |
-
|
171 |
-
#: wp-optimize-main.php:148 wp-optimize-main.php:150
|
172 |
-
msgid "Clean-up options"
|
173 |
-
msgstr "Opciones de Limpieza"
|
174 |
-
|
175 |
-
#: wp-optimize-main.php:159
|
176 |
-
#, fuzzy
|
177 |
-
msgid "Clean post revisions which are older than %d weeks"
|
178 |
-
msgstr "Limpiar revision de Publicaciones que sean mas viejas que %d semanas"
|
179 |
-
|
180 |
-
#: wp-optimize-main.php:164
|
181 |
-
msgid "Clean all post revisions"
|
182 |
-
msgstr "Limpiar todas las Revisiones de Publicaciones"
|
183 |
-
|
184 |
-
#: wp-optimize-main.php:177
|
185 |
-
#, fuzzy
|
186 |
-
msgid "Clean auto draft posts which are older than %d weeks"
|
187 |
-
msgstr "Limpiar auto borradores mas viejos que %d semanas"
|
188 |
-
|
189 |
-
#: wp-optimize-main.php:182
|
190 |
-
msgid "Clean all auto draft posts and posts in trash"
|
191 |
-
msgstr "Limpiar auto borradores y publicaciones en papelera"
|
192 |
-
|
193 |
-
#: wp-optimize-main.php:197
|
194 |
-
#, fuzzy
|
195 |
-
msgid "Remove spam comments which are older than %d weeks"
|
196 |
-
msgstr "Eliminar comentarios spam mas antiguos a %d semanas"
|
197 |
-
|
198 |
-
#: wp-optimize-main.php:202
|
199 |
-
msgid "Remove spam comments and comments in trash"
|
200 |
-
msgstr "Eliminar Spam y Comentarios en Papelera"
|
201 |
-
|
202 |
-
#: wp-optimize-main.php:216
|
203 |
-
#, fuzzy
|
204 |
-
msgid "Remove unapproved comments which are older than %d weeks"
|
205 |
-
msgstr "Eliminar comentarios sin aprobar mas antiguos a %d semanas"
|
206 |
-
|
207 |
-
#: wp-optimize-main.php:221 wp-optimize-settings.php:230
|
208 |
-
msgid "Remove unapproved comments"
|
209 |
-
msgstr "Eliminar comentarios sin aprobar"
|
210 |
-
|
211 |
-
#: wp-optimize-main.php:234 wp-optimize-settings.php:235
|
212 |
-
msgid "Remove transient options"
|
213 |
-
msgstr "Eliminar opciones transitorias"
|
214 |
-
|
215 |
-
#: wp-optimize-main.php:245
|
216 |
-
msgid "Remove pingbacks"
|
217 |
-
msgstr "Eliminar pingbacks"
|
218 |
-
|
219 |
-
#: wp-optimize-main.php:256
|
220 |
-
msgid "Remove trackbacks"
|
221 |
-
msgstr "Eliminar trackbacks"
|
222 |
-
|
223 |
-
#: wp-optimize-main.php:282
|
224 |
-
msgid "Actions"
|
225 |
-
msgstr "Acciones"
|
226 |
-
|
227 |
-
#: wp-optimize-main.php:291
|
228 |
-
msgid "Optimize database tables"
|
229 |
-
msgstr "Optimizar tablas de la base de datos"
|
230 |
-
|
231 |
-
#: wp-optimize-main.php:299
|
232 |
-
msgid "Note:"
|
233 |
-
msgstr "Nota:"
|
234 |
-
|
235 |
-
#: wp-optimize-main.php:302
|
236 |
-
msgid "InnoDB tables will not be optimized"
|
237 |
-
msgstr "Tablas de InnoDB no se optimizaran"
|
238 |
-
|
239 |
-
#: wp-optimize-main.php:308
|
240 |
-
msgid "Select safe options"
|
241 |
-
msgstr "Seleccionar opciones seguras"
|
242 |
-
|
243 |
-
#: wp-optimize-main.php:309
|
244 |
-
msgid "Warning:"
|
245 |
-
msgstr "Cuidado:"
|
246 |
-
|
247 |
-
#: wp-optimize-main.php:310
|
248 |
-
msgid "Always make a backup of your DB when you upgrade to major versions"
|
249 |
-
msgstr "Siempre realiza un resguardo de tu BD cuando actualizes a una version nueva"
|
250 |
-
|
251 |
-
#: wp-optimize-main.php:315
|
252 |
-
msgid "PROCESS"
|
253 |
-
msgstr "PROCESAR"
|
254 |
-
|
255 |
-
#: wp-optimize-main.php:328
|
256 |
-
msgid "Status log"
|
257 |
-
msgstr "Estado del Log"
|
258 |
-
|
259 |
-
#: wp-optimize-main.php:343
|
260 |
-
msgid "Last automatic optimization was at"
|
261 |
-
msgstr "La ultima optimizacion automatica fue"
|
262 |
-
|
263 |
-
#: wp-optimize-main.php:355
|
264 |
-
msgid "There was no automatic optimization"
|
265 |
-
msgstr "No hay optimizaciones automaticas"
|
266 |
-
|
267 |
-
#: wp-optimize-main.php:405 wp-optimize-main.php:430
|
268 |
-
msgid "Check settings"
|
269 |
-
msgstr "Comprobar Configuracion"
|
270 |
-
|
271 |
-
#: wp-optimize-main.php:370
|
272 |
-
msgid "Scheduled cleaning enabled"
|
273 |
-
msgstr "Limpieza programada habilitada"
|
274 |
-
|
275 |
-
#: wp-optimize-main.php:382
|
276 |
-
msgid "Next schedule:"
|
277 |
-
msgstr "Proxima programacion:"
|
278 |
-
|
279 |
-
#: wp-optimize-main.php:393
|
280 |
-
msgid "Refresh"
|
281 |
-
msgstr "Refrescar"
|
282 |
-
|
283 |
-
#: wp-optimize-main.php:402
|
284 |
-
msgid "Scheduled cleaning disabled"
|
285 |
-
msgstr "Limpieza programada deshabilitada"
|
286 |
-
|
287 |
-
#: wp-optimize-main.php:416
|
288 |
-
#, fuzzy
|
289 |
-
msgid "Keeping last %s weeks data"
|
290 |
-
msgstr "Mantener últimos %s datos semanales"
|
291 |
-
|
292 |
-
#: wp-optimize-main.php:427
|
293 |
-
msgid "Not keeping recent data"
|
294 |
-
msgstr "No mantener datos recientes"
|
295 |
-
|
296 |
-
#: wp-optimize-main.php:444 wp-optimize-main.php:456
|
297 |
-
msgid "Current database size:"
|
298 |
-
msgstr "Tamaño de la base de datos actual:"
|
299 |
-
|
300 |
-
#: wp-optimize-main.php:449
|
301 |
-
msgid "You have saved:"
|
302 |
-
msgstr "Se Salvaron:"
|
303 |
-
|
304 |
-
#: wp-optimize-main.php:464
|
305 |
-
msgid "You can save almost:"
|
306 |
-
msgstr "Puedes salvar casi:"
|
307 |
-
|
308 |
-
#: wp-optimize-main.php:481
|
309 |
-
msgid "Total clean up overall:"
|
310 |
-
msgstr "Total de la limpieza general:"
|
311 |
-
|
312 |
-
#: wp-optimize-main.php:502
|
313 |
-
msgid "Sponsor"
|
314 |
-
msgstr "Patrocinador"
|
315 |
-
|
316 |
-
#: wp-optimize-settings.php:71
|
317 |
-
msgid "Settings updated"
|
318 |
-
msgstr "Configuracion actualizada"
|
319 |
-
|
320 |
-
#: wp-optimize-settings.php:114
|
321 |
-
msgid "General Settings"
|
322 |
-
msgstr "Configuracion General"
|
323 |
-
|
324 |
-
#: wp-optimize-settings.php:119
|
325 |
-
#, fuzzy
|
326 |
-
msgid "Keep last %s weeks data"
|
327 |
-
msgstr "Mantener Ultimos %s Datos Semanales"
|
328 |
-
|
329 |
-
#: wp-optimize-settings.php:135
|
330 |
-
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
331 |
-
msgstr "Esta opción retendrá los últimos datos de las semanas seleccionadas y eliminara cualquier dato basura anterior a ese período. Esto también afectará al proceso automático de limpieza"
|
332 |
-
|
333 |
-
#: wp-optimize-settings.php:144
|
334 |
-
msgid "Enable admin bar link"
|
335 |
-
msgstr "Habilitar en la barra administrativa"
|
336 |
-
|
337 |
-
#: wp-optimize-settings.php:146
|
338 |
-
msgid "(Click here to refresh)"
|
339 |
-
msgstr "(Click aqui para referescar)"
|
340 |
-
|
341 |
-
#: wp-optimize-settings.php:152
|
342 |
-
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
343 |
-
msgstr "Esta opcion pondra un link a WP-Optimize en la barra administrativa de arriba (predeterminado es desactivado). Requiere refresco de pagina"
|
344 |
-
|
345 |
-
#: wp-optimize-settings.php:158
|
346 |
-
msgid "SAVE SETTINGS"
|
347 |
-
msgstr "GUARDAR CONFIGURACION"
|
348 |
-
|
349 |
-
#: wp-optimize-settings.php:168
|
350 |
-
msgid "Auto Clean-up Settings"
|
351 |
-
msgstr "Configuracion de Auto-Limpieza"
|
352 |
-
|
353 |
-
#: wp-optimize-settings.php:171
|
354 |
-
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
355 |
-
msgstr "Habilitar limpieza programada y optimización (función Beta!)"
|
356 |
-
|
357 |
-
#: wp-optimize-settings.php:173
|
358 |
-
msgid "Select schedule type (default is Weekly)"
|
359 |
-
msgstr "Seleccione el tipo de programacion (por defecto es semanal)"
|
360 |
-
|
361 |
-
#: wp-optimize-settings.php:180 wp-optimize-settings.php:192
|
362 |
-
#: wp-optimize-settings.php:198
|
363 |
-
msgid "Every week"
|
364 |
-
msgstr "Cada Semana"
|
365 |
-
|
366 |
-
#: wp-optimize-settings.php:184 wp-optimize-settings.php:199
|
367 |
-
msgid "Every other week (every 14 days)"
|
368 |
-
msgstr "Cada otra semana (cada 14 dias)"
|
369 |
-
|
370 |
-
#: wp-optimize-settings.php:188 wp-optimize-settings.php:200
|
371 |
-
msgid "Every month (every 31 days)"
|
372 |
-
msgstr "Cada Mes (cada 31 dias)"
|
373 |
-
|
374 |
-
#: wp-optimize-settings.php:204
|
375 |
-
msgid "Automatic cleanup will perform the following:"
|
376 |
-
msgstr "Limpieza automatica realizara lo siguiente: "
|
377 |
-
|
378 |
-
#: wp-optimize-settings.php:206
|
379 |
-
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
380 |
-
msgstr "Eliminar revisiones, borradores automaticos, publicaciones/cometarios en papelera, opciones transitorias. Luego se optimizara la bd."
|
381 |
-
|
382 |
-
#: wp-optimize-settings.php:213
|
383 |
-
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
384 |
-
msgstr "Estas opciones solo trabajaran si la limpieza automatica esta activada"
|
385 |
-
|
386 |
-
#: wp-optimize-settings.php:218
|
387 |
-
msgid "Remove auto revisions"
|
388 |
-
msgstr "Eliminar revisiones automaticas"
|
389 |
-
|
390 |
-
#: wp-optimize-settings.php:222
|
391 |
-
msgid "Remove auto drafts"
|
392 |
-
msgstr "Eliminar borradores automaticos"
|
393 |
-
|
394 |
-
#: wp-optimize-settings.php:226
|
395 |
-
msgid "Remove spam comments"
|
396 |
-
msgstr "Eliminar comentarios Spam"
|
397 |
-
|
398 |
-
#: wp-optimize-settings.php:239
|
399 |
-
msgid "Remove orphaned post meta"
|
400 |
-
msgstr "Eliminar informacion de publicacion huerfana"
|
401 |
-
|
402 |
-
#: wp-optimize-settings.php:243
|
403 |
-
msgid "Remove unused tags"
|
404 |
-
msgstr "Eliminar etiquetas sin usar"
|
405 |
-
|
406 |
-
#: wp-optimize-settings.php:249
|
407 |
-
msgid "Optimize database"
|
408 |
-
msgstr "Optimizar base de datos"
|
409 |
-
|
410 |
-
#: wp-optimize-settings.php:255
|
411 |
-
msgid "If you have InnoDB tables. They will not be optimized!"
|
412 |
-
msgstr "Si tienes tablas InnoDB. No serán optimizadas! "
|
413 |
-
|
414 |
-
#: wp-optimize-settings.php:262
|
415 |
-
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
416 |
-
msgstr "GUARDAR CONFIGURACION DE AUTO-LIMPIEZA"
|
417 |
-
|
418 |
-
#: wp-optimize-tables.php:20
|
419 |
-
msgid "Database Name:"
|
420 |
-
msgstr "Nombre de la Base de Datos"
|
421 |
-
|
422 |
-
#: wp-optimize-tables.php:28
|
423 |
-
msgid "Optimized all the tables found in the database."
|
424 |
-
msgstr "Optimizadas todas las tablas encontadas en la base de datos"
|
425 |
-
|
426 |
-
#: wp-optimize-tables.php:36
|
427 |
-
msgid "No."
|
428 |
-
msgstr "No."
|
429 |
-
|
430 |
-
#: wp-optimize-tables.php:38
|
431 |
-
msgid "Records"
|
432 |
-
msgstr "Datos"
|
433 |
-
|
434 |
-
#: wp-optimize-tables.php:39
|
435 |
-
msgid "Data Size"
|
436 |
-
msgstr "Tamaño de los Datos"
|
437 |
-
|
438 |
-
#: wp-optimize-tables.php:40
|
439 |
-
msgid "Index Size"
|
440 |
-
msgstr "Tamaño del Indice"
|
441 |
-
|
442 |
-
#: wp-optimize-tables.php:41
|
443 |
-
msgid "Type"
|
444 |
-
msgstr "Tipo"
|
445 |
-
|
446 |
-
#: wp-optimize-tables.php:42
|
447 |
-
msgid "Overhead"
|
448 |
-
msgstr "Excedente"
|
449 |
-
|
450 |
-
#: wp-optimize-tables.php:137
|
451 |
-
msgid "Total:"
|
452 |
-
msgstr "Total:"
|
453 |
-
|
454 |
-
#: wp-optimize-tables.php:138
|
455 |
-
msgid "%d Table"
|
456 |
-
msgid_plural "%d Tables"
|
457 |
-
msgstr[0] "%d Tabla"
|
458 |
-
msgstr[1] "%d Tablas"
|
459 |
-
|
460 |
-
#: wp-optimize-tables.php:139
|
461 |
-
msgid "%d Record"
|
462 |
-
msgid_plural "%d Records"
|
463 |
-
msgstr[0] "%d Datos"
|
464 |
-
msgstr[1] "%d Datos"
|
465 |
-
|
466 |
-
#: wp-optimize-tables.php:179
|
467 |
-
msgid "Total Size of Database:"
|
468 |
-
msgstr "Tamaño Total de la Base de Datos:"
|
469 |
-
|
470 |
-
#: wp-optimize-tables.php:191
|
471 |
-
msgid "Optimization Results:"
|
472 |
-
msgstr "Resultados de Optimizacion:"
|
473 |
-
|
474 |
-
#: wp-optimize-tables.php:196
|
475 |
-
msgid "Total Space Saved:"
|
476 |
-
msgstr "Espacio Total Salvado:"
|
477 |
-
|
478 |
-
#: wp-optimize-tables.php:208
|
479 |
-
msgid "Optimization Possibility:"
|
480 |
-
msgstr "Posibilidad de Optimizacion:"
|
481 |
-
|
482 |
-
#: wp-optimize-tables.php:215
|
483 |
-
msgid "Total space can be saved:"
|
484 |
-
msgstr "Esapcion total que puede ser salvado:"
|
485 |
-
|
486 |
-
msgid "WP-Optimize"
|
487 |
-
msgstr "WP-Optimize"
|
488 |
-
|
489 |
-
msgid "http://www.ruhanirabin.com/wp-optimize/"
|
490 |
-
msgstr "http://www.ruhanirabin.com/wp-optimize/"
|
491 |
-
|
492 |
-
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
493 |
-
msgstr "Este plugin te ayudará a mantener tu base de datos limpia quitando las revisiones de publicaciones y spam en un resplandor. Adicionalmente, te permite ejecutar comandos de optimizcion en las tablas de WordPress (usar con precaución)."
|
494 |
-
|
495 |
-
msgid "Ruhani Rabin"
|
496 |
-
msgstr "Ruhani Rabin"
|
497 |
-
|
498 |
-
msgid "https://github.com/ruhanirabin/WP-Optimize"
|
499 |
-
msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
500 |
-
|
501 |
-
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
502 |
-
msgid "Optimizer"
|
503 |
-
msgstr "Optimizador"
|
504 |
-
|
505 |
-
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
506 |
-
msgid "MYSQL"
|
507 |
-
msgstr "MYSQL"
|
508 |
-
|
509 |
-
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
510 |
-
msgid "Settings"
|
511 |
-
msgstr "Configuracion"
|
512 |
-
|
513 |
-
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
514 |
-
msgid "Info"
|
515 |
-
msgstr "Informacion"
|
516 |
-
|
517 |
-
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
518 |
-
msgid "Tables"
|
519 |
-
msgstr "Tablas"
|
520 |
-
|
521 |
-
#: wp-optimize-common.php:465
|
522 |
-
msgid "bytes"
|
523 |
-
msgstr "bytes"
|
524 |
-
|
525 |
-
#: wp-optimize-common.php:554
|
526 |
-
#, fuzzy
|
527 |
-
msgid "%d transient option deleted"
|
528 |
-
msgid_plural "%d transient options deleted"
|
529 |
-
msgstr[0] "%d opcion transitoria eliminada"
|
530 |
-
msgstr[1] "%d opciones transitoria eliminadas"
|
531 |
-
|
532 |
-
#: wp-optimize-common.php:581
|
533 |
-
#, fuzzy
|
534 |
-
msgid "%d post revision deleted"
|
535 |
-
msgid_plural "%d post revisions deleted"
|
536 |
-
msgstr[0] "%d revision de publicacion eliminada"
|
537 |
-
msgstr[1] "%d revisiones de publicaciones eliminadas"
|
538 |
-
|
539 |
-
#: wp-optimize-common.php:592
|
540 |
-
#, fuzzy
|
541 |
-
msgid "%d auto draft deleted"
|
542 |
-
msgid_plural "%d auto drafts deleted"
|
543 |
-
msgstr[0] "%d borrador automatico eliminado"
|
544 |
-
msgstr[1] "%d borradores automaticos eliminados"
|
545 |
-
|
546 |
-
#: wp-optimize-common.php:602
|
547 |
-
#, fuzzy
|
548 |
-
msgid "%d item removed from Trash"
|
549 |
-
msgid_plural "%d items removed from Trash"
|
550 |
-
msgstr[0] "%d elemento eliminado de la Papelera"
|
551 |
-
msgstr[1] "%d elementos eliminados de la Papelera"
|
552 |
-
|
553 |
-
#: wp-optimize-common.php:614
|
554 |
-
#, fuzzy
|
555 |
-
msgid "%d spam comment deleted"
|
556 |
-
msgid_plural "%d spam comments deleted"
|
557 |
-
msgstr[0] "%d eliminado comentario spam"
|
558 |
-
msgstr[1] "%d eliminados comentarios spam"
|
559 |
-
|
560 |
-
#: wp-optimize-common.php:645
|
561 |
-
#, fuzzy
|
562 |
-
msgid "%d unapproved comment deleted"
|
563 |
-
msgid_plural "%d unapproved comments deleted"
|
564 |
-
msgstr[0] "%d comentario sin aprobar eliminado"
|
565 |
-
msgstr[1] "%d comentarios sin aprobar eliminados"
|
566 |
-
|
567 |
-
#: wp-optimize-common.php:651
|
568 |
-
msgid "%d pingback deleted"
|
569 |
-
msgid_plural "%d pingbacks deleted"
|
570 |
-
msgstr[0] "%d pingback eliminado"
|
571 |
-
msgstr[1] "%d pingbacks eliminados"
|
572 |
-
|
573 |
-
#: wp-optimize-common.php:657
|
574 |
-
msgid "%d trackback deleted"
|
575 |
-
msgid_plural "%d trackbacks deleted"
|
576 |
-
msgstr[0] "%d trackback eliminado"
|
577 |
-
msgstr[1] "%d trackbacks eliminados"
|
578 |
-
|
579 |
-
#: wp-optimize-common.php:664
|
580 |
-
msgid "Enabled weekly processing"
|
581 |
-
msgstr "Procesamiento semanal Activado"
|
582 |
-
|
583 |
-
#: wp-optimize-common.php:670
|
584 |
-
msgid "Disabled weekly processing"
|
585 |
-
msgstr "Procesamiento semanal Desactivado"
|
586 |
-
|
587 |
-
#: wp-optimize-common.php:679
|
588 |
-
msgid "NO Actions Taken"
|
589 |
-
msgstr "No se Realizaron Acciones"
|
590 |
-
|
591 |
-
#: wp-optimize-common.php:706
|
592 |
-
#, fuzzy
|
593 |
-
msgid "%d transient option in your database"
|
594 |
-
msgid_plural "%d transient options in your database"
|
595 |
-
msgstr[0] "%d opcion transitoria en tu base de datos"
|
596 |
-
msgstr[1] "%d opciones transitorias en tu base de datos"
|
597 |
-
|
598 |
-
#: wp-optimize-common.php:708
|
599 |
-
msgid "No transient options found"
|
600 |
-
msgstr "No se encontraron opciones transitorias"
|
601 |
-
|
602 |
-
#: wp-optimize-common.php:717
|
603 |
-
#, fuzzy
|
604 |
-
msgid "%d orphaned postmeta in your database"
|
605 |
-
msgid_plural "%d orphaned postmeta in your database"
|
606 |
-
msgstr[0] "%d informacion de publicacion huerfana en tu base de datos"
|
607 |
-
msgstr[1] "%d informaciones de publicaciones huerfanas en tu base de datos"
|
608 |
-
|
609 |
-
#: wp-optimize-common.php:719
|
610 |
-
msgid "No orphaned postmeta in your database"
|
611 |
-
msgstr "no hay informacion de publicacion huerfana en tu base de datos"
|
612 |
-
|
613 |
-
#: wp-optimize-common.php:728
|
614 |
-
#, fuzzy
|
615 |
-
msgid "%d unused tag in your database"
|
616 |
-
msgid_plural "%d unused tags in your database"
|
617 |
-
msgstr[0] "%d etiqueta sin usar en tu base de datos"
|
618 |
-
msgstr[1] "%d etiquetas sin usar en tu base de datos"
|
619 |
-
|
620 |
-
#: wp-optimize-common.php:730
|
621 |
-
msgid "No unused tags found"
|
622 |
-
msgstr "So se encontraron etiquetas sin usar"
|
623 |
-
|
624 |
-
#: wp-optimize-common.php:743
|
625 |
-
#, fuzzy
|
626 |
-
msgid "%d post revision in your database"
|
627 |
-
msgid_plural "%d post revisions in your database"
|
628 |
-
msgstr[0] "%d revision de publicacion en tu base de datos"
|
629 |
-
msgstr[1] "%d revisiones de publicaciones en tu base de datos"
|
630 |
-
|
631 |
-
#: wp-optimize-common.php:745
|
632 |
-
msgid "No post revisions found"
|
633 |
-
msgstr "No se encontraron revisiones de publicaciones"
|
634 |
-
|
635 |
-
#: wp-optimize-common.php:758
|
636 |
-
#, fuzzy
|
637 |
-
msgid "%d auto draft post in your database"
|
638 |
-
msgid_plural "%d auto draft posts in your database"
|
639 |
-
msgstr[0] "%d borrador Automatico en tu base de datos"
|
640 |
-
msgstr[1] "%d borradores Automaticos en tu base de datos"
|
641 |
-
|
642 |
-
#: wp-optimize-common.php:760
|
643 |
-
msgid "No auto draft posts found"
|
644 |
-
msgstr "No se encontraron borradores automaticos"
|
645 |
-
|
646 |
-
#: wp-optimize-common.php:772
|
647 |
-
#, fuzzy
|
648 |
-
msgid "%d spam comment found"
|
649 |
-
msgid_plural "%d spam comments found"
|
650 |
-
msgstr[0] "%d comentario spam encontrado"
|
651 |
-
msgstr[1] "%d comentarios spam encontrados"
|
652 |
-
|
653 |
-
#: wp-optimize-common.php:772 wp-optimize-common.php:803
|
654 |
-
msgid "Review"
|
655 |
-
msgstr "Reseña"
|
656 |
-
|
657 |
-
#: wp-optimize-common.php:774
|
658 |
-
msgid "No spam comments found"
|
659 |
-
msgstr "no se encontraron comentarios spam"
|
660 |
-
|
661 |
-
#: wp-optimize-common.php:803
|
662 |
-
#, fuzzy
|
663 |
-
msgid "%d unapproved comment found"
|
664 |
-
msgid_plural "%d unapproved comments found"
|
665 |
-
msgstr[0] "%d comentario sin aprobar encontrado"
|
666 |
-
msgstr[1] "%d comentarios sin aprobar encontrados"
|
667 |
-
|
668 |
-
#: wp-optimize-common.php:805
|
669 |
-
msgid "No unapproved comments found"
|
670 |
-
msgstr "No se encontraron comentarios sin aprobar"
|
671 |
-
|
672 |
-
#: wp-optimize-common.php:813
|
673 |
-
msgid "%d Pingback found"
|
674 |
-
msgid_plural "%d Pingbacks found"
|
675 |
-
msgstr[0] "%d Pingback encontrado"
|
676 |
-
msgstr[1] "%d Pingbacks encontrados"
|
677 |
-
|
678 |
-
#: wp-optimize-common.php:815
|
679 |
-
msgid "No pingbacks found"
|
680 |
-
msgstr "No se encotnraron pingbacks"
|
681 |
-
|
682 |
-
#: wp-optimize-common.php:823
|
683 |
-
msgid "%d Trackback found"
|
684 |
-
msgid_plural "%d Trackbacks found"
|
685 |
-
msgstr[0] "%d Trackback encontrado"
|
686 |
-
msgstr[1] "%d Trackbacks encontrados"
|
687 |
-
|
688 |
-
#: wp-optimize-common.php:825
|
689 |
-
msgid "No trackbacks found"
|
690 |
-
msgstr "No se encontraron trackbacks"
|
691 |
-
|
692 |
-
#: wp-optimize-common.php:831
|
693 |
-
msgid "nothing"
|
694 |
-
msgstr "nada"
|
695 |
-
|
696 |
-
#: wp-optimize-credits.php:14
|
697 |
-
msgid "Credits"
|
698 |
-
msgstr "Creditos"
|
699 |
-
|
700 |
-
#: wp-optimize-credits.php:15
|
701 |
-
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
702 |
-
msgstr "WP-Optimize comenzo como una utilidad para mis propios proyectos. De pronto me di cuenta de que este plugin puedria ayudar a mucha gente por ahi. Doy las gracias personalmente a todos los usuarios que utilizan este plugin a diario. Tambien agradezco a todos los traductores y las generosas personas que han donado a este proyecto."
|
703 |
-
|
704 |
-
#: wp-optimize-credits.php:25
|
705 |
-
msgid "Share this plugin on Facebook"
|
706 |
-
msgstr "Compatir este plugin en Facebook"
|
707 |
-
|
708 |
-
#: wp-optimize-credits.php:38
|
709 |
-
msgid "Contributing Developers"
|
710 |
-
msgstr "Desarrolladores Contribuyentes"
|
711 |
-
|
712 |
-
#: wp-optimize-credits.php:39
|
713 |
-
msgid "Help me make this plugin better"
|
714 |
-
msgstr "Ayudame a mejorar este plugin"
|
715 |
-
|
716 |
-
#: wp-optimize-credits.php:39
|
717 |
-
msgid "I am looking for contributing developers."
|
718 |
-
msgstr "Estoy buscando desarrolladores contribuyentes."
|
719 |
-
|
720 |
-
#: wp-optimize-credits.php:40
|
721 |
-
msgid "Your name and website will be credited here in the plugin"
|
722 |
-
msgstr "Tu nombre y pagina web seran acreditados aqui en el plugin"
|
723 |
-
|
724 |
-
#: wp-optimize-credits.php:49
|
725 |
-
msgid "Translators"
|
726 |
-
msgstr "Traductores"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Binary file
|
@@ -1,8 +1,8 @@
|
|
1 |
-
# Translation of WP-Optimize in
|
2 |
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"PO-Revision-Date: 2015-03-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,84 +12,84 @@ msgstr ""
|
|
12 |
|
13 |
#: wp-optimize-common.php:72
|
14 |
msgid "Automatic Operation Completed"
|
15 |
-
msgstr "
|
16 |
|
17 |
#: wp-optimize-common.php:74
|
18 |
msgid "Scheduled optimization was executed at"
|
19 |
-
msgstr "
|
20 |
|
21 |
#: wp-optimize-common.php:76
|
22 |
msgid "You can safely delete this email."
|
23 |
-
msgstr "
|
24 |
|
25 |
#: wp-optimize-common.php:78
|
26 |
msgid "Regards,"
|
27 |
-
msgstr "
|
28 |
|
29 |
#: wp-optimize-common.php:79
|
30 |
msgid "WP-Optimize Plugin"
|
31 |
-
msgstr "WP-
|
32 |
|
33 |
#: wp-optimize-settings.php:233 wp-optimize-settings.php:255
|
34 |
msgid "Everyday"
|
35 |
-
msgstr "
|
36 |
|
37 |
#: wp-optimize-settings.php:322
|
38 |
msgid "Enable email notification"
|
39 |
-
msgstr "
|
40 |
|
41 |
#: wp-optimize-settings.php:329
|
42 |
msgid "Send email to"
|
43 |
-
msgstr "
|
44 |
|
45 |
msgid "http://wp-optimize.ruhanirabin.com/"
|
46 |
msgstr "http://wp-optimize.ruhanirabin.com/"
|
47 |
|
48 |
#: wp-optimize-settings.php:191
|
49 |
msgid "Disable/Enable Comments"
|
50 |
-
msgstr "
|
51 |
|
52 |
#: wp-optimize-settings.php:180 wp-optimize-settings.php:195
|
53 |
msgid "Enable"
|
54 |
-
msgstr "
|
55 |
|
56 |
#: wp-optimize-settings.php:179 wp-optimize-settings.php:194
|
57 |
msgid "Disable"
|
58 |
-
msgstr "
|
59 |
|
60 |
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
61 |
msgid "SELECT"
|
62 |
-
msgstr "
|
63 |
|
64 |
#: wp-optimize-settings.php:176
|
65 |
msgid "Disable/Enable Trackbacks"
|
66 |
-
msgstr "
|
67 |
|
68 |
#: wp-optimize-settings.php:174
|
69 |
msgid "Trackback/Comments Actions"
|
70 |
-
msgstr "
|
71 |
|
72 |
#: wp-optimize-settings.php:200
|
73 |
msgid "This will disable/enable Comments on all your current and previously published posts"
|
74 |
-
msgstr "
|
75 |
|
76 |
#: wp-optimize-settings.php:185
|
77 |
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
78 |
-
msgstr "
|
79 |
|
80 |
#: wp-optimize-settings.php:94
|
81 |
msgid "Trackbacks enabled on all current and previously published posts"
|
82 |
-
msgstr "
|
83 |
|
84 |
#: wp-optimize-main.php:272
|
85 |
msgid "Do not select RED marked items unless you really need to use them"
|
86 |
-
msgstr "
|
87 |
|
88 |
#: wp-optimize-common.php:704
|
89 |
#, fuzzy
|
90 |
msgid "%d comment removed from Trash"
|
91 |
msgid_plural "%d comments removed from Trash"
|
92 |
-
msgstr[0] "%d
|
93 |
|
94 |
#: wp-optimize-common.php:543
|
95 |
msgid "KB"
|
@@ -101,19 +101,19 @@ msgstr "MB"
|
|
101 |
|
102 |
#: wp-optimize-settings.php:88
|
103 |
msgid "Trackbacks disabled on all current and previously published posts"
|
104 |
-
msgstr "
|
105 |
|
106 |
#: wp-optimize-settings.php:103
|
107 |
msgid "Comments disabled on all current and previously published posts"
|
108 |
-
msgstr "
|
109 |
|
110 |
#: wp-optimize-settings.php:109
|
111 |
msgid "Comments enabled on all current and previously published posts"
|
112 |
-
msgstr "
|
113 |
|
114 |
#: wp-optimize-main.php:278 wp-optimize-settings.php:207
|
115 |
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
116 |
-
msgstr "
|
117 |
|
118 |
#: wp-optimize-common.php:539
|
119 |
msgid "GB"
|
@@ -123,412 +123,412 @@ msgstr "GB"
|
|
123 |
#, fuzzy
|
124 |
msgid "%d unused comment metadata item removed"
|
125 |
msgid_plural "%d unused comment metadata items removed"
|
126 |
-
msgstr[0] "%d
|
127 |
|
128 |
#: wp-optimize-common.php:716
|
129 |
#, fuzzy
|
130 |
msgid "%d unused akismet comment metadata item removed"
|
131 |
msgid_plural "%d unused akismet comment metadata items removed"
|
132 |
-
msgstr[0] "%d
|
133 |
|
134 |
#: wp-optimize-credits.php:67
|
135 |
msgid "GitHub Development Log"
|
136 |
-
msgstr "GitHub
|
137 |
|
138 |
#: wp-optimize-credits.php:41
|
139 |
msgid "(Translator name)"
|
140 |
-
msgstr "
|
141 |
|
142 |
#: wp-optimize-credits.php:41
|
143 |
msgid "http://(Translator Website)"
|
144 |
-
msgstr "http://
|
145 |
|
146 |
#: wp-optimize-credits.php:43
|
147 |
msgid "Read Translation Instructions"
|
148 |
-
msgstr "
|
149 |
|
150 |
#: wp-optimize-credits.php:56
|
151 |
msgid "Support E-mail"
|
152 |
-
msgstr "
|
153 |
|
154 |
#: wp-optimize-credits.php:53
|
155 |
msgid "Request New Language"
|
156 |
-
msgstr "
|
157 |
|
158 |
#: wp-optimize-credits.php:52
|
159 |
msgid "Plugin Translation Portal (needs translator account)"
|
160 |
-
msgstr "
|
161 |
|
162 |
#: wp-optimize-credits.php:51
|
163 |
msgid "Get a Translator Account"
|
164 |
-
msgstr "
|
165 |
|
166 |
#: wp-optimize-main.php:329
|
167 |
msgid "Rating"
|
168 |
-
msgstr "
|
169 |
|
170 |
#: wp-optimize-main.php:328
|
171 |
msgid "Please give a proper rating :)"
|
172 |
-
msgstr "
|
173 |
|
174 |
#: wp-optimize-main.php:327
|
175 |
msgid "Donate!"
|
176 |
-
msgstr "
|
177 |
|
178 |
#: wp-optimize-main.php:327
|
179 |
msgid "Please donate! It really helps me keep improvising"
|
180 |
-
msgstr "
|
181 |
|
182 |
#: wp-optimize-credits.php:49
|
183 |
msgid "Plugin Resources"
|
184 |
-
msgstr "
|
185 |
|
186 |
#: wp-optimize-credits.php:54
|
187 |
msgid "Plugin Homepage"
|
188 |
-
msgstr "
|
189 |
|
190 |
#: wp-optimize-credits.php:55
|
191 |
msgid "Support (GitHub)"
|
192 |
-
msgstr "
|
193 |
|
194 |
#: wp-optimize-credits.php:57
|
195 |
msgid "Change Log"
|
196 |
-
msgstr "
|
197 |
|
198 |
#: wp-optimize-credits.php:58
|
199 |
msgid "FAQ"
|
200 |
-
msgstr "
|
201 |
|
202 |
#: wp-optimize-credits.php:87
|
203 |
msgid "No items"
|
204 |
-
msgstr "
|
205 |
|
206 |
#: wp-optimize-main.php:76
|
207 |
#, fuzzy, php-format
|
208 |
msgctxt "%s is the Database Name"
|
209 |
msgid "%s Database Optimized!"
|
210 |
-
msgstr "%s
|
211 |
|
212 |
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
213 |
msgid "Clean-up options"
|
214 |
-
msgstr "
|
215 |
|
216 |
#: wp-optimize-main.php:165
|
217 |
#, fuzzy
|
218 |
msgid "Clean post revisions which are older than %d weeks"
|
219 |
-
msgstr "
|
220 |
|
221 |
#: wp-optimize-main.php:170
|
222 |
msgid "Clean all post revisions"
|
223 |
-
msgstr "
|
224 |
|
225 |
#: wp-optimize-main.php:183
|
226 |
#, fuzzy
|
227 |
msgid "Clean auto draft posts which are older than %d weeks"
|
228 |
-
msgstr "
|
229 |
|
230 |
#: wp-optimize-main.php:188
|
231 |
msgid "Clean all auto draft posts and posts in trash"
|
232 |
-
msgstr "
|
233 |
|
234 |
#: wp-optimize-main.php:203
|
235 |
#, fuzzy
|
236 |
msgid "Remove spam comments which are older than %d weeks"
|
237 |
-
msgstr "
|
238 |
|
239 |
#: wp-optimize-main.php:208
|
240 |
msgid "Remove spam comments and comments in trash"
|
241 |
-
msgstr "
|
242 |
|
243 |
#: wp-optimize-main.php:222
|
244 |
#, fuzzy
|
245 |
msgid "Remove unapproved comments which are older than %d weeks"
|
246 |
-
msgstr "
|
247 |
|
248 |
#: wp-optimize-main.php:227 wp-optimize-settings.php:288
|
249 |
msgid "Remove unapproved comments"
|
250 |
-
msgstr "
|
251 |
|
252 |
#: wp-optimize-main.php:240 wp-optimize-settings.php:293
|
253 |
msgid "Remove transient options"
|
254 |
-
msgstr "
|
255 |
|
256 |
#: wp-optimize-main.php:251
|
257 |
msgid "Remove pingbacks"
|
258 |
-
msgstr "
|
259 |
|
260 |
#: wp-optimize-main.php:262
|
261 |
msgid "Remove trackbacks"
|
262 |
-
msgstr "
|
263 |
|
264 |
#: wp-optimize-main.php:288
|
265 |
msgid "Actions"
|
266 |
-
msgstr "
|
267 |
|
268 |
#: wp-optimize-main.php:297
|
269 |
msgid "Optimize database tables"
|
270 |
-
msgstr "
|
271 |
|
272 |
#: wp-optimize-main.php:305
|
273 |
msgid "Note:"
|
274 |
-
msgstr "
|
275 |
|
276 |
#: wp-optimize-main.php:308
|
277 |
msgid "InnoDB tables will not be optimized"
|
278 |
-
msgstr "InnoDB
|
279 |
|
280 |
#: wp-optimize-main.php:314
|
281 |
msgid "Select safe options"
|
282 |
-
msgstr "
|
283 |
|
284 |
#: wp-optimize-main.php:315
|
285 |
msgid "Warning:"
|
286 |
-
msgstr "
|
287 |
|
288 |
#: wp-optimize-main.php:316
|
289 |
msgid "Always make a backup of your DB when you upgrade to major versions"
|
290 |
-
msgstr "
|
291 |
|
292 |
#: wp-optimize-main.php:321
|
293 |
msgid "PROCESS"
|
294 |
-
msgstr "
|
295 |
|
296 |
#: wp-optimize-main.php:334
|
297 |
msgid "Status log"
|
298 |
-
msgstr "
|
299 |
|
300 |
#: wp-optimize-main.php:349
|
301 |
msgid "Last automatic optimization was at"
|
302 |
-
msgstr "
|
303 |
|
304 |
#: wp-optimize-main.php:361
|
305 |
msgid "There was no automatic optimization"
|
306 |
-
msgstr "
|
307 |
|
308 |
#: wp-optimize-main.php:411 wp-optimize-main.php:436
|
309 |
msgid "Check settings"
|
310 |
-
msgstr "
|
311 |
|
312 |
#: wp-optimize-main.php:376
|
313 |
msgid "Scheduled cleaning enabled"
|
314 |
-
msgstr "
|
315 |
|
316 |
#: wp-optimize-main.php:388
|
317 |
msgid "Next schedule:"
|
318 |
-
msgstr "
|
319 |
|
320 |
#: wp-optimize-main.php:399
|
321 |
msgid "Refresh"
|
322 |
-
msgstr "
|
323 |
|
324 |
#: wp-optimize-main.php:408
|
325 |
msgid "Scheduled cleaning disabled"
|
326 |
-
msgstr "
|
327 |
|
328 |
#: wp-optimize-main.php:422
|
329 |
#, fuzzy
|
330 |
msgid "Keeping last %s weeks data"
|
331 |
-
msgstr "
|
332 |
|
333 |
#: wp-optimize-main.php:433
|
334 |
msgid "Not keeping recent data"
|
335 |
-
msgstr "
|
336 |
|
337 |
#: wp-optimize-main.php:450 wp-optimize-main.php:462
|
338 |
msgid "Current database size:"
|
339 |
-
msgstr "
|
340 |
|
341 |
#: wp-optimize-main.php:455
|
342 |
msgid "You have saved:"
|
343 |
-
msgstr "
|
344 |
|
345 |
#: wp-optimize-main.php:470
|
346 |
msgid "You can save almost:"
|
347 |
-
msgstr "
|
348 |
|
349 |
#: wp-optimize-main.php:487
|
350 |
msgid "Total clean up overall:"
|
351 |
-
msgstr "
|
352 |
|
353 |
#: wp-optimize-main.php:508
|
354 |
msgid "Sponsor"
|
355 |
-
msgstr "
|
356 |
|
357 |
#: wp-optimize-settings.php:115
|
358 |
msgid "Settings updated"
|
359 |
-
msgstr "
|
360 |
|
361 |
#: wp-optimize-settings.php:132
|
362 |
msgid "General Settings"
|
363 |
-
msgstr "
|
364 |
|
365 |
#: wp-optimize-settings.php:137
|
366 |
#, fuzzy
|
367 |
msgid "Keep last %s weeks data"
|
368 |
-
msgstr "
|
369 |
|
370 |
#: wp-optimize-settings.php:153
|
371 |
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
372 |
-
msgstr "
|
373 |
|
374 |
#: wp-optimize-settings.php:162
|
375 |
msgid "Enable admin bar link"
|
376 |
-
msgstr "
|
377 |
|
378 |
#: wp-optimize-settings.php:164
|
379 |
msgid "(Click here to refresh)"
|
380 |
-
msgstr "(
|
381 |
|
382 |
#: wp-optimize-settings.php:170
|
383 |
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
384 |
-
msgstr "
|
385 |
|
386 |
#: wp-optimize-settings.php:211
|
387 |
msgid "SAVE SETTINGS"
|
388 |
-
msgstr "
|
389 |
|
390 |
#: wp-optimize-settings.php:221
|
391 |
msgid "Auto Clean-up Settings"
|
392 |
-
msgstr "
|
393 |
|
394 |
#: wp-optimize-settings.php:224
|
395 |
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
396 |
-
msgstr "
|
397 |
|
398 |
#: wp-optimize-settings.php:226
|
399 |
msgid "Select schedule type (default is Weekly)"
|
400 |
-
msgstr "
|
401 |
|
402 |
#: wp-optimize-settings.php:237 wp-optimize-settings.php:249
|
403 |
#: wp-optimize-settings.php:256
|
404 |
msgid "Every week"
|
405 |
-
msgstr "
|
406 |
|
407 |
#: wp-optimize-settings.php:241 wp-optimize-settings.php:257
|
408 |
msgid "Every other week (every 14 days)"
|
409 |
-
msgstr "
|
410 |
|
411 |
#: wp-optimize-settings.php:245 wp-optimize-settings.php:258
|
412 |
msgid "Every month (every 31 days)"
|
413 |
-
msgstr "
|
414 |
|
415 |
#: wp-optimize-settings.php:262
|
416 |
msgid "Automatic cleanup will perform the following:"
|
417 |
-
msgstr "
|
418 |
|
419 |
#: wp-optimize-settings.php:264
|
420 |
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
421 |
-
msgstr "
|
422 |
|
423 |
#: wp-optimize-settings.php:271
|
424 |
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
425 |
-
msgstr "
|
426 |
|
427 |
#: wp-optimize-settings.php:276
|
428 |
msgid "Remove auto revisions"
|
429 |
-
msgstr "
|
430 |
|
431 |
#: wp-optimize-settings.php:280
|
432 |
msgid "Remove auto drafts"
|
433 |
-
msgstr "
|
434 |
|
435 |
#: wp-optimize-settings.php:284
|
436 |
msgid "Remove spam comments"
|
437 |
-
msgstr "
|
438 |
|
439 |
#: wp-optimize-settings.php:297
|
440 |
msgid "Remove orphaned post meta"
|
441 |
-
msgstr "
|
442 |
|
443 |
#: wp-optimize-settings.php:301
|
444 |
msgid "Remove unused tags"
|
445 |
-
msgstr "
|
446 |
|
447 |
#: wp-optimize-settings.php:307
|
448 |
msgid "Optimize database"
|
449 |
-
msgstr "
|
450 |
|
451 |
#: wp-optimize-settings.php:313
|
452 |
msgid "If you have InnoDB tables. They will not be optimized!"
|
453 |
-
msgstr "
|
454 |
|
455 |
#: wp-optimize-settings.php:335
|
456 |
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
457 |
-
msgstr "
|
458 |
|
459 |
#: wp-optimize-tables.php:20
|
460 |
msgid "Database Name:"
|
461 |
-
msgstr "
|
462 |
|
463 |
#: wp-optimize-tables.php:28
|
464 |
msgid "Optimized all the tables found in the database."
|
465 |
-
msgstr "
|
466 |
|
467 |
#: wp-optimize-tables.php:36
|
468 |
msgid "No."
|
469 |
-
msgstr "
|
470 |
|
471 |
#: wp-optimize-tables.php:38
|
472 |
msgid "Records"
|
473 |
-
msgstr "
|
474 |
|
475 |
#: wp-optimize-tables.php:39
|
476 |
msgid "Data Size"
|
477 |
-
msgstr "
|
478 |
|
479 |
#: wp-optimize-tables.php:40
|
480 |
msgid "Index Size"
|
481 |
-
msgstr "
|
482 |
|
483 |
#: wp-optimize-tables.php:41
|
484 |
msgid "Type"
|
485 |
-
msgstr "
|
486 |
|
487 |
#: wp-optimize-tables.php:42
|
488 |
msgid "Overhead"
|
489 |
-
msgstr "
|
490 |
|
491 |
#: wp-optimize-tables.php:137
|
492 |
msgid "Total:"
|
493 |
-
msgstr "
|
494 |
|
495 |
#: wp-optimize-tables.php:138
|
496 |
msgid "%d Table"
|
497 |
msgid_plural "%d Tables"
|
498 |
-
msgstr[0] "%d
|
499 |
-
msgstr[1] "%d
|
500 |
|
501 |
#: wp-optimize-tables.php:139
|
502 |
msgid "%d Record"
|
503 |
msgid_plural "%d Records"
|
504 |
-
msgstr[0] "%d
|
505 |
-
msgstr[1] "%d
|
506 |
|
507 |
#: wp-optimize-tables.php:179
|
508 |
msgid "Total Size of Database:"
|
509 |
-
msgstr "
|
510 |
|
511 |
#: wp-optimize-tables.php:191
|
512 |
msgid "Optimization Results:"
|
513 |
-
msgstr "
|
514 |
|
515 |
#: wp-optimize-tables.php:196
|
516 |
msgid "Total Space Saved:"
|
517 |
-
msgstr "
|
518 |
|
519 |
#: wp-optimize-tables.php:208
|
520 |
msgid "Optimization Possibility:"
|
521 |
-
msgstr "
|
522 |
|
523 |
#: wp-optimize-tables.php:215
|
524 |
msgid "Total space can be saved:"
|
525 |
-
msgstr "
|
526 |
|
527 |
msgid "WP-Optimize"
|
528 |
-
msgstr "WP-
|
529 |
|
530 |
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
531 |
-
msgstr "
|
532 |
|
533 |
msgid "Ruhani Rabin"
|
534 |
msgstr "Ruhani Rabin"
|
@@ -538,7 +538,7 @@ msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
|
538 |
|
539 |
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
540 |
msgid "Optimizer"
|
541 |
-
msgstr "
|
542 |
|
543 |
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
544 |
msgid "MYSQL"
|
@@ -546,202 +546,202 @@ msgstr "MYSQL"
|
|
546 |
|
547 |
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
548 |
msgid "Settings"
|
549 |
-
msgstr "
|
550 |
|
551 |
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
552 |
msgid "Info"
|
553 |
-
msgstr "
|
554 |
|
555 |
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
556 |
msgid "Tables"
|
557 |
-
msgstr "
|
558 |
|
559 |
#: wp-optimize-common.php:545
|
560 |
msgid "bytes"
|
561 |
-
msgstr "
|
562 |
|
563 |
#: wp-optimize-common.php:635
|
564 |
#, fuzzy
|
565 |
msgid "%d transient option deleted"
|
566 |
msgid_plural "%d transient options deleted"
|
567 |
-
msgstr[0] "%d
|
568 |
|
569 |
#: wp-optimize-common.php:662
|
570 |
#, fuzzy
|
571 |
msgid "%d post revision deleted"
|
572 |
msgid_plural "%d post revisions deleted"
|
573 |
-
msgstr[0] "%d
|
574 |
|
575 |
#: wp-optimize-common.php:673
|
576 |
#, fuzzy
|
577 |
msgid "%d auto draft deleted"
|
578 |
msgid_plural "%d auto drafts deleted"
|
579 |
-
msgstr[0] "%d
|
580 |
|
581 |
#: wp-optimize-common.php:683
|
582 |
#, fuzzy
|
583 |
msgid "%d item removed from Trash"
|
584 |
msgid_plural "%d items removed from Trash"
|
585 |
-
msgstr[0] "%d
|
586 |
|
587 |
#: wp-optimize-common.php:695
|
588 |
#, fuzzy
|
589 |
msgid "%d spam comment deleted"
|
590 |
msgid_plural "%d spam comments deleted"
|
591 |
-
msgstr[0] "%d
|
592 |
|
593 |
#: wp-optimize-common.php:726
|
594 |
#, fuzzy
|
595 |
msgid "%d unapproved comment deleted"
|
596 |
msgid_plural "%d unapproved comments deleted"
|
597 |
-
msgstr[0] "%d
|
598 |
|
599 |
#: wp-optimize-common.php:732
|
600 |
#, fuzzy
|
601 |
msgid "%d pingback deleted"
|
602 |
msgid_plural "%d pingbacks deleted"
|
603 |
-
msgstr[0] "%d
|
604 |
|
605 |
#: wp-optimize-common.php:738
|
606 |
#, fuzzy
|
607 |
msgid "%d trackback deleted"
|
608 |
msgid_plural "%d trackbacks deleted"
|
609 |
-
msgstr[0] "%d
|
610 |
|
611 |
#: wp-optimize-common.php:745
|
612 |
msgid "Enabled weekly processing"
|
613 |
-
msgstr "
|
614 |
|
615 |
#: wp-optimize-common.php:751
|
616 |
msgid "Disabled weekly processing"
|
617 |
-
msgstr "
|
618 |
|
619 |
#: wp-optimize-common.php:760
|
620 |
msgid "NO Actions Taken"
|
621 |
-
msgstr "
|
622 |
|
623 |
#: wp-optimize-common.php:787
|
624 |
#, fuzzy
|
625 |
msgid "%d transient option in your database"
|
626 |
msgid_plural "%d transient options in your database"
|
627 |
-
msgstr[0] "%d
|
628 |
|
629 |
#: wp-optimize-common.php:789
|
630 |
msgid "No transient options found"
|
631 |
-
msgstr "
|
632 |
|
633 |
#: wp-optimize-common.php:798
|
634 |
#, fuzzy
|
635 |
msgid "%d orphaned postmeta in your database"
|
636 |
msgid_plural "%d orphaned postmeta in your database"
|
637 |
-
msgstr[0] "%d
|
638 |
|
639 |
#: wp-optimize-common.php:800
|
640 |
msgid "No orphaned postmeta in your database"
|
641 |
-
msgstr "
|
642 |
|
643 |
#: wp-optimize-common.php:809
|
644 |
#, fuzzy
|
645 |
msgid "%d unused tag in your database"
|
646 |
msgid_plural "%d unused tags in your database"
|
647 |
-
msgstr[0] "%d
|
648 |
|
649 |
#: wp-optimize-common.php:811
|
650 |
msgid "No unused tags found"
|
651 |
-
msgstr "
|
652 |
|
653 |
#: wp-optimize-common.php:824
|
654 |
#, fuzzy
|
655 |
msgid "%d post revision in your database"
|
656 |
msgid_plural "%d post revisions in your database"
|
657 |
-
msgstr[0] "%d
|
658 |
|
659 |
#: wp-optimize-common.php:826
|
660 |
msgid "No post revisions found"
|
661 |
-
msgstr "
|
662 |
|
663 |
#: wp-optimize-common.php:839
|
664 |
#, fuzzy
|
665 |
msgid "%d auto draft post in your database"
|
666 |
msgid_plural "%d auto draft posts in your database"
|
667 |
-
msgstr[0] "%d
|
668 |
|
669 |
#: wp-optimize-common.php:841
|
670 |
msgid "No auto draft posts found"
|
671 |
-
msgstr "
|
672 |
|
673 |
#: wp-optimize-common.php:853
|
674 |
#, fuzzy
|
675 |
msgid "%d spam comment found"
|
676 |
msgid_plural "%d spam comments found"
|
677 |
-
msgstr[0] "%d
|
678 |
|
679 |
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
680 |
msgid "Review"
|
681 |
-
msgstr "
|
682 |
|
683 |
#: wp-optimize-common.php:855
|
684 |
msgid "No spam comments found"
|
685 |
-
msgstr "
|
686 |
|
687 |
#: wp-optimize-common.php:884
|
688 |
#, fuzzy
|
689 |
msgid "%d unapproved comment found"
|
690 |
msgid_plural "%d unapproved comments found"
|
691 |
-
msgstr[0] "%d
|
692 |
|
693 |
#: wp-optimize-common.php:886
|
694 |
msgid "No unapproved comments found"
|
695 |
-
msgstr "
|
696 |
|
697 |
#: wp-optimize-common.php:894
|
698 |
#, fuzzy
|
699 |
msgid "%d Pingback found"
|
700 |
msgid_plural "%d Pingbacks found"
|
701 |
-
msgstr[0] "%d
|
702 |
|
703 |
#: wp-optimize-common.php:896
|
704 |
msgid "No pingbacks found"
|
705 |
-
msgstr "
|
706 |
|
707 |
#: wp-optimize-common.php:904
|
708 |
#, fuzzy
|
709 |
msgid "%d Trackback found"
|
710 |
msgid_plural "%d Trackbacks found"
|
711 |
-
msgstr[0] "%d
|
712 |
|
713 |
#: wp-optimize-common.php:906
|
714 |
msgid "No trackbacks found"
|
715 |
-
msgstr "
|
716 |
|
717 |
#: wp-optimize-common.php:912
|
718 |
msgid "nothing"
|
719 |
-
msgstr "
|
720 |
|
721 |
#: wp-optimize-credits.php:14
|
722 |
msgid "Credits"
|
723 |
-
msgstr "
|
724 |
|
725 |
#: wp-optimize-credits.php:15
|
726 |
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
727 |
-
msgstr "WP-
|
728 |
|
729 |
#: wp-optimize-credits.php:29
|
730 |
msgid "Contributing Developers"
|
731 |
-
msgstr "
|
732 |
|
733 |
#: wp-optimize-credits.php:30
|
734 |
msgid "Help me make this plugin better"
|
735 |
-
msgstr "
|
736 |
|
737 |
#: wp-optimize-credits.php:30
|
738 |
msgid "I am looking for contributing developers."
|
739 |
-
msgstr "
|
740 |
|
741 |
#: wp-optimize-credits.php:31
|
742 |
msgid "Your name and website will be credited here in the plugin"
|
743 |
-
msgstr "
|
744 |
|
745 |
#: wp-optimize-credits.php:40
|
746 |
msgid "Translators"
|
747 |
-
msgstr "
|
1 |
+
# Translation of WP-Optimize in Finnish
|
2 |
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2015-03-21 19:00:50+0000\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
|
13 |
#: wp-optimize-common.php:72
|
14 |
msgid "Automatic Operation Completed"
|
15 |
+
msgstr "Automaattinen operaatio suoritettu"
|
16 |
|
17 |
#: wp-optimize-common.php:74
|
18 |
msgid "Scheduled optimization was executed at"
|
19 |
+
msgstr "Ajastettu optimointi on suoritettu"
|
20 |
|
21 |
#: wp-optimize-common.php:76
|
22 |
msgid "You can safely delete this email."
|
23 |
+
msgstr "Voit huoletta poistaa tämän sähköpostin."
|
24 |
|
25 |
#: wp-optimize-common.php:78
|
26 |
msgid "Regards,"
|
27 |
+
msgstr "Terveisin,"
|
28 |
|
29 |
#: wp-optimize-common.php:79
|
30 |
msgid "WP-Optimize Plugin"
|
31 |
+
msgstr "WP-Optimize-plugin"
|
32 |
|
33 |
#: wp-optimize-settings.php:233 wp-optimize-settings.php:255
|
34 |
msgid "Everyday"
|
35 |
+
msgstr "Joka päivä"
|
36 |
|
37 |
#: wp-optimize-settings.php:322
|
38 |
msgid "Enable email notification"
|
39 |
+
msgstr "Ota sähköposti-ilmoitukset käyttöön"
|
40 |
|
41 |
#: wp-optimize-settings.php:329
|
42 |
msgid "Send email to"
|
43 |
+
msgstr "Lähetä sähköposti osoitteeseen"
|
44 |
|
45 |
msgid "http://wp-optimize.ruhanirabin.com/"
|
46 |
msgstr "http://wp-optimize.ruhanirabin.com/"
|
47 |
|
48 |
#: wp-optimize-settings.php:191
|
49 |
msgid "Disable/Enable Comments"
|
50 |
+
msgstr "Kommentit päälle/pois"
|
51 |
|
52 |
#: wp-optimize-settings.php:180 wp-optimize-settings.php:195
|
53 |
msgid "Enable"
|
54 |
+
msgstr "Ota käyttöön"
|
55 |
|
56 |
#: wp-optimize-settings.php:179 wp-optimize-settings.php:194
|
57 |
msgid "Disable"
|
58 |
+
msgstr "Poista käytöstä"
|
59 |
|
60 |
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
61 |
msgid "SELECT"
|
62 |
+
msgstr "VALITSE"
|
63 |
|
64 |
#: wp-optimize-settings.php:176
|
65 |
msgid "Disable/Enable Trackbacks"
|
66 |
+
msgstr "Ota käytöstä/Laita käyttöön Viittausosoitteet"
|
67 |
|
68 |
#: wp-optimize-settings.php:174
|
69 |
msgid "Trackback/Comments Actions"
|
70 |
+
msgstr "Viittausosoite-/kommenttivalinnat"
|
71 |
|
72 |
#: wp-optimize-settings.php:200
|
73 |
msgid "This will disable/enable Comments on all your current and previously published posts"
|
74 |
+
msgstr "Tämä laittaa käyttöön/ottaa käytöstä kommentit kaikkiin nykyisiin ja aiemmin julkaistuihin posteihin"
|
75 |
|
76 |
#: wp-optimize-settings.php:185
|
77 |
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
78 |
+
msgstr "Tämä poistaa käytöstä/ottaa käyttöön Viittausosoitteet kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
|
79 |
|
80 |
#: wp-optimize-settings.php:94
|
81 |
msgid "Trackbacks enabled on all current and previously published posts"
|
82 |
+
msgstr "Viittausosoitteet otettu käyttöön kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
|
83 |
|
84 |
#: wp-optimize-main.php:272
|
85 |
msgid "Do not select RED marked items unless you really need to use them"
|
86 |
+
msgstr "ÄLÄ valitse punaisella olevia kohteita ellet välttämättä halua käyttää niitä"
|
87 |
|
88 |
#: wp-optimize-common.php:704
|
89 |
#, fuzzy
|
90 |
msgid "%d comment removed from Trash"
|
91 |
msgid_plural "%d comments removed from Trash"
|
92 |
+
msgstr[0] "%d kommenttia poistettu Roskakorista"
|
93 |
|
94 |
#: wp-optimize-common.php:543
|
95 |
msgid "KB"
|
101 |
|
102 |
#: wp-optimize-settings.php:88
|
103 |
msgid "Trackbacks disabled on all current and previously published posts"
|
104 |
+
msgstr "Viittausosoitteet poistettu käytöstä kaikista nykyisistä ja aiemmin julkaistuista posteista"
|
105 |
|
106 |
#: wp-optimize-settings.php:103
|
107 |
msgid "Comments disabled on all current and previously published posts"
|
108 |
+
msgstr "Kommentit poistettu käytöstä kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
|
109 |
|
110 |
#: wp-optimize-settings.php:109
|
111 |
msgid "Comments enabled on all current and previously published posts"
|
112 |
+
msgstr "Kommentit otettu käyttöön kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
|
113 |
|
114 |
#: wp-optimize-main.php:278 wp-optimize-settings.php:207
|
115 |
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
116 |
+
msgstr "Optimoi Youtube-upotuksesi WordPressiin tällä pluginilla"
|
117 |
|
118 |
#: wp-optimize-common.php:539
|
119 |
msgid "GB"
|
123 |
#, fuzzy
|
124 |
msgid "%d unused comment metadata item removed"
|
125 |
msgid_plural "%d unused comment metadata items removed"
|
126 |
+
msgstr[0] "%d käyttämätöntä kommenttien metadatakohdetta poistettu"
|
127 |
|
128 |
#: wp-optimize-common.php:716
|
129 |
#, fuzzy
|
130 |
msgid "%d unused akismet comment metadata item removed"
|
131 |
msgid_plural "%d unused akismet comment metadata items removed"
|
132 |
+
msgstr[0] "%d käyttämätöntä Akismet-kommenttien metadatakohdetta poistettu"
|
133 |
|
134 |
#: wp-optimize-credits.php:67
|
135 |
msgid "GitHub Development Log"
|
136 |
+
msgstr "GitHub Development-loki"
|
137 |
|
138 |
#: wp-optimize-credits.php:41
|
139 |
msgid "(Translator name)"
|
140 |
+
msgstr "Kari Nahkuri - Finnish (Suomen kieli)"
|
141 |
|
142 |
#: wp-optimize-credits.php:41
|
143 |
msgid "http://(Translator Website)"
|
144 |
+
msgstr "http://www.vahti.net"
|
145 |
|
146 |
#: wp-optimize-credits.php:43
|
147 |
msgid "Read Translation Instructions"
|
148 |
+
msgstr "Lue käännösohjeet"
|
149 |
|
150 |
#: wp-optimize-credits.php:56
|
151 |
msgid "Support E-mail"
|
152 |
+
msgstr "Tukisähköposti"
|
153 |
|
154 |
#: wp-optimize-credits.php:53
|
155 |
msgid "Request New Language"
|
156 |
+
msgstr "Pyydä uutta kieltä"
|
157 |
|
158 |
#: wp-optimize-credits.php:52
|
159 |
msgid "Plugin Translation Portal (needs translator account)"
|
160 |
+
msgstr "Pluginin käännösportaali (vaatii kääntäjän tilin)"
|
161 |
|
162 |
#: wp-optimize-credits.php:51
|
163 |
msgid "Get a Translator Account"
|
164 |
+
msgstr "Hanki kääntäjän tili"
|
165 |
|
166 |
#: wp-optimize-main.php:329
|
167 |
msgid "Rating"
|
168 |
+
msgstr "Luokittelu"
|
169 |
|
170 |
#: wp-optimize-main.php:328
|
171 |
msgid "Please give a proper rating :)"
|
172 |
+
msgstr "Ole hyvä ja anna kunnollinen luokitus :)"
|
173 |
|
174 |
#: wp-optimize-main.php:327
|
175 |
msgid "Donate!"
|
176 |
+
msgstr "Lahjoita!"
|
177 |
|
178 |
#: wp-optimize-main.php:327
|
179 |
msgid "Please donate! It really helps me keep improvising"
|
180 |
+
msgstr "Lahjoita! Se todella auttaa minua pitämään improvisoinnin päällä"
|
181 |
|
182 |
#: wp-optimize-credits.php:49
|
183 |
msgid "Plugin Resources"
|
184 |
+
msgstr "Pluginin resurssit"
|
185 |
|
186 |
#: wp-optimize-credits.php:54
|
187 |
msgid "Plugin Homepage"
|
188 |
+
msgstr "Pluginin kotisivu"
|
189 |
|
190 |
#: wp-optimize-credits.php:55
|
191 |
msgid "Support (GitHub)"
|
192 |
+
msgstr "Tuki (GitHub)"
|
193 |
|
194 |
#: wp-optimize-credits.php:57
|
195 |
msgid "Change Log"
|
196 |
+
msgstr "Muutosloki"
|
197 |
|
198 |
#: wp-optimize-credits.php:58
|
199 |
msgid "FAQ"
|
200 |
+
msgstr "FAQ"
|
201 |
|
202 |
#: wp-optimize-credits.php:87
|
203 |
msgid "No items"
|
204 |
+
msgstr "Ei kohteita"
|
205 |
|
206 |
#: wp-optimize-main.php:76
|
207 |
#, fuzzy, php-format
|
208 |
msgctxt "%s is the Database Name"
|
209 |
msgid "%s Database Optimized!"
|
210 |
+
msgstr "%s Tietokanta optimoitu!"
|
211 |
|
212 |
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
213 |
msgid "Clean-up options"
|
214 |
+
msgstr "Puhdistusvalinnat"
|
215 |
|
216 |
#: wp-optimize-main.php:165
|
217 |
#, fuzzy
|
218 |
msgid "Clean post revisions which are older than %d weeks"
|
219 |
+
msgstr "Poista postiversiot, jotka ovat vanhempia kuin %d viikkoa"
|
220 |
|
221 |
#: wp-optimize-main.php:170
|
222 |
msgid "Clean all post revisions"
|
223 |
+
msgstr "Poista kaikki postiversiot"
|
224 |
|
225 |
#: wp-optimize-main.php:183
|
226 |
#, fuzzy
|
227 |
msgid "Clean auto draft posts which are older than %d weeks"
|
228 |
+
msgstr "Poista automaattiset vedokset, jotka ovat vanhempia kuin %d viikkoa"
|
229 |
|
230 |
#: wp-optimize-main.php:188
|
231 |
msgid "Clean all auto draft posts and posts in trash"
|
232 |
+
msgstr "Poista kaikki automaattiset vedokset ja roskakorissa olevat postit"
|
233 |
|
234 |
#: wp-optimize-main.php:203
|
235 |
#, fuzzy
|
236 |
msgid "Remove spam comments which are older than %d weeks"
|
237 |
+
msgstr "Poista roskakommenti, jotka ovat vanhempia kuin %d viikkoa"
|
238 |
|
239 |
#: wp-optimize-main.php:208
|
240 |
msgid "Remove spam comments and comments in trash"
|
241 |
+
msgstr "Poista roskakommentit ja kommentit Roskakorista"
|
242 |
|
243 |
#: wp-optimize-main.php:222
|
244 |
#, fuzzy
|
245 |
msgid "Remove unapproved comments which are older than %d weeks"
|
246 |
+
msgstr "Poista hyväksymättömät kommentit, jotka ovat vanhempia kuin %d viikkoa"
|
247 |
|
248 |
#: wp-optimize-main.php:227 wp-optimize-settings.php:288
|
249 |
msgid "Remove unapproved comments"
|
250 |
+
msgstr "Poista hyväksymättömät kommentit"
|
251 |
|
252 |
#: wp-optimize-main.php:240 wp-optimize-settings.php:293
|
253 |
msgid "Remove transient options"
|
254 |
+
msgstr "Poista tilapäiset valinnat"
|
255 |
|
256 |
#: wp-optimize-main.php:251
|
257 |
msgid "Remove pingbacks"
|
258 |
+
msgstr "Poista pingbackit"
|
259 |
|
260 |
#: wp-optimize-main.php:262
|
261 |
msgid "Remove trackbacks"
|
262 |
+
msgstr "Poista viittausosoitteet"
|
263 |
|
264 |
#: wp-optimize-main.php:288
|
265 |
msgid "Actions"
|
266 |
+
msgstr "Toiminnot"
|
267 |
|
268 |
#: wp-optimize-main.php:297
|
269 |
msgid "Optimize database tables"
|
270 |
+
msgstr "Optimoi tietokantataulut"
|
271 |
|
272 |
#: wp-optimize-main.php:305
|
273 |
msgid "Note:"
|
274 |
+
msgstr "Huomautus:"
|
275 |
|
276 |
#: wp-optimize-main.php:308
|
277 |
msgid "InnoDB tables will not be optimized"
|
278 |
+
msgstr "InnoDB-tauluja EI opimoida"
|
279 |
|
280 |
#: wp-optimize-main.php:314
|
281 |
msgid "Select safe options"
|
282 |
+
msgstr "Valitse turvalliset valinnat"
|
283 |
|
284 |
#: wp-optimize-main.php:315
|
285 |
msgid "Warning:"
|
286 |
+
msgstr "Varoitus:"
|
287 |
|
288 |
#: wp-optimize-main.php:316
|
289 |
msgid "Always make a backup of your DB when you upgrade to major versions"
|
290 |
+
msgstr "Tee AINA varmuuskopio tietokannastasi kun päivität uudempaan versioon"
|
291 |
|
292 |
#: wp-optimize-main.php:321
|
293 |
msgid "PROCESS"
|
294 |
+
msgstr "PROSESSOI"
|
295 |
|
296 |
#: wp-optimize-main.php:334
|
297 |
msgid "Status log"
|
298 |
+
msgstr "Tilaloki"
|
299 |
|
300 |
#: wp-optimize-main.php:349
|
301 |
msgid "Last automatic optimization was at"
|
302 |
+
msgstr "Viimeisin automaattinen optimointi tehtiin"
|
303 |
|
304 |
#: wp-optimize-main.php:361
|
305 |
msgid "There was no automatic optimization"
|
306 |
+
msgstr "Automaattista optimointia ei ollut"
|
307 |
|
308 |
#: wp-optimize-main.php:411 wp-optimize-main.php:436
|
309 |
msgid "Check settings"
|
310 |
+
msgstr "Tarkista asetukset"
|
311 |
|
312 |
#: wp-optimize-main.php:376
|
313 |
msgid "Scheduled cleaning enabled"
|
314 |
+
msgstr "Ajastettu puhdistus on käytössä"
|
315 |
|
316 |
#: wp-optimize-main.php:388
|
317 |
msgid "Next schedule:"
|
318 |
+
msgstr "Seuraava aikataulu:"
|
319 |
|
320 |
#: wp-optimize-main.php:399
|
321 |
msgid "Refresh"
|
322 |
+
msgstr "Päivitä"
|
323 |
|
324 |
#: wp-optimize-main.php:408
|
325 |
msgid "Scheduled cleaning disabled"
|
326 |
+
msgstr "Ajastettu puhdistus ei ole käytössä"
|
327 |
|
328 |
#: wp-optimize-main.php:422
|
329 |
#, fuzzy
|
330 |
msgid "Keeping last %s weeks data"
|
331 |
+
msgstr "Pidetään uusin %s viikon data"
|
332 |
|
333 |
#: wp-optimize-main.php:433
|
334 |
msgid "Not keeping recent data"
|
335 |
+
msgstr "Viimeaikaisia tietoja ei pidetä"
|
336 |
|
337 |
#: wp-optimize-main.php:450 wp-optimize-main.php:462
|
338 |
msgid "Current database size:"
|
339 |
+
msgstr "Nykyisen tietokannan koko:"
|
340 |
|
341 |
#: wp-optimize-main.php:455
|
342 |
msgid "You have saved:"
|
343 |
+
msgstr "Olet säästänyt:"
|
344 |
|
345 |
#: wp-optimize-main.php:470
|
346 |
msgid "You can save almost:"
|
347 |
+
msgstr "Voit säästää melkein:"
|
348 |
|
349 |
#: wp-optimize-main.php:487
|
350 |
msgid "Total clean up overall:"
|
351 |
+
msgstr "Kaikkiaan puhdistettu:"
|
352 |
|
353 |
#: wp-optimize-main.php:508
|
354 |
msgid "Sponsor"
|
355 |
+
msgstr "Sponsori"
|
356 |
|
357 |
#: wp-optimize-settings.php:115
|
358 |
msgid "Settings updated"
|
359 |
+
msgstr "Asetukset päivitetty"
|
360 |
|
361 |
#: wp-optimize-settings.php:132
|
362 |
msgid "General Settings"
|
363 |
+
msgstr "Yleiset asetukset"
|
364 |
|
365 |
#: wp-optimize-settings.php:137
|
366 |
#, fuzzy
|
367 |
msgid "Keep last %s weeks data"
|
368 |
+
msgstr "Pidä uusin %s viikon data"
|
369 |
|
370 |
#: wp-optimize-settings.php:153
|
371 |
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
372 |
+
msgstr "Tämä valinta säilyttää uusimma valittujen viikkojen datan ja poistaa kaiken roskadatan ennen valittua aikajaksoa. Tämä vaikuttaa myös Automaattiseen puhdistusprosessiin."
|
373 |
|
374 |
#: wp-optimize-settings.php:162
|
375 |
msgid "Enable admin bar link"
|
376 |
+
msgstr "Näytä Admin-palkin linkki"
|
377 |
|
378 |
#: wp-optimize-settings.php:164
|
379 |
msgid "(Click here to refresh)"
|
380 |
+
msgstr " (Klikkaa tästä päivittääksesi)"
|
381 |
|
382 |
#: wp-optimize-settings.php:170
|
383 |
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
384 |
+
msgstr "Tämä valinta laittaa WP-Optimize-linkin Admin-palkin yläosaan (oletus on ei ruksia=pois päältä). Vaatii sivun päivityksen."
|
385 |
|
386 |
#: wp-optimize-settings.php:211
|
387 |
msgid "SAVE SETTINGS"
|
388 |
+
msgstr "TALLENNA ASETUKSET"
|
389 |
|
390 |
#: wp-optimize-settings.php:221
|
391 |
msgid "Auto Clean-up Settings"
|
392 |
+
msgstr "Automaattisen puhdistuksen asetukset"
|
393 |
|
394 |
#: wp-optimize-settings.php:224
|
395 |
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
396 |
+
msgstr "Laita päälle automaattinen puhdistus ja optimointi (Beta-ominaisuus!)"
|
397 |
|
398 |
#: wp-optimize-settings.php:226
|
399 |
msgid "Select schedule type (default is Weekly)"
|
400 |
+
msgstr "Valitse ajastustyyppi (oletus on 'Joka viikko')"
|
401 |
|
402 |
#: wp-optimize-settings.php:237 wp-optimize-settings.php:249
|
403 |
#: wp-optimize-settings.php:256
|
404 |
msgid "Every week"
|
405 |
+
msgstr "Joka viikko"
|
406 |
|
407 |
#: wp-optimize-settings.php:241 wp-optimize-settings.php:257
|
408 |
msgid "Every other week (every 14 days)"
|
409 |
+
msgstr "Joka toinen viikko (14 päivän välein)"
|
410 |
|
411 |
#: wp-optimize-settings.php:245 wp-optimize-settings.php:258
|
412 |
msgid "Every month (every 31 days)"
|
413 |
+
msgstr "Joka kuukausi (31 päivän välein)"
|
414 |
|
415 |
#: wp-optimize-settings.php:262
|
416 |
msgid "Automatic cleanup will perform the following:"
|
417 |
+
msgstr "Automaattinen puhdistus tekee seuraavaa:"
|
418 |
|
419 |
#: wp-optimize-settings.php:264
|
420 |
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
421 |
+
msgstr "Poistaa versiot, automaattiset vedokset, postit/kommentit Roskakorissa, tilapäiset valinnat. Tämän jälkeen tietokanta optimoidaan."
|
422 |
|
423 |
#: wp-optimize-settings.php:271
|
424 |
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
425 |
+
msgstr "Tämä valinta toimii VAIN, jos automaattinen puhdistusajastus on laitettu päälle"
|
426 |
|
427 |
#: wp-optimize-settings.php:276
|
428 |
msgid "Remove auto revisions"
|
429 |
+
msgstr "Poista automaattiset versiot"
|
430 |
|
431 |
#: wp-optimize-settings.php:280
|
432 |
msgid "Remove auto drafts"
|
433 |
+
msgstr "Poista automaattiset vedokset"
|
434 |
|
435 |
#: wp-optimize-settings.php:284
|
436 |
msgid "Remove spam comments"
|
437 |
+
msgstr "Poista roskakommentit"
|
438 |
|
439 |
#: wp-optimize-settings.php:297
|
440 |
msgid "Remove orphaned post meta"
|
441 |
+
msgstr "Poista orpo postidata"
|
442 |
|
443 |
#: wp-optimize-settings.php:301
|
444 |
msgid "Remove unused tags"
|
445 |
+
msgstr "Poista käyttämättömät tagit"
|
446 |
|
447 |
#: wp-optimize-settings.php:307
|
448 |
msgid "Optimize database"
|
449 |
+
msgstr "Optimoi tietokanta"
|
450 |
|
451 |
#: wp-optimize-settings.php:313
|
452 |
msgid "If you have InnoDB tables. They will not be optimized!"
|
453 |
+
msgstr "Mikäli sinulla on InnoDB-tauluja. Niitä EI optimoida!"
|
454 |
|
455 |
#: wp-optimize-settings.php:335
|
456 |
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
457 |
+
msgstr "TALLENNA AUTOMAATTIPUHDISTUS ASETUKSET"
|
458 |
|
459 |
#: wp-optimize-tables.php:20
|
460 |
msgid "Database Name:"
|
461 |
+
msgstr "Tietokannan nimi:"
|
462 |
|
463 |
#: wp-optimize-tables.php:28
|
464 |
msgid "Optimized all the tables found in the database."
|
465 |
+
msgstr "Optimoitiin kaikki tietokannasta löytyneet taulut."
|
466 |
|
467 |
#: wp-optimize-tables.php:36
|
468 |
msgid "No."
|
469 |
+
msgstr "Nro."
|
470 |
|
471 |
#: wp-optimize-tables.php:38
|
472 |
msgid "Records"
|
473 |
+
msgstr "Tietuetta"
|
474 |
|
475 |
#: wp-optimize-tables.php:39
|
476 |
msgid "Data Size"
|
477 |
+
msgstr "Datakoko"
|
478 |
|
479 |
#: wp-optimize-tables.php:40
|
480 |
msgid "Index Size"
|
481 |
+
msgstr "Indeksin koko"
|
482 |
|
483 |
#: wp-optimize-tables.php:41
|
484 |
msgid "Type"
|
485 |
+
msgstr "Tyyppi"
|
486 |
|
487 |
#: wp-optimize-tables.php:42
|
488 |
msgid "Overhead"
|
489 |
+
msgstr "Pirstoutuminen"
|
490 |
|
491 |
#: wp-optimize-tables.php:137
|
492 |
msgid "Total:"
|
493 |
+
msgstr "Kaikkiaan:"
|
494 |
|
495 |
#: wp-optimize-tables.php:138
|
496 |
msgid "%d Table"
|
497 |
msgid_plural "%d Tables"
|
498 |
+
msgstr[0] "%d taulu"
|
499 |
+
msgstr[1] "%d taulua"
|
500 |
|
501 |
#: wp-optimize-tables.php:139
|
502 |
msgid "%d Record"
|
503 |
msgid_plural "%d Records"
|
504 |
+
msgstr[0] "%d tietue"
|
505 |
+
msgstr[1] "%d tietuetta"
|
506 |
|
507 |
#: wp-optimize-tables.php:179
|
508 |
msgid "Total Size of Database:"
|
509 |
+
msgstr "Tietokannan kokonaiskoko:"
|
510 |
|
511 |
#: wp-optimize-tables.php:191
|
512 |
msgid "Optimization Results:"
|
513 |
+
msgstr "Optimoinnin tulokset:"
|
514 |
|
515 |
#: wp-optimize-tables.php:196
|
516 |
msgid "Total Space Saved:"
|
517 |
+
msgstr "Kaikkiaan tilaa säästettiin:"
|
518 |
|
519 |
#: wp-optimize-tables.php:208
|
520 |
msgid "Optimization Possibility:"
|
521 |
+
msgstr "Optimointimahdollisuus:"
|
522 |
|
523 |
#: wp-optimize-tables.php:215
|
524 |
msgid "Total space can be saved:"
|
525 |
+
msgstr "Kaikkiaan tilaa voidaan säästää:"
|
526 |
|
527 |
msgid "WP-Optimize"
|
528 |
+
msgstr "WP-Optimize"
|
529 |
|
530 |
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
531 |
+
msgstr "Tämä plugin auttaa sinua pitämään tietokantasi puhtaana poistamalla postiversiot ja roskapostin salamannopeasti. Lisäksi se mahdollistaa WordPress-ytimen taulujen optimointikomennon suorittamisen (käytä VAROVASTI)."
|
532 |
|
533 |
msgid "Ruhani Rabin"
|
534 |
msgstr "Ruhani Rabin"
|
538 |
|
539 |
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
540 |
msgid "Optimizer"
|
541 |
+
msgstr "Optimizer"
|
542 |
|
543 |
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
544 |
msgid "MYSQL"
|
546 |
|
547 |
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
548 |
msgid "Settings"
|
549 |
+
msgstr "Asetukset"
|
550 |
|
551 |
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
552 |
msgid "Info"
|
553 |
+
msgstr "Tietoa"
|
554 |
|
555 |
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
556 |
msgid "Tables"
|
557 |
+
msgstr "Taulut"
|
558 |
|
559 |
#: wp-optimize-common.php:545
|
560 |
msgid "bytes"
|
561 |
+
msgstr "bittiä"
|
562 |
|
563 |
#: wp-optimize-common.php:635
|
564 |
#, fuzzy
|
565 |
msgid "%d transient option deleted"
|
566 |
msgid_plural "%d transient options deleted"
|
567 |
+
msgstr[0] "%d väliaikaiset valinnat poistettu"
|
568 |
|
569 |
#: wp-optimize-common.php:662
|
570 |
#, fuzzy
|
571 |
msgid "%d post revision deleted"
|
572 |
msgid_plural "%d post revisions deleted"
|
573 |
+
msgstr[0] "%d postiversiota poistettu"
|
574 |
|
575 |
#: wp-optimize-common.php:673
|
576 |
#, fuzzy
|
577 |
msgid "%d auto draft deleted"
|
578 |
msgid_plural "%d auto drafts deleted"
|
579 |
+
msgstr[0] "%d automaattivedosta poistettu"
|
580 |
|
581 |
#: wp-optimize-common.php:683
|
582 |
#, fuzzy
|
583 |
msgid "%d item removed from Trash"
|
584 |
msgid_plural "%d items removed from Trash"
|
585 |
+
msgstr[0] "%d kohdetta poistettu Roskakorista"
|
586 |
|
587 |
#: wp-optimize-common.php:695
|
588 |
#, fuzzy
|
589 |
msgid "%d spam comment deleted"
|
590 |
msgid_plural "%d spam comments deleted"
|
591 |
+
msgstr[0] "%d roskapostikommenttia poistettu"
|
592 |
|
593 |
#: wp-optimize-common.php:726
|
594 |
#, fuzzy
|
595 |
msgid "%d unapproved comment deleted"
|
596 |
msgid_plural "%d unapproved comments deleted"
|
597 |
+
msgstr[0] "%d hyväksymätöntä kommenttia poistettu"
|
598 |
|
599 |
#: wp-optimize-common.php:732
|
600 |
#, fuzzy
|
601 |
msgid "%d pingback deleted"
|
602 |
msgid_plural "%d pingbacks deleted"
|
603 |
+
msgstr[0] "%d pingbackit poistettu"
|
604 |
|
605 |
#: wp-optimize-common.php:738
|
606 |
#, fuzzy
|
607 |
msgid "%d trackback deleted"
|
608 |
msgid_plural "%d trackbacks deleted"
|
609 |
+
msgstr[0] "%d viittausosoitetta poistettu"
|
610 |
|
611 |
#: wp-optimize-common.php:745
|
612 |
msgid "Enabled weekly processing"
|
613 |
+
msgstr "Laita päälle viikoittainen prosessointi"
|
614 |
|
615 |
#: wp-optimize-common.php:751
|
616 |
msgid "Disabled weekly processing"
|
617 |
+
msgstr "Poista käytöstä viikoittainen prosessointi"
|
618 |
|
619 |
#: wp-optimize-common.php:760
|
620 |
msgid "NO Actions Taken"
|
621 |
+
msgstr "EI tehty toimintoja"
|
622 |
|
623 |
#: wp-optimize-common.php:787
|
624 |
#, fuzzy
|
625 |
msgid "%d transient option in your database"
|
626 |
msgid_plural "%d transient options in your database"
|
627 |
+
msgstr[0] "%d väliaikaista valintaa tietokannassasi"
|
628 |
|
629 |
#: wp-optimize-common.php:789
|
630 |
msgid "No transient options found"
|
631 |
+
msgstr "Väliaikaisia valintoja ei löytynyt"
|
632 |
|
633 |
#: wp-optimize-common.php:798
|
634 |
#, fuzzy
|
635 |
msgid "%d orphaned postmeta in your database"
|
636 |
msgid_plural "%d orphaned postmeta in your database"
|
637 |
+
msgstr[0] "%d orpo postimetadata tietokannassasi"
|
638 |
|
639 |
#: wp-optimize-common.php:800
|
640 |
msgid "No orphaned postmeta in your database"
|
641 |
+
msgstr "Ei orpoa postimetadataa tietokannassasi"
|
642 |
|
643 |
#: wp-optimize-common.php:809
|
644 |
#, fuzzy
|
645 |
msgid "%d unused tag in your database"
|
646 |
msgid_plural "%d unused tags in your database"
|
647 |
+
msgstr[0] "%d käyttämätöntä tägiä tietokannassasi"
|
648 |
|
649 |
#: wp-optimize-common.php:811
|
650 |
msgid "No unused tags found"
|
651 |
+
msgstr "Käyttämättömiä tagejä ei löytynyt"
|
652 |
|
653 |
#: wp-optimize-common.php:824
|
654 |
#, fuzzy
|
655 |
msgid "%d post revision in your database"
|
656 |
msgid_plural "%d post revisions in your database"
|
657 |
+
msgstr[0] "%d postiversiota tietokannassasi"
|
658 |
|
659 |
#: wp-optimize-common.php:826
|
660 |
msgid "No post revisions found"
|
661 |
+
msgstr "Postiversioita ei löytynyt"
|
662 |
|
663 |
#: wp-optimize-common.php:839
|
664 |
#, fuzzy
|
665 |
msgid "%d auto draft post in your database"
|
666 |
msgid_plural "%d auto draft posts in your database"
|
667 |
+
msgstr[0] "%d automaattista postivedosta tietokannassasi"
|
668 |
|
669 |
#: wp-optimize-common.php:841
|
670 |
msgid "No auto draft posts found"
|
671 |
+
msgstr "Ei löydetty automaattisia vedoksia"
|
672 |
|
673 |
#: wp-optimize-common.php:853
|
674 |
#, fuzzy
|
675 |
msgid "%d spam comment found"
|
676 |
msgid_plural "%d spam comments found"
|
677 |
+
msgstr[0] "%d löytyi roskapostikommentteja"
|
678 |
|
679 |
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
680 |
msgid "Review"
|
681 |
+
msgstr "Arvostelu"
|
682 |
|
683 |
#: wp-optimize-common.php:855
|
684 |
msgid "No spam comments found"
|
685 |
+
msgstr "Roskakommentteja ei löytynyt"
|
686 |
|
687 |
#: wp-optimize-common.php:884
|
688 |
#, fuzzy
|
689 |
msgid "%d unapproved comment found"
|
690 |
msgid_plural "%d unapproved comments found"
|
691 |
+
msgstr[0] "%d hyväksymätöntä kommenttia löydetty"
|
692 |
|
693 |
#: wp-optimize-common.php:886
|
694 |
msgid "No unapproved comments found"
|
695 |
+
msgstr "Hyväksymättömiä kommentteja ei löytynyt"
|
696 |
|
697 |
#: wp-optimize-common.php:894
|
698 |
#, fuzzy
|
699 |
msgid "%d Pingback found"
|
700 |
msgid_plural "%d Pingbacks found"
|
701 |
+
msgstr[0] "%d Pingbackejä löytyi"
|
702 |
|
703 |
#: wp-optimize-common.php:896
|
704 |
msgid "No pingbacks found"
|
705 |
+
msgstr "Pingbackeja ei löytynyt"
|
706 |
|
707 |
#: wp-optimize-common.php:904
|
708 |
#, fuzzy
|
709 |
msgid "%d Trackback found"
|
710 |
msgid_plural "%d Trackbacks found"
|
711 |
+
msgstr[0] "%d Viittausosoitteita löytyi"
|
712 |
|
713 |
#: wp-optimize-common.php:906
|
714 |
msgid "No trackbacks found"
|
715 |
+
msgstr "Viittausosoitteita ei löytynyt"
|
716 |
|
717 |
#: wp-optimize-common.php:912
|
718 |
msgid "nothing"
|
719 |
+
msgstr "ei mitään"
|
720 |
|
721 |
#: wp-optimize-credits.php:14
|
722 |
msgid "Credits"
|
723 |
+
msgstr "Alkutekstit"
|
724 |
|
725 |
#: wp-optimize-credits.php:15
|
726 |
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
727 |
+
msgstr "WP-Optimizer alkoi apuohjelmana omalle projektilleni. Havaitsin pian, että tämä plugin saattaisi auttaa monia muitakin ihmisiä. Kiitän henkilökohtaisesti kaikkia henkilöitä, jotka käyttävät tätä pluginia päivittäin. Kiitos kuuluu myös kaikille kääntäjille ja anteliaille ihmisille, jotka ovat lahjoittaneet tälle projektille."
|
728 |
|
729 |
#: wp-optimize-credits.php:29
|
730 |
msgid "Contributing Developers"
|
731 |
+
msgstr "Tuetaan kehittäjiä"
|
732 |
|
733 |
#: wp-optimize-credits.php:30
|
734 |
msgid "Help me make this plugin better"
|
735 |
+
msgstr "Auta tekemään tästä pluginista parempi"
|
736 |
|
737 |
#: wp-optimize-credits.php:30
|
738 |
msgid "I am looking for contributing developers."
|
739 |
+
msgstr "Etsin tukea kehittäjille."
|
740 |
|
741 |
#: wp-optimize-credits.php:31
|
742 |
msgid "Your name and website will be credited here in the plugin"
|
743 |
+
msgstr "Nimesi ja kotisivusi mainitaan tällä pluginilla."
|
744 |
|
745 |
#: wp-optimize-credits.php:40
|
746 |
msgid "Translators"
|
747 |
+
msgstr "Kääntäjät"
|
Binary file
|
@@ -1,710 +0,0 @@
|
|
1 |
-
# Translation of WP-Optimize in French (France)
|
2 |
-
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"PO-Revision-Date: 2014-09-06 10:27:43+0000\n"
|
6 |
-
"MIME-Version: 1.0\n"
|
7 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
-
"Content-Transfer-Encoding: 8bit\n"
|
9 |
-
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
10 |
-
"X-Generator: GlotPress/0.1\n"
|
11 |
-
"Project-Id-Version: WP-Optimize\n"
|
12 |
-
|
13 |
-
#: wp-optimize-settings.php:296
|
14 |
-
msgid "This will disable/enable Comments on all your current and previously published posts"
|
15 |
-
msgstr "Ceci va activer/désactiver les Commentaires pour tous vos articles publiés présent et passé."
|
16 |
-
|
17 |
-
#: wp-optimize-settings.php:290
|
18 |
-
msgid "Comments Actions"
|
19 |
-
msgstr "Actions pour Commentaires"
|
20 |
-
|
21 |
-
#: wp-optimize-settings.php:286
|
22 |
-
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
23 |
-
msgstr "Ceci active/désactive les Pisteurs pour tous vos articles publiés présents et passés."
|
24 |
-
|
25 |
-
#: wp-optimize-settings.php:283 wp-optimize-settings.php:293
|
26 |
-
msgid "Enable all"
|
27 |
-
msgstr "Activer tous"
|
28 |
-
|
29 |
-
#: wp-optimize-settings.php:278
|
30 |
-
msgid "Trackbacks Actions"
|
31 |
-
msgstr "Actions Pisteurs"
|
32 |
-
|
33 |
-
#: wp-optimize-settings.php:97
|
34 |
-
msgid "Trackbacks enabled on all current and previously published posts"
|
35 |
-
msgstr "Pisteurs activés pour tous vos articles publiés présents et passés."
|
36 |
-
|
37 |
-
#: wp-optimize-settings.php:282 wp-optimize-settings.php:292
|
38 |
-
msgid "Disable all"
|
39 |
-
msgstr "Désactiver tous"
|
40 |
-
|
41 |
-
#: wp-optimize-main.php:266
|
42 |
-
msgid "Do not select RED marked items unless you really need to use them"
|
43 |
-
msgstr "Ne pas sélectionner les éléments marqués en ROUGE à moins de vraiment avoir besoin de les utiliser."
|
44 |
-
|
45 |
-
#: wp-optimize-common.php:623
|
46 |
-
#, fuzzy
|
47 |
-
msgid "%d comment removed from Trash"
|
48 |
-
msgid_plural "%d comments removed from Trash"
|
49 |
-
msgstr[0] "%d commentaires retirés de la Corbeille"
|
50 |
-
|
51 |
-
#: wp-optimize-common.php:463
|
52 |
-
msgid "KB"
|
53 |
-
msgstr "KO"
|
54 |
-
|
55 |
-
#: wp-optimize-common.php:461
|
56 |
-
msgid "MB"
|
57 |
-
msgstr "MO"
|
58 |
-
|
59 |
-
#: wp-optimize-settings.php:90
|
60 |
-
msgid "Trackbacks disabled on all current and previously published posts"
|
61 |
-
msgstr "Pisteurs désactivés pour tous vos articles publiés présents et passés."
|
62 |
-
|
63 |
-
#: wp-optimize-settings.php:76
|
64 |
-
msgid "Comments disabled on all current and previously published posts"
|
65 |
-
msgstr "Commentaires désactivés pour tous vos articles publiés présents et passés."
|
66 |
-
|
67 |
-
#: wp-optimize-settings.php:83
|
68 |
-
msgid "Comments enabled on all current and previously published posts"
|
69 |
-
msgstr "Commentaires activés pour tous vos articles publiés présents et passés."
|
70 |
-
|
71 |
-
#: wp-optimize-main.php:272
|
72 |
-
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
73 |
-
msgstr "Optimisez votre intégration YouTube dans WordPress avec cette extension."
|
74 |
-
|
75 |
-
#: wp-optimize-common.php:459
|
76 |
-
msgid "GB"
|
77 |
-
msgstr "GO"
|
78 |
-
|
79 |
-
#: wp-optimize-common.php:629
|
80 |
-
#, fuzzy
|
81 |
-
msgid "%d unused comment metadata item removed"
|
82 |
-
msgid_plural "%d unused comment metadata items removed"
|
83 |
-
msgstr[0] "%d éléments metadata de commentaire inutilisés retirés"
|
84 |
-
|
85 |
-
#: wp-optimize-common.php:635
|
86 |
-
#, fuzzy
|
87 |
-
msgid "%d unused akismet comment metadata item removed"
|
88 |
-
msgid_plural "%d unused akismet comment metadata items removed"
|
89 |
-
msgstr[0] "%d éléments metadata de commentaire akismet inutilisés retirés"
|
90 |
-
|
91 |
-
#: wp-optimize-credits.php:76
|
92 |
-
msgid "GitHub Development Log"
|
93 |
-
msgstr "Journal de développement GitHub"
|
94 |
-
|
95 |
-
#: wp-optimize-credits.php:50
|
96 |
-
msgid "(Translator name)"
|
97 |
-
msgstr "Stéphane Benoit"
|
98 |
-
|
99 |
-
#: wp-optimize-credits.php:50
|
100 |
-
msgid "http://(Translator Website)"
|
101 |
-
msgstr "http://www.gnosticisme.com"
|
102 |
-
|
103 |
-
#: wp-optimize-credits.php:52
|
104 |
-
msgid "Read Translation Instructions"
|
105 |
-
msgstr "Lire les Instructions de Traduction"
|
106 |
-
|
107 |
-
#: wp-optimize-credits.php:65
|
108 |
-
msgid "Support E-mail"
|
109 |
-
msgstr "Courriel d’aide"
|
110 |
-
|
111 |
-
#: wp-optimize-credits.php:62
|
112 |
-
msgid "Request New Language"
|
113 |
-
msgstr "Demande de Langue Supplémentaire"
|
114 |
-
|
115 |
-
#: wp-optimize-credits.php:61
|
116 |
-
msgid "Plugin Translation Portal (needs translator account)"
|
117 |
-
msgstr "Portail de Traduction de l’Extension (nécessite un compte de traducteur)"
|
118 |
-
|
119 |
-
#: wp-optimize-credits.php:60
|
120 |
-
msgid "Get a Translator Account"
|
121 |
-
msgstr "Obtenez un Compte de Traducteur"
|
122 |
-
|
123 |
-
#: wp-optimize-main.php:323
|
124 |
-
msgid "Rating"
|
125 |
-
msgstr "Évaluation"
|
126 |
-
|
127 |
-
#: wp-optimize-main.php:322
|
128 |
-
msgid "Please give a proper rating :)"
|
129 |
-
msgstr "S.V.P., veuillez évaluer correctement :)"
|
130 |
-
|
131 |
-
#: wp-optimize-main.php:321
|
132 |
-
msgid "Donate!"
|
133 |
-
msgstr "Faites un don!"
|
134 |
-
|
135 |
-
#: wp-optimize-main.php:321
|
136 |
-
msgid "Please donate! It really helps me keep improvising"
|
137 |
-
msgstr "S.V.P., faites un don! Cela m’aide réellement à poursuivre mon travail."
|
138 |
-
|
139 |
-
#: wp-optimize-credits.php:58
|
140 |
-
msgid "Plugin Resources"
|
141 |
-
msgstr "Ressources de l’extension"
|
142 |
-
|
143 |
-
#: wp-optimize-credits.php:63
|
144 |
-
msgid "Plugin Homepage"
|
145 |
-
msgstr "Page d'accueil de l’extension"
|
146 |
-
|
147 |
-
#: wp-optimize-credits.php:64
|
148 |
-
msgid "Support (GitHub)"
|
149 |
-
msgstr "Forum d’aide (GitHub)"
|
150 |
-
|
151 |
-
#: wp-optimize-credits.php:66
|
152 |
-
msgid "Change Log"
|
153 |
-
msgstr "Journal des changements"
|
154 |
-
|
155 |
-
#: wp-optimize-credits.php:67
|
156 |
-
msgid "FAQ"
|
157 |
-
msgstr "FAQ"
|
158 |
-
|
159 |
-
#: wp-optimize-credits.php:96
|
160 |
-
msgid "No items"
|
161 |
-
msgstr "aucun élément"
|
162 |
-
|
163 |
-
#: wp-optimize-main.php:78
|
164 |
-
msgctxt "%s is the Database Name"
|
165 |
-
msgid "%s Database Optimized!"
|
166 |
-
msgstr "Base de données %s optimisée!"
|
167 |
-
|
168 |
-
#: wp-optimize-main.php:148 wp-optimize-main.php:150
|
169 |
-
msgid "Clean-up options"
|
170 |
-
msgstr "Réglages du nettoyage"
|
171 |
-
|
172 |
-
#: wp-optimize-main.php:159
|
173 |
-
#, fuzzy
|
174 |
-
msgid "Clean post revisions which are older than %d weeks"
|
175 |
-
msgstr "Enlever les révisions d’article qui datent de plus de %d semaines."
|
176 |
-
|
177 |
-
#: wp-optimize-main.php:164
|
178 |
-
msgid "Clean all post revisions"
|
179 |
-
msgstr "Enlever toutes les révisions d’articles."
|
180 |
-
|
181 |
-
#: wp-optimize-main.php:177
|
182 |
-
#, fuzzy
|
183 |
-
msgid "Clean auto draft posts which are older than %d weeks"
|
184 |
-
msgstr "Enlever les brouillons automatiques d’articles qui datent de plus de %d semaines."
|
185 |
-
|
186 |
-
#: wp-optimize-main.php:182
|
187 |
-
msgid "Clean all auto draft posts and posts in trash"
|
188 |
-
msgstr "Enlever les brouillons automatiques d’articles et les articles dans la corbeille"
|
189 |
-
|
190 |
-
#: wp-optimize-main.php:197
|
191 |
-
#, fuzzy
|
192 |
-
msgid "Remove spam comments which are older than %d weeks"
|
193 |
-
msgstr "Enlever les commentaires indésirables qui datent de plus de %d semaines."
|
194 |
-
|
195 |
-
#: wp-optimize-main.php:202
|
196 |
-
msgid "Remove spam comments and comments in trash"
|
197 |
-
msgstr "Enlever les commentaires indésirables et les commentaires dans la corbeille"
|
198 |
-
|
199 |
-
#: wp-optimize-main.php:216
|
200 |
-
#, fuzzy
|
201 |
-
msgid "Remove unapproved comments which are older than %d weeks"
|
202 |
-
msgstr "Enlever les commentaires non-approuvés qui datent de plus de %d semaines."
|
203 |
-
|
204 |
-
#: wp-optimize-main.php:221 wp-optimize-settings.php:230
|
205 |
-
msgid "Remove unapproved comments"
|
206 |
-
msgstr "Enlever les commentaires non-approuvés."
|
207 |
-
|
208 |
-
#: wp-optimize-main.php:234 wp-optimize-settings.php:235
|
209 |
-
msgid "Remove transient options"
|
210 |
-
msgstr "Enlever les options transitoires."
|
211 |
-
|
212 |
-
#: wp-optimize-main.php:245
|
213 |
-
msgid "Remove pingbacks"
|
214 |
-
msgstr "Enlever les pingbacks."
|
215 |
-
|
216 |
-
#: wp-optimize-main.php:256
|
217 |
-
msgid "Remove trackbacks"
|
218 |
-
msgstr "Enlever les pisteurs (trackbacks)."
|
219 |
-
|
220 |
-
#: wp-optimize-main.php:282
|
221 |
-
msgid "Actions"
|
222 |
-
msgstr "Actions"
|
223 |
-
|
224 |
-
#: wp-optimize-main.php:291
|
225 |
-
msgid "Optimize database tables"
|
226 |
-
msgstr "Optimiser les tables de la base de données."
|
227 |
-
|
228 |
-
#: wp-optimize-main.php:299
|
229 |
-
msgid "Note:"
|
230 |
-
msgstr "Note :"
|
231 |
-
|
232 |
-
#: wp-optimize-main.php:302
|
233 |
-
msgid "InnoDB tables will not be optimized"
|
234 |
-
msgstr "Les tables InnoDB ne seront pas optimisées."
|
235 |
-
|
236 |
-
#: wp-optimize-main.php:308
|
237 |
-
msgid "Select safe options"
|
238 |
-
msgstr "Sélectionnez les options sécuritaire"
|
239 |
-
|
240 |
-
#: wp-optimize-main.php:309
|
241 |
-
msgid "Warning:"
|
242 |
-
msgstr "Avertissement :"
|
243 |
-
|
244 |
-
#: wp-optimize-main.php:310
|
245 |
-
msgid "Always make a backup of your DB when you upgrade to major versions"
|
246 |
-
msgstr "Toujours faire une copie de sauvegarde de votre BDD lorsque vous faites des mises à jour vers des versions importantes."
|
247 |
-
|
248 |
-
#: wp-optimize-main.php:315
|
249 |
-
msgid "PROCESS"
|
250 |
-
msgstr "Procéder"
|
251 |
-
|
252 |
-
#: wp-optimize-main.php:328
|
253 |
-
msgid "Status log"
|
254 |
-
msgstr "Journal de l’état actuel"
|
255 |
-
|
256 |
-
#: wp-optimize-main.php:343
|
257 |
-
msgid "Last automatic optimization was at"
|
258 |
-
msgstr "La dernière optimisation automatique était le"
|
259 |
-
|
260 |
-
#: wp-optimize-main.php:355
|
261 |
-
msgid "There was no automatic optimization"
|
262 |
-
msgstr "Aucune optimisation automatique n’est programmée"
|
263 |
-
|
264 |
-
#: wp-optimize-main.php:405 wp-optimize-main.php:430
|
265 |
-
msgid "Check settings"
|
266 |
-
msgstr "Vérifier les réglages"
|
267 |
-
|
268 |
-
#: wp-optimize-main.php:370
|
269 |
-
msgid "Scheduled cleaning enabled"
|
270 |
-
msgstr "Nettoyage programmé activé"
|
271 |
-
|
272 |
-
#: wp-optimize-main.php:382
|
273 |
-
msgid "Next schedule:"
|
274 |
-
msgstr "prochain nettoyage :"
|
275 |
-
|
276 |
-
#: wp-optimize-main.php:393
|
277 |
-
msgid "Refresh"
|
278 |
-
msgstr "Rafraichir"
|
279 |
-
|
280 |
-
#: wp-optimize-main.php:402
|
281 |
-
msgid "Scheduled cleaning disabled"
|
282 |
-
msgstr "Nettoyage planifié désactivé"
|
283 |
-
|
284 |
-
#: wp-optimize-main.php:416
|
285 |
-
#, fuzzy
|
286 |
-
msgid "Keeping last %s weeks data"
|
287 |
-
msgstr "Conserver le dernier %s semaines de données."
|
288 |
-
|
289 |
-
#: wp-optimize-main.php:427
|
290 |
-
msgid "Not keeping recent data"
|
291 |
-
msgstr "Ne conserve pas les données récentes"
|
292 |
-
|
293 |
-
#: wp-optimize-main.php:444 wp-optimize-main.php:456
|
294 |
-
msgid "Current database size:"
|
295 |
-
msgstr "Taille actuelle de la base de données :"
|
296 |
-
|
297 |
-
#: wp-optimize-main.php:449
|
298 |
-
msgid "You have saved:"
|
299 |
-
msgstr "Vous avez gagné :"
|
300 |
-
|
301 |
-
#: wp-optimize-main.php:464
|
302 |
-
msgid "You can save almost:"
|
303 |
-
msgstr "Vous pouvez gagner presque :"
|
304 |
-
|
305 |
-
#: wp-optimize-main.php:481
|
306 |
-
msgid "Total clean up overall:"
|
307 |
-
msgstr "Somme totale des nettoyages :"
|
308 |
-
|
309 |
-
#: wp-optimize-main.php:502
|
310 |
-
msgid "Sponsor"
|
311 |
-
msgstr "Parrainez"
|
312 |
-
|
313 |
-
#: wp-optimize-settings.php:71
|
314 |
-
msgid "Settings updated"
|
315 |
-
msgstr "Réglages mis à jour"
|
316 |
-
|
317 |
-
#: wp-optimize-settings.php:114
|
318 |
-
msgid "General Settings"
|
319 |
-
msgstr "Réglages généraux"
|
320 |
-
|
321 |
-
#: wp-optimize-settings.php:119
|
322 |
-
#, fuzzy
|
323 |
-
msgid "Keep last %s weeks data"
|
324 |
-
msgstr "Conserver les dernières %s semaines de données."
|
325 |
-
|
326 |
-
#: wp-optimize-settings.php:135
|
327 |
-
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
328 |
-
msgstr "Cette option va conserver les données des dernières semaines sélectionnées, et supprimer toute donnée inutile d’avant cette période."
|
329 |
-
|
330 |
-
#: wp-optimize-settings.php:144
|
331 |
-
msgid "Enable admin bar link"
|
332 |
-
msgstr "Activer le lien de la barre du Tableau de bord"
|
333 |
-
|
334 |
-
#: wp-optimize-settings.php:146
|
335 |
-
msgid "(Click here to refresh)"
|
336 |
-
msgstr "(cliquez ici pour actualiser)"
|
337 |
-
|
338 |
-
#: wp-optimize-settings.php:152
|
339 |
-
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
340 |
-
msgstr "Cette option affichera le lien WP-Optimize dans la barre supérieure du Tableau de bord (désactivée par défaut). Nécessite l’actualisation de la page."
|
341 |
-
|
342 |
-
#: wp-optimize-settings.php:158
|
343 |
-
msgid "SAVE SETTINGS"
|
344 |
-
msgstr "Sauvegarder vos réglages"
|
345 |
-
|
346 |
-
#: wp-optimize-settings.php:168
|
347 |
-
msgid "Auto Clean-up Settings"
|
348 |
-
msgstr "Réglages du nettoyage automatique"
|
349 |
-
|
350 |
-
#: wp-optimize-settings.php:171
|
351 |
-
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
352 |
-
msgstr "Activer le nettoyage planifié et l’optimisation (Option beta!)"
|
353 |
-
|
354 |
-
#: wp-optimize-settings.php:173
|
355 |
-
msgid "Select schedule type (default is Weekly)"
|
356 |
-
msgstr "Choisir le type de programmation (hebdomadaire par défaut)"
|
357 |
-
|
358 |
-
#: wp-optimize-settings.php:180 wp-optimize-settings.php:192
|
359 |
-
#: wp-optimize-settings.php:198
|
360 |
-
msgid "Every week"
|
361 |
-
msgstr "Hebdomadaire"
|
362 |
-
|
363 |
-
#: wp-optimize-settings.php:184 wp-optimize-settings.php:199
|
364 |
-
msgid "Every other week (every 14 days)"
|
365 |
-
msgstr "Chaque 2 semaines (chaque 14 jours)"
|
366 |
-
|
367 |
-
#: wp-optimize-settings.php:188 wp-optimize-settings.php:200
|
368 |
-
msgid "Every month (every 31 days)"
|
369 |
-
msgstr "Mensuel (chaque 31 jours)"
|
370 |
-
|
371 |
-
#: wp-optimize-settings.php:204
|
372 |
-
msgid "Automatic cleanup will perform the following:"
|
373 |
-
msgstr "Le nettoyage automatique procèdera aux tâches suivantes :"
|
374 |
-
|
375 |
-
#: wp-optimize-settings.php:206
|
376 |
-
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
377 |
-
msgstr "Enlever les révisions, les brouillons automatiques, les articles et les commentaires dans la corbeille, les options transitoires. Après cela, la base de données sera optimisée."
|
378 |
-
|
379 |
-
#: wp-optimize-settings.php:213
|
380 |
-
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
381 |
-
msgstr "Ces options ne fonctionneront que si la programmation du nettoyage automatique a été activée."
|
382 |
-
|
383 |
-
#: wp-optimize-settings.php:218
|
384 |
-
msgid "Remove auto revisions"
|
385 |
-
msgstr "Enlever les révisions automatiques."
|
386 |
-
|
387 |
-
#: wp-optimize-settings.php:222
|
388 |
-
msgid "Remove auto drafts"
|
389 |
-
msgstr "Enlever les brouillons automatiques."
|
390 |
-
|
391 |
-
#: wp-optimize-settings.php:226
|
392 |
-
msgid "Remove spam comments"
|
393 |
-
msgstr "Enlever les commentaires indésirables."
|
394 |
-
|
395 |
-
#: wp-optimize-settings.php:239
|
396 |
-
msgid "Remove orphaned post meta"
|
397 |
-
msgstr "Enlever les métadonnées d’article (postmeta) orphelin."
|
398 |
-
|
399 |
-
#: wp-optimize-settings.php:243
|
400 |
-
msgid "Remove unused tags"
|
401 |
-
msgstr "Enlever les mots-clés inutilisés."
|
402 |
-
|
403 |
-
#: wp-optimize-settings.php:249
|
404 |
-
msgid "Optimize database"
|
405 |
-
msgstr "Optimiser la base de données."
|
406 |
-
|
407 |
-
#: wp-optimize-settings.php:255
|
408 |
-
msgid "If you have InnoDB tables. They will not be optimized!"
|
409 |
-
msgstr "Si vous avez des tables InnoDB. Elles ne seront pas optimisées!"
|
410 |
-
|
411 |
-
#: wp-optimize-settings.php:262
|
412 |
-
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
413 |
-
msgstr "Sauvegarder vos réglages de nettoyage automatique"
|
414 |
-
|
415 |
-
#: wp-optimize-tables.php:20
|
416 |
-
msgid "Database Name:"
|
417 |
-
msgstr "Nom de la base de données :"
|
418 |
-
|
419 |
-
#: wp-optimize-tables.php:28
|
420 |
-
msgid "Optimized all the tables found in the database."
|
421 |
-
msgstr "Toutes les tables de la base de données ont été optimisées."
|
422 |
-
|
423 |
-
#: wp-optimize-tables.php:36
|
424 |
-
msgid "No."
|
425 |
-
msgstr "No."
|
426 |
-
|
427 |
-
#: wp-optimize-tables.php:38
|
428 |
-
msgid "Records"
|
429 |
-
msgstr "Archives"
|
430 |
-
|
431 |
-
#: wp-optimize-tables.php:39
|
432 |
-
msgid "Data Size"
|
433 |
-
msgstr "Taille des données"
|
434 |
-
|
435 |
-
#: wp-optimize-tables.php:40
|
436 |
-
msgid "Index Size"
|
437 |
-
msgstr "Taille de l’index"
|
438 |
-
|
439 |
-
#: wp-optimize-tables.php:41
|
440 |
-
msgid "Type"
|
441 |
-
msgstr "Type"
|
442 |
-
|
443 |
-
#: wp-optimize-tables.php:42
|
444 |
-
msgid "Overhead"
|
445 |
-
msgstr "Résultat"
|
446 |
-
|
447 |
-
#: wp-optimize-tables.php:137
|
448 |
-
msgid "Total:"
|
449 |
-
msgstr "Totale :"
|
450 |
-
|
451 |
-
#: wp-optimize-tables.php:138
|
452 |
-
msgid "%d Table"
|
453 |
-
msgid_plural "%d Tables"
|
454 |
-
msgstr[0] "%d Table"
|
455 |
-
msgstr[1] "%d Tables"
|
456 |
-
|
457 |
-
#: wp-optimize-tables.php:139
|
458 |
-
msgid "%d Record"
|
459 |
-
msgid_plural "%d Records"
|
460 |
-
msgstr[0] "%d Record"
|
461 |
-
msgstr[1] "%d Records"
|
462 |
-
|
463 |
-
#: wp-optimize-tables.php:179
|
464 |
-
msgid "Total Size of Database:"
|
465 |
-
msgstr "Taille totale de la base de données :"
|
466 |
-
|
467 |
-
#: wp-optimize-tables.php:191
|
468 |
-
msgid "Optimization Results:"
|
469 |
-
msgstr "Résultats de l'optimisation :"
|
470 |
-
|
471 |
-
#: wp-optimize-tables.php:196
|
472 |
-
msgid "Total Space Saved:"
|
473 |
-
msgstr "Espace total gagné :"
|
474 |
-
|
475 |
-
#: wp-optimize-tables.php:208
|
476 |
-
msgid "Optimization Possibility:"
|
477 |
-
msgstr "Optimisation possible :"
|
478 |
-
|
479 |
-
#: wp-optimize-tables.php:215
|
480 |
-
msgid "Total space can be saved:"
|
481 |
-
msgstr "Espace total pouvant être gagné :"
|
482 |
-
|
483 |
-
msgid "WP-Optimize"
|
484 |
-
msgstr "WP-Optimize"
|
485 |
-
|
486 |
-
msgid "http://www.ruhanirabin.com/wp-optimize/"
|
487 |
-
msgstr "http://www.gnosticisme.com/"
|
488 |
-
|
489 |
-
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
490 |
-
msgstr "Cette extension vous aide à garder votre base de données propre en éliminant les révisions d’article et les pourriels en un éclair. De plus, cela vous permet d’effectuer une commande d'optimisation sur vos tables principales de WordPress (utilisez avec prudence)."
|
491 |
-
|
492 |
-
msgid "Ruhani Rabin"
|
493 |
-
msgstr "Ruhani Rabin"
|
494 |
-
|
495 |
-
msgid "https://github.com/ruhanirabin/WP-Optimize"
|
496 |
-
msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
497 |
-
|
498 |
-
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
499 |
-
msgid "Optimizer"
|
500 |
-
msgstr "Optimiseur"
|
501 |
-
|
502 |
-
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
503 |
-
msgid "MYSQL"
|
504 |
-
msgstr "MYSQL"
|
505 |
-
|
506 |
-
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
507 |
-
msgid "Settings"
|
508 |
-
msgstr "Réglages"
|
509 |
-
|
510 |
-
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
511 |
-
msgid "Info"
|
512 |
-
msgstr "Renseignement"
|
513 |
-
|
514 |
-
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
515 |
-
msgid "Tables"
|
516 |
-
msgstr "Tables"
|
517 |
-
|
518 |
-
#: wp-optimize-common.php:465
|
519 |
-
msgid "bytes"
|
520 |
-
msgstr "octets"
|
521 |
-
|
522 |
-
#: wp-optimize-common.php:554
|
523 |
-
#, fuzzy
|
524 |
-
msgid "%d transient option deleted"
|
525 |
-
msgid_plural "%d transient options deleted"
|
526 |
-
msgstr[0] "%d options transitoires supprimées."
|
527 |
-
|
528 |
-
#: wp-optimize-common.php:581
|
529 |
-
#, fuzzy
|
530 |
-
msgid "%d post revision deleted"
|
531 |
-
msgid_plural "%d post revisions deleted"
|
532 |
-
msgstr[0] "%d révisions d'articles effacés."
|
533 |
-
|
534 |
-
#: wp-optimize-common.php:592
|
535 |
-
#, fuzzy
|
536 |
-
msgid "%d auto draft deleted"
|
537 |
-
msgid_plural "%d auto drafts deleted"
|
538 |
-
msgstr[0] "%d brouillons automatiques supprimés."
|
539 |
-
|
540 |
-
#: wp-optimize-common.php:602
|
541 |
-
#, fuzzy
|
542 |
-
msgid "%d item removed from Trash"
|
543 |
-
msgid_plural "%d items removed from Trash"
|
544 |
-
msgstr[0] "%d articles retirés de la corbeille."
|
545 |
-
|
546 |
-
#: wp-optimize-common.php:614
|
547 |
-
#, fuzzy
|
548 |
-
msgid "%d spam comment deleted"
|
549 |
-
msgid_plural "%d spam comments deleted"
|
550 |
-
msgstr[0] "%d commentaires indésirables effacés."
|
551 |
-
|
552 |
-
#: wp-optimize-common.php:645
|
553 |
-
#, fuzzy
|
554 |
-
msgid "%d unapproved comment deleted"
|
555 |
-
msgid_plural "%d unapproved comments deleted"
|
556 |
-
msgstr[0] "%d commentaires non-approuvés effacés."
|
557 |
-
|
558 |
-
#: wp-optimize-common.php:651
|
559 |
-
#, fuzzy
|
560 |
-
msgid "%d pingback deleted"
|
561 |
-
msgid_plural "%d pingbacks deleted"
|
562 |
-
msgstr[0] "%d pingbacks supprimés."
|
563 |
-
|
564 |
-
#: wp-optimize-common.php:657
|
565 |
-
#, fuzzy
|
566 |
-
msgid "%d trackback deleted"
|
567 |
-
msgid_plural "%d trackbacks deleted"
|
568 |
-
msgstr[0] "%d pisteurs supprimés."
|
569 |
-
|
570 |
-
#: wp-optimize-common.php:664
|
571 |
-
msgid "Enabled weekly processing"
|
572 |
-
msgstr "Nettoyage hebdomadaire activé"
|
573 |
-
|
574 |
-
#: wp-optimize-common.php:670
|
575 |
-
msgid "Disabled weekly processing"
|
576 |
-
msgstr "Nettoyage hebdomadaire désactivé"
|
577 |
-
|
578 |
-
#: wp-optimize-common.php:679
|
579 |
-
msgid "NO Actions Taken"
|
580 |
-
msgstr "AUCUNE action prise."
|
581 |
-
|
582 |
-
#: wp-optimize-common.php:706
|
583 |
-
#, fuzzy
|
584 |
-
msgid "%d transient option in your database"
|
585 |
-
msgid_plural "%d transient options in your database"
|
586 |
-
msgstr[0] "%d options transitoires dans votre base de données."
|
587 |
-
|
588 |
-
#: wp-optimize-common.php:708
|
589 |
-
msgid "No transient options found"
|
590 |
-
msgstr " Aucune option transitoire trouvée."
|
591 |
-
|
592 |
-
#: wp-optimize-common.php:717
|
593 |
-
#, fuzzy
|
594 |
-
msgid "%d orphaned postmeta in your database"
|
595 |
-
msgid_plural "%d orphaned postmeta in your database"
|
596 |
-
msgstr[0] "%d métadonnées d’article (postmeta) orphelin dans votre base de données."
|
597 |
-
|
598 |
-
#: wp-optimize-common.php:719
|
599 |
-
msgid "No orphaned postmeta in your database"
|
600 |
-
msgstr "Aucune métadonnée d’article (postmeta) dans votre base de données."
|
601 |
-
|
602 |
-
#: wp-optimize-common.php:728
|
603 |
-
#, fuzzy
|
604 |
-
msgid "%d unused tag in your database"
|
605 |
-
msgid_plural "%d unused tags in your database"
|
606 |
-
msgstr[0] "%d mots-clés inutilisés dans votre base de données."
|
607 |
-
|
608 |
-
#: wp-optimize-common.php:730
|
609 |
-
msgid "No unused tags found"
|
610 |
-
msgstr "Aucun mot-clé inutilisé trouvé."
|
611 |
-
|
612 |
-
#: wp-optimize-common.php:743
|
613 |
-
#, fuzzy
|
614 |
-
msgid "%d post revision in your database"
|
615 |
-
msgid_plural "%d post revisions in your database"
|
616 |
-
msgstr[0] "%d révisions d'articles dans votre base de données."
|
617 |
-
|
618 |
-
#: wp-optimize-common.php:745
|
619 |
-
msgid "No post revisions found"
|
620 |
-
msgstr "Aucune révision d'article trouvé."
|
621 |
-
|
622 |
-
#: wp-optimize-common.php:758
|
623 |
-
#, fuzzy
|
624 |
-
msgid "%d auto draft post in your database"
|
625 |
-
msgid_plural "%d auto draft posts in your database"
|
626 |
-
msgstr[0] "%d brouillon(s) auto dans votre base de données."
|
627 |
-
|
628 |
-
#: wp-optimize-common.php:760
|
629 |
-
msgid "No auto draft posts found"
|
630 |
-
msgstr "Aucun brouillon automatique trouvé."
|
631 |
-
|
632 |
-
#: wp-optimize-common.php:772
|
633 |
-
#, fuzzy
|
634 |
-
msgid "%d spam comment found"
|
635 |
-
msgid_plural "%d spam comments found"
|
636 |
-
msgstr[0] "%d commentaires indésirables trouvés."
|
637 |
-
|
638 |
-
#: wp-optimize-common.php:772 wp-optimize-common.php:803
|
639 |
-
msgid "Review"
|
640 |
-
msgstr "Vérifiez"
|
641 |
-
|
642 |
-
#: wp-optimize-common.php:774
|
643 |
-
msgid "No spam comments found"
|
644 |
-
msgstr "Aucun commentaire indésirable trouvé."
|
645 |
-
|
646 |
-
#: wp-optimize-common.php:803
|
647 |
-
#, fuzzy
|
648 |
-
msgid "%d unapproved comment found"
|
649 |
-
msgid_plural "%d unapproved comments found"
|
650 |
-
msgstr[0] "%d commentaires non-approuvés trouvés."
|
651 |
-
|
652 |
-
#: wp-optimize-common.php:805
|
653 |
-
msgid "No unapproved comments found"
|
654 |
-
msgstr "Aucun commentaire non-approuvé trouvé."
|
655 |
-
|
656 |
-
#: wp-optimize-common.php:813
|
657 |
-
#, fuzzy
|
658 |
-
msgid "%d Pingback found"
|
659 |
-
msgid_plural "%d Pingbacks found"
|
660 |
-
msgstr[0] "%d Pingbacks trouvés."
|
661 |
-
|
662 |
-
#: wp-optimize-common.php:815
|
663 |
-
msgid "No pingbacks found"
|
664 |
-
msgstr "Aucun pingback trouvé."
|
665 |
-
|
666 |
-
#: wp-optimize-common.php:823
|
667 |
-
#, fuzzy
|
668 |
-
msgid "%d Trackback found"
|
669 |
-
msgid_plural "%d Trackbacks found"
|
670 |
-
msgstr[0] "%d Pisteurs trouvés."
|
671 |
-
|
672 |
-
#: wp-optimize-common.php:825
|
673 |
-
msgid "No trackbacks found"
|
674 |
-
msgstr "Aucun pisteurs trouvé."
|
675 |
-
|
676 |
-
#: wp-optimize-common.php:831
|
677 |
-
msgid "nothing"
|
678 |
-
msgstr "rien"
|
679 |
-
|
680 |
-
#: wp-optimize-credits.php:14
|
681 |
-
msgid "Credits"
|
682 |
-
msgstr "Crédits"
|
683 |
-
|
684 |
-
#: wp-optimize-credits.php:15
|
685 |
-
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
686 |
-
msgstr "WP-Optimize a débuté comme un utilitaire pour mes propres projets. J’ai cependant vite réalisé que cette extension pourrait aider beaucoup de gens. Je remercie personnellement tous les utilisateurs qui utilisent cette extension quotidiennement. Je remercie également tous les traducteurs et les généreux donateurs qui ont donné pour ce projet."
|
687 |
-
|
688 |
-
#: wp-optimize-credits.php:25
|
689 |
-
msgid "Share this plugin on Facebook"
|
690 |
-
msgstr "Partagez cette extension sur Facebook"
|
691 |
-
|
692 |
-
#: wp-optimize-credits.php:38
|
693 |
-
msgid "Contributing Developers"
|
694 |
-
msgstr "Développeurs contributeurs"
|
695 |
-
|
696 |
-
#: wp-optimize-credits.php:39
|
697 |
-
msgid "Help me make this plugin better"
|
698 |
-
msgstr "Aidez-moi à améliorer cette extension"
|
699 |
-
|
700 |
-
#: wp-optimize-credits.php:39
|
701 |
-
msgid "I am looking for contributing developers."
|
702 |
-
msgstr "je suis à la recherche de développeurs disposés à contribuer."
|
703 |
-
|
704 |
-
#: wp-optimize-credits.php:40
|
705 |
-
msgid "Your name and website will be credited here in the plugin"
|
706 |
-
msgstr "Votre nom et votre site web seront affichés ici dans l’extension"
|
707 |
-
|
708 |
-
#: wp-optimize-credits.php:49
|
709 |
-
msgid "Translators"
|
710 |
-
msgstr "Traducteurs"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Binary file
|
Binary file
|
@@ -1,95 +1,95 @@
|
|
1 |
-
# Translation of WP-Optimize in
|
2 |
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"PO-Revision-Date: 2015-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
-
"Plural-Forms: nplurals=
|
10 |
"X-Generator: GlotPress/0.1\n"
|
11 |
"Project-Id-Version: WP-Optimize\n"
|
12 |
|
13 |
#: wp-optimize-common.php:72
|
14 |
msgid "Automatic Operation Completed"
|
15 |
-
msgstr "
|
16 |
|
17 |
#: wp-optimize-common.php:74
|
18 |
msgid "Scheduled optimization was executed at"
|
19 |
-
msgstr "
|
20 |
|
21 |
#: wp-optimize-common.php:76
|
22 |
msgid "You can safely delete this email."
|
23 |
-
msgstr "
|
24 |
|
25 |
#: wp-optimize-common.php:78
|
26 |
msgid "Regards,"
|
27 |
-
msgstr "
|
28 |
|
29 |
#: wp-optimize-common.php:79
|
30 |
msgid "WP-Optimize Plugin"
|
31 |
-
msgstr "WP-Optimize
|
32 |
|
33 |
#: wp-optimize-settings.php:233 wp-optimize-settings.php:255
|
34 |
msgid "Everyday"
|
35 |
-
msgstr "
|
36 |
|
37 |
#: wp-optimize-settings.php:322
|
38 |
msgid "Enable email notification"
|
39 |
-
msgstr "
|
40 |
|
41 |
#: wp-optimize-settings.php:329
|
42 |
msgid "Send email to"
|
43 |
-
msgstr "
|
44 |
|
45 |
msgid "http://wp-optimize.ruhanirabin.com/"
|
46 |
msgstr "http://wp-optimize.ruhanirabin.com/"
|
47 |
|
48 |
#: wp-optimize-settings.php:191
|
49 |
msgid "Disable/Enable Comments"
|
50 |
-
msgstr "
|
51 |
|
52 |
#: wp-optimize-settings.php:180 wp-optimize-settings.php:195
|
53 |
msgid "Enable"
|
54 |
-
msgstr "
|
55 |
|
56 |
#: wp-optimize-settings.php:179 wp-optimize-settings.php:194
|
57 |
msgid "Disable"
|
58 |
-
msgstr "
|
59 |
|
60 |
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
61 |
msgid "SELECT"
|
62 |
-
msgstr "
|
63 |
|
64 |
#: wp-optimize-settings.php:176
|
65 |
msgid "Disable/Enable Trackbacks"
|
66 |
-
msgstr "
|
67 |
|
68 |
#: wp-optimize-settings.php:174
|
69 |
msgid "Trackback/Comments Actions"
|
70 |
-
msgstr "Trackback/
|
71 |
|
72 |
#: wp-optimize-settings.php:200
|
73 |
msgid "This will disable/enable Comments on all your current and previously published posts"
|
74 |
-
msgstr "
|
75 |
|
76 |
#: wp-optimize-settings.php:185
|
77 |
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
78 |
-
msgstr "
|
79 |
|
80 |
#: wp-optimize-settings.php:94
|
81 |
msgid "Trackbacks enabled on all current and previously published posts"
|
82 |
-
msgstr "Trackbacks
|
83 |
|
84 |
#: wp-optimize-main.php:272
|
85 |
msgid "Do not select RED marked items unless you really need to use them"
|
86 |
-
msgstr "
|
87 |
|
88 |
#: wp-optimize-common.php:704
|
89 |
#, fuzzy
|
90 |
msgid "%d comment removed from Trash"
|
91 |
msgid_plural "%d comments removed from Trash"
|
92 |
-
msgstr[0] "%d
|
93 |
|
94 |
#: wp-optimize-common.php:543
|
95 |
msgid "KB"
|
@@ -101,19 +101,19 @@ msgstr "MB"
|
|
101 |
|
102 |
#: wp-optimize-settings.php:88
|
103 |
msgid "Trackbacks disabled on all current and previously published posts"
|
104 |
-
msgstr "Trackbacks
|
105 |
|
106 |
#: wp-optimize-settings.php:103
|
107 |
msgid "Comments disabled on all current and previously published posts"
|
108 |
-
msgstr "
|
109 |
|
110 |
#: wp-optimize-settings.php:109
|
111 |
msgid "Comments enabled on all current and previously published posts"
|
112 |
-
msgstr "
|
113 |
|
114 |
#: wp-optimize-main.php:278 wp-optimize-settings.php:207
|
115 |
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
116 |
-
msgstr "
|
117 |
|
118 |
#: wp-optimize-common.php:539
|
119 |
msgid "GB"
|
@@ -123,77 +123,77 @@ msgstr "GB"
|
|
123 |
#, fuzzy
|
124 |
msgid "%d unused comment metadata item removed"
|
125 |
msgid_plural "%d unused comment metadata items removed"
|
126 |
-
msgstr[0] "%d
|
127 |
|
128 |
#: wp-optimize-common.php:716
|
129 |
#, fuzzy
|
130 |
msgid "%d unused akismet comment metadata item removed"
|
131 |
msgid_plural "%d unused akismet comment metadata items removed"
|
132 |
-
msgstr[0] "%d
|
133 |
|
134 |
#: wp-optimize-credits.php:67
|
135 |
msgid "GitHub Development Log"
|
136 |
-
msgstr "
|
137 |
|
138 |
#: wp-optimize-credits.php:41
|
139 |
msgid "(Translator name)"
|
140 |
-
msgstr "
|
141 |
|
142 |
#: wp-optimize-credits.php:41
|
143 |
msgid "http://(Translator Website)"
|
144 |
-
msgstr "
|
145 |
|
146 |
#: wp-optimize-credits.php:43
|
147 |
msgid "Read Translation Instructions"
|
148 |
-
msgstr "
|
149 |
|
150 |
#: wp-optimize-credits.php:56
|
151 |
msgid "Support E-mail"
|
152 |
-
msgstr "E-
|
153 |
|
154 |
#: wp-optimize-credits.php:53
|
155 |
msgid "Request New Language"
|
156 |
-
msgstr "
|
157 |
|
158 |
#: wp-optimize-credits.php:52
|
159 |
msgid "Plugin Translation Portal (needs translator account)"
|
160 |
-
msgstr "
|
161 |
|
162 |
#: wp-optimize-credits.php:51
|
163 |
msgid "Get a Translator Account"
|
164 |
-
msgstr "
|
165 |
|
166 |
#: wp-optimize-main.php:329
|
167 |
msgid "Rating"
|
168 |
-
msgstr "
|
169 |
|
170 |
#: wp-optimize-main.php:328
|
171 |
msgid "Please give a proper rating :)"
|
172 |
-
msgstr "
|
173 |
|
174 |
#: wp-optimize-main.php:327
|
175 |
msgid "Donate!"
|
176 |
-
msgstr "
|
177 |
|
178 |
#: wp-optimize-main.php:327
|
179 |
msgid "Please donate! It really helps me keep improvising"
|
180 |
-
msgstr "
|
181 |
|
182 |
#: wp-optimize-credits.php:49
|
183 |
msgid "Plugin Resources"
|
184 |
-
msgstr "
|
185 |
|
186 |
#: wp-optimize-credits.php:54
|
187 |
msgid "Plugin Homepage"
|
188 |
-
msgstr "
|
189 |
|
190 |
#: wp-optimize-credits.php:55
|
191 |
msgid "Support (GitHub)"
|
192 |
-
msgstr "
|
193 |
|
194 |
#: wp-optimize-credits.php:57
|
195 |
msgid "Change Log"
|
196 |
-
msgstr "
|
197 |
|
198 |
#: wp-optimize-credits.php:58
|
199 |
msgid "FAQ"
|
@@ -201,338 +201,334 @@ msgstr "FAQ"
|
|
201 |
|
202 |
#: wp-optimize-credits.php:87
|
203 |
msgid "No items"
|
204 |
-
msgstr "
|
205 |
|
206 |
#: wp-optimize-main.php:76
|
207 |
#, fuzzy, php-format
|
208 |
msgctxt "%s is the Database Name"
|
209 |
msgid "%s Database Optimized!"
|
210 |
-
msgstr "%s
|
211 |
|
212 |
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
213 |
msgid "Clean-up options"
|
214 |
-
msgstr "
|
215 |
|
216 |
#: wp-optimize-main.php:165
|
217 |
#, fuzzy
|
218 |
msgid "Clean post revisions which are older than %d weeks"
|
219 |
-
msgstr "
|
220 |
|
221 |
#: wp-optimize-main.php:170
|
222 |
msgid "Clean all post revisions"
|
223 |
-
msgstr "
|
224 |
|
225 |
#: wp-optimize-main.php:183
|
226 |
#, fuzzy
|
227 |
msgid "Clean auto draft posts which are older than %d weeks"
|
228 |
-
msgstr "
|
229 |
|
230 |
#: wp-optimize-main.php:188
|
231 |
msgid "Clean all auto draft posts and posts in trash"
|
232 |
-
msgstr "
|
233 |
|
234 |
#: wp-optimize-main.php:203
|
235 |
#, fuzzy
|
236 |
msgid "Remove spam comments which are older than %d weeks"
|
237 |
-
msgstr "
|
238 |
|
239 |
#: wp-optimize-main.php:208
|
240 |
msgid "Remove spam comments and comments in trash"
|
241 |
-
msgstr "
|
242 |
|
243 |
#: wp-optimize-main.php:222
|
244 |
#, fuzzy
|
245 |
msgid "Remove unapproved comments which are older than %d weeks"
|
246 |
-
msgstr "
|
247 |
|
248 |
#: wp-optimize-main.php:227 wp-optimize-settings.php:288
|
249 |
msgid "Remove unapproved comments"
|
250 |
-
msgstr "
|
251 |
|
252 |
#: wp-optimize-main.php:240 wp-optimize-settings.php:293
|
253 |
msgid "Remove transient options"
|
254 |
-
msgstr "
|
255 |
|
256 |
#: wp-optimize-main.php:251
|
257 |
msgid "Remove pingbacks"
|
258 |
-
msgstr "
|
259 |
|
260 |
#: wp-optimize-main.php:262
|
261 |
msgid "Remove trackbacks"
|
262 |
-
msgstr "
|
263 |
|
264 |
#: wp-optimize-main.php:288
|
265 |
msgid "Actions"
|
266 |
-
msgstr "
|
267 |
|
268 |
#: wp-optimize-main.php:297
|
269 |
msgid "Optimize database tables"
|
270 |
-
msgstr "
|
271 |
|
272 |
#: wp-optimize-main.php:305
|
273 |
msgid "Note:"
|
274 |
-
msgstr "
|
275 |
|
276 |
#: wp-optimize-main.php:308
|
277 |
msgid "InnoDB tables will not be optimized"
|
278 |
-
msgstr "InnoDB
|
279 |
|
280 |
#: wp-optimize-main.php:314
|
281 |
msgid "Select safe options"
|
282 |
-
msgstr "
|
283 |
|
284 |
#: wp-optimize-main.php:315
|
285 |
msgid "Warning:"
|
286 |
-
msgstr "
|
287 |
|
288 |
#: wp-optimize-main.php:316
|
289 |
msgid "Always make a backup of your DB when you upgrade to major versions"
|
290 |
-
msgstr "
|
291 |
|
292 |
#: wp-optimize-main.php:321
|
293 |
msgid "PROCESS"
|
294 |
-
msgstr "
|
295 |
|
296 |
#: wp-optimize-main.php:334
|
297 |
msgid "Status log"
|
298 |
-
msgstr "
|
299 |
|
300 |
#: wp-optimize-main.php:349
|
301 |
msgid "Last automatic optimization was at"
|
302 |
-
msgstr "
|
303 |
|
304 |
#: wp-optimize-main.php:361
|
305 |
msgid "There was no automatic optimization"
|
306 |
-
msgstr "
|
307 |
|
308 |
#: wp-optimize-main.php:411 wp-optimize-main.php:436
|
309 |
msgid "Check settings"
|
310 |
-
msgstr "
|
311 |
|
312 |
#: wp-optimize-main.php:376
|
313 |
msgid "Scheduled cleaning enabled"
|
314 |
-
msgstr "
|
315 |
|
316 |
#: wp-optimize-main.php:388
|
317 |
msgid "Next schedule:"
|
318 |
-
msgstr "
|
319 |
|
320 |
#: wp-optimize-main.php:399
|
321 |
msgid "Refresh"
|
322 |
-
msgstr "
|
323 |
|
324 |
#: wp-optimize-main.php:408
|
325 |
msgid "Scheduled cleaning disabled"
|
326 |
-
msgstr "
|
327 |
|
328 |
#: wp-optimize-main.php:422
|
329 |
#, fuzzy
|
330 |
msgid "Keeping last %s weeks data"
|
331 |
-
msgstr "
|
332 |
|
333 |
#: wp-optimize-main.php:433
|
334 |
msgid "Not keeping recent data"
|
335 |
-
msgstr "
|
336 |
|
337 |
#: wp-optimize-main.php:450 wp-optimize-main.php:462
|
338 |
msgid "Current database size:"
|
339 |
-
msgstr "
|
340 |
|
341 |
#: wp-optimize-main.php:455
|
342 |
msgid "You have saved:"
|
343 |
-
msgstr "
|
344 |
|
345 |
#: wp-optimize-main.php:470
|
346 |
msgid "You can save almost:"
|
347 |
-
msgstr "
|
348 |
|
349 |
#: wp-optimize-main.php:487
|
350 |
msgid "Total clean up overall:"
|
351 |
-
msgstr "
|
352 |
|
353 |
#: wp-optimize-main.php:508
|
354 |
msgid "Sponsor"
|
355 |
-
msgstr "
|
356 |
|
357 |
#: wp-optimize-settings.php:115
|
358 |
msgid "Settings updated"
|
359 |
-
msgstr "
|
360 |
|
361 |
#: wp-optimize-settings.php:132
|
362 |
msgid "General Settings"
|
363 |
-
msgstr "
|
364 |
|
365 |
#: wp-optimize-settings.php:137
|
366 |
#, fuzzy
|
367 |
msgid "Keep last %s weeks data"
|
368 |
-
msgstr "
|
369 |
|
370 |
#: wp-optimize-settings.php:153
|
371 |
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
372 |
-
msgstr "
|
373 |
|
374 |
#: wp-optimize-settings.php:162
|
375 |
msgid "Enable admin bar link"
|
376 |
-
msgstr "
|
377 |
|
378 |
#: wp-optimize-settings.php:164
|
379 |
msgid "(Click here to refresh)"
|
380 |
-
msgstr "(
|
381 |
|
382 |
#: wp-optimize-settings.php:170
|
383 |
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
384 |
-
msgstr "
|
385 |
|
386 |
#: wp-optimize-settings.php:211
|
387 |
msgid "SAVE SETTINGS"
|
388 |
-
msgstr "
|
389 |
|
390 |
#: wp-optimize-settings.php:221
|
391 |
msgid "Auto Clean-up Settings"
|
392 |
-
msgstr "
|
393 |
|
394 |
#: wp-optimize-settings.php:224
|
395 |
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
396 |
-
msgstr "
|
397 |
|
398 |
#: wp-optimize-settings.php:226
|
399 |
msgid "Select schedule type (default is Weekly)"
|
400 |
-
msgstr "
|
401 |
|
402 |
#: wp-optimize-settings.php:237 wp-optimize-settings.php:249
|
403 |
#: wp-optimize-settings.php:256
|
404 |
msgid "Every week"
|
405 |
-
msgstr "
|
406 |
|
407 |
#: wp-optimize-settings.php:241 wp-optimize-settings.php:257
|
408 |
msgid "Every other week (every 14 days)"
|
409 |
-
msgstr "
|
410 |
|
411 |
#: wp-optimize-settings.php:245 wp-optimize-settings.php:258
|
412 |
msgid "Every month (every 31 days)"
|
413 |
-
msgstr "
|
414 |
|
415 |
#: wp-optimize-settings.php:262
|
416 |
msgid "Automatic cleanup will perform the following:"
|
417 |
-
msgstr "
|
418 |
|
419 |
#: wp-optimize-settings.php:264
|
420 |
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
421 |
-
msgstr "
|
422 |
|
423 |
#: wp-optimize-settings.php:271
|
424 |
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
425 |
-
msgstr "
|
426 |
|
427 |
#: wp-optimize-settings.php:276
|
428 |
msgid "Remove auto revisions"
|
429 |
-
msgstr "
|
430 |
|
431 |
#: wp-optimize-settings.php:280
|
432 |
msgid "Remove auto drafts"
|
433 |
-
msgstr "
|
434 |
|
435 |
#: wp-optimize-settings.php:284
|
436 |
msgid "Remove spam comments"
|
437 |
-
msgstr "
|
438 |
|
439 |
#: wp-optimize-settings.php:297
|
440 |
msgid "Remove orphaned post meta"
|
441 |
-
msgstr "
|
442 |
|
443 |
#: wp-optimize-settings.php:301
|
444 |
msgid "Remove unused tags"
|
445 |
-
msgstr "
|
446 |
|
447 |
#: wp-optimize-settings.php:307
|
448 |
msgid "Optimize database"
|
449 |
-
msgstr "
|
450 |
|
451 |
#: wp-optimize-settings.php:313
|
452 |
msgid "If you have InnoDB tables. They will not be optimized!"
|
453 |
-
msgstr "
|
454 |
|
455 |
#: wp-optimize-settings.php:335
|
456 |
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
457 |
-
msgstr "
|
458 |
|
459 |
#: wp-optimize-tables.php:20
|
460 |
msgid "Database Name:"
|
461 |
-
msgstr "
|
462 |
|
463 |
#: wp-optimize-tables.php:28
|
464 |
msgid "Optimized all the tables found in the database."
|
465 |
-
msgstr "
|
466 |
|
467 |
#: wp-optimize-tables.php:36
|
468 |
msgid "No."
|
469 |
-
msgstr "
|
470 |
|
471 |
#: wp-optimize-tables.php:38
|
472 |
msgid "Records"
|
473 |
-
msgstr "
|
474 |
|
475 |
#: wp-optimize-tables.php:39
|
476 |
msgid "Data Size"
|
477 |
-
msgstr "
|
478 |
|
479 |
#: wp-optimize-tables.php:40
|
480 |
msgid "Index Size"
|
481 |
-
msgstr "
|
482 |
|
483 |
#: wp-optimize-tables.php:41
|
484 |
msgid "Type"
|
485 |
-
msgstr "
|
486 |
|
487 |
#: wp-optimize-tables.php:42
|
488 |
msgid "Overhead"
|
489 |
-
msgstr "
|
490 |
|
491 |
#: wp-optimize-tables.php:137
|
492 |
msgid "Total:"
|
493 |
-
msgstr "
|
494 |
|
495 |
#: wp-optimize-tables.php:138
|
496 |
msgid "%d Table"
|
497 |
msgid_plural "%d Tables"
|
498 |
-
msgstr[0] "%d
|
499 |
-
msgstr[1] "
|
500 |
-
msgstr[2] " %d Tabele"
|
501 |
-
msgstr[3] " %d Tabele"
|
502 |
|
503 |
#: wp-optimize-tables.php:139
|
504 |
msgid "%d Record"
|
505 |
msgid_plural "%d Records"
|
506 |
-
msgstr[0] "%d
|
507 |
-
msgstr[1] "%d
|
508 |
-
msgstr[2] ""
|
509 |
-
msgstr[3] ""
|
510 |
|
511 |
#: wp-optimize-tables.php:179
|
512 |
msgid "Total Size of Database:"
|
513 |
-
msgstr "
|
514 |
|
515 |
#: wp-optimize-tables.php:191
|
516 |
msgid "Optimization Results:"
|
517 |
-
msgstr "
|
518 |
|
519 |
#: wp-optimize-tables.php:196
|
520 |
msgid "Total Space Saved:"
|
521 |
-
msgstr "
|
522 |
|
523 |
#: wp-optimize-tables.php:208
|
524 |
msgid "Optimization Possibility:"
|
525 |
-
msgstr "
|
526 |
|
527 |
#: wp-optimize-tables.php:215
|
528 |
msgid "Total space can be saved:"
|
529 |
-
msgstr "
|
530 |
|
531 |
msgid "WP-Optimize"
|
532 |
msgstr "WP-Optimize"
|
533 |
|
534 |
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
535 |
-
msgstr "
|
536 |
|
537 |
msgid "Ruhani Rabin"
|
538 |
msgstr "Ruhani Rabin"
|
@@ -542,7 +538,7 @@ msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
|
542 |
|
543 |
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
544 |
msgid "Optimizer"
|
545 |
-
msgstr "
|
546 |
|
547 |
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
548 |
msgid "MYSQL"
|
@@ -550,7 +546,7 @@ msgstr "MYSQL"
|
|
550 |
|
551 |
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
552 |
msgid "Settings"
|
553 |
-
msgstr "
|
554 |
|
555 |
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
556 |
msgid "Info"
|
@@ -558,194 +554,194 @@ msgstr "Info"
|
|
558 |
|
559 |
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
560 |
msgid "Tables"
|
561 |
-
msgstr "
|
562 |
|
563 |
#: wp-optimize-common.php:545
|
564 |
msgid "bytes"
|
565 |
-
msgstr "
|
566 |
|
567 |
#: wp-optimize-common.php:635
|
568 |
#, fuzzy
|
569 |
msgid "%d transient option deleted"
|
570 |
msgid_plural "%d transient options deleted"
|
571 |
-
msgstr[0] "%d
|
572 |
|
573 |
#: wp-optimize-common.php:662
|
574 |
#, fuzzy
|
575 |
msgid "%d post revision deleted"
|
576 |
msgid_plural "%d post revisions deleted"
|
577 |
-
msgstr[0] "%d
|
578 |
|
579 |
#: wp-optimize-common.php:673
|
580 |
#, fuzzy
|
581 |
msgid "%d auto draft deleted"
|
582 |
msgid_plural "%d auto drafts deleted"
|
583 |
-
msgstr[0] "%d
|
584 |
|
585 |
#: wp-optimize-common.php:683
|
586 |
#, fuzzy
|
587 |
msgid "%d item removed from Trash"
|
588 |
msgid_plural "%d items removed from Trash"
|
589 |
-
msgstr[0] "%d
|
590 |
|
591 |
#: wp-optimize-common.php:695
|
592 |
#, fuzzy
|
593 |
msgid "%d spam comment deleted"
|
594 |
msgid_plural "%d spam comments deleted"
|
595 |
-
msgstr[0] "%d
|
596 |
|
597 |
#: wp-optimize-common.php:726
|
598 |
#, fuzzy
|
599 |
msgid "%d unapproved comment deleted"
|
600 |
msgid_plural "%d unapproved comments deleted"
|
601 |
-
msgstr[0] "%d
|
602 |
|
603 |
#: wp-optimize-common.php:732
|
604 |
#, fuzzy
|
605 |
msgid "%d pingback deleted"
|
606 |
msgid_plural "%d pingbacks deleted"
|
607 |
-
msgstr[0] "%d
|
608 |
|
609 |
#: wp-optimize-common.php:738
|
610 |
#, fuzzy
|
611 |
msgid "%d trackback deleted"
|
612 |
msgid_plural "%d trackbacks deleted"
|
613 |
-
msgstr[0] "%d trackback
|
614 |
|
615 |
#: wp-optimize-common.php:745
|
616 |
msgid "Enabled weekly processing"
|
617 |
-
msgstr "
|
618 |
|
619 |
#: wp-optimize-common.php:751
|
620 |
msgid "Disabled weekly processing"
|
621 |
-
msgstr "
|
622 |
|
623 |
#: wp-optimize-common.php:760
|
624 |
msgid "NO Actions Taken"
|
625 |
-
msgstr "
|
626 |
|
627 |
#: wp-optimize-common.php:787
|
628 |
#, fuzzy
|
629 |
msgid "%d transient option in your database"
|
630 |
msgid_plural "%d transient options in your database"
|
631 |
-
msgstr[0] "%d
|
632 |
|
633 |
#: wp-optimize-common.php:789
|
634 |
msgid "No transient options found"
|
635 |
-
msgstr "
|
636 |
|
637 |
#: wp-optimize-common.php:798
|
638 |
#, fuzzy
|
639 |
msgid "%d orphaned postmeta in your database"
|
640 |
msgid_plural "%d orphaned postmeta in your database"
|
641 |
-
msgstr[0] "%d
|
642 |
|
643 |
#: wp-optimize-common.php:800
|
644 |
msgid "No orphaned postmeta in your database"
|
645 |
-
msgstr "
|
646 |
|
647 |
#: wp-optimize-common.php:809
|
648 |
#, fuzzy
|
649 |
msgid "%d unused tag in your database"
|
650 |
msgid_plural "%d unused tags in your database"
|
651 |
-
msgstr[0] "%d
|
652 |
|
653 |
#: wp-optimize-common.php:811
|
654 |
msgid "No unused tags found"
|
655 |
-
msgstr "
|
656 |
|
657 |
#: wp-optimize-common.php:824
|
658 |
#, fuzzy
|
659 |
msgid "%d post revision in your database"
|
660 |
msgid_plural "%d post revisions in your database"
|
661 |
-
msgstr[0] "%d
|
662 |
|
663 |
#: wp-optimize-common.php:826
|
664 |
msgid "No post revisions found"
|
665 |
-
msgstr "
|
666 |
|
667 |
#: wp-optimize-common.php:839
|
668 |
#, fuzzy
|
669 |
msgid "%d auto draft post in your database"
|
670 |
msgid_plural "%d auto draft posts in your database"
|
671 |
-
msgstr[0] "%d
|
672 |
|
673 |
#: wp-optimize-common.php:841
|
674 |
msgid "No auto draft posts found"
|
675 |
-
msgstr "
|
676 |
|
677 |
#: wp-optimize-common.php:853
|
678 |
#, fuzzy
|
679 |
msgid "%d spam comment found"
|
680 |
msgid_plural "%d spam comments found"
|
681 |
-
msgstr[0] "%d
|
682 |
|
683 |
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
684 |
msgid "Review"
|
685 |
-
msgstr "
|
686 |
|
687 |
#: wp-optimize-common.php:855
|
688 |
msgid "No spam comments found"
|
689 |
-
msgstr "
|
690 |
|
691 |
#: wp-optimize-common.php:884
|
692 |
#, fuzzy
|
693 |
msgid "%d unapproved comment found"
|
694 |
msgid_plural "%d unapproved comments found"
|
695 |
-
msgstr[0] "%d
|
696 |
|
697 |
#: wp-optimize-common.php:886
|
698 |
msgid "No unapproved comments found"
|
699 |
-
msgstr "
|
700 |
|
701 |
#: wp-optimize-common.php:894
|
702 |
#, fuzzy
|
703 |
msgid "%d Pingback found"
|
704 |
msgid_plural "%d Pingbacks found"
|
705 |
-
msgstr[0] "%d
|
706 |
|
707 |
#: wp-optimize-common.php:896
|
708 |
msgid "No pingbacks found"
|
709 |
-
msgstr "
|
710 |
|
711 |
#: wp-optimize-common.php:904
|
712 |
#, fuzzy
|
713 |
msgid "%d Trackback found"
|
714 |
msgid_plural "%d Trackbacks found"
|
715 |
-
msgstr[0] "%d
|
716 |
|
717 |
#: wp-optimize-common.php:906
|
718 |
msgid "No trackbacks found"
|
719 |
-
msgstr "
|
720 |
|
721 |
#: wp-optimize-common.php:912
|
722 |
msgid "nothing"
|
723 |
-
msgstr "
|
724 |
|
725 |
#: wp-optimize-credits.php:14
|
726 |
msgid "Credits"
|
727 |
-
msgstr "
|
728 |
|
729 |
#: wp-optimize-credits.php:15
|
730 |
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
731 |
-
msgstr "WP-Optimize
|
732 |
|
733 |
#: wp-optimize-credits.php:29
|
734 |
msgid "Contributing Developers"
|
735 |
-
msgstr "
|
736 |
|
737 |
#: wp-optimize-credits.php:30
|
738 |
msgid "Help me make this plugin better"
|
739 |
-
msgstr "
|
740 |
|
741 |
#: wp-optimize-credits.php:30
|
742 |
msgid "I am looking for contributing developers."
|
743 |
-
msgstr "
|
744 |
|
745 |
#: wp-optimize-credits.php:31
|
746 |
msgid "Your name and website will be credited here in the plugin"
|
747 |
-
msgstr "
|
748 |
|
749 |
#: wp-optimize-credits.php:40
|
750 |
msgid "Translators"
|
751 |
-
msgstr "
|
1 |
+
# Translation of WP-Optimize in Indonesian
|
2 |
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2015-04-07 07:09:27+0000\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
10 |
"X-Generator: GlotPress/0.1\n"
|
11 |
"Project-Id-Version: WP-Optimize\n"
|
12 |
|
13 |
#: wp-optimize-common.php:72
|
14 |
msgid "Automatic Operation Completed"
|
15 |
+
msgstr "Operasi Otomatis Selesai"
|
16 |
|
17 |
#: wp-optimize-common.php:74
|
18 |
msgid "Scheduled optimization was executed at"
|
19 |
+
msgstr "Optimasi terjadwal telah dilakukan pada"
|
20 |
|
21 |
#: wp-optimize-common.php:76
|
22 |
msgid "You can safely delete this email."
|
23 |
+
msgstr "Kamu dapat menghapus email ini."
|
24 |
|
25 |
#: wp-optimize-common.php:78
|
26 |
msgid "Regards,"
|
27 |
+
msgstr "Salam,"
|
28 |
|
29 |
#: wp-optimize-common.php:79
|
30 |
msgid "WP-Optimize Plugin"
|
31 |
+
msgstr "Plugin WP-Optimize"
|
32 |
|
33 |
#: wp-optimize-settings.php:233 wp-optimize-settings.php:255
|
34 |
msgid "Everyday"
|
35 |
+
msgstr "Tiaphari"
|
36 |
|
37 |
#: wp-optimize-settings.php:322
|
38 |
msgid "Enable email notification"
|
39 |
+
msgstr "Aktifkan notifikasi email"
|
40 |
|
41 |
#: wp-optimize-settings.php:329
|
42 |
msgid "Send email to"
|
43 |
+
msgstr "Kirim email ke"
|
44 |
|
45 |
msgid "http://wp-optimize.ruhanirabin.com/"
|
46 |
msgstr "http://wp-optimize.ruhanirabin.com/"
|
47 |
|
48 |
#: wp-optimize-settings.php:191
|
49 |
msgid "Disable/Enable Comments"
|
50 |
+
msgstr "Nonaktifkan / Aktifkan Komentar"
|
51 |
|
52 |
#: wp-optimize-settings.php:180 wp-optimize-settings.php:195
|
53 |
msgid "Enable"
|
54 |
+
msgstr "Aktifkan"
|
55 |
|
56 |
#: wp-optimize-settings.php:179 wp-optimize-settings.php:194
|
57 |
msgid "Disable"
|
58 |
+
msgstr "Nonaktifkan"
|
59 |
|
60 |
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
61 |
msgid "SELECT"
|
62 |
+
msgstr "Pilih"
|
63 |
|
64 |
#: wp-optimize-settings.php:176
|
65 |
msgid "Disable/Enable Trackbacks"
|
66 |
+
msgstr "Nonaktifkan / Aktifkan Trackbacks"
|
67 |
|
68 |
#: wp-optimize-settings.php:174
|
69 |
msgid "Trackback/Comments Actions"
|
70 |
+
msgstr "Trackback / Komentar Actions"
|
71 |
|
72 |
#: wp-optimize-settings.php:200
|
73 |
msgid "This will disable/enable Comments on all your current and previously published posts"
|
74 |
+
msgstr "Ini akan mengaktifkan / menonaktifkan Komentar untuk semua posting Anda saat ini dan sebelumnya diterbitkan"
|
75 |
|
76 |
#: wp-optimize-settings.php:185
|
77 |
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
78 |
+
msgstr "Ini akan mengaktifkan / menonaktifkan Trackbacks pada semua posting Anda saat ini dan sebelumnya diterbitkan"
|
79 |
|
80 |
#: wp-optimize-settings.php:94
|
81 |
msgid "Trackbacks enabled on all current and previously published posts"
|
82 |
+
msgstr "Trackbacks diaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
|
83 |
|
84 |
#: wp-optimize-main.php:272
|
85 |
msgid "Do not select RED marked items unless you really need to use them"
|
86 |
+
msgstr "Jangan pilih MERAH ditandai item kecuali jika anda benar-benar perlu untuk menggunakannya"
|
87 |
|
88 |
#: wp-optimize-common.php:704
|
89 |
#, fuzzy
|
90 |
msgid "%d comment removed from Trash"
|
91 |
msgid_plural "%d comments removed from Trash"
|
92 |
+
msgstr[0] "%d komentar dihapus dari Sampah"
|
93 |
|
94 |
#: wp-optimize-common.php:543
|
95 |
msgid "KB"
|
101 |
|
102 |
#: wp-optimize-settings.php:88
|
103 |
msgid "Trackbacks disabled on all current and previously published posts"
|
104 |
+
msgstr "Trackbacks dinonaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
|
105 |
|
106 |
#: wp-optimize-settings.php:103
|
107 |
msgid "Comments disabled on all current and previously published posts"
|
108 |
+
msgstr "Komentar dinonaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
|
109 |
|
110 |
#: wp-optimize-settings.php:109
|
111 |
msgid "Comments enabled on all current and previously published posts"
|
112 |
+
msgstr "Komentar diaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
|
113 |
|
114 |
#: wp-optimize-main.php:278 wp-optimize-settings.php:207
|
115 |
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
116 |
+
msgstr "Optimalkan embedding YouTube di WordPress dengan plugin ini"
|
117 |
|
118 |
#: wp-optimize-common.php:539
|
119 |
msgid "GB"
|
123 |
#, fuzzy
|
124 |
msgid "%d unused comment metadata item removed"
|
125 |
msgid_plural "%d unused comment metadata items removed"
|
126 |
+
msgstr[0] "%d Terpakai item komentar metadata dihapus"
|
127 |
|
128 |
#: wp-optimize-common.php:716
|
129 |
#, fuzzy
|
130 |
msgid "%d unused akismet comment metadata item removed"
|
131 |
msgid_plural "%d unused akismet comment metadata items removed"
|
132 |
+
msgstr[0] "%d Akismet yang tidak terpakai item komentar metadata dihapus"
|
133 |
|
134 |
#: wp-optimize-credits.php:67
|
135 |
msgid "GitHub Development Log"
|
136 |
+
msgstr "Log Pengembangan GitHub"
|
137 |
|
138 |
#: wp-optimize-credits.php:41
|
139 |
msgid "(Translator name)"
|
140 |
+
msgstr "RMvalues"
|
141 |
|
142 |
#: wp-optimize-credits.php:41
|
143 |
msgid "http://(Translator Website)"
|
144 |
+
msgstr "https://www.rmvalues.com/"
|
145 |
|
146 |
#: wp-optimize-credits.php:43
|
147 |
msgid "Read Translation Instructions"
|
148 |
+
msgstr "Baca Instruksi pada"
|
149 |
|
150 |
#: wp-optimize-credits.php:56
|
151 |
msgid "Support E-mail"
|
152 |
+
msgstr "Dukungan E-mail"
|
153 |
|
154 |
#: wp-optimize-credits.php:53
|
155 |
msgid "Request New Language"
|
156 |
+
msgstr "Meminta Bahasa Baru"
|
157 |
|
158 |
#: wp-optimize-credits.php:52
|
159 |
msgid "Plugin Translation Portal (needs translator account)"
|
160 |
+
msgstr "Plugin pada Portal (perlu akun penerjemah)"
|
161 |
|
162 |
#: wp-optimize-credits.php:51
|
163 |
msgid "Get a Translator Account"
|
164 |
+
msgstr "Dapatkan akun penerjemah"
|
165 |
|
166 |
#: wp-optimize-main.php:329
|
167 |
msgid "Rating"
|
168 |
+
msgstr "Penilaian"
|
169 |
|
170 |
#: wp-optimize-main.php:328
|
171 |
msgid "Please give a proper rating :)"
|
172 |
+
msgstr "Tolong beri rating yang tepat :)"
|
173 |
|
174 |
#: wp-optimize-main.php:327
|
175 |
msgid "Donate!"
|
176 |
+
msgstr "Donasi!"
|
177 |
|
178 |
#: wp-optimize-main.php:327
|
179 |
msgid "Please donate! It really helps me keep improvising"
|
180 |
+
msgstr "Harap menyumbang! Itu benar-benar membantu saya tetap improvisasi"
|
181 |
|
182 |
#: wp-optimize-credits.php:49
|
183 |
msgid "Plugin Resources"
|
184 |
+
msgstr "Sumberdaya Plugin"
|
185 |
|
186 |
#: wp-optimize-credits.php:54
|
187 |
msgid "Plugin Homepage"
|
188 |
+
msgstr "Beranda Plugin"
|
189 |
|
190 |
#: wp-optimize-credits.php:55
|
191 |
msgid "Support (GitHub)"
|
192 |
+
msgstr "Membantu (GitHub)"
|
193 |
|
194 |
#: wp-optimize-credits.php:57
|
195 |
msgid "Change Log"
|
196 |
+
msgstr "Log Perubahan"
|
197 |
|
198 |
#: wp-optimize-credits.php:58
|
199 |
msgid "FAQ"
|
201 |
|
202 |
#: wp-optimize-credits.php:87
|
203 |
msgid "No items"
|
204 |
+
msgstr "Tidak ada item"
|
205 |
|
206 |
#: wp-optimize-main.php:76
|
207 |
#, fuzzy, php-format
|
208 |
msgctxt "%s is the Database Name"
|
209 |
msgid "%s Database Optimized!"
|
210 |
+
msgstr "%s Database Teroptimasi!"
|
211 |
|
212 |
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
213 |
msgid "Clean-up options"
|
214 |
+
msgstr "Pilihan Clean-up"
|
215 |
|
216 |
#: wp-optimize-main.php:165
|
217 |
#, fuzzy
|
218 |
msgid "Clean post revisions which are older than %d weeks"
|
219 |
+
msgstr "Pasca revisi bersih yang lebih tua dari %d minggu"
|
220 |
|
221 |
#: wp-optimize-main.php:170
|
222 |
msgid "Clean all post revisions"
|
223 |
+
msgstr "Bersihkan semua revisi posting"
|
224 |
|
225 |
#: wp-optimize-main.php:183
|
226 |
#, fuzzy
|
227 |
msgid "Clean auto draft posts which are older than %d weeks"
|
228 |
+
msgstr "Auto posting konsep Clean yang lebih tua dari %d minggu"
|
229 |
|
230 |
#: wp-optimize-main.php:188
|
231 |
msgid "Clean all auto draft posts and posts in trash"
|
232 |
+
msgstr "Bersihkan semua posting auto konsep dan posting di tong sampah"
|
233 |
|
234 |
#: wp-optimize-main.php:203
|
235 |
#, fuzzy
|
236 |
msgid "Remove spam comments which are older than %d weeks"
|
237 |
+
msgstr "Hapus komentar sampah yang lebih lama dari %d minggu"
|
238 |
|
239 |
#: wp-optimize-main.php:208
|
240 |
msgid "Remove spam comments and comments in trash"
|
241 |
+
msgstr "Hapus komentar spam dan komentar di tempat sampah"
|
242 |
|
243 |
#: wp-optimize-main.php:222
|
244 |
#, fuzzy
|
245 |
msgid "Remove unapproved comments which are older than %d weeks"
|
246 |
+
msgstr "Hapus komentar yang tidak disetujui yang lebih lama dari %d minggu"
|
247 |
|
248 |
#: wp-optimize-main.php:227 wp-optimize-settings.php:288
|
249 |
msgid "Remove unapproved comments"
|
250 |
+
msgstr "Hapus komentar yang tidak disetujui"
|
251 |
|
252 |
#: wp-optimize-main.php:240 wp-optimize-settings.php:293
|
253 |
msgid "Remove transient options"
|
254 |
+
msgstr "Hapus pilihan sementara"
|
255 |
|
256 |
#: wp-optimize-main.php:251
|
257 |
msgid "Remove pingbacks"
|
258 |
+
msgstr "Hapus pingback"
|
259 |
|
260 |
#: wp-optimize-main.php:262
|
261 |
msgid "Remove trackbacks"
|
262 |
+
msgstr "Hapus trackback"
|
263 |
|
264 |
#: wp-optimize-main.php:288
|
265 |
msgid "Actions"
|
266 |
+
msgstr "Tindakan"
|
267 |
|
268 |
#: wp-optimize-main.php:297
|
269 |
msgid "Optimize database tables"
|
270 |
+
msgstr "Optimasi tabel database"
|
271 |
|
272 |
#: wp-optimize-main.php:305
|
273 |
msgid "Note:"
|
274 |
+
msgstr "Catatan:"
|
275 |
|
276 |
#: wp-optimize-main.php:308
|
277 |
msgid "InnoDB tables will not be optimized"
|
278 |
+
msgstr "Table InnoDB tidak akan dioptimalkan"
|
279 |
|
280 |
#: wp-optimize-main.php:314
|
281 |
msgid "Select safe options"
|
282 |
+
msgstr "Pilih opsi yang selamat"
|
283 |
|
284 |
#: wp-optimize-main.php:315
|
285 |
msgid "Warning:"
|
286 |
+
msgstr "Amaran:"
|
287 |
|
288 |
#: wp-optimize-main.php:316
|
289 |
msgid "Always make a backup of your DB when you upgrade to major versions"
|
290 |
+
msgstr "Selalu membuat cadangan dari DB Anda ketika Anda meng-upgrade ke versi utama"
|
291 |
|
292 |
#: wp-optimize-main.php:321
|
293 |
msgid "PROCESS"
|
294 |
+
msgstr "PROSES"
|
295 |
|
296 |
#: wp-optimize-main.php:334
|
297 |
msgid "Status log"
|
298 |
+
msgstr "Status log"
|
299 |
|
300 |
#: wp-optimize-main.php:349
|
301 |
msgid "Last automatic optimization was at"
|
302 |
+
msgstr "Terakhir optimasi otomatis berada di"
|
303 |
|
304 |
#: wp-optimize-main.php:361
|
305 |
msgid "There was no automatic optimization"
|
306 |
+
msgstr "Tidak ada optimasi otomatis"
|
307 |
|
308 |
#: wp-optimize-main.php:411 wp-optimize-main.php:436
|
309 |
msgid "Check settings"
|
310 |
+
msgstr "Cek Pengaturan"
|
311 |
|
312 |
#: wp-optimize-main.php:376
|
313 |
msgid "Scheduled cleaning enabled"
|
314 |
+
msgstr "Jadwal pembersihan diaktifkan"
|
315 |
|
316 |
#: wp-optimize-main.php:388
|
317 |
msgid "Next schedule:"
|
318 |
+
msgstr "Jadwal berikutnya:"
|
319 |
|
320 |
#: wp-optimize-main.php:399
|
321 |
msgid "Refresh"
|
322 |
+
msgstr "Segarkan"
|
323 |
|
324 |
#: wp-optimize-main.php:408
|
325 |
msgid "Scheduled cleaning disabled"
|
326 |
+
msgstr "Pembersihan dijadwalkan dinonaktifkan"
|
327 |
|
328 |
#: wp-optimize-main.php:422
|
329 |
#, fuzzy
|
330 |
msgid "Keeping last %s weeks data"
|
331 |
+
msgstr "Menjaga terakhir %s data minggu"
|
332 |
|
333 |
#: wp-optimize-main.php:433
|
334 |
msgid "Not keeping recent data"
|
335 |
+
msgstr "Tidak menjaga data terbaru"
|
336 |
|
337 |
#: wp-optimize-main.php:450 wp-optimize-main.php:462
|
338 |
msgid "Current database size:"
|
339 |
+
msgstr "Ukuran database saat ini:"
|
340 |
|
341 |
#: wp-optimize-main.php:455
|
342 |
msgid "You have saved:"
|
343 |
+
msgstr "Anda telah menyimpan:"
|
344 |
|
345 |
#: wp-optimize-main.php:470
|
346 |
msgid "You can save almost:"
|
347 |
+
msgstr "Anda dapat menyimpan hampir:"
|
348 |
|
349 |
#: wp-optimize-main.php:487
|
350 |
msgid "Total clean up overall:"
|
351 |
+
msgstr "Total pembersihan:"
|
352 |
|
353 |
#: wp-optimize-main.php:508
|
354 |
msgid "Sponsor"
|
355 |
+
msgstr "Sponsor"
|
356 |
|
357 |
#: wp-optimize-settings.php:115
|
358 |
msgid "Settings updated"
|
359 |
+
msgstr "Pengaturan Diperbaharui"
|
360 |
|
361 |
#: wp-optimize-settings.php:132
|
362 |
msgid "General Settings"
|
363 |
+
msgstr "Pengaturan Umum"
|
364 |
|
365 |
#: wp-optimize-settings.php:137
|
366 |
#, fuzzy
|
367 |
msgid "Keep last %s weeks data"
|
368 |
+
msgstr "Jaga terakhir %s data minggu"
|
369 |
|
370 |
#: wp-optimize-settings.php:153
|
371 |
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
372 |
+
msgstr "Pilihan ini akan menyimpan data minggu yang dipilih terakhir dan menghapus data sampah sebelum masa itu. Ini juga akan mempengaruhi Auto Clean-up proses"
|
373 |
|
374 |
#: wp-optimize-settings.php:162
|
375 |
msgid "Enable admin bar link"
|
376 |
+
msgstr "Aktifkan balok tautan admin"
|
377 |
|
378 |
#: wp-optimize-settings.php:164
|
379 |
msgid "(Click here to refresh)"
|
380 |
+
msgstr "( Klik untuk menyegarkan)"
|
381 |
|
382 |
#: wp-optimize-settings.php:170
|
383 |
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
384 |
+
msgstr "Pilihan ini menempatkan tautan WP-Optimize diatas balok admin (default mati). Segarkan halaman"
|
385 |
|
386 |
#: wp-optimize-settings.php:211
|
387 |
msgid "SAVE SETTINGS"
|
388 |
+
msgstr "SIMPAN PENGATURAN"
|
389 |
|
390 |
#: wp-optimize-settings.php:221
|
391 |
msgid "Auto Clean-up Settings"
|
392 |
+
msgstr "Setting Merapikan Otomatis"
|
393 |
|
394 |
#: wp-optimize-settings.php:224
|
395 |
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
396 |
+
msgstr "Aktifkan dijadwalkan pembersihan dan optimasi (fitur Beta!)"
|
397 |
|
398 |
#: wp-optimize-settings.php:226
|
399 |
msgid "Select schedule type (default is Weekly)"
|
400 |
+
msgstr "Pilih tipe Skedul ( default adalah mingguan)"
|
401 |
|
402 |
#: wp-optimize-settings.php:237 wp-optimize-settings.php:249
|
403 |
#: wp-optimize-settings.php:256
|
404 |
msgid "Every week"
|
405 |
+
msgstr "Tiap minggu"
|
406 |
|
407 |
#: wp-optimize-settings.php:241 wp-optimize-settings.php:257
|
408 |
msgid "Every other week (every 14 days)"
|
409 |
+
msgstr "Setiap beberapa minggu ( tiap 14 hari )"
|
410 |
|
411 |
#: wp-optimize-settings.php:245 wp-optimize-settings.php:258
|
412 |
msgid "Every month (every 31 days)"
|
413 |
+
msgstr "Tiap bulan (tiap 31 hari)"
|
414 |
|
415 |
#: wp-optimize-settings.php:262
|
416 |
msgid "Automatic cleanup will perform the following:"
|
417 |
+
msgstr "Pembersihan otomatis akan berlangsung pada:"
|
418 |
|
419 |
#: wp-optimize-settings.php:264
|
420 |
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
421 |
+
msgstr "Hapus revisi, draf otomatis, tulisan/komentar di tempat sampah, pilihan sementara. Setelah itu akan mengoptimasi database."
|
422 |
|
423 |
#: wp-optimize-settings.php:271
|
424 |
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
425 |
+
msgstr "Pilihan akan berfungsi jika jadwal pembersihan otomatis telah diaktifkan"
|
426 |
|
427 |
#: wp-optimize-settings.php:276
|
428 |
msgid "Remove auto revisions"
|
429 |
+
msgstr "Hapus revisi otomatis"
|
430 |
|
431 |
#: wp-optimize-settings.php:280
|
432 |
msgid "Remove auto drafts"
|
433 |
+
msgstr "Hapus draf otomatis"
|
434 |
|
435 |
#: wp-optimize-settings.php:284
|
436 |
msgid "Remove spam comments"
|
437 |
+
msgstr "Hapus komentar sampah"
|
438 |
|
439 |
#: wp-optimize-settings.php:297
|
440 |
msgid "Remove orphaned post meta"
|
441 |
+
msgstr "Hapus post meta tersendiri"
|
442 |
|
443 |
#: wp-optimize-settings.php:301
|
444 |
msgid "Remove unused tags"
|
445 |
+
msgstr "Hapus tag tidak terpakai"
|
446 |
|
447 |
#: wp-optimize-settings.php:307
|
448 |
msgid "Optimize database"
|
449 |
+
msgstr "Optimasi Database"
|
450 |
|
451 |
#: wp-optimize-settings.php:313
|
452 |
msgid "If you have InnoDB tables. They will not be optimized!"
|
453 |
+
msgstr "Jika anda pakai table InnoDB. Ia tidak akan dioptimalkan!"
|
454 |
|
455 |
#: wp-optimize-settings.php:335
|
456 |
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
457 |
+
msgstr "SIMPAN PENGATURAN PEMBERSIHAN OTOMATIS"
|
458 |
|
459 |
#: wp-optimize-tables.php:20
|
460 |
msgid "Database Name:"
|
461 |
+
msgstr "Nama Database:"
|
462 |
|
463 |
#: wp-optimize-tables.php:28
|
464 |
msgid "Optimized all the tables found in the database."
|
465 |
+
msgstr "Optimasi semua tabel yang ditemukan di database"
|
466 |
|
467 |
#: wp-optimize-tables.php:36
|
468 |
msgid "No."
|
469 |
+
msgstr "Tiada"
|
470 |
|
471 |
#: wp-optimize-tables.php:38
|
472 |
msgid "Records"
|
473 |
+
msgstr "Rekaman"
|
474 |
|
475 |
#: wp-optimize-tables.php:39
|
476 |
msgid "Data Size"
|
477 |
+
msgstr "Ukuran Data"
|
478 |
|
479 |
#: wp-optimize-tables.php:40
|
480 |
msgid "Index Size"
|
481 |
+
msgstr "Ukuran Indek"
|
482 |
|
483 |
#: wp-optimize-tables.php:41
|
484 |
msgid "Type"
|
485 |
+
msgstr "Jenis"
|
486 |
|
487 |
#: wp-optimize-tables.php:42
|
488 |
msgid "Overhead"
|
489 |
+
msgstr "Overhead"
|
490 |
|
491 |
#: wp-optimize-tables.php:137
|
492 |
msgid "Total:"
|
493 |
+
msgstr "Jumlah"
|
494 |
|
495 |
#: wp-optimize-tables.php:138
|
496 |
msgid "%d Table"
|
497 |
msgid_plural "%d Tables"
|
498 |
+
msgstr[0] "%d Table"
|
499 |
+
msgstr[1] "%d Tables"
|
|
|
|
|
500 |
|
501 |
#: wp-optimize-tables.php:139
|
502 |
msgid "%d Record"
|
503 |
msgid_plural "%d Records"
|
504 |
+
msgstr[0] "%d Rekod"
|
505 |
+
msgstr[1] "%d Rekod"
|
|
|
|
|
506 |
|
507 |
#: wp-optimize-tables.php:179
|
508 |
msgid "Total Size of Database:"
|
509 |
+
msgstr "Ukuran total Database:"
|
510 |
|
511 |
#: wp-optimize-tables.php:191
|
512 |
msgid "Optimization Results:"
|
513 |
+
msgstr "Hasil Optimasi:"
|
514 |
|
515 |
#: wp-optimize-tables.php:196
|
516 |
msgid "Total Space Saved:"
|
517 |
+
msgstr "Total Ruang Tersimpan:"
|
518 |
|
519 |
#: wp-optimize-tables.php:208
|
520 |
msgid "Optimization Possibility:"
|
521 |
+
msgstr "Kemungkinan Optimasi:"
|
522 |
|
523 |
#: wp-optimize-tables.php:215
|
524 |
msgid "Total space can be saved:"
|
525 |
+
msgstr "Total ruang yang dapat disimpan:"
|
526 |
|
527 |
msgid "WP-Optimize"
|
528 |
msgstr "WP-Optimize"
|
529 |
|
530 |
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
531 |
+
msgstr "Plugin ini membantu anda untuk menjaga database anda bersih dengan membuang pos revisi dan spam dalam satu klik saja. Selain itu memungkinkan anda untuk menjalankan mengoptimalkan perintah pada anda table inti WordPress (gunakan dengan prihatian)."
|
532 |
|
533 |
msgid "Ruhani Rabin"
|
534 |
msgstr "Ruhani Rabin"
|
538 |
|
539 |
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
540 |
msgid "Optimizer"
|
541 |
+
msgstr "Pengoptimasi"
|
542 |
|
543 |
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
544 |
msgid "MYSQL"
|
546 |
|
547 |
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
548 |
msgid "Settings"
|
549 |
+
msgstr "Pengaturan"
|
550 |
|
551 |
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
552 |
msgid "Info"
|
554 |
|
555 |
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
556 |
msgid "Tables"
|
557 |
+
msgstr "Tables"
|
558 |
|
559 |
#: wp-optimize-common.php:545
|
560 |
msgid "bytes"
|
561 |
+
msgstr "bytes"
|
562 |
|
563 |
#: wp-optimize-common.php:635
|
564 |
#, fuzzy
|
565 |
msgid "%d transient option deleted"
|
566 |
msgid_plural "%d transient options deleted"
|
567 |
+
msgstr[0] "%d pilihan sementara dihapus"
|
568 |
|
569 |
#: wp-optimize-common.php:662
|
570 |
#, fuzzy
|
571 |
msgid "%d post revision deleted"
|
572 |
msgid_plural "%d post revisions deleted"
|
573 |
+
msgstr[0] "%d revisi tulisan dihapus"
|
574 |
|
575 |
#: wp-optimize-common.php:673
|
576 |
#, fuzzy
|
577 |
msgid "%d auto draft deleted"
|
578 |
msgid_plural "%d auto drafts deleted"
|
579 |
+
msgstr[0] "%d draft otomatis dihapus"
|
580 |
|
581 |
#: wp-optimize-common.php:683
|
582 |
#, fuzzy
|
583 |
msgid "%d item removed from Trash"
|
584 |
msgid_plural "%d items removed from Trash"
|
585 |
+
msgstr[0] "%d item dihapus dari Keranjang Sampah"
|
586 |
|
587 |
#: wp-optimize-common.php:695
|
588 |
#, fuzzy
|
589 |
msgid "%d spam comment deleted"
|
590 |
msgid_plural "%d spam comments deleted"
|
591 |
+
msgstr[0] "%d komentar sampah dihapus"
|
592 |
|
593 |
#: wp-optimize-common.php:726
|
594 |
#, fuzzy
|
595 |
msgid "%d unapproved comment deleted"
|
596 |
msgid_plural "%d unapproved comments deleted"
|
597 |
+
msgstr[0] "%d komentar tidak sah dihapus"
|
598 |
|
599 |
#: wp-optimize-common.php:732
|
600 |
#, fuzzy
|
601 |
msgid "%d pingback deleted"
|
602 |
msgid_plural "%d pingbacks deleted"
|
603 |
+
msgstr[0] "%d pingback dihapus"
|
604 |
|
605 |
#: wp-optimize-common.php:738
|
606 |
#, fuzzy
|
607 |
msgid "%d trackback deleted"
|
608 |
msgid_plural "%d trackbacks deleted"
|
609 |
+
msgstr[0] "%d trackback dihapus"
|
610 |
|
611 |
#: wp-optimize-common.php:745
|
612 |
msgid "Enabled weekly processing"
|
613 |
+
msgstr "Aktifkan proses mingguan"
|
614 |
|
615 |
#: wp-optimize-common.php:751
|
616 |
msgid "Disabled weekly processing"
|
617 |
+
msgstr "Non Aktifkan proses mingguan"
|
618 |
|
619 |
#: wp-optimize-common.php:760
|
620 |
msgid "NO Actions Taken"
|
621 |
+
msgstr "Tidak Ada Aksi yang dilakukan"
|
622 |
|
623 |
#: wp-optimize-common.php:787
|
624 |
#, fuzzy
|
625 |
msgid "%d transient option in your database"
|
626 |
msgid_plural "%d transient options in your database"
|
627 |
+
msgstr[0] "%d pilihan sementara di database anda"
|
628 |
|
629 |
#: wp-optimize-common.php:789
|
630 |
msgid "No transient options found"
|
631 |
+
msgstr "Pilihan sementara tidak ditemukan"
|
632 |
|
633 |
#: wp-optimize-common.php:798
|
634 |
#, fuzzy
|
635 |
msgid "%d orphaned postmeta in your database"
|
636 |
msgid_plural "%d orphaned postmeta in your database"
|
637 |
+
msgstr[0] "%d postmeta tersendiri di database anda"
|
638 |
|
639 |
#: wp-optimize-common.php:800
|
640 |
msgid "No orphaned postmeta in your database"
|
641 |
+
msgstr "Tidak postmeta tersendiri di database anda"
|
642 |
|
643 |
#: wp-optimize-common.php:809
|
644 |
#, fuzzy
|
645 |
msgid "%d unused tag in your database"
|
646 |
msgid_plural "%d unused tags in your database"
|
647 |
+
msgstr[0] "%d tag tidak terpakai di database anda "
|
648 |
|
649 |
#: wp-optimize-common.php:811
|
650 |
msgid "No unused tags found"
|
651 |
+
msgstr "Tidak menemukan tag tidak terpakai"
|
652 |
|
653 |
#: wp-optimize-common.php:824
|
654 |
#, fuzzy
|
655 |
msgid "%d post revision in your database"
|
656 |
msgid_plural "%d post revisions in your database"
|
657 |
+
msgstr[0] "%d revisi posting di database anda "
|
658 |
|
659 |
#: wp-optimize-common.php:826
|
660 |
msgid "No post revisions found"
|
661 |
+
msgstr "tidak ada revisi tulisan ditemukan"
|
662 |
|
663 |
#: wp-optimize-common.php:839
|
664 |
#, fuzzy
|
665 |
msgid "%d auto draft post in your database"
|
666 |
msgid_plural "%d auto draft posts in your database"
|
667 |
+
msgstr[0] "%d draf tulisan otomatis di database anda"
|
668 |
|
669 |
#: wp-optimize-common.php:841
|
670 |
msgid "No auto draft posts found"
|
671 |
+
msgstr "Tidak ada draf tulisan otomatis ditemukan"
|
672 |
|
673 |
#: wp-optimize-common.php:853
|
674 |
#, fuzzy
|
675 |
msgid "%d spam comment found"
|
676 |
msgid_plural "%d spam comments found"
|
677 |
+
msgstr[0] "%d komentar sampah ditemukan"
|
678 |
|
679 |
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
680 |
msgid "Review"
|
681 |
+
msgstr "Ulasan"
|
682 |
|
683 |
#: wp-optimize-common.php:855
|
684 |
msgid "No spam comments found"
|
685 |
+
msgstr "Tidak ada komentar ditemukan"
|
686 |
|
687 |
#: wp-optimize-common.php:884
|
688 |
#, fuzzy
|
689 |
msgid "%d unapproved comment found"
|
690 |
msgid_plural "%d unapproved comments found"
|
691 |
+
msgstr[0] "%d komentar belum sah ditemukan"
|
692 |
|
693 |
#: wp-optimize-common.php:886
|
694 |
msgid "No unapproved comments found"
|
695 |
+
msgstr "Tidak menemukan komentar belum sah"
|
696 |
|
697 |
#: wp-optimize-common.php:894
|
698 |
#, fuzzy
|
699 |
msgid "%d Pingback found"
|
700 |
msgid_plural "%d Pingbacks found"
|
701 |
+
msgstr[0] "%d Menemukan Pingback"
|
702 |
|
703 |
#: wp-optimize-common.php:896
|
704 |
msgid "No pingbacks found"
|
705 |
+
msgstr "Tidak ada Pingback ditemukan"
|
706 |
|
707 |
#: wp-optimize-common.php:904
|
708 |
#, fuzzy
|
709 |
msgid "%d Trackback found"
|
710 |
msgid_plural "%d Trackbacks found"
|
711 |
+
msgstr[0] "%d Trackback ditemukan"
|
712 |
|
713 |
#: wp-optimize-common.php:906
|
714 |
msgid "No trackbacks found"
|
715 |
+
msgstr "Tidak ada trackback ditemukan"
|
716 |
|
717 |
#: wp-optimize-common.php:912
|
718 |
msgid "nothing"
|
719 |
+
msgstr "tidak ada"
|
720 |
|
721 |
#: wp-optimize-credits.php:14
|
722 |
msgid "Credits"
|
723 |
+
msgstr "Kredit"
|
724 |
|
725 |
#: wp-optimize-credits.php:15
|
726 |
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
727 |
+
msgstr "WP-Optimize awalnya sebagai bantuan untuk proyek pribadiku, hingga akhirnya nampak bahwa plugin ini bisa membantu banyak orang. secara pribadi saya berterimakasih pada seluruh pengguna yang menggunakan plugin ini sehari-hari, juga terimakasih kepada pengalih bahasa dan orang yang berbudi baik yang telah membantu proyek ini"
|
728 |
|
729 |
#: wp-optimize-credits.php:29
|
730 |
msgid "Contributing Developers"
|
731 |
+
msgstr "Kontribusi Pengembang"
|
732 |
|
733 |
#: wp-optimize-credits.php:30
|
734 |
msgid "Help me make this plugin better"
|
735 |
+
msgstr "Bantu agar plugin ini menjadi lebih baik"
|
736 |
|
737 |
#: wp-optimize-credits.php:30
|
738 |
msgid "I am looking for contributing developers."
|
739 |
+
msgstr "Saya mencari pengembang pendukung"
|
740 |
|
741 |
#: wp-optimize-credits.php:31
|
742 |
msgid "Your name and website will be credited here in the plugin"
|
743 |
+
msgstr "Nama dan website anda akan dihargai didalam plugin"
|
744 |
|
745 |
#: wp-optimize-credits.php:40
|
746 |
msgid "Translators"
|
747 |
+
msgstr "Penerjemah"
|
Binary file
|
@@ -1,8 +1,8 @@
|
|
1 |
-
# Translation of WP-Optimize in
|
2 |
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"PO-Revision-Date: 2015-03-
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,19 +12,19 @@ msgstr ""
|
|
12 |
|
13 |
#: wp-optimize-common.php:72
|
14 |
msgid "Automatic Operation Completed"
|
15 |
-
msgstr "
|
16 |
|
17 |
#: wp-optimize-common.php:74
|
18 |
msgid "Scheduled optimization was executed at"
|
19 |
-
msgstr "
|
20 |
|
21 |
#: wp-optimize-common.php:76
|
22 |
msgid "You can safely delete this email."
|
23 |
-
msgstr "
|
24 |
|
25 |
#: wp-optimize-common.php:78
|
26 |
msgid "Regards,"
|
27 |
-
msgstr "
|
28 |
|
29 |
#: wp-optimize-common.php:79
|
30 |
msgid "WP-Optimize Plugin"
|
@@ -32,64 +32,64 @@ msgstr "WP-Optimize Plugin"
|
|
32 |
|
33 |
#: wp-optimize-settings.php:233 wp-optimize-settings.php:255
|
34 |
msgid "Everyday"
|
35 |
-
msgstr "
|
36 |
|
37 |
#: wp-optimize-settings.php:322
|
38 |
msgid "Enable email notification"
|
39 |
-
msgstr "
|
40 |
|
41 |
#: wp-optimize-settings.php:329
|
42 |
msgid "Send email to"
|
43 |
-
msgstr "
|
44 |
|
45 |
msgid "http://wp-optimize.ruhanirabin.com/"
|
46 |
msgstr "http://wp-optimize.ruhanirabin.com/"
|
47 |
|
48 |
#: wp-optimize-settings.php:191
|
49 |
msgid "Disable/Enable Comments"
|
50 |
-
msgstr "
|
51 |
|
52 |
#: wp-optimize-settings.php:180 wp-optimize-settings.php:195
|
53 |
msgid "Enable"
|
54 |
-
msgstr "
|
55 |
|
56 |
#: wp-optimize-settings.php:179 wp-optimize-settings.php:194
|
57 |
msgid "Disable"
|
58 |
-
msgstr "
|
59 |
|
60 |
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
61 |
msgid "SELECT"
|
62 |
-
msgstr "
|
63 |
|
64 |
#: wp-optimize-settings.php:176
|
65 |
msgid "Disable/Enable Trackbacks"
|
66 |
-
msgstr "
|
67 |
|
68 |
#: wp-optimize-settings.php:174
|
69 |
msgid "Trackback/Comments Actions"
|
70 |
-
msgstr "Trackback/
|
71 |
|
72 |
#: wp-optimize-settings.php:200
|
73 |
msgid "This will disable/enable Comments on all your current and previously published posts"
|
74 |
-
msgstr "
|
75 |
|
76 |
#: wp-optimize-settings.php:185
|
77 |
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
78 |
-
msgstr "
|
79 |
|
80 |
#: wp-optimize-settings.php:94
|
81 |
msgid "Trackbacks enabled on all current and previously published posts"
|
82 |
-
msgstr "
|
83 |
|
84 |
#: wp-optimize-main.php:272
|
85 |
msgid "Do not select RED marked items unless you really need to use them"
|
86 |
-
msgstr "
|
87 |
|
88 |
#: wp-optimize-common.php:704
|
89 |
#, fuzzy
|
90 |
msgid "%d comment removed from Trash"
|
91 |
msgid_plural "%d comments removed from Trash"
|
92 |
-
msgstr[0] "%d
|
93 |
|
94 |
#: wp-optimize-common.php:543
|
95 |
msgid "KB"
|
@@ -101,19 +101,19 @@ msgstr "MB"
|
|
101 |
|
102 |
#: wp-optimize-settings.php:88
|
103 |
msgid "Trackbacks disabled on all current and previously published posts"
|
104 |
-
msgstr "Trackbacks
|
105 |
|
106 |
#: wp-optimize-settings.php:103
|
107 |
msgid "Comments disabled on all current and previously published posts"
|
108 |
-
msgstr "
|
109 |
|
110 |
#: wp-optimize-settings.php:109
|
111 |
msgid "Comments enabled on all current and previously published posts"
|
112 |
-
msgstr "
|
113 |
|
114 |
#: wp-optimize-main.php:278 wp-optimize-settings.php:207
|
115 |
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
116 |
-
msgstr "
|
117 |
|
118 |
#: wp-optimize-common.php:539
|
119 |
msgid "GB"
|
@@ -123,77 +123,77 @@ msgstr "GB"
|
|
123 |
#, fuzzy
|
124 |
msgid "%d unused comment metadata item removed"
|
125 |
msgid_plural "%d unused comment metadata items removed"
|
126 |
-
msgstr[0] "%d
|
127 |
|
128 |
#: wp-optimize-common.php:716
|
129 |
#, fuzzy
|
130 |
msgid "%d unused akismet comment metadata item removed"
|
131 |
msgid_plural "%d unused akismet comment metadata items removed"
|
132 |
-
msgstr[0] "%d
|
133 |
|
134 |
#: wp-optimize-credits.php:67
|
135 |
msgid "GitHub Development Log"
|
136 |
-
msgstr "
|
137 |
|
138 |
#: wp-optimize-credits.php:41
|
139 |
msgid "(Translator name)"
|
140 |
-
msgstr "
|
141 |
|
142 |
#: wp-optimize-credits.php:41
|
143 |
msgid "http://(Translator Website)"
|
144 |
-
msgstr "http://
|
145 |
|
146 |
#: wp-optimize-credits.php:43
|
147 |
msgid "Read Translation Instructions"
|
148 |
-
msgstr "
|
149 |
|
150 |
#: wp-optimize-credits.php:56
|
151 |
msgid "Support E-mail"
|
152 |
-
msgstr "
|
153 |
|
154 |
#: wp-optimize-credits.php:53
|
155 |
msgid "Request New Language"
|
156 |
-
msgstr "
|
157 |
|
158 |
#: wp-optimize-credits.php:52
|
159 |
msgid "Plugin Translation Portal (needs translator account)"
|
160 |
-
msgstr "
|
161 |
|
162 |
#: wp-optimize-credits.php:51
|
163 |
msgid "Get a Translator Account"
|
164 |
-
msgstr "
|
165 |
|
166 |
#: wp-optimize-main.php:329
|
167 |
msgid "Rating"
|
168 |
-
msgstr "
|
169 |
|
170 |
#: wp-optimize-main.php:328
|
171 |
msgid "Please give a proper rating :)"
|
172 |
-
msgstr "
|
173 |
|
174 |
#: wp-optimize-main.php:327
|
175 |
msgid "Donate!"
|
176 |
-
msgstr "
|
177 |
|
178 |
#: wp-optimize-main.php:327
|
179 |
msgid "Please donate! It really helps me keep improvising"
|
180 |
-
msgstr "
|
181 |
|
182 |
#: wp-optimize-credits.php:49
|
183 |
msgid "Plugin Resources"
|
184 |
-
msgstr "Plugin
|
185 |
|
186 |
#: wp-optimize-credits.php:54
|
187 |
msgid "Plugin Homepage"
|
188 |
-
msgstr "
|
189 |
|
190 |
#: wp-optimize-credits.php:55
|
191 |
msgid "Support (GitHub)"
|
192 |
-
msgstr "
|
193 |
|
194 |
#: wp-optimize-credits.php:57
|
195 |
msgid "Change Log"
|
196 |
-
msgstr "
|
197 |
|
198 |
#: wp-optimize-credits.php:58
|
199 |
msgid "FAQ"
|
@@ -201,153 +201,154 @@ msgstr "FAQ"
|
|
201 |
|
202 |
#: wp-optimize-credits.php:87
|
203 |
msgid "No items"
|
204 |
-
msgstr "
|
205 |
|
206 |
#: wp-optimize-main.php:76
|
207 |
#, fuzzy, php-format
|
208 |
msgctxt "%s is the Database Name"
|
209 |
msgid "%s Database Optimized!"
|
210 |
-
msgstr "%s
|
211 |
|
212 |
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
213 |
msgid "Clean-up options"
|
214 |
-
msgstr "
|
215 |
|
216 |
#: wp-optimize-main.php:165
|
217 |
#, fuzzy
|
218 |
msgid "Clean post revisions which are older than %d weeks"
|
219 |
-
msgstr "
|
220 |
|
221 |
#: wp-optimize-main.php:170
|
222 |
msgid "Clean all post revisions"
|
223 |
-
msgstr "
|
224 |
|
225 |
#: wp-optimize-main.php:183
|
226 |
#, fuzzy
|
227 |
msgid "Clean auto draft posts which are older than %d weeks"
|
228 |
-
msgstr "
|
229 |
|
230 |
#: wp-optimize-main.php:188
|
231 |
msgid "Clean all auto draft posts and posts in trash"
|
232 |
-
msgstr "
|
233 |
|
234 |
#: wp-optimize-main.php:203
|
235 |
#, fuzzy
|
236 |
msgid "Remove spam comments which are older than %d weeks"
|
237 |
-
msgstr "
|
238 |
|
239 |
#: wp-optimize-main.php:208
|
240 |
msgid "Remove spam comments and comments in trash"
|
241 |
-
msgstr "
|
242 |
|
243 |
#: wp-optimize-main.php:222
|
244 |
#, fuzzy
|
245 |
msgid "Remove unapproved comments which are older than %d weeks"
|
246 |
-
msgstr "
|
247 |
|
248 |
#: wp-optimize-main.php:227 wp-optimize-settings.php:288
|
249 |
msgid "Remove unapproved comments"
|
250 |
-
msgstr "
|
251 |
|
252 |
#: wp-optimize-main.php:240 wp-optimize-settings.php:293
|
253 |
msgid "Remove transient options"
|
254 |
-
msgstr "
|
255 |
|
256 |
#: wp-optimize-main.php:251
|
257 |
msgid "Remove pingbacks"
|
258 |
-
msgstr "
|
259 |
|
260 |
#: wp-optimize-main.php:262
|
261 |
msgid "Remove trackbacks"
|
262 |
-
msgstr "
|
263 |
|
264 |
#: wp-optimize-main.php:288
|
265 |
msgid "Actions"
|
266 |
-
msgstr "
|
267 |
|
268 |
#: wp-optimize-main.php:297
|
269 |
msgid "Optimize database tables"
|
270 |
-
msgstr "
|
271 |
|
272 |
#: wp-optimize-main.php:305
|
273 |
msgid "Note:"
|
274 |
-
msgstr "
|
275 |
|
276 |
#: wp-optimize-main.php:308
|
277 |
msgid "InnoDB tables will not be optimized"
|
278 |
-
msgstr "InnoDB
|
279 |
|
280 |
#: wp-optimize-main.php:314
|
281 |
msgid "Select safe options"
|
282 |
-
msgstr "
|
283 |
|
284 |
#: wp-optimize-main.php:315
|
285 |
msgid "Warning:"
|
286 |
-
msgstr "
|
287 |
|
288 |
#: wp-optimize-main.php:316
|
289 |
msgid "Always make a backup of your DB when you upgrade to major versions"
|
290 |
-
msgstr "
|
291 |
|
292 |
#: wp-optimize-main.php:321
|
293 |
msgid "PROCESS"
|
294 |
-
msgstr "
|
295 |
|
296 |
#: wp-optimize-main.php:334
|
297 |
msgid "Status log"
|
298 |
-
msgstr "
|
299 |
|
300 |
#: wp-optimize-main.php:349
|
301 |
msgid "Last automatic optimization was at"
|
302 |
-
msgstr "
|
303 |
|
304 |
#: wp-optimize-main.php:361
|
305 |
msgid "There was no automatic optimization"
|
306 |
-
msgstr "
|
307 |
|
308 |
#: wp-optimize-main.php:411 wp-optimize-main.php:436
|
309 |
msgid "Check settings"
|
310 |
-
msgstr "
|
311 |
|
312 |
#: wp-optimize-main.php:376
|
313 |
msgid "Scheduled cleaning enabled"
|
314 |
-
msgstr "
|
315 |
|
316 |
#: wp-optimize-main.php:388
|
317 |
msgid "Next schedule:"
|
318 |
-
msgstr "
|
319 |
|
320 |
#: wp-optimize-main.php:399
|
321 |
msgid "Refresh"
|
322 |
-
msgstr "
|
323 |
|
324 |
#: wp-optimize-main.php:408
|
325 |
msgid "Scheduled cleaning disabled"
|
326 |
-
msgstr "
|
327 |
|
328 |
#: wp-optimize-main.php:422
|
|
|
329 |
msgid "Keeping last %s weeks data"
|
330 |
-
msgstr "
|
331 |
|
332 |
#: wp-optimize-main.php:433
|
333 |
msgid "Not keeping recent data"
|
334 |
-
msgstr "
|
335 |
|
336 |
#: wp-optimize-main.php:450 wp-optimize-main.php:462
|
337 |
msgid "Current database size:"
|
338 |
-
msgstr "
|
339 |
|
340 |
#: wp-optimize-main.php:455
|
341 |
msgid "You have saved:"
|
342 |
-
msgstr "
|
343 |
|
344 |
#: wp-optimize-main.php:470
|
345 |
msgid "You can save almost:"
|
346 |
-
msgstr "
|
347 |
|
348 |
#: wp-optimize-main.php:487
|
349 |
msgid "Total clean up overall:"
|
350 |
-
msgstr "
|
351 |
|
352 |
#: wp-optimize-main.php:508
|
353 |
msgid "Sponsor"
|
@@ -355,178 +356,179 @@ msgstr "Sponsor"
|
|
355 |
|
356 |
#: wp-optimize-settings.php:115
|
357 |
msgid "Settings updated"
|
358 |
-
msgstr "
|
359 |
|
360 |
#: wp-optimize-settings.php:132
|
361 |
msgid "General Settings"
|
362 |
-
msgstr "
|
363 |
|
364 |
#: wp-optimize-settings.php:137
|
|
|
365 |
msgid "Keep last %s weeks data"
|
366 |
-
msgstr "
|
367 |
|
368 |
#: wp-optimize-settings.php:153
|
369 |
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
370 |
-
msgstr "
|
371 |
|
372 |
#: wp-optimize-settings.php:162
|
373 |
msgid "Enable admin bar link"
|
374 |
-
msgstr "
|
375 |
|
376 |
#: wp-optimize-settings.php:164
|
377 |
msgid "(Click here to refresh)"
|
378 |
-
msgstr "(
|
379 |
|
380 |
#: wp-optimize-settings.php:170
|
381 |
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
382 |
-
msgstr "
|
383 |
|
384 |
#: wp-optimize-settings.php:211
|
385 |
msgid "SAVE SETTINGS"
|
386 |
-
msgstr "
|
387 |
|
388 |
#: wp-optimize-settings.php:221
|
389 |
msgid "Auto Clean-up Settings"
|
390 |
-
msgstr "
|
391 |
|
392 |
#: wp-optimize-settings.php:224
|
393 |
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
394 |
-
msgstr "
|
395 |
|
396 |
#: wp-optimize-settings.php:226
|
397 |
msgid "Select schedule type (default is Weekly)"
|
398 |
-
msgstr "
|
399 |
|
400 |
#: wp-optimize-settings.php:237 wp-optimize-settings.php:249
|
401 |
#: wp-optimize-settings.php:256
|
402 |
msgid "Every week"
|
403 |
-
msgstr "
|
404 |
|
405 |
#: wp-optimize-settings.php:241 wp-optimize-settings.php:257
|
406 |
msgid "Every other week (every 14 days)"
|
407 |
-
msgstr "
|
408 |
|
409 |
#: wp-optimize-settings.php:245 wp-optimize-settings.php:258
|
410 |
msgid "Every month (every 31 days)"
|
411 |
-
msgstr "
|
412 |
|
413 |
#: wp-optimize-settings.php:262
|
414 |
msgid "Automatic cleanup will perform the following:"
|
415 |
-
msgstr "
|
416 |
|
417 |
#: wp-optimize-settings.php:264
|
418 |
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
419 |
-
msgstr "
|
420 |
|
421 |
#: wp-optimize-settings.php:271
|
422 |
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
423 |
-
msgstr "
|
424 |
|
425 |
#: wp-optimize-settings.php:276
|
426 |
msgid "Remove auto revisions"
|
427 |
-
msgstr "
|
428 |
|
429 |
#: wp-optimize-settings.php:280
|
430 |
msgid "Remove auto drafts"
|
431 |
-
msgstr "
|
432 |
|
433 |
#: wp-optimize-settings.php:284
|
434 |
msgid "Remove spam comments"
|
435 |
-
msgstr "
|
436 |
|
437 |
#: wp-optimize-settings.php:297
|
438 |
msgid "Remove orphaned post meta"
|
439 |
-
msgstr "
|
440 |
|
441 |
#: wp-optimize-settings.php:301
|
442 |
msgid "Remove unused tags"
|
443 |
-
msgstr "
|
444 |
|
445 |
#: wp-optimize-settings.php:307
|
446 |
msgid "Optimize database"
|
447 |
-
msgstr "
|
448 |
|
449 |
#: wp-optimize-settings.php:313
|
450 |
msgid "If you have InnoDB tables. They will not be optimized!"
|
451 |
-
msgstr "
|
452 |
|
453 |
#: wp-optimize-settings.php:335
|
454 |
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
455 |
-
msgstr "
|
456 |
|
457 |
#: wp-optimize-tables.php:20
|
458 |
msgid "Database Name:"
|
459 |
-
msgstr "
|
460 |
|
461 |
#: wp-optimize-tables.php:28
|
462 |
msgid "Optimized all the tables found in the database."
|
463 |
-
msgstr "
|
464 |
|
465 |
#: wp-optimize-tables.php:36
|
466 |
msgid "No."
|
467 |
-
msgstr "
|
468 |
|
469 |
#: wp-optimize-tables.php:38
|
470 |
msgid "Records"
|
471 |
-
msgstr "
|
472 |
|
473 |
#: wp-optimize-tables.php:39
|
474 |
msgid "Data Size"
|
475 |
-
msgstr "
|
476 |
|
477 |
#: wp-optimize-tables.php:40
|
478 |
msgid "Index Size"
|
479 |
-
msgstr "
|
480 |
|
481 |
#: wp-optimize-tables.php:41
|
482 |
msgid "Type"
|
483 |
-
msgstr "
|
484 |
|
485 |
#: wp-optimize-tables.php:42
|
486 |
msgid "Overhead"
|
487 |
-
msgstr "
|
488 |
|
489 |
#: wp-optimize-tables.php:137
|
490 |
msgid "Total:"
|
491 |
-
msgstr "
|
492 |
|
493 |
#: wp-optimize-tables.php:138
|
494 |
msgid "%d Table"
|
495 |
msgid_plural "%d Tables"
|
496 |
-
msgstr[0] "%d
|
497 |
-
msgstr[1] "%d
|
498 |
|
499 |
#: wp-optimize-tables.php:139
|
500 |
msgid "%d Record"
|
501 |
msgid_plural "%d Records"
|
502 |
-
msgstr[0] "%d
|
503 |
-
msgstr[1] "%d
|
504 |
|
505 |
#: wp-optimize-tables.php:179
|
506 |
msgid "Total Size of Database:"
|
507 |
-
msgstr "
|
508 |
|
509 |
#: wp-optimize-tables.php:191
|
510 |
msgid "Optimization Results:"
|
511 |
-
msgstr "
|
512 |
|
513 |
#: wp-optimize-tables.php:196
|
514 |
msgid "Total Space Saved:"
|
515 |
-
msgstr "
|
516 |
|
517 |
#: wp-optimize-tables.php:208
|
518 |
msgid "Optimization Possibility:"
|
519 |
-
msgstr "
|
520 |
|
521 |
#: wp-optimize-tables.php:215
|
522 |
msgid "Total space can be saved:"
|
523 |
-
msgstr "
|
524 |
|
525 |
msgid "WP-Optimize"
|
526 |
msgstr "WP-Optimize"
|
527 |
|
528 |
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
529 |
-
msgstr "
|
530 |
|
531 |
msgid "Ruhani Rabin"
|
532 |
msgstr "Ruhani Rabin"
|
@@ -536,7 +538,7 @@ msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
|
536 |
|
537 |
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
538 |
msgid "Optimizer"
|
539 |
-
msgstr "
|
540 |
|
541 |
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
542 |
msgid "MYSQL"
|
@@ -544,202 +546,202 @@ msgstr "MySQL"
|
|
544 |
|
545 |
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
546 |
msgid "Settings"
|
547 |
-
msgstr "
|
548 |
|
549 |
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
550 |
msgid "Info"
|
551 |
-
msgstr "
|
552 |
|
553 |
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
554 |
msgid "Tables"
|
555 |
-
msgstr "
|
556 |
|
557 |
#: wp-optimize-common.php:545
|
558 |
msgid "bytes"
|
559 |
-
msgstr "
|
560 |
|
561 |
#: wp-optimize-common.php:635
|
562 |
#, fuzzy
|
563 |
msgid "%d transient option deleted"
|
564 |
msgid_plural "%d transient options deleted"
|
565 |
-
msgstr[0] "%d
|
566 |
|
567 |
#: wp-optimize-common.php:662
|
568 |
#, fuzzy
|
569 |
msgid "%d post revision deleted"
|
570 |
msgid_plural "%d post revisions deleted"
|
571 |
-
msgstr[0] "%d
|
572 |
|
573 |
#: wp-optimize-common.php:673
|
574 |
#, fuzzy
|
575 |
msgid "%d auto draft deleted"
|
576 |
msgid_plural "%d auto drafts deleted"
|
577 |
-
msgstr[0] "%d
|
578 |
|
579 |
#: wp-optimize-common.php:683
|
580 |
#, fuzzy
|
581 |
msgid "%d item removed from Trash"
|
582 |
msgid_plural "%d items removed from Trash"
|
583 |
-
msgstr[0] "%d
|
584 |
|
585 |
#: wp-optimize-common.php:695
|
586 |
#, fuzzy
|
587 |
msgid "%d spam comment deleted"
|
588 |
msgid_plural "%d spam comments deleted"
|
589 |
-
msgstr[0] "%d
|
590 |
|
591 |
#: wp-optimize-common.php:726
|
592 |
#, fuzzy
|
593 |
msgid "%d unapproved comment deleted"
|
594 |
msgid_plural "%d unapproved comments deleted"
|
595 |
-
msgstr[0] "%d
|
596 |
|
597 |
#: wp-optimize-common.php:732
|
598 |
#, fuzzy
|
599 |
msgid "%d pingback deleted"
|
600 |
msgid_plural "%d pingbacks deleted"
|
601 |
-
msgstr[0] "%d
|
602 |
|
603 |
#: wp-optimize-common.php:738
|
604 |
#, fuzzy
|
605 |
msgid "%d trackback deleted"
|
606 |
msgid_plural "%d trackbacks deleted"
|
607 |
-
msgstr[0] "%d
|
608 |
|
609 |
#: wp-optimize-common.php:745
|
610 |
msgid "Enabled weekly processing"
|
611 |
-
msgstr "
|
612 |
|
613 |
#: wp-optimize-common.php:751
|
614 |
msgid "Disabled weekly processing"
|
615 |
-
msgstr "
|
616 |
|
617 |
#: wp-optimize-common.php:760
|
618 |
msgid "NO Actions Taken"
|
619 |
-
msgstr "
|
620 |
|
621 |
#: wp-optimize-common.php:787
|
622 |
#, fuzzy
|
623 |
msgid "%d transient option in your database"
|
624 |
msgid_plural "%d transient options in your database"
|
625 |
-
msgstr[0] "%d
|
626 |
|
627 |
#: wp-optimize-common.php:789
|
628 |
msgid "No transient options found"
|
629 |
-
msgstr "
|
630 |
|
631 |
#: wp-optimize-common.php:798
|
632 |
#, fuzzy
|
633 |
msgid "%d orphaned postmeta in your database"
|
634 |
msgid_plural "%d orphaned postmeta in your database"
|
635 |
-
msgstr[0] "%d
|
636 |
|
637 |
#: wp-optimize-common.php:800
|
638 |
msgid "No orphaned postmeta in your database"
|
639 |
-
msgstr "
|
640 |
|
641 |
#: wp-optimize-common.php:809
|
642 |
#, fuzzy
|
643 |
msgid "%d unused tag in your database"
|
644 |
msgid_plural "%d unused tags in your database"
|
645 |
-
msgstr[0] "%d
|
646 |
|
647 |
#: wp-optimize-common.php:811
|
648 |
msgid "No unused tags found"
|
649 |
-
msgstr "
|
650 |
|
651 |
#: wp-optimize-common.php:824
|
652 |
#, fuzzy
|
653 |
msgid "%d post revision in your database"
|
654 |
msgid_plural "%d post revisions in your database"
|
655 |
-
msgstr[0] "%d
|
656 |
|
657 |
#: wp-optimize-common.php:826
|
658 |
msgid "No post revisions found"
|
659 |
-
msgstr "
|
660 |
|
661 |
#: wp-optimize-common.php:839
|
662 |
#, fuzzy
|
663 |
msgid "%d auto draft post in your database"
|
664 |
msgid_plural "%d auto draft posts in your database"
|
665 |
-
msgstr[0] "%d
|
666 |
|
667 |
#: wp-optimize-common.php:841
|
668 |
msgid "No auto draft posts found"
|
669 |
-
msgstr "
|
670 |
|
671 |
#: wp-optimize-common.php:853
|
672 |
#, fuzzy
|
673 |
msgid "%d spam comment found"
|
674 |
msgid_plural "%d spam comments found"
|
675 |
-
msgstr[0] "%d
|
676 |
|
677 |
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
678 |
msgid "Review"
|
679 |
-
msgstr "
|
680 |
|
681 |
#: wp-optimize-common.php:855
|
682 |
msgid "No spam comments found"
|
683 |
-
msgstr "
|
684 |
|
685 |
#: wp-optimize-common.php:884
|
686 |
#, fuzzy
|
687 |
msgid "%d unapproved comment found"
|
688 |
msgid_plural "%d unapproved comments found"
|
689 |
-
msgstr[0] "%d
|
690 |
|
691 |
#: wp-optimize-common.php:886
|
692 |
msgid "No unapproved comments found"
|
693 |
-
msgstr "
|
694 |
|
695 |
#: wp-optimize-common.php:894
|
696 |
#, fuzzy
|
697 |
msgid "%d Pingback found"
|
698 |
msgid_plural "%d Pingbacks found"
|
699 |
-
msgstr[0] "%d Pingbacks
|
700 |
|
701 |
#: wp-optimize-common.php:896
|
702 |
msgid "No pingbacks found"
|
703 |
-
msgstr "
|
704 |
|
705 |
#: wp-optimize-common.php:904
|
706 |
#, fuzzy
|
707 |
msgid "%d Trackback found"
|
708 |
msgid_plural "%d Trackbacks found"
|
709 |
-
msgstr[0] "%d
|
710 |
|
711 |
#: wp-optimize-common.php:906
|
712 |
msgid "No trackbacks found"
|
713 |
-
msgstr "
|
714 |
|
715 |
#: wp-optimize-common.php:912
|
716 |
msgid "nothing"
|
717 |
-
msgstr "
|
718 |
|
719 |
#: wp-optimize-credits.php:14
|
720 |
msgid "Credits"
|
721 |
-
msgstr "
|
722 |
|
723 |
#: wp-optimize-credits.php:15
|
724 |
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
725 |
-
msgstr "WP-Optimize
|
726 |
|
727 |
#: wp-optimize-credits.php:29
|
728 |
msgid "Contributing Developers"
|
729 |
-
msgstr "
|
730 |
|
731 |
#: wp-optimize-credits.php:30
|
732 |
msgid "Help me make this plugin better"
|
733 |
-
msgstr "
|
734 |
|
735 |
#: wp-optimize-credits.php:30
|
736 |
msgid "I am looking for contributing developers."
|
737 |
-
msgstr "
|
738 |
|
739 |
#: wp-optimize-credits.php:31
|
740 |
msgid "Your name and website will be credited here in the plugin"
|
741 |
-
msgstr "
|
742 |
|
743 |
#: wp-optimize-credits.php:40
|
744 |
msgid "Translators"
|
745 |
-
msgstr "
|
1 |
+
# Translation of WP-Optimize in Italian
|
2 |
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"PO-Revision-Date: 2015-03-26 09:47:18+0000\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
|
13 |
#: wp-optimize-common.php:72
|
14 |
msgid "Automatic Operation Completed"
|
15 |
+
msgstr "Operazioni Automatiche Completate"
|
16 |
|
17 |
#: wp-optimize-common.php:74
|
18 |
msgid "Scheduled optimization was executed at"
|
19 |
+
msgstr "L'ottimizzazione pianificata è stata eseguita alle"
|
20 |
|
21 |
#: wp-optimize-common.php:76
|
22 |
msgid "You can safely delete this email."
|
23 |
+
msgstr "Puoi tranquillamente cancellare questa email."
|
24 |
|
25 |
#: wp-optimize-common.php:78
|
26 |
msgid "Regards,"
|
27 |
+
msgstr "Saluti"
|
28 |
|
29 |
#: wp-optimize-common.php:79
|
30 |
msgid "WP-Optimize Plugin"
|
32 |
|
33 |
#: wp-optimize-settings.php:233 wp-optimize-settings.php:255
|
34 |
msgid "Everyday"
|
35 |
+
msgstr "Tutti i giorni"
|
36 |
|
37 |
#: wp-optimize-settings.php:322
|
38 |
msgid "Enable email notification"
|
39 |
+
msgstr "Abilita notifica email"
|
40 |
|
41 |
#: wp-optimize-settings.php:329
|
42 |
msgid "Send email to"
|
43 |
+
msgstr "Invia email a"
|
44 |
|
45 |
msgid "http://wp-optimize.ruhanirabin.com/"
|
46 |
msgstr "http://wp-optimize.ruhanirabin.com/"
|
47 |
|
48 |
#: wp-optimize-settings.php:191
|
49 |
msgid "Disable/Enable Comments"
|
50 |
+
msgstr "Disattiva/Attiva Commenti"
|
51 |
|
52 |
#: wp-optimize-settings.php:180 wp-optimize-settings.php:195
|
53 |
msgid "Enable"
|
54 |
+
msgstr "Attiva"
|
55 |
|
56 |
#: wp-optimize-settings.php:179 wp-optimize-settings.php:194
|
57 |
msgid "Disable"
|
58 |
+
msgstr "Disattiva"
|
59 |
|
60 |
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
61 |
msgid "SELECT"
|
62 |
+
msgstr "SCEGLI"
|
63 |
|
64 |
#: wp-optimize-settings.php:176
|
65 |
msgid "Disable/Enable Trackbacks"
|
66 |
+
msgstr "Disattiva/Attiva Trackback"
|
67 |
|
68 |
#: wp-optimize-settings.php:174
|
69 |
msgid "Trackback/Comments Actions"
|
70 |
+
msgstr "Trackback/Commenti Azioni"
|
71 |
|
72 |
#: wp-optimize-settings.php:200
|
73 |
msgid "This will disable/enable Comments on all your current and previously published posts"
|
74 |
+
msgstr "Questo disattiverà/attiverà Commenti in tutti gli articoli pubblicati attualmente e precedentemente."
|
75 |
|
76 |
#: wp-optimize-settings.php:185
|
77 |
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
78 |
+
msgstr "Questo disattiverà/attiverà i Trackback in tutti gli articoli pubblicati attualmente e precedentemente"
|
79 |
|
80 |
#: wp-optimize-settings.php:94
|
81 |
msgid "Trackbacks enabled on all current and previously published posts"
|
82 |
+
msgstr "Trackbas abilitati in tutti gli articoli pubblicati attualmente e precedentemente"
|
83 |
|
84 |
#: wp-optimize-main.php:272
|
85 |
msgid "Do not select RED marked items unless you really need to use them"
|
86 |
+
msgstr "Non selezionare oggetti marchiati in ROSSO a meno che tu non ne abbia realmente bisogno"
|
87 |
|
88 |
#: wp-optimize-common.php:704
|
89 |
#, fuzzy
|
90 |
msgid "%d comment removed from Trash"
|
91 |
msgid_plural "%d comments removed from Trash"
|
92 |
+
msgstr[0] "%d commenti rimossi dal Cestino"
|
93 |
|
94 |
#: wp-optimize-common.php:543
|
95 |
msgid "KB"
|
101 |
|
102 |
#: wp-optimize-settings.php:88
|
103 |
msgid "Trackbacks disabled on all current and previously published posts"
|
104 |
+
msgstr "Trackbacks disattivati in tutti gli articoli pubblicati attualmente e precedentemente"
|
105 |
|
106 |
#: wp-optimize-settings.php:103
|
107 |
msgid "Comments disabled on all current and previously published posts"
|
108 |
+
msgstr "Commenti disattivati in tutti gli articoli pubblicati attualmente e precedentemente"
|
109 |
|
110 |
#: wp-optimize-settings.php:109
|
111 |
msgid "Comments enabled on all current and previously published posts"
|
112 |
+
msgstr "Commenti abilitati in tutti gli articoli pubblicati attualmente e precedentemente"
|
113 |
|
114 |
#: wp-optimize-main.php:278 wp-optimize-settings.php:207
|
115 |
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
116 |
+
msgstr "Ottimizza l'incorporamente Youtube in Wordpress con questo plugin"
|
117 |
|
118 |
#: wp-optimize-common.php:539
|
119 |
msgid "GB"
|
123 |
#, fuzzy
|
124 |
msgid "%d unused comment metadata item removed"
|
125 |
msgid_plural "%d unused comment metadata items removed"
|
126 |
+
msgstr[0] "%d commenti oggetti metadati inutilizzati rimossi"
|
127 |
|
128 |
#: wp-optimize-common.php:716
|
129 |
#, fuzzy
|
130 |
msgid "%d unused akismet comment metadata item removed"
|
131 |
msgid_plural "%d unused akismet comment metadata items removed"
|
132 |
+
msgstr[0] "%d commenti oggetti metadati akismet inutilizzati rimossi"
|
133 |
|
134 |
#: wp-optimize-credits.php:67
|
135 |
msgid "GitHub Development Log"
|
136 |
+
msgstr "Registro Sviluppo GitHub"
|
137 |
|
138 |
#: wp-optimize-credits.php:41
|
139 |
msgid "(Translator name)"
|
140 |
+
msgstr "Bruno Mantovani"
|
141 |
|
142 |
#: wp-optimize-credits.php:41
|
143 |
msgid "http://(Translator Website)"
|
144 |
+
msgstr "http://www.silenx.it"
|
145 |
|
146 |
#: wp-optimize-credits.php:43
|
147 |
msgid "Read Translation Instructions"
|
148 |
+
msgstr "Leggi Istruzioni per la traduzione"
|
149 |
|
150 |
#: wp-optimize-credits.php:56
|
151 |
msgid "Support E-mail"
|
152 |
+
msgstr "E-Mail di supporto"
|
153 |
|
154 |
#: wp-optimize-credits.php:53
|
155 |
msgid "Request New Language"
|
156 |
+
msgstr "Richiedi nuova lingua"
|
157 |
|
158 |
#: wp-optimize-credits.php:52
|
159 |
msgid "Plugin Translation Portal (needs translator account)"
|
160 |
+
msgstr "Portale traduzione plugin (necessita di un account traduttore)"
|
161 |
|
162 |
#: wp-optimize-credits.php:51
|
163 |
msgid "Get a Translator Account"
|
164 |
+
msgstr "Ottieni un account traduttore"
|
165 |
|
166 |
#: wp-optimize-main.php:329
|
167 |
msgid "Rating"
|
168 |
+
msgstr "Votazioni"
|
169 |
|
170 |
#: wp-optimize-main.php:328
|
171 |
msgid "Please give a proper rating :)"
|
172 |
+
msgstr "Per favore dai una votazione appropriata :)"
|
173 |
|
174 |
#: wp-optimize-main.php:327
|
175 |
msgid "Donate!"
|
176 |
+
msgstr "Dona!"
|
177 |
|
178 |
#: wp-optimize-main.php:327
|
179 |
msgid "Please donate! It really helps me keep improvising"
|
180 |
+
msgstr "Per favore dona! Mi aiutebbe molto "
|
181 |
|
182 |
#: wp-optimize-credits.php:49
|
183 |
msgid "Plugin Resources"
|
184 |
+
msgstr "Risorse Plugin"
|
185 |
|
186 |
#: wp-optimize-credits.php:54
|
187 |
msgid "Plugin Homepage"
|
188 |
+
msgstr "Homepage del plugin"
|
189 |
|
190 |
#: wp-optimize-credits.php:55
|
191 |
msgid "Support (GitHub)"
|
192 |
+
msgstr "Supporto (Github)"
|
193 |
|
194 |
#: wp-optimize-credits.php:57
|
195 |
msgid "Change Log"
|
196 |
+
msgstr "Registro Modifiche"
|
197 |
|
198 |
#: wp-optimize-credits.php:58
|
199 |
msgid "FAQ"
|
201 |
|
202 |
#: wp-optimize-credits.php:87
|
203 |
msgid "No items"
|
204 |
+
msgstr "Nessun oggetto"
|
205 |
|
206 |
#: wp-optimize-main.php:76
|
207 |
#, fuzzy, php-format
|
208 |
msgctxt "%s is the Database Name"
|
209 |
msgid "%s Database Optimized!"
|
210 |
+
msgstr "Database %s Ottimizzato"
|
211 |
|
212 |
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
213 |
msgid "Clean-up options"
|
214 |
+
msgstr "Opzioni di pulizia"
|
215 |
|
216 |
#: wp-optimize-main.php:165
|
217 |
#, fuzzy
|
218 |
msgid "Clean post revisions which are older than %d weeks"
|
219 |
+
msgstr "Pulisci revisione articoli piu vecchi di %d settimane"
|
220 |
|
221 |
#: wp-optimize-main.php:170
|
222 |
msgid "Clean all post revisions"
|
223 |
+
msgstr "Pulisci tutte le revisioni articolo"
|
224 |
|
225 |
#: wp-optimize-main.php:183
|
226 |
#, fuzzy
|
227 |
msgid "Clean auto draft posts which are older than %d weeks"
|
228 |
+
msgstr "Pulisci bozze automatiche articole piu vecchie di %d settimane"
|
229 |
|
230 |
#: wp-optimize-main.php:188
|
231 |
msgid "Clean all auto draft posts and posts in trash"
|
232 |
+
msgstr "Pulisci tutte le bozze automatiche articoli nel cestino"
|
233 |
|
234 |
#: wp-optimize-main.php:203
|
235 |
#, fuzzy
|
236 |
msgid "Remove spam comments which are older than %d weeks"
|
237 |
+
msgstr "Rimuovi commenti di spam piu vecchi di %d settimane"
|
238 |
|
239 |
#: wp-optimize-main.php:208
|
240 |
msgid "Remove spam comments and comments in trash"
|
241 |
+
msgstr "Rimuovi commenti di spam e commenti nel cestino"
|
242 |
|
243 |
#: wp-optimize-main.php:222
|
244 |
#, fuzzy
|
245 |
msgid "Remove unapproved comments which are older than %d weeks"
|
246 |
+
msgstr "Rimuovi commenti non approvati piu vecchi di %d settimane"
|
247 |
|
248 |
#: wp-optimize-main.php:227 wp-optimize-settings.php:288
|
249 |
msgid "Remove unapproved comments"
|
250 |
+
msgstr "Rimuovi commenti non approvati"
|
251 |
|
252 |
#: wp-optimize-main.php:240 wp-optimize-settings.php:293
|
253 |
msgid "Remove transient options"
|
254 |
+
msgstr "Rimuovi opzioni transitorie"
|
255 |
|
256 |
#: wp-optimize-main.php:251
|
257 |
msgid "Remove pingbacks"
|
258 |
+
msgstr "Rimuovi pingbacks"
|
259 |
|
260 |
#: wp-optimize-main.php:262
|
261 |
msgid "Remove trackbacks"
|
262 |
+
msgstr "Rimuovi trackbacks"
|
263 |
|
264 |
#: wp-optimize-main.php:288
|
265 |
msgid "Actions"
|
266 |
+
msgstr "Azioni"
|
267 |
|
268 |
#: wp-optimize-main.php:297
|
269 |
msgid "Optimize database tables"
|
270 |
+
msgstr "Ottimizza tabelle database"
|
271 |
|
272 |
#: wp-optimize-main.php:305
|
273 |
msgid "Note:"
|
274 |
+
msgstr "Note:"
|
275 |
|
276 |
#: wp-optimize-main.php:308
|
277 |
msgid "InnoDB tables will not be optimized"
|
278 |
+
msgstr "Le tabelle InnoDB non saranno ottimizzate"
|
279 |
|
280 |
#: wp-optimize-main.php:314
|
281 |
msgid "Select safe options"
|
282 |
+
msgstr "Scegli opzioni sicure"
|
283 |
|
284 |
#: wp-optimize-main.php:315
|
285 |
msgid "Warning:"
|
286 |
+
msgstr "Attenzione:"
|
287 |
|
288 |
#: wp-optimize-main.php:316
|
289 |
msgid "Always make a backup of your DB when you upgrade to major versions"
|
290 |
+
msgstr "Fai sempre un backup del tuo database quando aggiorni ad una versione maggiore."
|
291 |
|
292 |
#: wp-optimize-main.php:321
|
293 |
msgid "PROCESS"
|
294 |
+
msgstr "PROCEDI"
|
295 |
|
296 |
#: wp-optimize-main.php:334
|
297 |
msgid "Status log"
|
298 |
+
msgstr "Log di stato"
|
299 |
|
300 |
#: wp-optimize-main.php:349
|
301 |
msgid "Last automatic optimization was at"
|
302 |
+
msgstr "L'ultima ottimizzazione automatica è stata alle"
|
303 |
|
304 |
#: wp-optimize-main.php:361
|
305 |
msgid "There was no automatic optimization"
|
306 |
+
msgstr "Non ci sono ottimizzazioni automatiche"
|
307 |
|
308 |
#: wp-optimize-main.php:411 wp-optimize-main.php:436
|
309 |
msgid "Check settings"
|
310 |
+
msgstr "Controlla Impostazioni"
|
311 |
|
312 |
#: wp-optimize-main.php:376
|
313 |
msgid "Scheduled cleaning enabled"
|
314 |
+
msgstr "Pulizia pianificata abilitata"
|
315 |
|
316 |
#: wp-optimize-main.php:388
|
317 |
msgid "Next schedule:"
|
318 |
+
msgstr "Prossima pianificazione:"
|
319 |
|
320 |
#: wp-optimize-main.php:399
|
321 |
msgid "Refresh"
|
322 |
+
msgstr "Ricarica"
|
323 |
|
324 |
#: wp-optimize-main.php:408
|
325 |
msgid "Scheduled cleaning disabled"
|
326 |
+
msgstr "Pulizia pianificata disattivata"
|
327 |
|
328 |
#: wp-optimize-main.php:422
|
329 |
+
#, fuzzy
|
330 |
msgid "Keeping last %s weeks data"
|
331 |
+
msgstr "Manetenere l'ultimo %s dati settimanali"
|
332 |
|
333 |
#: wp-optimize-main.php:433
|
334 |
msgid "Not keeping recent data"
|
335 |
+
msgstr "Non mantenere dati recenti"
|
336 |
|
337 |
#: wp-optimize-main.php:450 wp-optimize-main.php:462
|
338 |
msgid "Current database size:"
|
339 |
+
msgstr "Dimensione attuale database:"
|
340 |
|
341 |
#: wp-optimize-main.php:455
|
342 |
msgid "You have saved:"
|
343 |
+
msgstr "Hai salvato:"
|
344 |
|
345 |
#: wp-optimize-main.php:470
|
346 |
msgid "You can save almost:"
|
347 |
+
msgstr "E' possibile salvare:"
|
348 |
|
349 |
#: wp-optimize-main.php:487
|
350 |
msgid "Total clean up overall:"
|
351 |
+
msgstr "Totale pulizia generale:"
|
352 |
|
353 |
#: wp-optimize-main.php:508
|
354 |
msgid "Sponsor"
|
356 |
|
357 |
#: wp-optimize-settings.php:115
|
358 |
msgid "Settings updated"
|
359 |
+
msgstr "Impostazioni Aggiornate"
|
360 |
|
361 |
#: wp-optimize-settings.php:132
|
362 |
msgid "General Settings"
|
363 |
+
msgstr "Impostazioni Generali"
|
364 |
|
365 |
#: wp-optimize-settings.php:137
|
366 |
+
#, fuzzy
|
367 |
msgid "Keep last %s weeks data"
|
368 |
+
msgstr "Mantieni l'ultimo %s dati settimanali"
|
369 |
|
370 |
#: wp-optimize-settings.php:153
|
371 |
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
372 |
+
msgstr "Questa opzione manterrà gli ultimi dati settimanali selezionati e rimuoverà tutti i dati della spazzatura prima di tale periodo . Ciò influisce anche sul processo automatico di pulizia."
|
373 |
|
374 |
#: wp-optimize-settings.php:162
|
375 |
msgid "Enable admin bar link"
|
376 |
+
msgstr "Abilita collegamento nella barra admin"
|
377 |
|
378 |
#: wp-optimize-settings.php:164
|
379 |
msgid "(Click here to refresh)"
|
380 |
+
msgstr "(Click qua per ricaricare)"
|
381 |
|
382 |
#: wp-optimize-settings.php:170
|
383 |
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
384 |
+
msgstr "Questa opzione inserirà un collegamento di WP-Optimize nella barra admin in alto (predefinito è spento). Richiede ricaricamento pagina"
|
385 |
|
386 |
#: wp-optimize-settings.php:211
|
387 |
msgid "SAVE SETTINGS"
|
388 |
+
msgstr "SALVA IMPOSTAZIONI"
|
389 |
|
390 |
#: wp-optimize-settings.php:221
|
391 |
msgid "Auto Clean-up Settings"
|
392 |
+
msgstr "Impostazioni pulizia automatica"
|
393 |
|
394 |
#: wp-optimize-settings.php:224
|
395 |
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
396 |
+
msgstr "Abilita pianificazione di pulizia e ottimizzazione (BETA!!)"
|
397 |
|
398 |
#: wp-optimize-settings.php:226
|
399 |
msgid "Select schedule type (default is Weekly)"
|
400 |
+
msgstr "Scegli tipo di pianificazione (predefinito è settimanale)"
|
401 |
|
402 |
#: wp-optimize-settings.php:237 wp-optimize-settings.php:249
|
403 |
#: wp-optimize-settings.php:256
|
404 |
msgid "Every week"
|
405 |
+
msgstr "Ogni settimana"
|
406 |
|
407 |
#: wp-optimize-settings.php:241 wp-optimize-settings.php:257
|
408 |
msgid "Every other week (every 14 days)"
|
409 |
+
msgstr "Ogni due settimane (ogni 14 giorni)"
|
410 |
|
411 |
#: wp-optimize-settings.php:245 wp-optimize-settings.php:258
|
412 |
msgid "Every month (every 31 days)"
|
413 |
+
msgstr "Ogni mese (ogni 31 giorni)"
|
414 |
|
415 |
#: wp-optimize-settings.php:262
|
416 |
msgid "Automatic cleanup will perform the following:"
|
417 |
+
msgstr "Pulizia automatica eseguirà i quanto segue:"
|
418 |
|
419 |
#: wp-optimize-settings.php:264
|
420 |
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
421 |
+
msgstr "Rimuoverà revisioni, bozze automatiche, articoli/commenti nel cestino, opzioni transitorie. Dopo ottimizzerà il db."
|
422 |
|
423 |
#: wp-optimize-settings.php:271
|
424 |
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
425 |
+
msgstr "Queste opzioni funzionano solo se la pianificazione automatica di pulizia è stata abilitata"
|
426 |
|
427 |
#: wp-optimize-settings.php:276
|
428 |
msgid "Remove auto revisions"
|
429 |
+
msgstr "Rimuovi revisioni automatiche"
|
430 |
|
431 |
#: wp-optimize-settings.php:280
|
432 |
msgid "Remove auto drafts"
|
433 |
+
msgstr "Rimuovi bozze automatiche"
|
434 |
|
435 |
#: wp-optimize-settings.php:284
|
436 |
msgid "Remove spam comments"
|
437 |
+
msgstr "Rimuovi commenti di spam"
|
438 |
|
439 |
#: wp-optimize-settings.php:297
|
440 |
msgid "Remove orphaned post meta"
|
441 |
+
msgstr "Rimuovi post meta orfani"
|
442 |
|
443 |
#: wp-optimize-settings.php:301
|
444 |
msgid "Remove unused tags"
|
445 |
+
msgstr "Rimuovi tag non usati"
|
446 |
|
447 |
#: wp-optimize-settings.php:307
|
448 |
msgid "Optimize database"
|
449 |
+
msgstr "Ottimizza database"
|
450 |
|
451 |
#: wp-optimize-settings.php:313
|
452 |
msgid "If you have InnoDB tables. They will not be optimized!"
|
453 |
+
msgstr "Se hai tabelle InnoDB. Non saranno ottimizzate!"
|
454 |
|
455 |
#: wp-optimize-settings.php:335
|
456 |
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
457 |
+
msgstr "SALVA IMPOSTAZIONE DI PULIZIA AUTOMATICA"
|
458 |
|
459 |
#: wp-optimize-tables.php:20
|
460 |
msgid "Database Name:"
|
461 |
+
msgstr "Nome Database:"
|
462 |
|
463 |
#: wp-optimize-tables.php:28
|
464 |
msgid "Optimized all the tables found in the database."
|
465 |
+
msgstr "Tutte le tabelle trovate nel database sono state ottimizzate."
|
466 |
|
467 |
#: wp-optimize-tables.php:36
|
468 |
msgid "No."
|
469 |
+
msgstr "No."
|
470 |
|
471 |
#: wp-optimize-tables.php:38
|
472 |
msgid "Records"
|
473 |
+
msgstr "Registrazioni"
|
474 |
|
475 |
#: wp-optimize-tables.php:39
|
476 |
msgid "Data Size"
|
477 |
+
msgstr "Dimensione Dati"
|
478 |
|
479 |
#: wp-optimize-tables.php:40
|
480 |
msgid "Index Size"
|
481 |
+
msgstr "Dimensione Indice"
|
482 |
|
483 |
#: wp-optimize-tables.php:41
|
484 |
msgid "Type"
|
485 |
+
msgstr "Tipo"
|
486 |
|
487 |
#: wp-optimize-tables.php:42
|
488 |
msgid "Overhead"
|
489 |
+
msgstr "OverHead"
|
490 |
|
491 |
#: wp-optimize-tables.php:137
|
492 |
msgid "Total:"
|
493 |
+
msgstr "Totale:"
|
494 |
|
495 |
#: wp-optimize-tables.php:138
|
496 |
msgid "%d Table"
|
497 |
msgid_plural "%d Tables"
|
498 |
+
msgstr[0] "%d Tabella"
|
499 |
+
msgstr[1] "%d Tabelle"
|
500 |
|
501 |
#: wp-optimize-tables.php:139
|
502 |
msgid "%d Record"
|
503 |
msgid_plural "%d Records"
|
504 |
+
msgstr[0] "%d Record"
|
505 |
+
msgstr[1] "%d Records"
|
506 |
|
507 |
#: wp-optimize-tables.php:179
|
508 |
msgid "Total Size of Database:"
|
509 |
+
msgstr "Spazio totale del Database:"
|
510 |
|
511 |
#: wp-optimize-tables.php:191
|
512 |
msgid "Optimization Results:"
|
513 |
+
msgstr "Risultati ottimizzazione:"
|
514 |
|
515 |
#: wp-optimize-tables.php:196
|
516 |
msgid "Total Space Saved:"
|
517 |
+
msgstr "Spazio totale salvato:"
|
518 |
|
519 |
#: wp-optimize-tables.php:208
|
520 |
msgid "Optimization Possibility:"
|
521 |
+
msgstr "Possibilità di Ottimizzazione:"
|
522 |
|
523 |
#: wp-optimize-tables.php:215
|
524 |
msgid "Total space can be saved:"
|
525 |
+
msgstr "Spazio totale che puo essere salvato:"
|
526 |
|
527 |
msgid "WP-Optimize"
|
528 |
msgstr "WP-Optimize"
|
529 |
|
530 |
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
531 |
+
msgstr "Questo plugin vi aiuta a mantenere il vostro database pulito rimuovendo revisioni post e spam in una fiammata. Inoltre permette di eseguire il comando di ottimizzazione sulle vostre tabelle principali di WordPress (utilizzare con cautela) ."
|
532 |
|
533 |
msgid "Ruhani Rabin"
|
534 |
msgstr "Ruhani Rabin"
|
538 |
|
539 |
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
540 |
msgid "Optimizer"
|
541 |
+
msgstr "Ottimizzatore"
|
542 |
|
543 |
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
544 |
msgid "MYSQL"
|
546 |
|
547 |
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
548 |
msgid "Settings"
|
549 |
+
msgstr "Impostazioni"
|
550 |
|
551 |
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
552 |
msgid "Info"
|
553 |
+
msgstr "Informazioni"
|
554 |
|
555 |
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
556 |
msgid "Tables"
|
557 |
+
msgstr "Tabelle"
|
558 |
|
559 |
#: wp-optimize-common.php:545
|
560 |
msgid "bytes"
|
561 |
+
msgstr "bytes"
|
562 |
|
563 |
#: wp-optimize-common.php:635
|
564 |
#, fuzzy
|
565 |
msgid "%d transient option deleted"
|
566 |
msgid_plural "%d transient options deleted"
|
567 |
+
msgstr[0] "%d opzioni transitorie cancellate"
|
568 |
|
569 |
#: wp-optimize-common.php:662
|
570 |
#, fuzzy
|
571 |
msgid "%d post revision deleted"
|
572 |
msgid_plural "%d post revisions deleted"
|
573 |
+
msgstr[0] "%d revisioni articolo cancellate"
|
574 |
|
575 |
#: wp-optimize-common.php:673
|
576 |
#, fuzzy
|
577 |
msgid "%d auto draft deleted"
|
578 |
msgid_plural "%d auto drafts deleted"
|
579 |
+
msgstr[0] "%d bozze automatiche cancellate"
|
580 |
|
581 |
#: wp-optimize-common.php:683
|
582 |
#, fuzzy
|
583 |
msgid "%d item removed from Trash"
|
584 |
msgid_plural "%d items removed from Trash"
|
585 |
+
msgstr[0] "%d oggetti rimossi dal Cestino"
|
586 |
|
587 |
#: wp-optimize-common.php:695
|
588 |
#, fuzzy
|
589 |
msgid "%d spam comment deleted"
|
590 |
msgid_plural "%d spam comments deleted"
|
591 |
+
msgstr[0] "%d commenti di spam cancellat"
|
592 |
|
593 |
#: wp-optimize-common.php:726
|
594 |
#, fuzzy
|
595 |
msgid "%d unapproved comment deleted"
|
596 |
msgid_plural "%d unapproved comments deleted"
|
597 |
+
msgstr[0] "%d Commenti non approvati cancellati"
|
598 |
|
599 |
#: wp-optimize-common.php:732
|
600 |
#, fuzzy
|
601 |
msgid "%d pingback deleted"
|
602 |
msgid_plural "%d pingbacks deleted"
|
603 |
+
msgstr[0] "%d pingback cancellati"
|
604 |
|
605 |
#: wp-optimize-common.php:738
|
606 |
#, fuzzy
|
607 |
msgid "%d trackback deleted"
|
608 |
msgid_plural "%d trackbacks deleted"
|
609 |
+
msgstr[0] "%d trackback cancellati"
|
610 |
|
611 |
#: wp-optimize-common.php:745
|
612 |
msgid "Enabled weekly processing"
|
613 |
+
msgstr "Elaborazione settimanale abilitata"
|
614 |
|
615 |
#: wp-optimize-common.php:751
|
616 |
msgid "Disabled weekly processing"
|
617 |
+
msgstr "Elaborazione settimanale disattivata"
|
618 |
|
619 |
#: wp-optimize-common.php:760
|
620 |
msgid "NO Actions Taken"
|
621 |
+
msgstr "NESSUNA Azione Intrapresa"
|
622 |
|
623 |
#: wp-optimize-common.php:787
|
624 |
#, fuzzy
|
625 |
msgid "%d transient option in your database"
|
626 |
msgid_plural "%d transient options in your database"
|
627 |
+
msgstr[0] "%d opzioni transitorie nel tuo database"
|
628 |
|
629 |
#: wp-optimize-common.php:789
|
630 |
msgid "No transient options found"
|
631 |
+
msgstr "Nessuna opzione transitoria trovata"
|
632 |
|
633 |
#: wp-optimize-common.php:798
|
634 |
#, fuzzy
|
635 |
msgid "%d orphaned postmeta in your database"
|
636 |
msgid_plural "%d orphaned postmeta in your database"
|
637 |
+
msgstr[0] "%d postmeta orfani nel tuo database"
|
638 |
|
639 |
#: wp-optimize-common.php:800
|
640 |
msgid "No orphaned postmeta in your database"
|
641 |
+
msgstr "Nessun postmeta orfano nel tuo database"
|
642 |
|
643 |
#: wp-optimize-common.php:809
|
644 |
#, fuzzy
|
645 |
msgid "%d unused tag in your database"
|
646 |
msgid_plural "%d unused tags in your database"
|
647 |
+
msgstr[0] "%d tag inutilizzati nel tuo database"
|
648 |
|
649 |
#: wp-optimize-common.php:811
|
650 |
msgid "No unused tags found"
|
651 |
+
msgstr "Nessun tag inutilizzato trovato"
|
652 |
|
653 |
#: wp-optimize-common.php:824
|
654 |
#, fuzzy
|
655 |
msgid "%d post revision in your database"
|
656 |
msgid_plural "%d post revisions in your database"
|
657 |
+
msgstr[0] "%d revisioni articolo nel tuo database"
|
658 |
|
659 |
#: wp-optimize-common.php:826
|
660 |
msgid "No post revisions found"
|
661 |
+
msgstr "Nessuna revisione articolo trovata"
|
662 |
|
663 |
#: wp-optimize-common.php:839
|
664 |
#, fuzzy
|
665 |
msgid "%d auto draft post in your database"
|
666 |
msgid_plural "%d auto draft posts in your database"
|
667 |
+
msgstr[0] "%d bozze automatiche articolo(i) nel tuo database"
|
668 |
|
669 |
#: wp-optimize-common.php:841
|
670 |
msgid "No auto draft posts found"
|
671 |
+
msgstr "Nessun bozza automatica articoli trovata"
|
672 |
|
673 |
#: wp-optimize-common.php:853
|
674 |
#, fuzzy
|
675 |
msgid "%d spam comment found"
|
676 |
msgid_plural "%d spam comments found"
|
677 |
+
msgstr[0] "%d commenti spam trovati"
|
678 |
|
679 |
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
680 |
msgid "Review"
|
681 |
+
msgstr "Recensione"
|
682 |
|
683 |
#: wp-optimize-common.php:855
|
684 |
msgid "No spam comments found"
|
685 |
+
msgstr "Nessun commento di spam trovato"
|
686 |
|
687 |
#: wp-optimize-common.php:884
|
688 |
#, fuzzy
|
689 |
msgid "%d unapproved comment found"
|
690 |
msgid_plural "%d unapproved comments found"
|
691 |
+
msgstr[0] "%d commenti non approvati trovati"
|
692 |
|
693 |
#: wp-optimize-common.php:886
|
694 |
msgid "No unapproved comments found"
|
695 |
+
msgstr "Nessun commento non approvato trovato"
|
696 |
|
697 |
#: wp-optimize-common.php:894
|
698 |
#, fuzzy
|
699 |
msgid "%d Pingback found"
|
700 |
msgid_plural "%d Pingbacks found"
|
701 |
+
msgstr[0] "%d Pingbacks trovati"
|
702 |
|
703 |
#: wp-optimize-common.php:896
|
704 |
msgid "No pingbacks found"
|
705 |
+
msgstr "Nessun pingback trovato"
|
706 |
|
707 |
#: wp-optimize-common.php:904
|
708 |
#, fuzzy
|
709 |
msgid "%d Trackback found"
|
710 |
msgid_plural "%d Trackbacks found"
|
711 |
+
msgstr[0] "%d Trackback trovati"
|
712 |
|
713 |
#: wp-optimize-common.php:906
|
714 |
msgid "No trackbacks found"
|
715 |
+
msgstr "Nessun trackback trovato"
|
716 |
|
717 |
#: wp-optimize-common.php:912
|
718 |
msgid "nothing"
|
719 |
+
msgstr "niente"
|
720 |
|
721 |
#: wp-optimize-credits.php:14
|
722 |
msgid "Credits"
|
723 |
+
msgstr "Credits"
|
724 |
|
725 |
#: wp-optimize-credits.php:15
|
726 |
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
727 |
+
msgstr "WP - Optimize è iniziato come un programma di utilità per i miei progetti. Mi sono reso conto ben presto che questo plugin avrebbe potuto aiutare un sacco di gente. Voglio personalmente ringraziare tutti gli utenti che utilizzano questo plugin come base giornaliera. Grazie a tutti anche ai traduttori e alle persone generose che hanno donato per questo progetto ."
|
728 |
|
729 |
#: wp-optimize-credits.php:29
|
730 |
msgid "Contributing Developers"
|
731 |
+
msgstr "Sviluppatori che hanno contribuito"
|
732 |
|
733 |
#: wp-optimize-credits.php:30
|
734 |
msgid "Help me make this plugin better"
|
735 |
+
msgstr "Aiutami a rendere questo plugin migliore"
|
736 |
|
737 |
#: wp-optimize-credits.php:30
|
738 |
msgid "I am looking for contributing developers."
|
739 |
+
msgstr "Sto cercando sviluppatori che contribuiscano"
|
740 |
|
741 |
#: wp-optimize-credits.php:31
|
742 |
msgid "Your name and website will be credited here in the plugin"
|
743 |
+
msgstr "Il tuo nome e il tuo sito saranno nominati qua nel plugin"
|
744 |
|
745 |
#: wp-optimize-credits.php:40
|
746 |
msgid "Translators"
|
747 |
+
msgstr "Traduttori"
|
Binary file
|
@@ -1,745 +0,0 @@
|
|
1 |
-
# Translation of WP-Optimize in Georgian
|
2 |
-
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"PO-Revision-Date: 2015-03-03 07:20:29+0000\n"
|
6 |
-
"MIME-Version: 1.0\n"
|
7 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
-
"Content-Transfer-Encoding: 8bit\n"
|
9 |
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
10 |
-
"X-Generator: GlotPress/0.1\n"
|
11 |
-
"Project-Id-Version: WP-Optimize\n"
|
12 |
-
|
13 |
-
#: wp-optimize-common.php:72
|
14 |
-
msgid "Automatic Operation Completed"
|
15 |
-
msgstr "ავტომატური მოქმედება დასრულებულია"
|
16 |
-
|
17 |
-
#: wp-optimize-common.php:74
|
18 |
-
msgid "Scheduled optimization was executed at"
|
19 |
-
msgstr "დაგეგმილი ოპტიმიზაცია შესრულებულია"
|
20 |
-
|
21 |
-
#: wp-optimize-common.php:76
|
22 |
-
msgid "You can safely delete this email."
|
23 |
-
msgstr "თქვენ შეგიძლიათ უსაფრთხოდ წაშალოთ ეს წერილი."
|
24 |
-
|
25 |
-
#: wp-optimize-common.php:78
|
26 |
-
msgid "Regards,"
|
27 |
-
msgstr "პატივისცემით,"
|
28 |
-
|
29 |
-
#: wp-optimize-common.php:79
|
30 |
-
msgid "WP-Optimize Plugin"
|
31 |
-
msgstr "WP-Optimize ჩანართი"
|
32 |
-
|
33 |
-
#: wp-optimize-settings.php:233 wp-optimize-settings.php:255
|
34 |
-
msgid "Everyday"
|
35 |
-
msgstr "ყოველდღიური"
|
36 |
-
|
37 |
-
#: wp-optimize-settings.php:322
|
38 |
-
msgid "Enable email notification"
|
39 |
-
msgstr "შემატყობინე ელ-ფოსტით"
|
40 |
-
|
41 |
-
#: wp-optimize-settings.php:329
|
42 |
-
msgid "Send email to"
|
43 |
-
msgstr "გაგზავნა ელ-ფოსტაზე"
|
44 |
-
|
45 |
-
msgid "http://wp-optimize.ruhanirabin.com/"
|
46 |
-
msgstr "http://wp-optimize.ruhanirabin.com/"
|
47 |
-
|
48 |
-
#: wp-optimize-settings.php:191
|
49 |
-
msgid "Disable/Enable Comments"
|
50 |
-
msgstr "კომენტარების გამორთვა/ჩართვა"
|
51 |
-
|
52 |
-
#: wp-optimize-settings.php:180 wp-optimize-settings.php:195
|
53 |
-
msgid "Enable"
|
54 |
-
msgstr "ჩართვა"
|
55 |
-
|
56 |
-
#: wp-optimize-settings.php:179 wp-optimize-settings.php:194
|
57 |
-
msgid "Disable"
|
58 |
-
msgstr "გამორთვა"
|
59 |
-
|
60 |
-
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
61 |
-
msgid "SELECT"
|
62 |
-
msgstr "არჩევა"
|
63 |
-
|
64 |
-
#: wp-optimize-settings.php:176
|
65 |
-
msgid "Disable/Enable Trackbacks"
|
66 |
-
msgstr "უკუბმულების გამორთვა/ჩართვა"
|
67 |
-
|
68 |
-
#: wp-optimize-settings.php:174
|
69 |
-
msgid "Trackback/Comments Actions"
|
70 |
-
msgstr "უკუბმულები/კომენტარების ქმედება"
|
71 |
-
|
72 |
-
#: wp-optimize-settings.php:200
|
73 |
-
msgid "This will disable/enable Comments on all your current and previously published posts"
|
74 |
-
msgstr "ეს ჩართავს/გამორთავს კომენტარებს ყველა მიმდინარე და ადრე გამოქვეყნებულ ჩანაწერებში"
|
75 |
-
|
76 |
-
#: wp-optimize-settings.php:185
|
77 |
-
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
78 |
-
msgstr "ეს ჩართავს/გამორთავს უკუბმულებს ყველა მიმდინარე და ადრე გამოქვეყნებულ ჩანაწერებში"
|
79 |
-
|
80 |
-
#: wp-optimize-settings.php:94
|
81 |
-
msgid "Trackbacks enabled on all current and previously published posts"
|
82 |
-
msgstr "უკუბმულები ჩართულია ყველა მიმდინარე და ადრე გამოქვეყნებულ ჩანაწერებში"
|
83 |
-
|
84 |
-
#: wp-optimize-main.php:272
|
85 |
-
msgid "Do not select RED marked items unless you really need to use them"
|
86 |
-
msgstr "არ აირჩიოთ წითლად აღნიშნული ელემენტები თუ თქვენ ნამდვილად არ გამოიყენებთ მათ"
|
87 |
-
|
88 |
-
#: wp-optimize-common.php:704
|
89 |
-
#, fuzzy
|
90 |
-
msgid "%d comment removed from Trash"
|
91 |
-
msgid_plural "%d comments removed from Trash"
|
92 |
-
msgstr[0] "%d კომენტარები წაშლილია სანაგვე ყუთიდან"
|
93 |
-
|
94 |
-
#: wp-optimize-common.php:543
|
95 |
-
msgid "KB"
|
96 |
-
msgstr "კბ"
|
97 |
-
|
98 |
-
#: wp-optimize-common.php:541
|
99 |
-
msgid "MB"
|
100 |
-
msgstr "მბ"
|
101 |
-
|
102 |
-
#: wp-optimize-settings.php:88
|
103 |
-
msgid "Trackbacks disabled on all current and previously published posts"
|
104 |
-
msgstr "უკუბმულები გამორთულია ყველა მიმდინარე და ადრე გამოქვეყნებულ ჩანაწერებში"
|
105 |
-
|
106 |
-
#: wp-optimize-settings.php:103
|
107 |
-
msgid "Comments disabled on all current and previously published posts"
|
108 |
-
msgstr "კომენტარები გამორთულია ყველა მიმდინარე და ადრე გამოქვეყნებულ ჩანაწერებში"
|
109 |
-
|
110 |
-
#: wp-optimize-settings.php:109
|
111 |
-
msgid "Comments enabled on all current and previously published posts"
|
112 |
-
msgstr "კომენტარები ჩართულია ყველა მიმდინარე და ადრე გამოქვეყნებულ ჩანაწერებში"
|
113 |
-
|
114 |
-
#: wp-optimize-main.php:278 wp-optimize-settings.php:207
|
115 |
-
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
116 |
-
msgstr "WordPress-ში ჩადგმული თქვენი YouTube-ს ოპტიმიზაცია ამ ჩანართის მეშვეობით"
|
117 |
-
|
118 |
-
#: wp-optimize-common.php:539
|
119 |
-
msgid "GB"
|
120 |
-
msgstr "გბ"
|
121 |
-
|
122 |
-
#: wp-optimize-common.php:710
|
123 |
-
#, fuzzy
|
124 |
-
msgid "%d unused comment metadata item removed"
|
125 |
-
msgid_plural "%d unused comment metadata items removed"
|
126 |
-
msgstr[0] "%d გამოუყენებელი კომენტარის მეტამონაცემების ელემენტები წაშლილია"
|
127 |
-
|
128 |
-
#: wp-optimize-common.php:716
|
129 |
-
#, fuzzy
|
130 |
-
msgid "%d unused akismet comment metadata item removed"
|
131 |
-
msgid_plural "%d unused akismet comment metadata items removed"
|
132 |
-
msgstr[0] "%d გამოუყენებელი Akismet კომენტარის მეტამონაცემების ელემენტები წაშლილია"
|
133 |
-
|
134 |
-
#: wp-optimize-credits.php:67
|
135 |
-
msgid "GitHub Development Log"
|
136 |
-
msgstr "იხილე გაუმჯობესებები GitHub-ზე"
|
137 |
-
|
138 |
-
#: wp-optimize-credits.php:41
|
139 |
-
msgid "(Translator name)"
|
140 |
-
msgstr "Givi Tabatadze"
|
141 |
-
|
142 |
-
#: wp-optimize-credits.php:41
|
143 |
-
msgid "http://(Translator Website)"
|
144 |
-
msgstr "http://tagiweb.com"
|
145 |
-
|
146 |
-
#: wp-optimize-credits.php:43
|
147 |
-
msgid "Read Translation Instructions"
|
148 |
-
msgstr "იხილეთ მითითებები მთარგმნელისათვის"
|
149 |
-
|
150 |
-
#: wp-optimize-credits.php:56
|
151 |
-
msgid "Support E-mail"
|
152 |
-
msgstr "მხარდაჭერის ელ-ფოსტა"
|
153 |
-
|
154 |
-
#: wp-optimize-credits.php:53
|
155 |
-
msgid "Request New Language"
|
156 |
-
msgstr "ახალი ენის მოთხოვნა"
|
157 |
-
|
158 |
-
#: wp-optimize-credits.php:52
|
159 |
-
msgid "Plugin Translation Portal (needs translator account)"
|
160 |
-
msgstr "ჩანართის თარგმანის პორტალი (საჭიროებს მთარგმნელის ანგარიშს)"
|
161 |
-
|
162 |
-
#: wp-optimize-credits.php:51
|
163 |
-
msgid "Get a Translator Account"
|
164 |
-
msgstr "მიიღეთ მთარგმნელის ანგარიში"
|
165 |
-
|
166 |
-
#: wp-optimize-main.php:329
|
167 |
-
msgid "Rating"
|
168 |
-
msgstr "შეფასება"
|
169 |
-
|
170 |
-
#: wp-optimize-main.php:328
|
171 |
-
msgid "Please give a proper rating :)"
|
172 |
-
msgstr "გთხოვთ მისცეთ სათანადო შეფასება :)"
|
173 |
-
|
174 |
-
#: wp-optimize-main.php:327
|
175 |
-
msgid "Donate!"
|
176 |
-
msgstr "შემოწირულობა!"
|
177 |
-
|
178 |
-
#: wp-optimize-main.php:327
|
179 |
-
msgid "Please donate! It really helps me keep improvising"
|
180 |
-
msgstr "გთხოვთ შემოწიროთ! ეს ნამდვილად მეხმარება იმპროვიზირების შენარჩუნებაში"
|
181 |
-
|
182 |
-
#: wp-optimize-credits.php:49
|
183 |
-
msgid "Plugin Resources"
|
184 |
-
msgstr "ჩანართის რესურსები"
|
185 |
-
|
186 |
-
#: wp-optimize-credits.php:54
|
187 |
-
msgid "Plugin Homepage"
|
188 |
-
msgstr "ჩანართის ვებ-გვერდი"
|
189 |
-
|
190 |
-
#: wp-optimize-credits.php:55
|
191 |
-
msgid "Support (GitHub)"
|
192 |
-
msgstr "მხარდაჭერის ფორუმი"
|
193 |
-
|
194 |
-
#: wp-optimize-credits.php:57
|
195 |
-
msgid "Change Log"
|
196 |
-
msgstr "ცვლილებები"
|
197 |
-
|
198 |
-
#: wp-optimize-credits.php:58
|
199 |
-
msgid "FAQ"
|
200 |
-
msgstr "FAQ"
|
201 |
-
|
202 |
-
#: wp-optimize-credits.php:87
|
203 |
-
msgid "No items"
|
204 |
-
msgstr "ელემენტების გარეშე"
|
205 |
-
|
206 |
-
#: wp-optimize-main.php:76
|
207 |
-
#, fuzzy, php-format
|
208 |
-
msgctxt "%s is the Database Name"
|
209 |
-
msgid "%s Database Optimized!"
|
210 |
-
msgstr "%s მონაცემთა ბაზა ოპტიმიზირებულია!"
|
211 |
-
|
212 |
-
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
213 |
-
msgid "Clean-up options"
|
214 |
-
msgstr "დასუფთავების მოწყობა"
|
215 |
-
|
216 |
-
#: wp-optimize-main.php:165
|
217 |
-
#, fuzzy
|
218 |
-
msgid "Clean post revisions which are older than %d weeks"
|
219 |
-
msgstr "გადასინჯული ჩანაწების წაშლა რომელიც უფრო ძველია ვიდრე %d კვირა"
|
220 |
-
|
221 |
-
#: wp-optimize-main.php:170
|
222 |
-
msgid "Clean all post revisions"
|
223 |
-
msgstr "გადასინჯული ჩანაწერების წაშლა"
|
224 |
-
|
225 |
-
#: wp-optimize-main.php:183
|
226 |
-
#, fuzzy
|
227 |
-
msgid "Clean auto draft posts which are older than %d weeks"
|
228 |
-
msgstr "ავტო შენახული მონახაზების წაშლა რომელიც უფრო ძველია ვიდრე %d კვირა"
|
229 |
-
|
230 |
-
#: wp-optimize-main.php:188
|
231 |
-
msgid "Clean all auto draft posts and posts in trash"
|
232 |
-
msgstr "ავტო შენახული მონახაზის წაშლა"
|
233 |
-
|
234 |
-
#: wp-optimize-main.php:203
|
235 |
-
#, fuzzy
|
236 |
-
msgid "Remove spam comments which are older than %d weeks"
|
237 |
-
msgstr "ძველი სპამ-კომენტარის წაშლა %d კვირა"
|
238 |
-
|
239 |
-
#: wp-optimize-main.php:208
|
240 |
-
msgid "Remove spam comments and comments in trash"
|
241 |
-
msgstr "სპამ-კომენტარის წაშლა სანაგვიდან"
|
242 |
-
|
243 |
-
#: wp-optimize-main.php:222
|
244 |
-
#, fuzzy
|
245 |
-
msgid "Remove unapproved comments which are older than %d weeks"
|
246 |
-
msgstr "ძველი დაუდასტურებელი კომენტარების წაშლა %d კვირა"
|
247 |
-
|
248 |
-
#: wp-optimize-main.php:227 wp-optimize-settings.php:288
|
249 |
-
msgid "Remove unapproved comments"
|
250 |
-
msgstr "დაუდასტურებელი კომენტარის წაშლა"
|
251 |
-
|
252 |
-
#: wp-optimize-main.php:240 wp-optimize-settings.php:293
|
253 |
-
msgid "Remove transient options"
|
254 |
-
msgstr "დროებითი ცვლილებების წაშლა"
|
255 |
-
|
256 |
-
#: wp-optimize-main.php:251
|
257 |
-
msgid "Remove pingbacks"
|
258 |
-
msgstr "ცნობების წაშლა"
|
259 |
-
|
260 |
-
#: wp-optimize-main.php:262
|
261 |
-
msgid "Remove trackbacks"
|
262 |
-
msgstr "უკუბმულების წაშლა"
|
263 |
-
|
264 |
-
#: wp-optimize-main.php:288
|
265 |
-
msgid "Actions"
|
266 |
-
msgstr "მოქმედებები"
|
267 |
-
|
268 |
-
#: wp-optimize-main.php:297
|
269 |
-
msgid "Optimize database tables"
|
270 |
-
msgstr "მონაცემთა ბაზის ცხრილის ოპტიმიზირება"
|
271 |
-
|
272 |
-
#: wp-optimize-main.php:305
|
273 |
-
msgid "Note:"
|
274 |
-
msgstr "შენიშვნა:"
|
275 |
-
|
276 |
-
#: wp-optimize-main.php:308
|
277 |
-
msgid "InnoDB tables will not be optimized"
|
278 |
-
msgstr "InnoDB ცხრილები არ იქნება ოპტიმიზირებული"
|
279 |
-
|
280 |
-
#: wp-optimize-main.php:314
|
281 |
-
msgid "Select safe options"
|
282 |
-
msgstr "აირჩიეთ უსაფრთხო მოწყობა"
|
283 |
-
|
284 |
-
#: wp-optimize-main.php:315
|
285 |
-
msgid "Warning:"
|
286 |
-
msgstr "გაფრთხილება:"
|
287 |
-
|
288 |
-
#: wp-optimize-main.php:316
|
289 |
-
msgid "Always make a backup of your DB when you upgrade to major versions"
|
290 |
-
msgstr "ყოველთვის გააკეთეთ მონაცემთა ბაზის მარქაფი (სარეზერვო ასლი) როცა ახალ ვერსიამდე ანახლებთ"
|
291 |
-
|
292 |
-
#: wp-optimize-main.php:321
|
293 |
-
msgid "PROCESS"
|
294 |
-
msgstr "გაშვება"
|
295 |
-
|
296 |
-
#: wp-optimize-main.php:334
|
297 |
-
msgid "Status log"
|
298 |
-
msgstr "სტატუსის ჟურნალი"
|
299 |
-
|
300 |
-
#: wp-optimize-main.php:349
|
301 |
-
msgid "Last automatic optimization was at"
|
302 |
-
msgstr "ბოლო ავტო ოპტიმიზაცია ჩატარდა"
|
303 |
-
|
304 |
-
#: wp-optimize-main.php:361
|
305 |
-
msgid "There was no automatic optimization"
|
306 |
-
msgstr "არ ჩატარებულა ავტო ოპტიმიზაცია"
|
307 |
-
|
308 |
-
#: wp-optimize-main.php:411 wp-optimize-main.php:436
|
309 |
-
msgid "Check settings"
|
310 |
-
msgstr "მოწყობებზე გადასვლა"
|
311 |
-
|
312 |
-
#: wp-optimize-main.php:376
|
313 |
-
msgid "Scheduled cleaning enabled"
|
314 |
-
msgstr "დაგეგმილი გასუფთავება ჩართულია"
|
315 |
-
|
316 |
-
#: wp-optimize-main.php:388
|
317 |
-
msgid "Next schedule:"
|
318 |
-
msgstr "შემდეგი განრიგი:"
|
319 |
-
|
320 |
-
#: wp-optimize-main.php:399
|
321 |
-
msgid "Refresh"
|
322 |
-
msgstr "განახლება"
|
323 |
-
|
324 |
-
#: wp-optimize-main.php:408
|
325 |
-
msgid "Scheduled cleaning disabled"
|
326 |
-
msgstr "დაგეგმილი გასუფთავება გამორთულია"
|
327 |
-
|
328 |
-
#: wp-optimize-main.php:422
|
329 |
-
#, fuzzy
|
330 |
-
msgid "Keeping last %s weeks data"
|
331 |
-
msgstr "უკანასკნელი შენახული %s კვირის მონაცემები"
|
332 |
-
|
333 |
-
#: wp-optimize-main.php:433
|
334 |
-
msgid "Not keeping recent data"
|
335 |
-
msgstr "არ არის შენახული ბოლო მონაცემები"
|
336 |
-
|
337 |
-
#: wp-optimize-main.php:450 wp-optimize-main.php:462
|
338 |
-
msgid "Current database size:"
|
339 |
-
msgstr "მონაცემთა ბაზის მოცულობა:"
|
340 |
-
|
341 |
-
#: wp-optimize-main.php:455
|
342 |
-
msgid "You have saved:"
|
343 |
-
msgstr "შენახულია:"
|
344 |
-
|
345 |
-
#: wp-optimize-main.php:470
|
346 |
-
msgid "You can save almost:"
|
347 |
-
msgstr "გასუფთავდება:"
|
348 |
-
|
349 |
-
#: wp-optimize-main.php:487
|
350 |
-
msgid "Total clean up overall:"
|
351 |
-
msgstr "სულ გასუფთავდა სივრცე:"
|
352 |
-
|
353 |
-
#: wp-optimize-main.php:508
|
354 |
-
msgid "Sponsor"
|
355 |
-
msgstr "მხარდამჭერი"
|
356 |
-
|
357 |
-
#: wp-optimize-settings.php:115
|
358 |
-
msgid "Settings updated"
|
359 |
-
msgstr "ცვლილებები განახლდა"
|
360 |
-
|
361 |
-
#: wp-optimize-settings.php:132
|
362 |
-
msgid "General Settings"
|
363 |
-
msgstr "ძირითადი მოწყობა"
|
364 |
-
|
365 |
-
#: wp-optimize-settings.php:137
|
366 |
-
#, fuzzy
|
367 |
-
msgid "Keep last %s weeks data"
|
368 |
-
msgstr "შეინახე ბოლო %s კვირის მონაცემები"
|
369 |
-
|
370 |
-
#: wp-optimize-settings.php:153
|
371 |
-
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
372 |
-
msgstr "აქ მითითებული ვარიანტი შეინახავს არჩეული კვირის მონაცემებს და წაშლის ყველა მონაცემებს სანაგვეში ამ პერიოდამდე. ეს ასევე მოქმედებს ავტო გასუფთავების პროცესში"
|
373 |
-
|
374 |
-
#: wp-optimize-settings.php:162
|
375 |
-
msgid "Enable admin bar link"
|
376 |
-
msgstr "ადმინის დაფაზე"
|
377 |
-
|
378 |
-
#: wp-optimize-settings.php:164
|
379 |
-
msgid "(Click here to refresh)"
|
380 |
-
msgstr "(განაახლეთ აქ)"
|
381 |
-
|
382 |
-
#: wp-optimize-settings.php:170
|
383 |
-
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
384 |
-
msgstr "ეს ვარიანტი დააყენებს WP-Optimize-ს მალსახმობს ადმინის დაფის ზედა ზოლში (ნაგულისხმები გამორთულია). საჭიროა გვერდის განახლება."
|
385 |
-
|
386 |
-
#: wp-optimize-settings.php:211
|
387 |
-
msgid "SAVE SETTINGS"
|
388 |
-
msgstr "ცვლილების შენახვა"
|
389 |
-
|
390 |
-
#: wp-optimize-settings.php:221
|
391 |
-
msgid "Auto Clean-up Settings"
|
392 |
-
msgstr "ავტო გასუფთავების მოწყობა"
|
393 |
-
|
394 |
-
#: wp-optimize-settings.php:224
|
395 |
-
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
396 |
-
msgstr "დაგეგმეთ გასუფთავება და ოპტიმიზაცია (ექსპერიმენტალურია!) "
|
397 |
-
|
398 |
-
#: wp-optimize-settings.php:226
|
399 |
-
msgid "Select schedule type (default is Weekly)"
|
400 |
-
msgstr "აირჩიეთ გრაფიკის ტიპი (ნაგულისხმებია ყოველკვირეული)"
|
401 |
-
|
402 |
-
#: wp-optimize-settings.php:237 wp-optimize-settings.php:249
|
403 |
-
#: wp-optimize-settings.php:256
|
404 |
-
msgid "Every week"
|
405 |
-
msgstr "ყოველკვირეული"
|
406 |
-
|
407 |
-
#: wp-optimize-settings.php:241 wp-optimize-settings.php:257
|
408 |
-
msgid "Every other week (every 14 days)"
|
409 |
-
msgstr "ორ კვირაში ერთხელ (14 დღე)"
|
410 |
-
|
411 |
-
#: wp-optimize-settings.php:245 wp-optimize-settings.php:258
|
412 |
-
msgid "Every month (every 31 days)"
|
413 |
-
msgstr "თვეში ერთხელ (31 დღე)"
|
414 |
-
|
415 |
-
#: wp-optimize-settings.php:262
|
416 |
-
msgid "Automatic cleanup will perform the following:"
|
417 |
-
msgstr "ავტო გასუფთავება შეასრულებს შემდეგ მოქმედებას:"
|
418 |
-
|
419 |
-
#: wp-optimize-settings.php:264
|
420 |
-
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
421 |
-
msgstr "წაშლის ცვლილებებს, ავტო მონახაზებს, ჩანაწერებს/კომენტარებს სანაგვიდან, დროებით ცვლილებებს. ამის შემდეგ მოხდება ოპტიმიზაცია მონაცემთა ბაზის."
|
422 |
-
|
423 |
-
#: wp-optimize-settings.php:271
|
424 |
-
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
425 |
-
msgstr "ეს ვარიანტი იმუშავებს მხოლოდ იმ შემთხვევაში, თუ ავტომატური გასუფთავების გრაფიკი უკვე ჩართულია"
|
426 |
-
|
427 |
-
#: wp-optimize-settings.php:276
|
428 |
-
msgid "Remove auto revisions"
|
429 |
-
msgstr "ავტო ცვლილებების წაშლა"
|
430 |
-
|
431 |
-
#: wp-optimize-settings.php:280
|
432 |
-
msgid "Remove auto drafts"
|
433 |
-
msgstr "ავტო მონახაზების წაშლა"
|
434 |
-
|
435 |
-
#: wp-optimize-settings.php:284
|
436 |
-
msgid "Remove spam comments"
|
437 |
-
msgstr "სპამ-კომენტარების წაშლა"
|
438 |
-
|
439 |
-
#: wp-optimize-settings.php:297
|
440 |
-
msgid "Remove orphaned post meta"
|
441 |
-
msgstr "დაუკავშირებელი ჩანაწერის მეტას წაშლა"
|
442 |
-
|
443 |
-
#: wp-optimize-settings.php:301
|
444 |
-
msgid "Remove unused tags"
|
445 |
-
msgstr "გამოუყენებელი ტეგების წაშლა"
|
446 |
-
|
447 |
-
#: wp-optimize-settings.php:307
|
448 |
-
msgid "Optimize database"
|
449 |
-
msgstr "მონაცემთა ბაზის ოპტიმიზირება"
|
450 |
-
|
451 |
-
#: wp-optimize-settings.php:313
|
452 |
-
msgid "If you have InnoDB tables. They will not be optimized!"
|
453 |
-
msgstr "თუ თქვენ გაქვთ InnoDB ცხრილები. ისინი არ იქნება ოპტიმიზირებული!"
|
454 |
-
|
455 |
-
#: wp-optimize-settings.php:335
|
456 |
-
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
457 |
-
msgstr "ავტო გასუფთავების ცვლილების შენახვა"
|
458 |
-
|
459 |
-
#: wp-optimize-tables.php:20
|
460 |
-
msgid "Database Name:"
|
461 |
-
msgstr "მონაცემთა ბაზის სახელწოდება:"
|
462 |
-
|
463 |
-
#: wp-optimize-tables.php:28
|
464 |
-
msgid "Optimized all the tables found in the database."
|
465 |
-
msgstr "მონაცემთა ბაზის ყველა ცხრილი ოპტიმიზირებულია."
|
466 |
-
|
467 |
-
#: wp-optimize-tables.php:36
|
468 |
-
msgid "No."
|
469 |
-
msgstr "ნომ."
|
470 |
-
|
471 |
-
#: wp-optimize-tables.php:38
|
472 |
-
msgid "Records"
|
473 |
-
msgstr "ჩანაწერები"
|
474 |
-
|
475 |
-
#: wp-optimize-tables.php:39
|
476 |
-
msgid "Data Size"
|
477 |
-
msgstr "მონაც. მოცულობა"
|
478 |
-
|
479 |
-
#: wp-optimize-tables.php:40
|
480 |
-
msgid "Index Size"
|
481 |
-
msgstr "ინდექს. მოცულობა"
|
482 |
-
|
483 |
-
#: wp-optimize-tables.php:41
|
484 |
-
msgid "Type"
|
485 |
-
msgstr "სახეობა"
|
486 |
-
|
487 |
-
#: wp-optimize-tables.php:42
|
488 |
-
msgid "Overhead"
|
489 |
-
msgstr "აღემატება"
|
490 |
-
|
491 |
-
#: wp-optimize-tables.php:137
|
492 |
-
msgid "Total:"
|
493 |
-
msgstr "სულ:"
|
494 |
-
|
495 |
-
#: wp-optimize-tables.php:138
|
496 |
-
msgid "%d Table"
|
497 |
-
msgid_plural "%d Tables"
|
498 |
-
msgstr[0] "%d ცხრილი"
|
499 |
-
|
500 |
-
#: wp-optimize-tables.php:139
|
501 |
-
msgid "%d Record"
|
502 |
-
msgid_plural "%d Records"
|
503 |
-
msgstr[0] "%d ჩანაწერი"
|
504 |
-
|
505 |
-
#: wp-optimize-tables.php:179
|
506 |
-
msgid "Total Size of Database:"
|
507 |
-
msgstr "მონაცემთა ბაზის საერთო მოცულობა:"
|
508 |
-
|
509 |
-
#: wp-optimize-tables.php:191
|
510 |
-
msgid "Optimization Results:"
|
511 |
-
msgstr "ოპტიმიზაციის შედეგი:"
|
512 |
-
|
513 |
-
#: wp-optimize-tables.php:196
|
514 |
-
msgid "Total Space Saved:"
|
515 |
-
msgstr "სულ გასუფთავებულია ადგილი:"
|
516 |
-
|
517 |
-
#: wp-optimize-tables.php:208
|
518 |
-
msgid "Optimization Possibility:"
|
519 |
-
msgstr "ოპტიმიზაციის შესაძლებლობები:"
|
520 |
-
|
521 |
-
#: wp-optimize-tables.php:215
|
522 |
-
msgid "Total space can be saved:"
|
523 |
-
msgstr "სულ შესაძლოა განთავისუფლდეს ადგილი:"
|
524 |
-
|
525 |
-
msgid "WP-Optimize"
|
526 |
-
msgstr "WP-Optimize"
|
527 |
-
|
528 |
-
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
529 |
-
msgstr "ეს ჩანართი დაგეხმარებათ შეინახოთ მონაცემთა ბაზა სუფთად, გაწმინდავს ზედმეტ სპამსა და მონახაზებს. (გამოიყენეთ სიფრთხილით)."
|
530 |
-
|
531 |
-
msgid "Ruhani Rabin"
|
532 |
-
msgstr "Ruhani Rabin"
|
533 |
-
|
534 |
-
msgid "https://github.com/ruhanirabin/WP-Optimize"
|
535 |
-
msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
536 |
-
|
537 |
-
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
538 |
-
msgid "Optimizer"
|
539 |
-
msgstr "ოპტიმიზატორი"
|
540 |
-
|
541 |
-
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
542 |
-
msgid "MYSQL"
|
543 |
-
msgstr "MYSQL"
|
544 |
-
|
545 |
-
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
546 |
-
msgid "Settings"
|
547 |
-
msgstr "მოწყობა"
|
548 |
-
|
549 |
-
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
550 |
-
msgid "Info"
|
551 |
-
msgstr "ინფორმაცია"
|
552 |
-
|
553 |
-
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
554 |
-
msgid "Tables"
|
555 |
-
msgstr "ცხრილები"
|
556 |
-
|
557 |
-
#: wp-optimize-common.php:545
|
558 |
-
msgid "bytes"
|
559 |
-
msgstr "ბაიტი"
|
560 |
-
|
561 |
-
#: wp-optimize-common.php:635
|
562 |
-
#, fuzzy
|
563 |
-
msgid "%d transient option deleted"
|
564 |
-
msgid_plural "%d transient options deleted"
|
565 |
-
msgstr[0] "%d დროებითი ცვლილებები გასუფთავებულია"
|
566 |
-
|
567 |
-
#: wp-optimize-common.php:662
|
568 |
-
#, fuzzy
|
569 |
-
msgid "%d post revision deleted"
|
570 |
-
msgid_plural "%d post revisions deleted"
|
571 |
-
msgstr[0] "%d შეცვლილი ჩანაწერი გასუფთავებულია"
|
572 |
-
|
573 |
-
#: wp-optimize-common.php:673
|
574 |
-
#, fuzzy
|
575 |
-
msgid "%d auto draft deleted"
|
576 |
-
msgid_plural "%d auto drafts deleted"
|
577 |
-
msgstr[0] "%d ავტომატურად შენახული მონახაზი გასუფთავებულია"
|
578 |
-
|
579 |
-
#: wp-optimize-common.php:683
|
580 |
-
#, fuzzy
|
581 |
-
msgid "%d item removed from Trash"
|
582 |
-
msgid_plural "%d items removed from Trash"
|
583 |
-
msgstr[0] "%d საგანი სანაგვედან გასუფთავებულია"
|
584 |
-
|
585 |
-
#: wp-optimize-common.php:695
|
586 |
-
#, fuzzy
|
587 |
-
msgid "%d spam comment deleted"
|
588 |
-
msgid_plural "%d spam comments deleted"
|
589 |
-
msgstr[0] "%d სპამ-კომენტარი გასუფთავებულია"
|
590 |
-
|
591 |
-
#: wp-optimize-common.php:726
|
592 |
-
#, fuzzy
|
593 |
-
msgid "%d unapproved comment deleted"
|
594 |
-
msgid_plural "%d unapproved comments deleted"
|
595 |
-
msgstr[0] "%d დაუდასტურებელი კომენტარები გასუფთავებულია"
|
596 |
-
|
597 |
-
#: wp-optimize-common.php:732
|
598 |
-
#, fuzzy
|
599 |
-
msgid "%d pingback deleted"
|
600 |
-
msgid_plural "%d pingbacks deleted"
|
601 |
-
msgstr[0] "%d ცნობები გასუფთავებულია"
|
602 |
-
|
603 |
-
#: wp-optimize-common.php:738
|
604 |
-
#, fuzzy
|
605 |
-
msgid "%d trackback deleted"
|
606 |
-
msgid_plural "%d trackbacks deleted"
|
607 |
-
msgstr[0] "%d უკუბმულები გასუფთავებულია"
|
608 |
-
|
609 |
-
#: wp-optimize-common.php:745
|
610 |
-
msgid "Enabled weekly processing"
|
611 |
-
msgstr "ჩართულია ყოველკვირეული დამუშავება"
|
612 |
-
|
613 |
-
#: wp-optimize-common.php:751
|
614 |
-
msgid "Disabled weekly processing"
|
615 |
-
msgstr "გამორთულია ყოველკვირეული დამუშავება"
|
616 |
-
|
617 |
-
#: wp-optimize-common.php:760
|
618 |
-
msgid "NO Actions Taken"
|
619 |
-
msgstr "ქმედებები არაა მიღებული"
|
620 |
-
|
621 |
-
#: wp-optimize-common.php:787
|
622 |
-
#, fuzzy
|
623 |
-
msgid "%d transient option in your database"
|
624 |
-
msgid_plural "%d transient options in your database"
|
625 |
-
msgstr[0] "%d დროებითი ცვლილებები მონაცემთა ბაზაში"
|
626 |
-
|
627 |
-
#: wp-optimize-common.php:789
|
628 |
-
msgid "No transient options found"
|
629 |
-
msgstr "დროებითი ცვლილებები არაა ნაპოვნი"
|
630 |
-
|
631 |
-
#: wp-optimize-common.php:798
|
632 |
-
#, fuzzy
|
633 |
-
msgid "%d orphaned postmeta in your database"
|
634 |
-
msgid_plural "%d orphaned postmeta in your database"
|
635 |
-
msgstr[0] "%d დაუკავშირებელი ჩანაწერის მეტა მონაცემთა ბაზაში"
|
636 |
-
|
637 |
-
#: wp-optimize-common.php:800
|
638 |
-
msgid "No orphaned postmeta in your database"
|
639 |
-
msgstr "დაუკავშირებელი ჩანაწერის მეტა არ არის ნაპოვნი მონაცემთა ბაზაში"
|
640 |
-
|
641 |
-
#: wp-optimize-common.php:809
|
642 |
-
#, fuzzy
|
643 |
-
msgid "%d unused tag in your database"
|
644 |
-
msgid_plural "%d unused tags in your database"
|
645 |
-
msgstr[0] "%d გამოუყენებელი ტეგები მონაცემთა ბაზაში"
|
646 |
-
|
647 |
-
#: wp-optimize-common.php:811
|
648 |
-
msgid "No unused tags found"
|
649 |
-
msgstr "გამოუყენებელი ტეგები არაა ნაპოვნი"
|
650 |
-
|
651 |
-
#: wp-optimize-common.php:824
|
652 |
-
#, fuzzy
|
653 |
-
msgid "%d post revision in your database"
|
654 |
-
msgid_plural "%d post revisions in your database"
|
655 |
-
msgstr[0] "%d შეცვლილი ჩანაწერი მონაცემთა ბაზაში"
|
656 |
-
|
657 |
-
#: wp-optimize-common.php:826
|
658 |
-
msgid "No post revisions found"
|
659 |
-
msgstr "შეცვლილი ჩანაწერები არაა ნაპოვნი"
|
660 |
-
|
661 |
-
#: wp-optimize-common.php:839
|
662 |
-
#, fuzzy
|
663 |
-
msgid "%d auto draft post in your database"
|
664 |
-
msgid_plural "%d auto draft posts in your database"
|
665 |
-
msgstr[0] "%d ავტომატური მონახაზი მონაცემთა ბაზაში"
|
666 |
-
|
667 |
-
#: wp-optimize-common.php:841
|
668 |
-
msgid "No auto draft posts found"
|
669 |
-
msgstr "ავტომატური მონახაზი არაა ნაპოვნი"
|
670 |
-
|
671 |
-
#: wp-optimize-common.php:853
|
672 |
-
#, fuzzy
|
673 |
-
msgid "%d spam comment found"
|
674 |
-
msgid_plural "%d spam comments found"
|
675 |
-
msgstr[0] "%d სპამ-კომენტარები არაა ნაპოვნი"
|
676 |
-
|
677 |
-
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
678 |
-
msgid "Review"
|
679 |
-
msgstr "გადასინჯვა"
|
680 |
-
|
681 |
-
#: wp-optimize-common.php:855
|
682 |
-
msgid "No spam comments found"
|
683 |
-
msgstr " სპამ-კომენტარები არაა ნაპოვნი"
|
684 |
-
|
685 |
-
#: wp-optimize-common.php:884
|
686 |
-
#, fuzzy
|
687 |
-
msgid "%d unapproved comment found"
|
688 |
-
msgid_plural "%d unapproved comments found"
|
689 |
-
msgstr[0] "%d დაუდასტურებელი კომენტარები არაა ნაპოვნი"
|
690 |
-
|
691 |
-
#: wp-optimize-common.php:886
|
692 |
-
msgid "No unapproved comments found"
|
693 |
-
msgstr "დაუდასტურებელი კომენტარები არაა ნაპოვნი"
|
694 |
-
|
695 |
-
#: wp-optimize-common.php:894
|
696 |
-
#, fuzzy
|
697 |
-
msgid "%d Pingback found"
|
698 |
-
msgid_plural "%d Pingbacks found"
|
699 |
-
msgstr[0] "%d ცნობა არის ნაპოვნი"
|
700 |
-
|
701 |
-
#: wp-optimize-common.php:896
|
702 |
-
msgid "No pingbacks found"
|
703 |
-
msgstr "ცნობები არ არის ნაპოვნი"
|
704 |
-
|
705 |
-
#: wp-optimize-common.php:904
|
706 |
-
#, fuzzy
|
707 |
-
msgid "%d Trackback found"
|
708 |
-
msgid_plural "%d Trackbacks found"
|
709 |
-
msgstr[0] "%d უკუბმულია ნაპოვნი"
|
710 |
-
|
711 |
-
#: wp-optimize-common.php:906
|
712 |
-
msgid "No trackbacks found"
|
713 |
-
msgstr "უკუბმულები არ არის ნაპოვნი"
|
714 |
-
|
715 |
-
#: wp-optimize-common.php:912
|
716 |
-
msgid "nothing"
|
717 |
-
msgstr "არაფერი"
|
718 |
-
|
719 |
-
#: wp-optimize-credits.php:14
|
720 |
-
msgid "Credits"
|
721 |
-
msgstr "დამსახურება"
|
722 |
-
|
723 |
-
#: wp-optimize-credits.php:15
|
724 |
-
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
725 |
-
msgstr "პროექტი WP-Optimize დაარსდა ჩემი საკუთარი საჭიროებისადმი სასარგებლო პროგრამის სახით. მალე მე მივხვდი რომ იგი გამოადგებოდა და დაეხმარებოდა სხვა ადამიანებსაც. მე პირადად ვუხდი მადლობას ყველას ვინც მოიხმარს ამ ჩანართს ყოველდღიური საჭიროებისათვის. აგრეთვე მადლობა მთარგმნელებს და ვინც გაიღო შემოწირულობა ამ პროექტისათვის."
|
726 |
-
|
727 |
-
#: wp-optimize-credits.php:29
|
728 |
-
msgid "Contributing Developers"
|
729 |
-
msgstr "თანაშემქმნელები, რომლებმაც შეიტანეს წვლილი"
|
730 |
-
|
731 |
-
#: wp-optimize-credits.php:30
|
732 |
-
msgid "Help me make this plugin better"
|
733 |
-
msgstr "დამეხმარეთ ამ ჩანართის გაუმჯობესებაში"
|
734 |
-
|
735 |
-
#: wp-optimize-credits.php:30
|
736 |
-
msgid "I am looking for contributing developers."
|
737 |
-
msgstr "ვეძებ დამხმარეს, რომელიც წვლილს შეიტანს განვითარებაში."
|
738 |
-
|
739 |
-
#: wp-optimize-credits.php:31
|
740 |
-
msgid "Your name and website will be credited here in the plugin"
|
741 |
-
msgstr "თქვენი სახელი და ვებ-გვერდი გამოქვეყნდება ამ ჩანართში"
|
742 |
-
|
743 |
-
#: wp-optimize-credits.php:40
|
744 |
-
msgid "Translators"
|
745 |
-
msgstr "მთარგმნელები"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Binary file
|
@@ -1,711 +0,0 @@
|
|
1 |
-
# Translation of WP-Optimize in Dutch
|
2 |
-
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"PO-Revision-Date: 2014-09-04 10:06:18+0000\n"
|
6 |
-
"MIME-Version: 1.0\n"
|
7 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
-
"Content-Transfer-Encoding: 8bit\n"
|
9 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
-
"X-Generator: GlotPress/0.1\n"
|
11 |
-
"Project-Id-Version: WP-Optimize\n"
|
12 |
-
|
13 |
-
#: wp-optimize-settings.php:296
|
14 |
-
msgid "This will disable/enable Comments on all your current and previously published posts"
|
15 |
-
msgstr "Dit zal de mogelijkheid tot het plaatsen van reacties aan- of uitzetten op al je gepubliceerde posts"
|
16 |
-
|
17 |
-
#: wp-optimize-settings.php:290
|
18 |
-
msgid "Comments Actions"
|
19 |
-
msgstr "Reacties Acties"
|
20 |
-
|
21 |
-
#: wp-optimize-settings.php:286
|
22 |
-
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
23 |
-
msgstr "Dit zal trackbacks aan- of uitzetten op al je gepubliceerde posts"
|
24 |
-
|
25 |
-
#: wp-optimize-settings.php:283 wp-optimize-settings.php:293
|
26 |
-
msgid "Enable all"
|
27 |
-
msgstr "Activeer alle"
|
28 |
-
|
29 |
-
#: wp-optimize-settings.php:278
|
30 |
-
msgid "Trackbacks Actions"
|
31 |
-
msgstr "Trackbacks Acties"
|
32 |
-
|
33 |
-
#: wp-optimize-settings.php:97
|
34 |
-
msgid "Trackbacks enabled on all current and previously published posts"
|
35 |
-
msgstr "Trackbacks zijn geactiveerd op alle gepubliceerde posts"
|
36 |
-
|
37 |
-
#: wp-optimize-settings.php:282 wp-optimize-settings.php:292
|
38 |
-
msgid "Disable all"
|
39 |
-
msgstr "Deactiveer alle"
|
40 |
-
|
41 |
-
#: wp-optimize-main.php:266
|
42 |
-
msgid "Do not select RED marked items unless you really need to use them"
|
43 |
-
msgstr "Selecteer de RODE items niet tenzij je deze echt nodig hebt"
|
44 |
-
|
45 |
-
#: wp-optimize-common.php:623
|
46 |
-
#, fuzzy
|
47 |
-
msgid "%d comment removed from Trash"
|
48 |
-
msgid_plural "%d comments removed from Trash"
|
49 |
-
msgstr[0] "%d Reacties verwijderd uit prullenbak"
|
50 |
-
|
51 |
-
#: wp-optimize-common.php:463
|
52 |
-
msgid "KB"
|
53 |
-
msgstr "KB"
|
54 |
-
|
55 |
-
#: wp-optimize-common.php:461
|
56 |
-
msgid "MB"
|
57 |
-
msgstr "MB"
|
58 |
-
|
59 |
-
#: wp-optimize-settings.php:90
|
60 |
-
msgid "Trackbacks disabled on all current and previously published posts"
|
61 |
-
msgstr "Trackbacks zijn gedeactiveerd op alle gepubliceerde posts"
|
62 |
-
|
63 |
-
#: wp-optimize-settings.php:76
|
64 |
-
msgid "Comments disabled on all current and previously published posts"
|
65 |
-
msgstr "Reacties zijn gedeactiveerd op alle gepubliceerde posts"
|
66 |
-
|
67 |
-
#: wp-optimize-settings.php:83
|
68 |
-
msgid "Comments enabled on all current and previously published posts"
|
69 |
-
msgstr "Reacties zijn geactiveerd op alle gepubliceerde posts"
|
70 |
-
|
71 |
-
#: wp-optimize-main.php:272
|
72 |
-
msgid "Optimize your YouTube embedding in WordPress with this plugin"
|
73 |
-
msgstr "Optimaliseerd het embedden van YouTube in WordPress met deze plugin"
|
74 |
-
|
75 |
-
#: wp-optimize-common.php:459
|
76 |
-
msgid "GB"
|
77 |
-
msgstr "GB"
|
78 |
-
|
79 |
-
#: wp-optimize-common.php:629
|
80 |
-
#, fuzzy
|
81 |
-
msgid "%d unused comment metadata item removed"
|
82 |
-
msgid_plural "%d unused comment metadata items removed"
|
83 |
-
msgstr[0] "%d ongebruikte metadata van reacties verwijderd"
|
84 |
-
|
85 |
-
#: wp-optimize-common.php:635
|
86 |
-
#, fuzzy
|
87 |
-
msgid "%d unused akismet comment metadata item removed"
|
88 |
-
msgid_plural "%d unused akismet comment metadata items removed"
|
89 |
-
msgstr[0] "%d ongebruike metadata van akismet reactie items verwijderd"
|
90 |
-
|
91 |
-
#: wp-optimize-credits.php:76
|
92 |
-
msgid "GitHub Development Log"
|
93 |
-
msgstr "GitHub Ontwikkelingslog"
|
94 |
-
|
95 |
-
#: wp-optimize-credits.php:50
|
96 |
-
msgid "(Translator name)"
|
97 |
-
msgstr "Mathias Bosman"
|
98 |
-
|
99 |
-
#: wp-optimize-credits.php:50
|
100 |
-
msgid "http://(Translator Website)"
|
101 |
-
msgstr "http://www.mathiasbosman.be"
|
102 |
-
|
103 |
-
#: wp-optimize-credits.php:52
|
104 |
-
msgid "Read Translation Instructions"
|
105 |
-
msgstr "Lees vertalingsinstructies"
|
106 |
-
|
107 |
-
#: wp-optimize-credits.php:65
|
108 |
-
msgid "Support E-mail"
|
109 |
-
msgstr "Support E-mail"
|
110 |
-
|
111 |
-
#: wp-optimize-credits.php:62
|
112 |
-
msgid "Request New Language"
|
113 |
-
msgstr "Nieuwe taal aanvragen"
|
114 |
-
|
115 |
-
#: wp-optimize-credits.php:61
|
116 |
-
msgid "Plugin Translation Portal (needs translator account)"
|
117 |
-
msgstr "Portaal vertalingsplugin (vertalers account benodigd)"
|
118 |
-
|
119 |
-
#: wp-optimize-credits.php:60
|
120 |
-
msgid "Get a Translator Account"
|
121 |
-
msgstr "Verkrijg een vertalersaccount"
|
122 |
-
|
123 |
-
#: wp-optimize-main.php:323
|
124 |
-
msgid "Rating"
|
125 |
-
msgstr "Beoordeling"
|
126 |
-
|
127 |
-
#: wp-optimize-main.php:322
|
128 |
-
msgid "Please give a proper rating :)"
|
129 |
-
msgstr "Gelieve een degelijke waardering te geven :)"
|
130 |
-
|
131 |
-
#: wp-optimize-main.php:321
|
132 |
-
msgid "Donate!"
|
133 |
-
msgstr "Doneren!"
|
134 |
-
|
135 |
-
#: wp-optimize-main.php:321
|
136 |
-
msgid "Please donate! It really helps me keep improvising"
|
137 |
-
msgstr "Doneer alstublieft! Het helpt me echt te verbeteren"
|
138 |
-
|
139 |
-
#: wp-optimize-credits.php:58
|
140 |
-
msgid "Plugin Resources"
|
141 |
-
msgstr "Plugin Bronnen"
|
142 |
-
|
143 |
-
#: wp-optimize-credits.php:63
|
144 |
-
msgid "Plugin Homepage"
|
145 |
-
msgstr "Plugin Homepage"
|
146 |
-
|
147 |
-
#: wp-optimize-credits.php:64
|
148 |
-
msgid "Support (GitHub)"
|
149 |
-
msgstr "Ondersteuning (GitHub)"
|
150 |
-
|
151 |
-
#: wp-optimize-credits.php:66
|
152 |
-
msgid "Change Log"
|
153 |
-
msgstr "Wijzigingen Log"
|
154 |
-
|
155 |
-
#: wp-optimize-credits.php:67
|
156 |
-
msgid "FAQ"
|
157 |
-
msgstr "FAQ"
|
158 |
-
|
159 |
-
#: wp-optimize-credits.php:96
|
160 |
-
msgid "No items"
|
161 |
-
msgstr "Geen items"
|
162 |
-
|
163 |
-
#: wp-optimize-main.php:78
|
164 |
-
#, fuzzy, php-format
|
165 |
-
msgctxt "%s is the Database Name"
|
166 |
-
msgid "%s Database Optimized!"
|
167 |
-
msgstr "%s Database geoptimaliseerd!"
|
168 |
-
|
169 |
-
#: wp-optimize-main.php:148 wp-optimize-main.php:150
|
170 |
-
msgid "Clean-up options"
|
171 |
-
msgstr "Opkuis opties"
|
172 |
-
|
173 |
-
#: wp-optimize-main.php:159
|
174 |
-
#, fuzzy
|
175 |
-
msgid "Clean post revisions which are older than %d weeks"
|
176 |
-
msgstr "Kuis post revisies op die ouder zijn dan %d weken"
|
177 |
-
|
178 |
-
#: wp-optimize-main.php:164
|
179 |
-
msgid "Clean all post revisions"
|
180 |
-
msgstr "Verwijder alle post revisies"
|
181 |
-
|
182 |
-
#: wp-optimize-main.php:177
|
183 |
-
#, fuzzy
|
184 |
-
msgid "Clean auto draft posts which are older than %d weeks"
|
185 |
-
msgstr "Verwijder alle auto concepten die ouder zijn dan %d weken"
|
186 |
-
|
187 |
-
#: wp-optimize-main.php:182
|
188 |
-
msgid "Clean all auto draft posts and posts in trash"
|
189 |
-
msgstr "Verwijder alle auto concepten en posts in de prullenbak"
|
190 |
-
|
191 |
-
#: wp-optimize-main.php:197
|
192 |
-
#, fuzzy
|
193 |
-
msgid "Remove spam comments which are older than %d weeks"
|
194 |
-
msgstr "Verwijder spam reacties die ouder zijn dan %d weken"
|
195 |
-
|
196 |
-
#: wp-optimize-main.php:202
|
197 |
-
msgid "Remove spam comments and comments in trash"
|
198 |
-
msgstr "Verwijder spamm reacties en reacties in de prullenbak"
|
199 |
-
|
200 |
-
#: wp-optimize-main.php:216
|
201 |
-
#, fuzzy
|
202 |
-
msgid "Remove unapproved comments which are older than %d weeks"
|
203 |
-
msgstr "Verwijder wachtende reacties die ouder zijn dan %d weken"
|
204 |
-
|
205 |
-
#: wp-optimize-main.php:221 wp-optimize-settings.php:230
|
206 |
-
msgid "Remove unapproved comments"
|
207 |
-
msgstr "Verwijder wachtende reacties"
|
208 |
-
|
209 |
-
#: wp-optimize-main.php:234 wp-optimize-settings.php:235
|
210 |
-
msgid "Remove transient options"
|
211 |
-
msgstr "Verwijder transiënte opties"
|
212 |
-
|
213 |
-
#: wp-optimize-main.php:245
|
214 |
-
msgid "Remove pingbacks"
|
215 |
-
msgstr "Verwijder pingbacks"
|
216 |
-
|
217 |
-
#: wp-optimize-main.php:256
|
218 |
-
msgid "Remove trackbacks"
|
219 |
-
msgstr "Verwijder trackbacks"
|
220 |
-
|
221 |
-
#: wp-optimize-main.php:282
|
222 |
-
msgid "Actions"
|
223 |
-
msgstr "Acties"
|
224 |
-
|
225 |
-
#: wp-optimize-main.php:291
|
226 |
-
msgid "Optimize database tables"
|
227 |
-
msgstr "Optimaliseer database tabellen"
|
228 |
-
|
229 |
-
#: wp-optimize-main.php:299
|
230 |
-
msgid "Note:"
|
231 |
-
msgstr "Opmerking:"
|
232 |
-
|
233 |
-
#: wp-optimize-main.php:302
|
234 |
-
msgid "InnoDB tables will not be optimized"
|
235 |
-
msgstr "InnoDB tabellen zullen niet worden geoptimaliseerd"
|
236 |
-
|
237 |
-
#: wp-optimize-main.php:308
|
238 |
-
msgid "Select safe options"
|
239 |
-
msgstr "Selecteer veilige opties"
|
240 |
-
|
241 |
-
#: wp-optimize-main.php:309
|
242 |
-
msgid "Warning:"
|
243 |
-
msgstr "Waarschuwing:"
|
244 |
-
|
245 |
-
#: wp-optimize-main.php:310
|
246 |
-
msgid "Always make a backup of your DB when you upgrade to major versions"
|
247 |
-
msgstr "Maak altijd een backup van je databank waneer je een update uitvoert"
|
248 |
-
|
249 |
-
#: wp-optimize-main.php:315
|
250 |
-
msgid "PROCESS"
|
251 |
-
msgstr "VERWERKEN"
|
252 |
-
|
253 |
-
#: wp-optimize-main.php:328
|
254 |
-
msgid "Status log"
|
255 |
-
msgstr "Status log"
|
256 |
-
|
257 |
-
#: wp-optimize-main.php:343
|
258 |
-
msgid "Last automatic optimization was at"
|
259 |
-
msgstr "Laatste automatische optimalisatie was op"
|
260 |
-
|
261 |
-
#: wp-optimize-main.php:355
|
262 |
-
msgid "There was no automatic optimization"
|
263 |
-
msgstr "Er heeft geen automatische optimalisatie plaatsgevonden"
|
264 |
-
|
265 |
-
#: wp-optimize-main.php:405 wp-optimize-main.php:430
|
266 |
-
msgid "Check settings"
|
267 |
-
msgstr "Controleer instellingen"
|
268 |
-
|
269 |
-
#: wp-optimize-main.php:370
|
270 |
-
msgid "Scheduled cleaning enabled"
|
271 |
-
msgstr "Gepland opschonen ingeschakeld"
|
272 |
-
|
273 |
-
#: wp-optimize-main.php:382
|
274 |
-
msgid "Next schedule:"
|
275 |
-
msgstr "Volgende Planning:"
|
276 |
-
|
277 |
-
#: wp-optimize-main.php:393
|
278 |
-
msgid "Refresh"
|
279 |
-
msgstr "Vernieuw"
|
280 |
-
|
281 |
-
#: wp-optimize-main.php:402
|
282 |
-
msgid "Scheduled cleaning disabled"
|
283 |
-
msgstr "Geplande opkuis uitgeschakeld"
|
284 |
-
|
285 |
-
#: wp-optimize-main.php:416
|
286 |
-
#, fuzzy
|
287 |
-
msgid "Keeping last %s weeks data"
|
288 |
-
msgstr "Laatste wordt behouden %s weken data"
|
289 |
-
|
290 |
-
#: wp-optimize-main.php:427
|
291 |
-
msgid "Not keeping recent data"
|
292 |
-
msgstr "Recente data wordt niet bijgehouden"
|
293 |
-
|
294 |
-
#: wp-optimize-main.php:444 wp-optimize-main.php:456
|
295 |
-
msgid "Current database size:"
|
296 |
-
msgstr "Huidige Database Grootte:"
|
297 |
-
|
298 |
-
#: wp-optimize-main.php:449
|
299 |
-
msgid "You have saved:"
|
300 |
-
msgstr "Je hebt bespaard:"
|
301 |
-
|
302 |
-
#: wp-optimize-main.php:464
|
303 |
-
msgid "You can save almost:"
|
304 |
-
msgstr "Je kunt besparen:"
|
305 |
-
|
306 |
-
#: wp-optimize-main.php:481
|
307 |
-
msgid "Total clean up overall:"
|
308 |
-
msgstr "Totale opschoning overall:"
|
309 |
-
|
310 |
-
#: wp-optimize-main.php:502
|
311 |
-
msgid "Sponsor"
|
312 |
-
msgstr "Sponsor"
|
313 |
-
|
314 |
-
#: wp-optimize-settings.php:71
|
315 |
-
msgid "Settings updated"
|
316 |
-
msgstr "Instellingen bijgewerkt"
|
317 |
-
|
318 |
-
#: wp-optimize-settings.php:114
|
319 |
-
msgid "General Settings"
|
320 |
-
msgstr "Algemene instellingen"
|
321 |
-
|
322 |
-
#: wp-optimize-settings.php:119
|
323 |
-
#, fuzzy
|
324 |
-
msgid "Keep last %s weeks data"
|
325 |
-
msgstr "Behoudt laatste %s weken data"
|
326 |
-
|
327 |
-
#: wp-optimize-settings.php:135
|
328 |
-
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
329 |
-
msgstr "Deze optie zal data van de laatst geselecteerde weken behouden en alle onnodige data van voor die periode verwijderen. Dit heeft ook effect op het automatische opkuis process"
|
330 |
-
|
331 |
-
#: wp-optimize-settings.php:144
|
332 |
-
msgid "Enable admin bar link"
|
333 |
-
msgstr "Beheerdersmenu link inschakelen"
|
334 |
-
|
335 |
-
#: wp-optimize-settings.php:146
|
336 |
-
msgid "(Click here to refresh)"
|
337 |
-
msgstr "(Klik hier om te herladen)"
|
338 |
-
|
339 |
-
#: wp-optimize-settings.php:152
|
340 |
-
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
341 |
-
msgstr "Deze optie zal een WP-Optimize link in het beheerdersmenu toevoegen (standaard is uit). Vereist het herladen van de pagina."
|
342 |
-
|
343 |
-
#: wp-optimize-settings.php:158
|
344 |
-
msgid "SAVE SETTINGS"
|
345 |
-
msgstr "INSTELLINGEN OPSLAAN"
|
346 |
-
|
347 |
-
#: wp-optimize-settings.php:168
|
348 |
-
msgid "Auto Clean-up Settings"
|
349 |
-
msgstr "Automatisch Opschoon instellingen"
|
350 |
-
|
351 |
-
#: wp-optimize-settings.php:171
|
352 |
-
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
353 |
-
msgstr "Schakel geplande opkuis en optimalisatie in (Beta optie!)"
|
354 |
-
|
355 |
-
#: wp-optimize-settings.php:173
|
356 |
-
msgid "Select schedule type (default is Weekly)"
|
357 |
-
msgstr "Selecteer planningstype (Standaard is wekelijks)"
|
358 |
-
|
359 |
-
#: wp-optimize-settings.php:180 wp-optimize-settings.php:192
|
360 |
-
#: wp-optimize-settings.php:198
|
361 |
-
msgid "Every week"
|
362 |
-
msgstr "Iedere week"
|
363 |
-
|
364 |
-
#: wp-optimize-settings.php:184 wp-optimize-settings.php:199
|
365 |
-
msgid "Every other week (every 14 days)"
|
366 |
-
msgstr "Om de week (iedere 14 dagen)"
|
367 |
-
|
368 |
-
#: wp-optimize-settings.php:188 wp-optimize-settings.php:200
|
369 |
-
msgid "Every month (every 31 days)"
|
370 |
-
msgstr "Iedere maand (iedere 31 dagen)"
|
371 |
-
|
372 |
-
#: wp-optimize-settings.php:204
|
373 |
-
msgid "Automatic cleanup will perform the following:"
|
374 |
-
msgstr "Automatisch opschonen zal het volgende uitvoeren:"
|
375 |
-
|
376 |
-
#: wp-optimize-settings.php:206
|
377 |
-
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
378 |
-
msgstr "Verwijderd revisies, automatisch concepten, berichten en reacties in de prullenmand en transiënte opties. Daarna zal de database worden geoptimaliseerd."
|
379 |
-
|
380 |
-
#: wp-optimize-settings.php:213
|
381 |
-
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
382 |
-
msgstr "Deze opties zullen alleen werken als automatisch opschonen is ingeschakeld"
|
383 |
-
|
384 |
-
#: wp-optimize-settings.php:218
|
385 |
-
msgid "Remove auto revisions"
|
386 |
-
msgstr "Verwijder automatische revisies"
|
387 |
-
|
388 |
-
#: wp-optimize-settings.php:222
|
389 |
-
msgid "Remove auto drafts"
|
390 |
-
msgstr "Verwijder automatische concepten"
|
391 |
-
|
392 |
-
#: wp-optimize-settings.php:226
|
393 |
-
msgid "Remove spam comments"
|
394 |
-
msgstr "Verwijder spam reacties"
|
395 |
-
|
396 |
-
#: wp-optimize-settings.php:239
|
397 |
-
msgid "Remove orphaned post meta"
|
398 |
-
msgstr "Verwijder verweesde bericht metadata"
|
399 |
-
|
400 |
-
#: wp-optimize-settings.php:243
|
401 |
-
msgid "Remove unused tags"
|
402 |
-
msgstr "Verwijder ongebruikte tags"
|
403 |
-
|
404 |
-
#: wp-optimize-settings.php:249
|
405 |
-
msgid "Optimize database"
|
406 |
-
msgstr "Optimaliseer database"
|
407 |
-
|
408 |
-
#: wp-optimize-settings.php:255
|
409 |
-
msgid "If you have InnoDB tables. They will not be optimized!"
|
410 |
-
msgstr "Als je InnoDB tabellen hebt zullen deze niet worden geoptimaliseerd!"
|
411 |
-
|
412 |
-
#: wp-optimize-settings.php:262
|
413 |
-
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
414 |
-
msgstr "AUTO CLEAN-UP INSTELLINGEN OPSLAAN"
|
415 |
-
|
416 |
-
#: wp-optimize-tables.php:20
|
417 |
-
msgid "Database Name:"
|
418 |
-
msgstr "Database Naam:"
|
419 |
-
|
420 |
-
#: wp-optimize-tables.php:28
|
421 |
-
msgid "Optimized all the tables found in the database."
|
422 |
-
msgstr "Optimaliseerde alle tabellen die in de database werden gevonden."
|
423 |
-
|
424 |
-
#: wp-optimize-tables.php:36
|
425 |
-
msgid "No."
|
426 |
-
msgstr "Nee."
|
427 |
-
|
428 |
-
#: wp-optimize-tables.php:38
|
429 |
-
msgid "Records"
|
430 |
-
msgstr "Rijen"
|
431 |
-
|
432 |
-
#: wp-optimize-tables.php:39
|
433 |
-
msgid "Data Size"
|
434 |
-
msgstr "Data groote"
|
435 |
-
|
436 |
-
#: wp-optimize-tables.php:40
|
437 |
-
msgid "Index Size"
|
438 |
-
msgstr "Index groote"
|
439 |
-
|
440 |
-
#: wp-optimize-tables.php:41
|
441 |
-
msgid "Type"
|
442 |
-
msgstr "Type"
|
443 |
-
|
444 |
-
#: wp-optimize-tables.php:42
|
445 |
-
msgid "Overhead"
|
446 |
-
msgstr "Overhead"
|
447 |
-
|
448 |
-
#: wp-optimize-tables.php:137
|
449 |
-
msgid "Total:"
|
450 |
-
msgstr "Totaal:"
|
451 |
-
|
452 |
-
#: wp-optimize-tables.php:138
|
453 |
-
msgid "%d Table"
|
454 |
-
msgid_plural "%d Tables"
|
455 |
-
msgstr[0] "%d Tabel"
|
456 |
-
msgstr[1] "%d Tabellen"
|
457 |
-
|
458 |
-
#: wp-optimize-tables.php:139
|
459 |
-
msgid "%d Record"
|
460 |
-
msgid_plural "%d Records"
|
461 |
-
msgstr[0] "%d Rij"
|
462 |
-
msgstr[1] "%d Rijen"
|
463 |
-
|
464 |
-
#: wp-optimize-tables.php:179
|
465 |
-
msgid "Total Size of Database:"
|
466 |
-
msgstr "Totale Grootte van Database:"
|
467 |
-
|
468 |
-
#: wp-optimize-tables.php:191
|
469 |
-
msgid "Optimization Results:"
|
470 |
-
msgstr "Optimalisatie Resultaten:"
|
471 |
-
|
472 |
-
#: wp-optimize-tables.php:196
|
473 |
-
msgid "Total Space Saved:"
|
474 |
-
msgstr "Totaal Bespaarde Ruimte:"
|
475 |
-
|
476 |
-
#: wp-optimize-tables.php:208
|
477 |
-
msgid "Optimization Possibility:"
|
478 |
-
msgstr "Optimalisatie Mogelijkheid:"
|
479 |
-
|
480 |
-
#: wp-optimize-tables.php:215
|
481 |
-
msgid "Total space can be saved:"
|
482 |
-
msgstr "Totale ruimte die kan worden bespaard:"
|
483 |
-
|
484 |
-
msgid "WP-Optimize"
|
485 |
-
msgstr "WP-Optimize"
|
486 |
-
|
487 |
-
msgid "http://www.ruhanirabin.com/wp-optimize/"
|
488 |
-
msgstr "http://www.ruhanirabin.com/wp-optimize/"
|
489 |
-
|
490 |
-
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
491 |
-
msgstr "Deze plugin helpt je bij het schoonhouden van je databank door het verwijderen van post revisies en spam. Daarnaast laat het je toe om een optimalisatie toe te passen op de kern tabellen van WordPress (gebruiken met voorzichtigheid)."
|
492 |
-
|
493 |
-
msgid "Ruhani Rabin"
|
494 |
-
msgstr "Ruhani Rabin"
|
495 |
-
|
496 |
-
msgid "https://github.com/ruhanirabin/WP-Optimize"
|
497 |
-
msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
498 |
-
|
499 |
-
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
500 |
-
msgid "Optimizer"
|
501 |
-
msgstr "Optimaliseerder"
|
502 |
-
|
503 |
-
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
504 |
-
msgid "MYSQL"
|
505 |
-
msgstr "MYSQL"
|
506 |
-
|
507 |
-
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
508 |
-
msgid "Settings"
|
509 |
-
msgstr "Instellingen"
|
510 |
-
|
511 |
-
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
512 |
-
msgid "Info"
|
513 |
-
msgstr "Informatie"
|
514 |
-
|
515 |
-
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
516 |
-
msgid "Tables"
|
517 |
-
msgstr "Tabellen"
|
518 |
-
|
519 |
-
#: wp-optimize-common.php:465
|
520 |
-
msgid "bytes"
|
521 |
-
msgstr "bytes"
|
522 |
-
|
523 |
-
#: wp-optimize-common.php:554
|
524 |
-
#, fuzzy
|
525 |
-
msgid "%d transient option deleted"
|
526 |
-
msgid_plural "%d transient options deleted"
|
527 |
-
msgstr[0] "%d transiënte opties verwijderd"
|
528 |
-
|
529 |
-
#: wp-optimize-common.php:581
|
530 |
-
#, fuzzy
|
531 |
-
msgid "%d post revision deleted"
|
532 |
-
msgid_plural "%d post revisions deleted"
|
533 |
-
msgstr[0] "%d bericht revisies verwijderd"
|
534 |
-
|
535 |
-
#: wp-optimize-common.php:592
|
536 |
-
#, fuzzy
|
537 |
-
msgid "%d auto draft deleted"
|
538 |
-
msgid_plural "%d auto drafts deleted"
|
539 |
-
msgstr[0] "%d automatische concepten verwijderd"
|
540 |
-
|
541 |
-
#: wp-optimize-common.php:602
|
542 |
-
#, fuzzy
|
543 |
-
msgid "%d item removed from Trash"
|
544 |
-
msgid_plural "%d items removed from Trash"
|
545 |
-
msgstr[0] "%d items verwijderd uit de prullenbak"
|
546 |
-
|
547 |
-
#: wp-optimize-common.php:614
|
548 |
-
#, fuzzy
|
549 |
-
msgid "%d spam comment deleted"
|
550 |
-
msgid_plural "%d spam comments deleted"
|
551 |
-
msgstr[0] "%d spam reacties verwijderd"
|
552 |
-
|
553 |
-
#: wp-optimize-common.php:645
|
554 |
-
#, fuzzy
|
555 |
-
msgid "%d unapproved comment deleted"
|
556 |
-
msgid_plural "%d unapproved comments deleted"
|
557 |
-
msgstr[0] "%d wachtende reacties verwijderd"
|
558 |
-
|
559 |
-
#: wp-optimize-common.php:651
|
560 |
-
#, fuzzy
|
561 |
-
msgid "%d pingback deleted"
|
562 |
-
msgid_plural "%d pingbacks deleted"
|
563 |
-
msgstr[0] "%d pingbacks verwijderd"
|
564 |
-
|
565 |
-
#: wp-optimize-common.php:657
|
566 |
-
#, fuzzy
|
567 |
-
msgid "%d trackback deleted"
|
568 |
-
msgid_plural "%d trackbacks deleted"
|
569 |
-
msgstr[0] "%d trackbacks verwijderd"
|
570 |
-
|
571 |
-
#: wp-optimize-common.php:664
|
572 |
-
msgid "Enabled weekly processing"
|
573 |
-
msgstr "Activeer wekelijkse verwerking"
|
574 |
-
|
575 |
-
#: wp-optimize-common.php:670
|
576 |
-
msgid "Disabled weekly processing"
|
577 |
-
msgstr "Deactiveer wekelijkse verwerking"
|
578 |
-
|
579 |
-
#: wp-optimize-common.php:679
|
580 |
-
msgid "NO Actions Taken"
|
581 |
-
msgstr "GEEN actie ondernomen"
|
582 |
-
|
583 |
-
#: wp-optimize-common.php:706
|
584 |
-
#, fuzzy
|
585 |
-
msgid "%d transient option in your database"
|
586 |
-
msgid_plural "%d transient options in your database"
|
587 |
-
msgstr[0] "%d transiënte opties in je database"
|
588 |
-
|
589 |
-
#: wp-optimize-common.php:708
|
590 |
-
msgid "No transient options found"
|
591 |
-
msgstr "Geen transiënte opties gevonden"
|
592 |
-
|
593 |
-
#: wp-optimize-common.php:717
|
594 |
-
#, fuzzy
|
595 |
-
msgid "%d orphaned postmeta in your database"
|
596 |
-
msgid_plural "%d orphaned postmeta in your database"
|
597 |
-
msgstr[0] "%d verweesde bericht metadata in je database"
|
598 |
-
|
599 |
-
#: wp-optimize-common.php:719
|
600 |
-
msgid "No orphaned postmeta in your database"
|
601 |
-
msgstr "Geen verweesde bericht metadata in je database"
|
602 |
-
|
603 |
-
#: wp-optimize-common.php:728
|
604 |
-
#, fuzzy
|
605 |
-
msgid "%d unused tag in your database"
|
606 |
-
msgid_plural "%d unused tags in your database"
|
607 |
-
msgstr[0] "%d ongebruikte tags in je database"
|
608 |
-
|
609 |
-
#: wp-optimize-common.php:730
|
610 |
-
msgid "No unused tags found"
|
611 |
-
msgstr "Geen ongebruikte tags gevonden"
|
612 |
-
|
613 |
-
#: wp-optimize-common.php:743
|
614 |
-
#, fuzzy
|
615 |
-
msgid "%d post revision in your database"
|
616 |
-
msgid_plural "%d post revisions in your database"
|
617 |
-
msgstr[0] "%d bericht revisies in je database"
|
618 |
-
|
619 |
-
#: wp-optimize-common.php:745
|
620 |
-
msgid "No post revisions found"
|
621 |
-
msgstr "Geen bericht revisies gevonden"
|
622 |
-
|
623 |
-
#: wp-optimize-common.php:758
|
624 |
-
#, fuzzy
|
625 |
-
msgid "%d auto draft post in your database"
|
626 |
-
msgid_plural "%d auto draft posts in your database"
|
627 |
-
msgstr[0] "%d automatisch(e) concept bericht(en) in je database"
|
628 |
-
|
629 |
-
#: wp-optimize-common.php:760
|
630 |
-
msgid "No auto draft posts found"
|
631 |
-
msgstr "Geen automatische bericht concepten gevonden"
|
632 |
-
|
633 |
-
#: wp-optimize-common.php:772
|
634 |
-
#, fuzzy
|
635 |
-
msgid "%d spam comment found"
|
636 |
-
msgid_plural "%d spam comments found"
|
637 |
-
msgstr[0] "%d spam reacties gevonden"
|
638 |
-
|
639 |
-
#: wp-optimize-common.php:772 wp-optimize-common.php:803
|
640 |
-
msgid "Review"
|
641 |
-
msgstr "Recensie"
|
642 |
-
|
643 |
-
#: wp-optimize-common.php:774
|
644 |
-
msgid "No spam comments found"
|
645 |
-
msgstr "Geen spam reacties gevonden"
|
646 |
-
|
647 |
-
#: wp-optimize-common.php:803
|
648 |
-
#, fuzzy
|
649 |
-
msgid "%d unapproved comment found"
|
650 |
-
msgid_plural "%d unapproved comments found"
|
651 |
-
msgstr[0] "%d wachtende reacties gevonden"
|
652 |
-
|
653 |
-
#: wp-optimize-common.php:805
|
654 |
-
msgid "No unapproved comments found"
|
655 |
-
msgstr "Geen wachtende reacties gevonden"
|
656 |
-
|
657 |
-
#: wp-optimize-common.php:813
|
658 |
-
#, fuzzy
|
659 |
-
msgid "%d Pingback found"
|
660 |
-
msgid_plural "%d Pingbacks found"
|
661 |
-
msgstr[0] "%d Pingbacks gevonden"
|
662 |
-
|
663 |
-
#: wp-optimize-common.php:815
|
664 |
-
msgid "No pingbacks found"
|
665 |
-
msgstr "Geen pingbacks gevonden"
|
666 |
-
|
667 |
-
#: wp-optimize-common.php:823
|
668 |
-
#, fuzzy
|
669 |
-
msgid "%d Trackback found"
|
670 |
-
msgid_plural "%d Trackbacks found"
|
671 |
-
msgstr[0] "%d Trackbacks gevonden"
|
672 |
-
|
673 |
-
#: wp-optimize-common.php:825
|
674 |
-
msgid "No trackbacks found"
|
675 |
-
msgstr "Geen trackbacks gevonden"
|
676 |
-
|
677 |
-
#: wp-optimize-common.php:831
|
678 |
-
msgid "nothing"
|
679 |
-
msgstr "niks"
|
680 |
-
|
681 |
-
#: wp-optimize-credits.php:14
|
682 |
-
msgid "Credits"
|
683 |
-
msgstr "Credits"
|
684 |
-
|
685 |
-
#: wp-optimize-credits.php:15
|
686 |
-
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
687 |
-
msgstr "WP-Optimize is begonnen als een tool voor mijn eigen projecten. Al snel werd mij duidelijk dat anderen er ook van zouden kunnen profiteren. Ik wil iedereen bedanken die deze plugin dagelijks gebruikt. Daarnaast wil ik alle vertalers bedanken en de mensen die hebben gedoneerd."
|
688 |
-
|
689 |
-
#: wp-optimize-credits.php:25
|
690 |
-
msgid "Share this plugin on Facebook"
|
691 |
-
msgstr "Deel deze plugin op Facebook"
|
692 |
-
|
693 |
-
#: wp-optimize-credits.php:38
|
694 |
-
msgid "Contributing Developers"
|
695 |
-
msgstr "Bijdragende Ontwikkelaars"
|
696 |
-
|
697 |
-
#: wp-optimize-credits.php:39
|
698 |
-
msgid "Help me make this plugin better"
|
699 |
-
msgstr "Help me om deze plugin beter te maken"
|
700 |
-
|
701 |
-
#: wp-optimize-credits.php:39
|
702 |
-
msgid "I am looking for contributing developers."
|
703 |
-
msgstr "Ik ben op zoek naar ontwikkelaars die willen bijdragen."
|
704 |
-
|
705 |
-
#: wp-optimize-credits.php:40
|
706 |
-
msgid "Your name and website will be credited here in the plugin"
|
707 |
-
msgstr "Je naam en website zullen worden genoemd in de plugin"
|
708 |
-
|
709 |
-
#: wp-optimize-credits.php:49
|
710 |
-
msgid "Translators"
|
711 |
-
msgstr "Vertalers"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Binary file
|
@@ -0,0 +1,896 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 WP-Optimize
|
2 |
+
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: WP-Optimize 1.9\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-optimize\n"
|
7 |
+
"POT-Creation-Date: 2016-06-21 08:40+0100\n"
|
8 |
+
"PO-Revision-Date: 2016-06-21 10:49+0100\n"
|
9 |
+
"Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
10 |
+
"Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
11 |
+
"Language: pt_PT\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.8.8\n"
|
16 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
19 |
+
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
|
20 |
+
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
21 |
+
"X-Poedit-Basepath: ..\n"
|
22 |
+
"X-Poedit-WPHeader: wp-optimize.php\n"
|
23 |
+
"X-Poedit-SearchPath-0: .\n"
|
24 |
+
|
25 |
+
#: wp-optimize-admin.php:25 wp-optimize-admin.php:44 wp-optimize.php:96
|
26 |
+
msgid "Optimizer"
|
27 |
+
msgstr "Optimizador"
|
28 |
+
|
29 |
+
#: wp-optimize-admin.php:28 wp-optimize-admin.php:47
|
30 |
+
msgid "MYSQL"
|
31 |
+
msgstr "MYSQL"
|
32 |
+
|
33 |
+
#: wp-optimize-admin.php:33 wp-optimize-admin.php:55 wp-optimize.php:95
|
34 |
+
msgid "Settings"
|
35 |
+
msgstr "Definições"
|
36 |
+
|
37 |
+
#: wp-optimize-admin.php:34 wp-optimize-admin.php:57
|
38 |
+
msgid "Info"
|
39 |
+
msgstr "Informações"
|
40 |
+
|
41 |
+
#: wp-optimize-admin.php:53 wp-optimize-tables.php:37
|
42 |
+
msgid "Tables"
|
43 |
+
msgstr "Tabelas"
|
44 |
+
|
45 |
+
#: wp-optimize-common.php:72
|
46 |
+
msgid "Automatic Operation Completed"
|
47 |
+
msgstr "Operação automática concluída"
|
48 |
+
|
49 |
+
#: wp-optimize-common.php:74
|
50 |
+
msgid "Scheduled optimization was executed at"
|
51 |
+
msgstr "Optimização agendada foi executada em"
|
52 |
+
|
53 |
+
#: wp-optimize-common.php:76
|
54 |
+
msgid "You can safely delete this email."
|
55 |
+
msgstr "Pode eliminar este email em segurança."
|
56 |
+
|
57 |
+
#: wp-optimize-common.php:78
|
58 |
+
msgid "Regards,"
|
59 |
+
msgstr "Cumprimentos,"
|
60 |
+
|
61 |
+
#: wp-optimize-common.php:79
|
62 |
+
msgid "WP-Optimize Plugin"
|
63 |
+
msgstr "Plugin WP-Optimize"
|
64 |
+
|
65 |
+
#: wp-optimize-common.php:533
|
66 |
+
msgid "GB"
|
67 |
+
msgstr "GB"
|
68 |
+
|
69 |
+
#: wp-optimize-common.php:535
|
70 |
+
msgid "MB"
|
71 |
+
msgstr "MB"
|
72 |
+
|
73 |
+
#: wp-optimize-common.php:537
|
74 |
+
msgid "KB"
|
75 |
+
msgstr "KB"
|
76 |
+
|
77 |
+
#: wp-optimize-common.php:539
|
78 |
+
msgid "bytes"
|
79 |
+
msgstr "bytes"
|
80 |
+
|
81 |
+
#: wp-optimize-common.php:629
|
82 |
+
#, php-format
|
83 |
+
msgid "%d transient option deleted"
|
84 |
+
msgid_plural "%d transient options deleted"
|
85 |
+
msgstr[0] "Foi eliminada %d opção transitória"
|
86 |
+
msgstr[1] "Foram eliminadas %d opções transitórias"
|
87 |
+
|
88 |
+
#: wp-optimize-common.php:637
|
89 |
+
#, php-format
|
90 |
+
msgid "%d orphaned postmeta deleted"
|
91 |
+
msgid_plural "%d orphaned postmeta deleted"
|
92 |
+
msgstr[0] "Foi eliminado %d metadado orfão de conteúdo"
|
93 |
+
msgstr[1] "Foram eliminados %d metadados orfãos de conteúdos"
|
94 |
+
|
95 |
+
#: wp-optimize-common.php:644
|
96 |
+
#, php-format
|
97 |
+
msgid "%d unused comment metadata item removed"
|
98 |
+
msgid_plural "%d unused comment metadata items removed"
|
99 |
+
msgstr[0] "Foi removido %d metadado de comentário não utilizado"
|
100 |
+
msgstr[1] "Foram removidos %d metadados de comentários não utilizados"
|
101 |
+
|
102 |
+
#: wp-optimize-common.php:650
|
103 |
+
#, php-format
|
104 |
+
msgid "%d unused akismet comment metadata item removed"
|
105 |
+
msgid_plural "%d unused akismet comment metadata items removed"
|
106 |
+
msgstr[0] "Foi removido %d metadado de comentário do akismet não utilizado"
|
107 |
+
msgstr[1] ""
|
108 |
+
"Foram removidos %d metadados de comentários do akismet não utilizados"
|
109 |
+
|
110 |
+
#: wp-optimize-common.php:659
|
111 |
+
#, php-format
|
112 |
+
msgid "%d orphaned meta data deleted"
|
113 |
+
msgid_plural "%d orphaned meta data deleted"
|
114 |
+
msgstr[0] "Foi eliminado %d metadado orfão"
|
115 |
+
msgstr[1] "Foram eliminados %d metadados orfãos"
|
116 |
+
|
117 |
+
#: wp-optimize-common.php:678
|
118 |
+
#, php-format
|
119 |
+
msgid "%d post revision deleted"
|
120 |
+
msgid_plural "%d post revisions deleted"
|
121 |
+
msgstr[0] "Foi eliminada %d revisão de conteúdo"
|
122 |
+
msgstr[1] "Foram eliminadas %d revisões de conteúdos"
|
123 |
+
|
124 |
+
#: wp-optimize-common.php:689
|
125 |
+
#, php-format
|
126 |
+
msgid "%d auto draft deleted"
|
127 |
+
msgid_plural "%d auto drafts deleted"
|
128 |
+
msgstr[0] "Foi eliminado %d rascunho automático"
|
129 |
+
msgstr[1] "Foram eliminados %d rascunhos automáticos"
|
130 |
+
|
131 |
+
#: wp-optimize-common.php:699
|
132 |
+
#, php-format
|
133 |
+
msgid "%d item removed from Trash"
|
134 |
+
msgid_plural "%d items removed from Trash"
|
135 |
+
msgstr[0] "Foi removido %d item do lixo"
|
136 |
+
msgstr[1] "Foram removidos %d itens do lixo"
|
137 |
+
|
138 |
+
#: wp-optimize-common.php:711
|
139 |
+
#, php-format
|
140 |
+
msgid "%d spam comment deleted"
|
141 |
+
msgid_plural "%d spam comments deleted"
|
142 |
+
msgstr[0] "Foi eliminado %d comentário de spam"
|
143 |
+
msgstr[1] "Foram eliminados %d comentários de spam"
|
144 |
+
|
145 |
+
#: wp-optimize-common.php:720
|
146 |
+
#, php-format
|
147 |
+
msgid "%d comment removed from Trash"
|
148 |
+
msgid_plural "%d comments removed from Trash"
|
149 |
+
msgstr[0] "Foi removido %d comentário do lixo"
|
150 |
+
msgstr[1] "Foram removidos %d comentários do lixo"
|
151 |
+
|
152 |
+
#: wp-optimize-common.php:731
|
153 |
+
#, php-format
|
154 |
+
msgid "%d unapproved comment deleted"
|
155 |
+
msgid_plural "%d unapproved comments deleted"
|
156 |
+
msgstr[0] "Foi eliminado %d comentário não aprovado"
|
157 |
+
msgstr[1] "Foram eliminados %d comentários não aprovados"
|
158 |
+
|
159 |
+
#: wp-optimize-common.php:737
|
160 |
+
#, php-format
|
161 |
+
msgid "%d pingback deleted"
|
162 |
+
msgid_plural "%d pingbacks deleted"
|
163 |
+
msgstr[0] "Foi eliminado %d pingback"
|
164 |
+
msgstr[1] "Foram eliminados %d pingbacks"
|
165 |
+
|
166 |
+
#: wp-optimize-common.php:743
|
167 |
+
#, php-format
|
168 |
+
msgid "%d trackback deleted"
|
169 |
+
msgid_plural "%d trackbacks deleted"
|
170 |
+
msgstr[0] "Foi eliminado %d trackback"
|
171 |
+
msgstr[1] "Foram eliminados %d trackbacks"
|
172 |
+
|
173 |
+
#: wp-optimize-common.php:749
|
174 |
+
msgid "Enabled weekly processing"
|
175 |
+
msgstr "Processamento semanal activado"
|
176 |
+
|
177 |
+
#: wp-optimize-common.php:755
|
178 |
+
msgid "Disabled weekly processing"
|
179 |
+
msgstr "Processamento semanal desactivado"
|
180 |
+
|
181 |
+
#: wp-optimize-common.php:764
|
182 |
+
msgid "NO Actions Taken"
|
183 |
+
msgstr "Não foi realizada nenhuma acção"
|
184 |
+
|
185 |
+
#: wp-optimize-common.php:791
|
186 |
+
#, php-format
|
187 |
+
msgid "%d transient option in your database"
|
188 |
+
msgid_plural "%d transient options in your database"
|
189 |
+
msgstr[0] "%d opção transitória na sua base de dados"
|
190 |
+
msgstr[1] "%d opções transitórias na sua base de dados"
|
191 |
+
|
192 |
+
#: wp-optimize-common.php:793
|
193 |
+
msgid "No transient options found"
|
194 |
+
msgstr "Não foram encontradas opções transitórias"
|
195 |
+
|
196 |
+
#: wp-optimize-common.php:802
|
197 |
+
#, php-format
|
198 |
+
msgid "%d orphaned post meta data in your database"
|
199 |
+
msgid_plural "%d orphaned postmeta in your database"
|
200 |
+
msgstr[0] "%d metadado orfão de conteúdo na sua base de dados"
|
201 |
+
msgstr[1] "%d metadados orfãos de conteúdos na sua base de dados"
|
202 |
+
|
203 |
+
#: wp-optimize-common.php:804
|
204 |
+
msgid "No orphaned post meta data in your database"
|
205 |
+
msgstr "Nenhum metadado orfão de conteúdo na sua base de dados"
|
206 |
+
|
207 |
+
#: wp-optimize-common.php:813
|
208 |
+
#, php-format
|
209 |
+
msgid "%d orphaned comment meta data in your database"
|
210 |
+
msgid_plural "%d orphaned comment meta data in your database"
|
211 |
+
msgstr[0] "%d metadado orfão de comentário na sua base de dados"
|
212 |
+
msgstr[1] "%d metadados orfãos de comentários na sua base de dados"
|
213 |
+
|
214 |
+
#: wp-optimize-common.php:815
|
215 |
+
msgid "No orphaned comment meta data in your database"
|
216 |
+
msgstr "Nenhum metadado orfão de comentário na sua base de dados"
|
217 |
+
|
218 |
+
#: wp-optimize-common.php:824
|
219 |
+
#, php-format
|
220 |
+
msgid "%d orphaned relationship data in your database"
|
221 |
+
msgid_plural "%d orphaned relationship data in your database"
|
222 |
+
msgstr[0] "%d dado orfão de relação na sua base de dados"
|
223 |
+
msgstr[1] "%d dados orfãos de relação na sua base de dados"
|
224 |
+
|
225 |
+
#: wp-optimize-common.php:826
|
226 |
+
msgid "No orphaned relationship data in your database"
|
227 |
+
msgstr "Nenhum dado orfão de relação na sua base de dados"
|
228 |
+
|
229 |
+
#: wp-optimize-common.php:851
|
230 |
+
#, php-format
|
231 |
+
msgid "%d post revision in your database"
|
232 |
+
msgid_plural "%d post revisions in your database"
|
233 |
+
msgstr[0] "%d revisão de conteúdo na sua base de dados"
|
234 |
+
msgstr[1] "%d revisões de conteúdos na sua base de dados"
|
235 |
+
|
236 |
+
#: wp-optimize-common.php:853
|
237 |
+
msgid "No post revisions found"
|
238 |
+
msgstr "Não foram encontradas revisões de conteúdos"
|
239 |
+
|
240 |
+
#: wp-optimize-common.php:866
|
241 |
+
#, php-format
|
242 |
+
msgid "%d auto draft post in your database"
|
243 |
+
msgid_plural "%d auto draft posts in your database"
|
244 |
+
msgstr[0] "%d rascunho automático de conteúdo na sua base de dados"
|
245 |
+
msgstr[1] "%d rascunhos automáticos de conteúdos na sua base de dados"
|
246 |
+
|
247 |
+
#: wp-optimize-common.php:868
|
248 |
+
msgid "No auto draft posts found"
|
249 |
+
msgstr "Não foram encontrados rascunhos automáticos de conteúdos"
|
250 |
+
|
251 |
+
#: wp-optimize-common.php:880
|
252 |
+
#, php-format
|
253 |
+
msgid "%d spam comment found"
|
254 |
+
msgid_plural "%d spam comments found"
|
255 |
+
msgstr[0] "%d comentário de spam"
|
256 |
+
msgstr[1] "%d comentários de spam"
|
257 |
+
|
258 |
+
#: wp-optimize-common.php:880 wp-optimize-common.php:894
|
259 |
+
msgid "Review"
|
260 |
+
msgstr "Rever"
|
261 |
+
|
262 |
+
#: wp-optimize-common.php:882
|
263 |
+
msgid "No spam comments found"
|
264 |
+
msgstr "Não foram encontrados comentários de spam"
|
265 |
+
|
266 |
+
#: wp-optimize-common.php:894
|
267 |
+
#, php-format
|
268 |
+
msgid "%d unapproved comment found"
|
269 |
+
msgid_plural "%d unapproved comments found"
|
270 |
+
msgstr[0] "%d comentário não aprovado"
|
271 |
+
msgstr[1] "%d comentários não aprovados"
|
272 |
+
|
273 |
+
#: wp-optimize-common.php:896
|
274 |
+
msgid "No unapproved comments found"
|
275 |
+
msgstr "Não foram encontrados comentários não aprovados"
|
276 |
+
|
277 |
+
#: wp-optimize-common.php:904
|
278 |
+
#, php-format
|
279 |
+
msgid "%d Pingback found"
|
280 |
+
msgid_plural "%d Pingbacks found"
|
281 |
+
msgstr[0] "%d pingback encontrado"
|
282 |
+
msgstr[1] "%d pingbacks encontrados"
|
283 |
+
|
284 |
+
#: wp-optimize-common.php:906
|
285 |
+
msgid "No pingbacks found"
|
286 |
+
msgstr "Não foram encontrados pingbacks"
|
287 |
+
|
288 |
+
#: wp-optimize-common.php:914
|
289 |
+
#, php-format
|
290 |
+
msgid "%d Trackback found"
|
291 |
+
msgid_plural "%d Trackbacks found"
|
292 |
+
msgstr[0] "%d trackback encontrado"
|
293 |
+
msgstr[1] "%d trackbacks encontrados"
|
294 |
+
|
295 |
+
#: wp-optimize-common.php:916
|
296 |
+
msgid "No trackbacks found"
|
297 |
+
msgstr "Não foram encontrados trackbacks"
|
298 |
+
|
299 |
+
#: wp-optimize-common.php:922
|
300 |
+
msgid "nothing"
|
301 |
+
msgstr "nada"
|
302 |
+
|
303 |
+
#: wp-optimize-credits.php:14
|
304 |
+
msgid "Credits"
|
305 |
+
msgstr "Créditos"
|
306 |
+
|
307 |
+
#: wp-optimize-credits.php:16
|
308 |
+
msgid ""
|
309 |
+
"WP-Optimize started as a utility for my own projects. I soon realized, that "
|
310 |
+
"this plugin might help a lot of people. I am personally thanking all of the "
|
311 |
+
"users who use this plugin on a daily basis. Also, thank you to all of the "
|
312 |
+
"translators and the generous people who have donated to this project."
|
313 |
+
msgstr ""
|
314 |
+
"O WP-Optimize começou como um utilitário para os meus próprios projectos. "
|
315 |
+
"Rapidamente percebi que este plugin poderá ajudar muita gente. Agradeço "
|
316 |
+
"pessoalmente a todos os que usam este plugin diariamente. Agradeço também a "
|
317 |
+
"todos os tradutores e pessoas generosas que fizeram donativos para este "
|
318 |
+
"projecto."
|
319 |
+
|
320 |
+
#: wp-optimize-credits.php:33
|
321 |
+
msgid "Contributing Developers"
|
322 |
+
msgstr "Programadores que contribuem"
|
323 |
+
|
324 |
+
#: wp-optimize-credits.php:35
|
325 |
+
msgid "Help me make this plugin better"
|
326 |
+
msgstr "Ajude-me a melhorar este plugin"
|
327 |
+
|
328 |
+
#: wp-optimize-credits.php:35
|
329 |
+
msgid "I am looking for contributing developers."
|
330 |
+
msgstr "Estou à procura de programadores que possam contribuir."
|
331 |
+
|
332 |
+
#: wp-optimize-credits.php:37
|
333 |
+
msgid "Your name and website will be credited here in the plugin."
|
334 |
+
msgstr "O seu nome e site serão creditados aqui no plugin."
|
335 |
+
|
336 |
+
#: wp-optimize-credits.php:46
|
337 |
+
msgid "Plugin Resources"
|
338 |
+
msgstr "Recursos do plugin"
|
339 |
+
|
340 |
+
#: wp-optimize-credits.php:48
|
341 |
+
msgid "Plugin Translation Portal (needs WordPress account)"
|
342 |
+
msgstr "Portal de tradução do plugin (tem que ter conta WordPress)"
|
343 |
+
|
344 |
+
#: wp-optimize-credits.php:51
|
345 |
+
msgid "Plugin Homepage"
|
346 |
+
msgstr "Página do plugin"
|
347 |
+
|
348 |
+
#: wp-optimize-credits.php:54
|
349 |
+
msgid "Support (GitHub)"
|
350 |
+
msgstr "Suporte (GitHub)"
|
351 |
+
|
352 |
+
#: wp-optimize-credits.php:57
|
353 |
+
msgid "Support E-mail"
|
354 |
+
msgstr "Email de suporte"
|
355 |
+
|
356 |
+
#: wp-optimize-credits.php:60
|
357 |
+
msgid "Change Log"
|
358 |
+
msgstr "Registo de alterações"
|
359 |
+
|
360 |
+
#: wp-optimize-credits.php:63
|
361 |
+
msgid "FAQ"
|
362 |
+
msgstr "Perguntas frequentes"
|
363 |
+
|
364 |
+
#: wp-optimize-credits.php:73
|
365 |
+
msgid "What's New"
|
366 |
+
msgstr "O que há de novo"
|
367 |
+
|
368 |
+
#: wp-optimize-credits.php:84
|
369 |
+
msgid "GitHub - Develop Branch"
|
370 |
+
msgstr "GitHub - Develop Branch"
|
371 |
+
|
372 |
+
#: wp-optimize-credits.php:104
|
373 |
+
msgid "No items"
|
374 |
+
msgstr "Nenhum item"
|
375 |
+
|
376 |
+
#: wp-optimize-main.php:84
|
377 |
+
#, php-format
|
378 |
+
msgctxt "%s is the Database Name"
|
379 |
+
msgid "%s Database Optimized!"
|
380 |
+
msgstr "Base de dados %s optimizada!"
|
381 |
+
|
382 |
+
#: wp-optimize-main.php:167
|
383 |
+
msgid ""
|
384 |
+
"Transient options are automatically re-created by WordPress. Select this "
|
385 |
+
"option, if you have a large number of Transient."
|
386 |
+
msgstr ""
|
387 |
+
"As opções transitórias são recriadas automaticamente pelo WordPress. "
|
388 |
+
"Seleccione esta opção se tiver um número elevado de opções transitórias."
|
389 |
+
|
390 |
+
#: wp-optimize-main.php:170
|
391 |
+
msgid "This will delete all pingbacks in the database. Are you sure?"
|
392 |
+
msgstr "Isto eliminará todos os pingbacks da sua base de dados. Tem a certeza?"
|
393 |
+
|
394 |
+
#: wp-optimize-main.php:173
|
395 |
+
msgid "This will delete all trackbacks in the database. Are you sure?"
|
396 |
+
msgstr ""
|
397 |
+
"Isto eliminará todos os trackbacks da sua base de dados. Tem a certeza?"
|
398 |
+
|
399 |
+
#: wp-optimize-main.php:176
|
400 |
+
msgid ""
|
401 |
+
"Cleaning up post meta can have unexpected results on some servers. Are you "
|
402 |
+
"sure?"
|
403 |
+
msgstr ""
|
404 |
+
"Limpar metadados de conteúdos pode ter resultados inesperados em alguns "
|
405 |
+
"servidores. Tem a certeza?"
|
406 |
+
|
407 |
+
#: wp-optimize-main.php:179
|
408 |
+
msgid ""
|
409 |
+
"Cleaning up comments meta can have unexpected results on some servers. Are "
|
410 |
+
"you sure?"
|
411 |
+
msgstr ""
|
412 |
+
"Limpar metadados de comentários pode ter resultados inesperados em alguns "
|
413 |
+
"servidores. Tem a certeza?"
|
414 |
+
|
415 |
+
#: wp-optimize-main.php:182
|
416 |
+
msgid ""
|
417 |
+
"Cleaning up orphaned post relationship data can have unexpected result. Are "
|
418 |
+
"you sure?"
|
419 |
+
msgstr ""
|
420 |
+
"Limpar dados orfãos de relação pode ter resultados inesperados em alguns "
|
421 |
+
"servidores. Tem a certeza?"
|
422 |
+
|
423 |
+
#: wp-optimize-main.php:191
|
424 |
+
msgid "WARNING: This operation is permanent. Continue?"
|
425 |
+
msgstr "AVISO: Esta operação é irreversível. Continuar?"
|
426 |
+
|
427 |
+
#: wp-optimize-main.php:195
|
428 |
+
msgid "Clean-up options"
|
429 |
+
msgstr "Opções de limpeza"
|
430 |
+
|
431 |
+
#: wp-optimize-main.php:204
|
432 |
+
#, php-format
|
433 |
+
msgid "Clean post revisions which are older than %d weeks"
|
434 |
+
msgstr "Limpar revisões de conteúdos com mais de %d semanas"
|
435 |
+
|
436 |
+
#: wp-optimize-main.php:206
|
437 |
+
msgid "Clean all post revisions"
|
438 |
+
msgstr "Limpar todas as revisões de conteúdos"
|
439 |
+
|
440 |
+
#: wp-optimize-main.php:217
|
441 |
+
#, php-format
|
442 |
+
msgid "Clean auto draft posts which are older than %d weeks"
|
443 |
+
msgstr "Limpar rascunhos automáticos de conteúdos com mais de %d semanas"
|
444 |
+
|
445 |
+
#: wp-optimize-main.php:219
|
446 |
+
msgid "Clean all auto draft posts and posts in trash"
|
447 |
+
msgstr "Limpar todos os rascunhos automáticos de conteúdos e conteúdos no lixo"
|
448 |
+
|
449 |
+
#: wp-optimize-main.php:230
|
450 |
+
#, php-format
|
451 |
+
msgid "Remove spam comments which are older than %d weeks"
|
452 |
+
msgstr "Remover comentários de spam com mais de %d semanas"
|
453 |
+
|
454 |
+
#: wp-optimize-main.php:232
|
455 |
+
msgid "Remove spam comments and comments in trash"
|
456 |
+
msgstr "Remover comentários de spam e comentários no lixo"
|
457 |
+
|
458 |
+
#: wp-optimize-main.php:243
|
459 |
+
#, php-format
|
460 |
+
msgid "Remove unapproved comments which are older than %d weeks"
|
461 |
+
msgstr "Remover comentários não aprovados com mais de %d semanas"
|
462 |
+
|
463 |
+
#: wp-optimize-main.php:245 wp-optimize-settings.php:248
|
464 |
+
msgid "Remove unapproved comments"
|
465 |
+
msgstr "Remover comentários não aprovados"
|
466 |
+
|
467 |
+
#: wp-optimize-main.php:254 wp-optimize-settings.php:252
|
468 |
+
msgid "Remove transient options"
|
469 |
+
msgstr "Remover opções transitórias"
|
470 |
+
|
471 |
+
#: wp-optimize-main.php:262
|
472 |
+
msgid "Remove pingbacks"
|
473 |
+
msgstr "Remover pingbacks"
|
474 |
+
|
475 |
+
#: wp-optimize-main.php:270
|
476 |
+
msgid "Remove trackbacks"
|
477 |
+
msgstr "Remover trackbacks"
|
478 |
+
|
479 |
+
#: wp-optimize-main.php:280
|
480 |
+
msgid "Clean post meta data"
|
481 |
+
msgstr "Limpar metadados de conteúdos"
|
482 |
+
|
483 |
+
#: wp-optimize-main.php:289
|
484 |
+
msgid "Clean comment meta data"
|
485 |
+
msgstr "Limpar metadados de comentários"
|
486 |
+
|
487 |
+
#: wp-optimize-main.php:298
|
488 |
+
msgid "Clean orphaned relationship data"
|
489 |
+
msgstr "Limpar dados orfãos de relação"
|
490 |
+
|
491 |
+
#: wp-optimize-main.php:305
|
492 |
+
msgid ""
|
493 |
+
"WARNING: Do not select RED marked items, they may have unexpected results"
|
494 |
+
msgstr ""
|
495 |
+
"AVISO: Não seleccione os itens marcados a VERMELHO, poderão produzir "
|
496 |
+
"resultados inesperados."
|
497 |
+
|
498 |
+
#: wp-optimize-main.php:309 wp-optimize-settings.php:180
|
499 |
+
msgid "Optimize YouTube embedding with this free plugin on WordPress.org"
|
500 |
+
msgstr ""
|
501 |
+
"Optimize a incorporação do YouTube com este plugin gratuito no WordPress.org"
|
502 |
+
|
503 |
+
#: wp-optimize-main.php:318
|
504 |
+
msgid "Actions"
|
505 |
+
msgstr "Acções"
|
506 |
+
|
507 |
+
#: wp-optimize-main.php:326
|
508 |
+
msgid "Optimize database tables"
|
509 |
+
msgstr "Optimizar as tabelas da base de dados"
|
510 |
+
|
511 |
+
#: wp-optimize-main.php:332
|
512 |
+
msgid "Note:"
|
513 |
+
msgstr "Nota:"
|
514 |
+
|
515 |
+
#: wp-optimize-main.php:334
|
516 |
+
msgid "InnoDB tables will not be optimized"
|
517 |
+
msgstr "Tabelas InnoDB não serão optimizadas"
|
518 |
+
|
519 |
+
#: wp-optimize-main.php:338
|
520 |
+
msgid "Select safe options"
|
521 |
+
msgstr "Seleccione opções de segurança"
|
522 |
+
|
523 |
+
#: wp-optimize-main.php:339
|
524 |
+
msgid "Warning:"
|
525 |
+
msgstr "Aviso:"
|
526 |
+
|
527 |
+
#: wp-optimize-main.php:341
|
528 |
+
msgid "Always make a backup of your DB when you upgrade to major versions"
|
529 |
+
msgstr ""
|
530 |
+
"Faça sempre uma cópia de segurança da sua base de dados quando actualizar "
|
531 |
+
"para versões principais"
|
532 |
+
|
533 |
+
#: wp-optimize-main.php:345
|
534 |
+
msgid "PROCESS"
|
535 |
+
msgstr "Processar"
|
536 |
+
|
537 |
+
#: wp-optimize-main.php:348
|
538 |
+
msgid "Please donate! It really helps me improving the plugin."
|
539 |
+
msgstr "Por favor faça um donativo! Isto ajuda-me a melhorar o plugin."
|
540 |
+
|
541 |
+
#: wp-optimize-main.php:348
|
542 |
+
msgid "Donate!"
|
543 |
+
msgstr "Doar!"
|
544 |
+
|
545 |
+
#: wp-optimize-main.php:349
|
546 |
+
msgid "Please give a proper rating :)"
|
547 |
+
msgstr "Por favor dê uma classificação apropriada :)"
|
548 |
+
|
549 |
+
#: wp-optimize-main.php:350
|
550 |
+
msgid "Rating"
|
551 |
+
msgstr "Classificar"
|
552 |
+
|
553 |
+
#: wp-optimize-main.php:353
|
554 |
+
msgid "Status log"
|
555 |
+
msgstr "Registo de estado"
|
556 |
+
|
557 |
+
#: wp-optimize-main.php:359
|
558 |
+
msgid "Last automatic optimization was at"
|
559 |
+
msgstr "A última optimização automática ocorreu em"
|
560 |
+
|
561 |
+
#: wp-optimize-main.php:370
|
562 |
+
msgid "There was no automatic optimization"
|
563 |
+
msgstr "Não ocorreu nenhuma optimização automática"
|
564 |
+
|
565 |
+
#: wp-optimize-main.php:385
|
566 |
+
msgid "Scheduled cleaning enabled"
|
567 |
+
msgstr "Limpeza agendada activada"
|
568 |
+
|
569 |
+
#: wp-optimize-main.php:397
|
570 |
+
msgid "Next schedule:"
|
571 |
+
msgstr "próximo agendamento:"
|
572 |
+
|
573 |
+
#: wp-optimize-main.php:408
|
574 |
+
msgid "Refresh"
|
575 |
+
msgstr "Actualizar"
|
576 |
+
|
577 |
+
#: wp-optimize-main.php:416
|
578 |
+
msgid "Scheduled cleaning disabled"
|
579 |
+
msgstr "Limpeza agendada desactivada"
|
580 |
+
|
581 |
+
#: wp-optimize-main.php:419 wp-optimize-main.php:440
|
582 |
+
msgid "Check settings"
|
583 |
+
msgstr "Verifique as definições"
|
584 |
+
|
585 |
+
#: wp-optimize-main.php:430
|
586 |
+
#, php-format
|
587 |
+
msgid "Keeping last %s weeks data"
|
588 |
+
msgstr "A manter os dados das últimas %s semanas"
|
589 |
+
|
590 |
+
#: wp-optimize-main.php:437
|
591 |
+
msgid "Not keeping recent data"
|
592 |
+
msgstr "Não manter dados recentes"
|
593 |
+
|
594 |
+
#: wp-optimize-main.php:451 wp-optimize-main.php:463
|
595 |
+
msgid "Current database size:"
|
596 |
+
msgstr "Tamanho actual da base de dados:"
|
597 |
+
|
598 |
+
#: wp-optimize-main.php:456
|
599 |
+
msgid "You have saved:"
|
600 |
+
msgstr "Recuperou:"
|
601 |
+
|
602 |
+
#: wp-optimize-main.php:471
|
603 |
+
msgid "You can save almost:"
|
604 |
+
msgstr "Poderá recuperar quase:"
|
605 |
+
|
606 |
+
#: wp-optimize-main.php:485
|
607 |
+
msgid "Total clean up overall:"
|
608 |
+
msgstr "Total de limpezas efectuadas:"
|
609 |
+
|
610 |
+
#: wp-optimize-main.php:502
|
611 |
+
msgid "Sponsor"
|
612 |
+
msgstr "Patrocinador"
|
613 |
+
|
614 |
+
#: wp-optimize-settings.php:87
|
615 |
+
msgid "Trackbacks disabled on all current and previously published posts"
|
616 |
+
msgstr ""
|
617 |
+
"Foram desactivados os trackbacks em todos os conteúdos actuais e publicados "
|
618 |
+
"anteriormente"
|
619 |
+
|
620 |
+
#: wp-optimize-settings.php:93
|
621 |
+
msgid "Trackbacks enabled on all current and previously published posts"
|
622 |
+
msgstr ""
|
623 |
+
"Foram activados os trackbacks em todos os conteúdos actuais e publicados "
|
624 |
+
"anteriormente"
|
625 |
+
|
626 |
+
#: wp-optimize-settings.php:102
|
627 |
+
msgid "Comments disabled on all current and previously published posts"
|
628 |
+
msgstr ""
|
629 |
+
"Foram desactivados os comentários em todos os conteúdos actuais e publicados "
|
630 |
+
"anteriormente"
|
631 |
+
|
632 |
+
#: wp-optimize-settings.php:108
|
633 |
+
msgid "Comments enabled on all current and previously published posts"
|
634 |
+
msgstr ""
|
635 |
+
"Foram activados os comentários em todos os conteúdos actuais e publicados "
|
636 |
+
"anteriormente"
|
637 |
+
|
638 |
+
#: wp-optimize-settings.php:113
|
639 |
+
msgid "Settings updated"
|
640 |
+
msgstr "Definições actualizadas"
|
641 |
+
|
642 |
+
#: wp-optimize-settings.php:123
|
643 |
+
msgid "General Settings"
|
644 |
+
msgstr "Definições gerais"
|
645 |
+
|
646 |
+
#: wp-optimize-settings.php:128
|
647 |
+
#, php-format
|
648 |
+
msgid "Keep last %s weeks data"
|
649 |
+
msgstr "Manter os dados das últimas %s semanas"
|
650 |
+
|
651 |
+
#: wp-optimize-settings.php:141
|
652 |
+
msgid ""
|
653 |
+
"This option will retain the last selected weeks data and remove any garbage "
|
654 |
+
"data before that period. This will also affect Auto Clean-up process"
|
655 |
+
msgstr ""
|
656 |
+
"Esta opção manterá os dados das últimas semanas e removerá quaisquer dados "
|
657 |
+
"desnecessários anteriores a esse período. Isto também afecta o processo de "
|
658 |
+
"limpeza automática"
|
659 |
+
|
660 |
+
#: wp-optimize-settings.php:146
|
661 |
+
msgid "Enable admin bar link"
|
662 |
+
msgstr "Activar ligação na barra de administração"
|
663 |
+
|
664 |
+
#: wp-optimize-settings.php:149
|
665 |
+
msgid "(Click here to refresh)"
|
666 |
+
msgstr "(clique aqui para actualizar)"
|
667 |
+
|
668 |
+
#: wp-optimize-settings.php:153
|
669 |
+
msgid ""
|
670 |
+
"This option will put WP-Optimize link on the top admin bar (default is off). "
|
671 |
+
"Requires page refresh."
|
672 |
+
msgstr ""
|
673 |
+
"Esta opção coloca a ligação do WP-Optimize na barra superior da "
|
674 |
+
"administração (por omissão está desligado). Requer atualização da página."
|
675 |
+
|
676 |
+
#: wp-optimize-settings.php:155
|
677 |
+
msgid "Trackback/Comments Actions"
|
678 |
+
msgstr "Acções de trackbacks/comentários"
|
679 |
+
|
680 |
+
#: wp-optimize-settings.php:157
|
681 |
+
msgid "Disable/Enable Trackbacks"
|
682 |
+
msgstr "Activar/desactivar trackbacks"
|
683 |
+
|
684 |
+
#: wp-optimize-settings.php:160 wp-optimize-settings.php:171
|
685 |
+
msgid "SELECT"
|
686 |
+
msgstr "Seleccionar"
|
687 |
+
|
688 |
+
#: wp-optimize-settings.php:161 wp-optimize-settings.php:172
|
689 |
+
msgid "Disable"
|
690 |
+
msgstr "Desactivar"
|
691 |
+
|
692 |
+
#: wp-optimize-settings.php:162 wp-optimize-settings.php:173
|
693 |
+
msgid "Enable"
|
694 |
+
msgstr "Activar"
|
695 |
+
|
696 |
+
#: wp-optimize-settings.php:165
|
697 |
+
msgid ""
|
698 |
+
"This will disable/enable Trackbacks on all your current and previously "
|
699 |
+
"published posts"
|
700 |
+
msgstr ""
|
701 |
+
"Isto desactivará/activará os trackbacks em todos os conteúdos actuais e "
|
702 |
+
"publicados anteriormente"
|
703 |
+
|
704 |
+
#: wp-optimize-settings.php:168
|
705 |
+
msgid "Disable/Enable Comments"
|
706 |
+
msgstr "Desactivar/activar comentários"
|
707 |
+
|
708 |
+
#: wp-optimize-settings.php:176
|
709 |
+
msgid ""
|
710 |
+
"This will disable/enable Comments on all your current and previously "
|
711 |
+
"published posts"
|
712 |
+
msgstr ""
|
713 |
+
"Isto desactivará/activará os comentários em todos os conteúdos actuais e "
|
714 |
+
"publicados anteriormente"
|
715 |
+
|
716 |
+
#: wp-optimize-settings.php:183
|
717 |
+
msgid "SAVE SETTINGS"
|
718 |
+
msgstr "Guardar definições"
|
719 |
+
|
720 |
+
#: wp-optimize-settings.php:193
|
721 |
+
msgid "Auto Clean-up Settings"
|
722 |
+
msgstr "Definições de limpeza automática"
|
723 |
+
|
724 |
+
#: wp-optimize-settings.php:196
|
725 |
+
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
726 |
+
msgstr "Activar limpeza e optimização agendadas (recurso Beta!)"
|
727 |
+
|
728 |
+
#: wp-optimize-settings.php:198
|
729 |
+
msgid "Select schedule type (default is Weekly)"
|
730 |
+
msgstr "Seleccione o tipo de agendamento (por omissão é semanal)"
|
731 |
+
|
732 |
+
#: wp-optimize-settings.php:205 wp-optimize-settings.php:225
|
733 |
+
msgid "Every day"
|
734 |
+
msgstr "Todos os dias"
|
735 |
+
|
736 |
+
#: wp-optimize-settings.php:209 wp-optimize-settings.php:221
|
737 |
+
#: wp-optimize-settings.php:226
|
738 |
+
msgid "Every week"
|
739 |
+
msgstr "A cada semana"
|
740 |
+
|
741 |
+
#: wp-optimize-settings.php:213 wp-optimize-settings.php:227
|
742 |
+
msgid "Every other week (every 14 days)"
|
743 |
+
msgstr "A cada duas semanas (14 dias)"
|
744 |
+
|
745 |
+
#: wp-optimize-settings.php:217 wp-optimize-settings.php:228
|
746 |
+
msgid "Every month (every 31 days)"
|
747 |
+
msgstr "A cada mês (31 dias)"
|
748 |
+
|
749 |
+
#: wp-optimize-settings.php:231
|
750 |
+
msgid "Automatic cleanup will perform the following:"
|
751 |
+
msgstr "A limpeza automática fará o seguinte:"
|
752 |
+
|
753 |
+
#: wp-optimize-settings.php:233
|
754 |
+
msgid ""
|
755 |
+
"Remove revisions, auto drafts, posts/comments in trash, transient options. "
|
756 |
+
"After that it will optimize the db."
|
757 |
+
msgstr ""
|
758 |
+
"Remover as revisões, cópias automáticas, comentários no lixo, opções "
|
759 |
+
"transitórias. De seguida a base de dados será optimizada."
|
760 |
+
|
761 |
+
#: wp-optimize-settings.php:236
|
762 |
+
msgid ""
|
763 |
+
"These options will only work if the automatic clean-up schedule has been "
|
764 |
+
"enabled"
|
765 |
+
msgstr ""
|
766 |
+
"Estas opções só funcionarão se o agendamento de limpeza automática estiver "
|
767 |
+
"activado"
|
768 |
+
|
769 |
+
#: wp-optimize-settings.php:239
|
770 |
+
msgid "Remove auto revisions"
|
771 |
+
msgstr "Remover revisões automáticas"
|
772 |
+
|
773 |
+
#: wp-optimize-settings.php:242
|
774 |
+
msgid "Remove auto drafts"
|
775 |
+
msgstr "Remover rascunhos automáticos"
|
776 |
+
|
777 |
+
#: wp-optimize-settings.php:245
|
778 |
+
msgid "Remove spam comments"
|
779 |
+
msgstr "Remover comentários de spam"
|
780 |
+
|
781 |
+
#: wp-optimize-settings.php:255
|
782 |
+
msgid "Remove orphaned post meta"
|
783 |
+
msgstr "Remover metadados orfãos"
|
784 |
+
|
785 |
+
#: wp-optimize-settings.php:258
|
786 |
+
msgid "Remove unused tags"
|
787 |
+
msgstr "Remover etiquetas não utilizadas"
|
788 |
+
|
789 |
+
#: wp-optimize-settings.php:261
|
790 |
+
msgid "Optimize database"
|
791 |
+
msgstr "Optimizar base de dados"
|
792 |
+
|
793 |
+
#: wp-optimize-settings.php:266
|
794 |
+
msgid "InnoDB tables will not be optimized!"
|
795 |
+
msgstr "As tabelas InnoDB não serão optimizadas!"
|
796 |
+
|
797 |
+
#: wp-optimize-settings.php:284
|
798 |
+
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
799 |
+
msgstr "Guardar definições de limpeza automática"
|
800 |
+
|
801 |
+
#: wp-optimize-tables.php:20
|
802 |
+
msgid "Database Name:"
|
803 |
+
msgstr "Nome da base de dados:"
|
804 |
+
|
805 |
+
#: wp-optimize-tables.php:28
|
806 |
+
msgid "Optimized all the tables found in the database."
|
807 |
+
msgstr "Foram optimizadas todas as tabelas encontradas na base de dados."
|
808 |
+
|
809 |
+
#: wp-optimize-tables.php:36
|
810 |
+
msgid "No."
|
811 |
+
msgstr "Nº"
|
812 |
+
|
813 |
+
#: wp-optimize-tables.php:38
|
814 |
+
msgid "Records"
|
815 |
+
msgstr "Registos"
|
816 |
+
|
817 |
+
#: wp-optimize-tables.php:39
|
818 |
+
msgid "Data Size"
|
819 |
+
msgstr "Tamanho dos dados"
|
820 |
+
|
821 |
+
#: wp-optimize-tables.php:40
|
822 |
+
msgid "Index Size"
|
823 |
+
msgstr "Tamanho do índice"
|
824 |
+
|
825 |
+
#: wp-optimize-tables.php:41
|
826 |
+
msgid "Type"
|
827 |
+
msgstr "Tipo"
|
828 |
+
|
829 |
+
#: wp-optimize-tables.php:42
|
830 |
+
msgid "Overhead"
|
831 |
+
msgstr "Excesso"
|
832 |
+
|
833 |
+
#: wp-optimize-tables.php:137
|
834 |
+
msgid "Total:"
|
835 |
+
msgstr "Total:"
|
836 |
+
|
837 |
+
#: wp-optimize-tables.php:138
|
838 |
+
#, php-format
|
839 |
+
msgid "%d Table"
|
840 |
+
msgid_plural "%d Tables"
|
841 |
+
msgstr[0] "%d tabela"
|
842 |
+
msgstr[1] "%d tabelas"
|
843 |
+
|
844 |
+
#: wp-optimize-tables.php:139
|
845 |
+
#, php-format
|
846 |
+
msgid "%d Record"
|
847 |
+
msgid_plural "%d Records"
|
848 |
+
msgstr[0] "%d registo"
|
849 |
+
msgstr[1] "%d registos"
|
850 |
+
|
851 |
+
#: wp-optimize-tables.php:179
|
852 |
+
msgid "Total Size of Database:"
|
853 |
+
msgstr "Tamanho total da base de dados:"
|
854 |
+
|
855 |
+
#: wp-optimize-tables.php:191
|
856 |
+
msgid "Optimization Results:"
|
857 |
+
msgstr "Resultados da optimização:"
|
858 |
+
|
859 |
+
#: wp-optimize-tables.php:196
|
860 |
+
msgid "Total Space Saved:"
|
861 |
+
msgstr "Total de espaço recuperado:"
|
862 |
+
|
863 |
+
#: wp-optimize-tables.php:207
|
864 |
+
msgid "Optimization Possibility:"
|
865 |
+
msgstr "Estimativa de optimização:"
|
866 |
+
|
867 |
+
#: wp-optimize-tables.php:213
|
868 |
+
msgid "Total space that can be saved:"
|
869 |
+
msgstr "Total de espaço que pode ser recuperado:"
|
870 |
+
|
871 |
+
#. Plugin Name of the plugin/theme
|
872 |
+
msgid "WP-Optimize"
|
873 |
+
msgstr "WP-Optimize"
|
874 |
+
|
875 |
+
#. Plugin URI of the plugin/theme
|
876 |
+
msgid "http://wp-optimize.ruhanirabin.com/"
|
877 |
+
msgstr "http://wp-optimize.ruhanirabin.com/"
|
878 |
+
|
879 |
+
#. Description of the plugin/theme
|
880 |
+
msgid ""
|
881 |
+
"This plugin helps you to keep your database clean by removing post revisions "
|
882 |
+
"and spam in a blaze. Additionally, it allows you to run the optimize command "
|
883 |
+
"on your WordPress core tables (please use with caution)."
|
884 |
+
msgstr ""
|
885 |
+
"Este plugin ajuda-o a manter a sua base de dados limpa, removendo as "
|
886 |
+
"revisões de conteúdos e spam num ápice. Permite-lhe ainda executar o comando "
|
887 |
+
"de optimização das tabelas principais do seu WordPress (utilizar com "
|
888 |
+
"cuidado)."
|
889 |
+
|
890 |
+
#. Author of the plugin/theme
|
891 |
+
msgid "Ruhani Rabin"
|
892 |
+
msgstr "Ruhani Rabin"
|
893 |
+
|
894 |
+
#. Author URI of the plugin/theme
|
895 |
+
msgid "https://github.com/ruhanirabin/WP-Optimize"
|
896 |
+
msgstr "https://github.com/ruhanirabin/WP-Optimize"
|
Binary file
|
@@ -1,782 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 WP-Optimize
|
2 |
-
# This file is distributed under the same license as the WP-Optimize package.
|
3 |
-
#, fuzzy
|
4 |
-
msgid ""
|
5 |
-
msgstr ""
|
6 |
-
"Project-Id-Version: WP-Optimize 1.8.9.8\n"
|
7 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-optimize\n"
|
8 |
-
"POT-Creation-Date: 2015-10-19 18:28+0100\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
13 |
-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
-
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
16 |
-
"X-Poedit-Basepath: ..\n"
|
17 |
-
"X-Generator: Poedit 1.8.5\n"
|
18 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
-
"X-Poedit-SearchPath-0: .\n"
|
20 |
-
|
21 |
-
#: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
|
22 |
-
msgid "Optimizer"
|
23 |
-
msgstr ""
|
24 |
-
|
25 |
-
#: wp-optimize-admin.php:28 wp-optimize-admin.php:46
|
26 |
-
msgid "MYSQL"
|
27 |
-
msgstr ""
|
28 |
-
|
29 |
-
#: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
|
30 |
-
msgid "Settings"
|
31 |
-
msgstr ""
|
32 |
-
|
33 |
-
#: wp-optimize-admin.php:34 wp-optimize-admin.php:56
|
34 |
-
msgid "Info"
|
35 |
-
msgstr ""
|
36 |
-
|
37 |
-
#: wp-optimize-admin.php:52 wp-optimize-tables.php:37
|
38 |
-
msgid "Tables"
|
39 |
-
msgstr ""
|
40 |
-
|
41 |
-
#: wp-optimize-common.php:72
|
42 |
-
msgid "Automatic Operation Completed"
|
43 |
-
msgstr ""
|
44 |
-
|
45 |
-
#: wp-optimize-common.php:74
|
46 |
-
msgid "Scheduled optimization was executed at"
|
47 |
-
msgstr ""
|
48 |
-
|
49 |
-
#: wp-optimize-common.php:76
|
50 |
-
msgid "You can safely delete this email."
|
51 |
-
msgstr ""
|
52 |
-
|
53 |
-
#: wp-optimize-common.php:78
|
54 |
-
msgid "Regards,"
|
55 |
-
msgstr ""
|
56 |
-
|
57 |
-
#: wp-optimize-common.php:79
|
58 |
-
msgid "WP-Optimize Plugin"
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: wp-optimize-common.php:539
|
62 |
-
msgid "GB"
|
63 |
-
msgstr ""
|
64 |
-
|
65 |
-
#: wp-optimize-common.php:541
|
66 |
-
msgid "MB"
|
67 |
-
msgstr ""
|
68 |
-
|
69 |
-
#: wp-optimize-common.php:543
|
70 |
-
msgid "KB"
|
71 |
-
msgstr ""
|
72 |
-
|
73 |
-
#: wp-optimize-common.php:545
|
74 |
-
msgid "bytes"
|
75 |
-
msgstr ""
|
76 |
-
|
77 |
-
#: wp-optimize-common.php:635
|
78 |
-
#, php-format
|
79 |
-
msgid "%d transient option deleted"
|
80 |
-
msgid_plural "%d transient options deleted"
|
81 |
-
msgstr[0] ""
|
82 |
-
msgstr[1] ""
|
83 |
-
|
84 |
-
#: wp-optimize-common.php:662
|
85 |
-
#, php-format
|
86 |
-
msgid "%d post revision deleted"
|
87 |
-
msgid_plural "%d post revisions deleted"
|
88 |
-
msgstr[0] ""
|
89 |
-
msgstr[1] ""
|
90 |
-
|
91 |
-
#: wp-optimize-common.php:673
|
92 |
-
#, php-format
|
93 |
-
msgid "%d auto draft deleted"
|
94 |
-
msgid_plural "%d auto drafts deleted"
|
95 |
-
msgstr[0] ""
|
96 |
-
msgstr[1] ""
|
97 |
-
|
98 |
-
#: wp-optimize-common.php:683
|
99 |
-
#, php-format
|
100 |
-
msgid "%d item removed from Trash"
|
101 |
-
msgid_plural "%d items removed from Trash"
|
102 |
-
msgstr[0] ""
|
103 |
-
msgstr[1] ""
|
104 |
-
|
105 |
-
#: wp-optimize-common.php:695
|
106 |
-
#, php-format
|
107 |
-
msgid "%d spam comment deleted"
|
108 |
-
msgid_plural "%d spam comments deleted"
|
109 |
-
msgstr[0] ""
|
110 |
-
msgstr[1] ""
|
111 |
-
|
112 |
-
#: wp-optimize-common.php:704
|
113 |
-
#, php-format
|
114 |
-
msgid "%d comment removed from Trash"
|
115 |
-
msgid_plural "%d comments removed from Trash"
|
116 |
-
msgstr[0] ""
|
117 |
-
msgstr[1] ""
|
118 |
-
|
119 |
-
#: wp-optimize-common.php:710
|
120 |
-
#, php-format
|
121 |
-
msgid "%d unused comment metadata item removed"
|
122 |
-
msgid_plural "%d unused comment metadata items removed"
|
123 |
-
msgstr[0] ""
|
124 |
-
msgstr[1] ""
|
125 |
-
|
126 |
-
#: wp-optimize-common.php:716
|
127 |
-
#, php-format
|
128 |
-
msgid "%d unused akismet comment metadata item removed"
|
129 |
-
msgid_plural "%d unused akismet comment metadata items removed"
|
130 |
-
msgstr[0] ""
|
131 |
-
msgstr[1] ""
|
132 |
-
|
133 |
-
#: wp-optimize-common.php:726
|
134 |
-
#, php-format
|
135 |
-
msgid "%d unapproved comment deleted"
|
136 |
-
msgid_plural "%d unapproved comments deleted"
|
137 |
-
msgstr[0] ""
|
138 |
-
msgstr[1] ""
|
139 |
-
|
140 |
-
#: wp-optimize-common.php:732
|
141 |
-
#, php-format
|
142 |
-
msgid "%d pingback deleted"
|
143 |
-
msgid_plural "%d pingbacks deleted"
|
144 |
-
msgstr[0] ""
|
145 |
-
msgstr[1] ""
|
146 |
-
|
147 |
-
#: wp-optimize-common.php:738
|
148 |
-
#, php-format
|
149 |
-
msgid "%d trackback deleted"
|
150 |
-
msgid_plural "%d trackbacks deleted"
|
151 |
-
msgstr[0] ""
|
152 |
-
msgstr[1] ""
|
153 |
-
|
154 |
-
#: wp-optimize-common.php:745
|
155 |
-
msgid "Enabled weekly processing"
|
156 |
-
msgstr ""
|
157 |
-
|
158 |
-
#: wp-optimize-common.php:751
|
159 |
-
msgid "Disabled weekly processing"
|
160 |
-
msgstr ""
|
161 |
-
|
162 |
-
#: wp-optimize-common.php:760
|
163 |
-
msgid "NO Actions Taken"
|
164 |
-
msgstr ""
|
165 |
-
|
166 |
-
#: wp-optimize-common.php:787
|
167 |
-
#, php-format
|
168 |
-
msgid "%d transient option in your database"
|
169 |
-
msgid_plural "%d transient options in your database"
|
170 |
-
msgstr[0] ""
|
171 |
-
msgstr[1] ""
|
172 |
-
|
173 |
-
#: wp-optimize-common.php:789
|
174 |
-
msgid "No transient options found"
|
175 |
-
msgstr ""
|
176 |
-
|
177 |
-
#: wp-optimize-common.php:798
|
178 |
-
#, php-format
|
179 |
-
msgid "%d orphaned postmeta in your database"
|
180 |
-
msgid_plural "%d orphaned postmeta in your database"
|
181 |
-
msgstr[0] ""
|
182 |
-
msgstr[1] ""
|
183 |
-
|
184 |
-
#: wp-optimize-common.php:800
|
185 |
-
msgid "No orphaned postmeta in your database"
|
186 |
-
msgstr ""
|
187 |
-
|
188 |
-
#: wp-optimize-common.php:809
|
189 |
-
#, php-format
|
190 |
-
msgid "%d unused tag in your database"
|
191 |
-
msgid_plural "%d unused tags in your database"
|
192 |
-
msgstr[0] ""
|
193 |
-
msgstr[1] ""
|
194 |
-
|
195 |
-
#: wp-optimize-common.php:811
|
196 |
-
msgid "No unused tags found"
|
197 |
-
msgstr ""
|
198 |
-
|
199 |
-
#: wp-optimize-common.php:824
|
200 |
-
#, php-format
|
201 |
-
msgid "%d post revision in your database"
|
202 |
-
msgid_plural "%d post revisions in your database"
|
203 |
-
msgstr[0] ""
|
204 |
-
msgstr[1] ""
|
205 |
-
|
206 |
-
#: wp-optimize-common.php:826
|
207 |
-
msgid "No post revisions found"
|
208 |
-
msgstr ""
|
209 |
-
|
210 |
-
#: wp-optimize-common.php:839
|
211 |
-
#, php-format
|
212 |
-
msgid "%d auto draft post in your database"
|
213 |
-
msgid_plural "%d auto draft posts in your database"
|
214 |
-
msgstr[0] ""
|
215 |
-
msgstr[1] ""
|
216 |
-
|
217 |
-
#: wp-optimize-common.php:841
|
218 |
-
msgid "No auto draft posts found"
|
219 |
-
msgstr ""
|
220 |
-
|
221 |
-
#: wp-optimize-common.php:853
|
222 |
-
#, php-format
|
223 |
-
msgid "%d spam comment found"
|
224 |
-
msgid_plural "%d spam comments found"
|
225 |
-
msgstr[0] ""
|
226 |
-
msgstr[1] ""
|
227 |
-
|
228 |
-
#: wp-optimize-common.php:853 wp-optimize-common.php:884
|
229 |
-
msgid "Review"
|
230 |
-
msgstr ""
|
231 |
-
|
232 |
-
#: wp-optimize-common.php:855
|
233 |
-
msgid "No spam comments found"
|
234 |
-
msgstr ""
|
235 |
-
|
236 |
-
#: wp-optimize-common.php:884
|
237 |
-
#, php-format
|
238 |
-
msgid "%d unapproved comment found"
|
239 |
-
msgid_plural "%d unapproved comments found"
|
240 |
-
msgstr[0] ""
|
241 |
-
msgstr[1] ""
|
242 |
-
|
243 |
-
#: wp-optimize-common.php:886
|
244 |
-
msgid "No unapproved comments found"
|
245 |
-
msgstr ""
|
246 |
-
|
247 |
-
#: wp-optimize-common.php:894
|
248 |
-
#, php-format
|
249 |
-
msgid "%d Pingback found"
|
250 |
-
msgid_plural "%d Pingbacks found"
|
251 |
-
msgstr[0] ""
|
252 |
-
msgstr[1] ""
|
253 |
-
|
254 |
-
#: wp-optimize-common.php:896
|
255 |
-
msgid "No pingbacks found"
|
256 |
-
msgstr ""
|
257 |
-
|
258 |
-
#: wp-optimize-common.php:904
|
259 |
-
#, php-format
|
260 |
-
msgid "%d Trackback found"
|
261 |
-
msgid_plural "%d Trackbacks found"
|
262 |
-
msgstr[0] ""
|
263 |
-
msgstr[1] ""
|
264 |
-
|
265 |
-
#: wp-optimize-common.php:906
|
266 |
-
msgid "No trackbacks found"
|
267 |
-
msgstr ""
|
268 |
-
|
269 |
-
#: wp-optimize-common.php:912
|
270 |
-
msgid "nothing"
|
271 |
-
msgstr ""
|
272 |
-
|
273 |
-
#: wp-optimize-credits.php:14
|
274 |
-
msgid "Credits"
|
275 |
-
msgstr ""
|
276 |
-
|
277 |
-
#: wp-optimize-credits.php:15
|
278 |
-
msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
|
279 |
-
msgstr ""
|
280 |
-
|
281 |
-
#: wp-optimize-credits.php:29
|
282 |
-
msgid "Contributing Developers"
|
283 |
-
msgstr ""
|
284 |
-
|
285 |
-
#: wp-optimize-credits.php:30
|
286 |
-
msgid "Help me make this plugin better"
|
287 |
-
msgstr ""
|
288 |
-
|
289 |
-
#: wp-optimize-credits.php:30
|
290 |
-
msgid "I am looking for contributing developers."
|
291 |
-
msgstr ""
|
292 |
-
|
293 |
-
#: wp-optimize-credits.php:31
|
294 |
-
msgid "Your name and website will be credited here in the plugin"
|
295 |
-
msgstr ""
|
296 |
-
|
297 |
-
#: wp-optimize-credits.php:40
|
298 |
-
msgid "Translators"
|
299 |
-
msgstr ""
|
300 |
-
|
301 |
-
#: wp-optimize-credits.php:41
|
302 |
-
msgid "http://(Translator Website)"
|
303 |
-
msgstr ""
|
304 |
-
|
305 |
-
#: wp-optimize-credits.php:41
|
306 |
-
msgid "(Translator name)"
|
307 |
-
msgstr ""
|
308 |
-
|
309 |
-
#: wp-optimize-credits.php:43
|
310 |
-
msgid "Read Translation Instructions"
|
311 |
-
msgstr ""
|
312 |
-
|
313 |
-
#: wp-optimize-credits.php:49
|
314 |
-
msgid "Plugin Resources"
|
315 |
-
msgstr ""
|
316 |
-
|
317 |
-
#: wp-optimize-credits.php:51
|
318 |
-
msgid "Get a Translator Account"
|
319 |
-
msgstr ""
|
320 |
-
|
321 |
-
#: wp-optimize-credits.php:52
|
322 |
-
msgid "Plugin Translation Portal (needs translator account)"
|
323 |
-
msgstr ""
|
324 |
-
|
325 |
-
#: wp-optimize-credits.php:53
|
326 |
-
msgid "Request New Language"
|
327 |
-
msgstr ""
|
328 |
-
|
329 |
-
#: wp-optimize-credits.php:54
|
330 |
-
msgid "Plugin Homepage"
|
331 |
-
msgstr ""
|
332 |
-
|
333 |
-
#: wp-optimize-credits.php:55
|
334 |
-
msgid "Support (GitHub)"
|
335 |
-
msgstr ""
|
336 |
-
|
337 |
-
#: wp-optimize-credits.php:56
|
338 |
-
msgid "Support E-mail"
|
339 |
-
msgstr ""
|
340 |
-
|
341 |
-
#: wp-optimize-credits.php:57
|
342 |
-
msgid "Change Log"
|
343 |
-
msgstr ""
|
344 |
-
|
345 |
-
#: wp-optimize-credits.php:58
|
346 |
-
msgid "FAQ"
|
347 |
-
msgstr ""
|
348 |
-
|
349 |
-
#: wp-optimize-credits.php:67
|
350 |
-
msgid "GitHub Development Log"
|
351 |
-
msgstr ""
|
352 |
-
|
353 |
-
#: wp-optimize-credits.php:87
|
354 |
-
msgid "No items"
|
355 |
-
msgstr ""
|
356 |
-
|
357 |
-
#: wp-optimize-main.php:76
|
358 |
-
#, php-format
|
359 |
-
msgctxt "%s is the Database Name"
|
360 |
-
msgid "%s Database Optimized!"
|
361 |
-
msgstr ""
|
362 |
-
|
363 |
-
#: wp-optimize-main.php:154 wp-optimize-main.php:156
|
364 |
-
msgid "Clean-up options"
|
365 |
-
msgstr ""
|
366 |
-
|
367 |
-
#: wp-optimize-main.php:165
|
368 |
-
#, php-format
|
369 |
-
msgid "Clean post revisions which are older than %d weeks"
|
370 |
-
msgstr ""
|
371 |
-
|
372 |
-
#: wp-optimize-main.php:167
|
373 |
-
msgid "Clean all post revisions"
|
374 |
-
msgstr ""
|
375 |
-
|
376 |
-
#: wp-optimize-main.php:180
|
377 |
-
#, php-format
|
378 |
-
msgid "Clean auto draft posts which are older than %d weeks"
|
379 |
-
msgstr ""
|
380 |
-
|
381 |
-
#: wp-optimize-main.php:182
|
382 |
-
msgid "Clean all auto draft posts and posts in trash"
|
383 |
-
msgstr ""
|
384 |
-
|
385 |
-
#: wp-optimize-main.php:197
|
386 |
-
#, php-format
|
387 |
-
msgid "Remove spam comments which are older than %d weeks"
|
388 |
-
msgstr ""
|
389 |
-
|
390 |
-
#: wp-optimize-main.php:199
|
391 |
-
msgid "Remove spam comments and comments in trash"
|
392 |
-
msgstr ""
|
393 |
-
|
394 |
-
#: wp-optimize-main.php:213
|
395 |
-
#, php-format
|
396 |
-
msgid "Remove unapproved comments which are older than %d weeks"
|
397 |
-
msgstr ""
|
398 |
-
|
399 |
-
#: wp-optimize-main.php:215 wp-optimize-settings.php:286
|
400 |
-
msgid "Remove unapproved comments"
|
401 |
-
msgstr ""
|
402 |
-
|
403 |
-
#: wp-optimize-main.php:228 wp-optimize-settings.php:291
|
404 |
-
msgid "Remove transient options"
|
405 |
-
msgstr ""
|
406 |
-
|
407 |
-
#: wp-optimize-main.php:239
|
408 |
-
msgid "Remove pingbacks"
|
409 |
-
msgstr ""
|
410 |
-
|
411 |
-
#: wp-optimize-main.php:250
|
412 |
-
msgid "Remove trackbacks"
|
413 |
-
msgstr ""
|
414 |
-
|
415 |
-
#: wp-optimize-main.php:260
|
416 |
-
msgid "Do not select RED marked items unless you really need to use them"
|
417 |
-
msgstr ""
|
418 |
-
|
419 |
-
#: wp-optimize-main.php:266 wp-optimize-settings.php:205
|
420 |
-
msgid "Optimize YouTube embedding with this free plugin on WordPress.org"
|
421 |
-
msgstr ""
|
422 |
-
|
423 |
-
#: wp-optimize-main.php:276
|
424 |
-
msgid "Actions"
|
425 |
-
msgstr ""
|
426 |
-
|
427 |
-
#: wp-optimize-main.php:285
|
428 |
-
msgid "Optimize database tables"
|
429 |
-
msgstr ""
|
430 |
-
|
431 |
-
#: wp-optimize-main.php:293
|
432 |
-
msgid "Note:"
|
433 |
-
msgstr ""
|
434 |
-
|
435 |
-
#: wp-optimize-main.php:296
|
436 |
-
msgid "InnoDB tables will not be optimized"
|
437 |
-
msgstr ""
|
438 |
-
|
439 |
-
#: wp-optimize-main.php:302
|
440 |
-
msgid "Select safe options"
|
441 |
-
msgstr ""
|
442 |
-
|
443 |
-
#: wp-optimize-main.php:303
|
444 |
-
msgid "Warning:"
|
445 |
-
msgstr ""
|
446 |
-
|
447 |
-
#: wp-optimize-main.php:304
|
448 |
-
msgid "Always make a backup of your DB when you upgrade to major versions"
|
449 |
-
msgstr ""
|
450 |
-
|
451 |
-
#: wp-optimize-main.php:309
|
452 |
-
msgid "PROCESS"
|
453 |
-
msgstr ""
|
454 |
-
|
455 |
-
#: wp-optimize-main.php:315
|
456 |
-
msgid "Please donate! It really helps me keep improvising"
|
457 |
-
msgstr ""
|
458 |
-
|
459 |
-
#: wp-optimize-main.php:315
|
460 |
-
msgid "Donate!"
|
461 |
-
msgstr ""
|
462 |
-
|
463 |
-
#: wp-optimize-main.php:316
|
464 |
-
msgid "Please give a proper rating :)"
|
465 |
-
msgstr ""
|
466 |
-
|
467 |
-
#: wp-optimize-main.php:317
|
468 |
-
msgid "Rating"
|
469 |
-
msgstr ""
|
470 |
-
|
471 |
-
#: wp-optimize-main.php:322
|
472 |
-
msgid "Status log"
|
473 |
-
msgstr ""
|
474 |
-
|
475 |
-
#: wp-optimize-main.php:337
|
476 |
-
msgid "Last automatic optimization was at"
|
477 |
-
msgstr ""
|
478 |
-
|
479 |
-
#: wp-optimize-main.php:349
|
480 |
-
msgid "There was no automatic optimization"
|
481 |
-
msgstr ""
|
482 |
-
|
483 |
-
#: wp-optimize-main.php:364
|
484 |
-
msgid "Scheduled cleaning enabled"
|
485 |
-
msgstr ""
|
486 |
-
|
487 |
-
#: wp-optimize-main.php:376
|
488 |
-
msgid "Next schedule:"
|
489 |
-
msgstr ""
|
490 |
-
|
491 |
-
#: wp-optimize-main.php:387
|
492 |
-
msgid "Refresh"
|
493 |
-
msgstr ""
|
494 |
-
|
495 |
-
#: wp-optimize-main.php:396
|
496 |
-
msgid "Scheduled cleaning disabled"
|
497 |
-
msgstr ""
|
498 |
-
|
499 |
-
#: wp-optimize-main.php:399 wp-optimize-main.php:421
|
500 |
-
msgid "Check settings"
|
501 |
-
msgstr ""
|
502 |
-
|
503 |
-
#: wp-optimize-main.php:410
|
504 |
-
#, php-format
|
505 |
-
msgid "Keeping last %s weeks data"
|
506 |
-
msgstr ""
|
507 |
-
|
508 |
-
#: wp-optimize-main.php:418
|
509 |
-
msgid "Not keeping recent data"
|
510 |
-
msgstr ""
|
511 |
-
|
512 |
-
#: wp-optimize-main.php:435 wp-optimize-main.php:448
|
513 |
-
msgid "Current database size:"
|
514 |
-
msgstr ""
|
515 |
-
|
516 |
-
#: wp-optimize-main.php:441
|
517 |
-
msgid "You have saved:"
|
518 |
-
msgstr ""
|
519 |
-
|
520 |
-
#: wp-optimize-main.php:456
|
521 |
-
msgid "You can save almost:"
|
522 |
-
msgstr ""
|
523 |
-
|
524 |
-
#: wp-optimize-main.php:473
|
525 |
-
msgid "Total clean up overall:"
|
526 |
-
msgstr ""
|
527 |
-
|
528 |
-
#: wp-optimize-main.php:494
|
529 |
-
msgid "Sponsor"
|
530 |
-
msgstr ""
|
531 |
-
|
532 |
-
#: wp-optimize-settings.php:87
|
533 |
-
msgid "Trackbacks disabled on all current and previously published posts"
|
534 |
-
msgstr ""
|
535 |
-
|
536 |
-
#: wp-optimize-settings.php:93
|
537 |
-
msgid "Trackbacks enabled on all current and previously published posts"
|
538 |
-
msgstr ""
|
539 |
-
|
540 |
-
#: wp-optimize-settings.php:102
|
541 |
-
msgid "Comments disabled on all current and previously published posts"
|
542 |
-
msgstr ""
|
543 |
-
|
544 |
-
#: wp-optimize-settings.php:108
|
545 |
-
msgid "Comments enabled on all current and previously published posts"
|
546 |
-
msgstr ""
|
547 |
-
|
548 |
-
#: wp-optimize-settings.php:114
|
549 |
-
msgid "Settings updated"
|
550 |
-
msgstr ""
|
551 |
-
|
552 |
-
#: wp-optimize-settings.php:131
|
553 |
-
msgid "General Settings"
|
554 |
-
msgstr ""
|
555 |
-
|
556 |
-
#: wp-optimize-settings.php:136
|
557 |
-
#, php-format
|
558 |
-
msgid "Keep last %s weeks data"
|
559 |
-
msgstr ""
|
560 |
-
|
561 |
-
#: wp-optimize-settings.php:150
|
562 |
-
msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
|
563 |
-
msgstr ""
|
564 |
-
|
565 |
-
#: wp-optimize-settings.php:159
|
566 |
-
msgid "Enable admin bar link"
|
567 |
-
msgstr ""
|
568 |
-
|
569 |
-
#: wp-optimize-settings.php:162
|
570 |
-
msgid "(Click here to refresh)"
|
571 |
-
msgstr ""
|
572 |
-
|
573 |
-
#: wp-optimize-settings.php:168
|
574 |
-
msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
|
575 |
-
msgstr ""
|
576 |
-
|
577 |
-
#: wp-optimize-settings.php:172
|
578 |
-
msgid "Trackback/Comments Actions"
|
579 |
-
msgstr ""
|
580 |
-
|
581 |
-
#: wp-optimize-settings.php:174
|
582 |
-
msgid "Disable/Enable Trackbacks"
|
583 |
-
msgstr ""
|
584 |
-
|
585 |
-
#: wp-optimize-settings.php:176 wp-optimize-settings.php:191
|
586 |
-
msgid "SELECT"
|
587 |
-
msgstr ""
|
588 |
-
|
589 |
-
#: wp-optimize-settings.php:177 wp-optimize-settings.php:192
|
590 |
-
msgid "Disable"
|
591 |
-
msgstr ""
|
592 |
-
|
593 |
-
#: wp-optimize-settings.php:178 wp-optimize-settings.php:193
|
594 |
-
msgid "Enable"
|
595 |
-
msgstr ""
|
596 |
-
|
597 |
-
#: wp-optimize-settings.php:183
|
598 |
-
msgid "This will disable/enable Trackbacks on all your current and previously published posts"
|
599 |
-
msgstr ""
|
600 |
-
|
601 |
-
#: wp-optimize-settings.php:189
|
602 |
-
msgid "Disable/Enable Comments"
|
603 |
-
msgstr ""
|
604 |
-
|
605 |
-
#: wp-optimize-settings.php:198
|
606 |
-
msgid "This will disable/enable Comments on all your current and previously published posts"
|
607 |
-
msgstr ""
|
608 |
-
|
609 |
-
#: wp-optimize-settings.php:209
|
610 |
-
msgid "SAVE SETTINGS"
|
611 |
-
msgstr ""
|
612 |
-
|
613 |
-
#: wp-optimize-settings.php:219
|
614 |
-
msgid "Auto Clean-up Settings"
|
615 |
-
msgstr ""
|
616 |
-
|
617 |
-
#: wp-optimize-settings.php:222
|
618 |
-
msgid "Enable scheduled clean-up and optimization (Beta feature!)"
|
619 |
-
msgstr ""
|
620 |
-
|
621 |
-
#: wp-optimize-settings.php:224
|
622 |
-
msgid "Select schedule type (default is Weekly)"
|
623 |
-
msgstr ""
|
624 |
-
|
625 |
-
#: wp-optimize-settings.php:231 wp-optimize-settings.php:253
|
626 |
-
msgid "Everyday"
|
627 |
-
msgstr ""
|
628 |
-
|
629 |
-
#: wp-optimize-settings.php:235 wp-optimize-settings.php:247
|
630 |
-
#: wp-optimize-settings.php:254
|
631 |
-
msgid "Every week"
|
632 |
-
msgstr ""
|
633 |
-
|
634 |
-
#: wp-optimize-settings.php:239 wp-optimize-settings.php:255
|
635 |
-
msgid "Every other week (every 14 days)"
|
636 |
-
msgstr ""
|
637 |
-
|
638 |
-
#: wp-optimize-settings.php:243 wp-optimize-settings.php:256
|
639 |
-
msgid "Every month (every 31 days)"
|
640 |
-
msgstr ""
|
641 |
-
|
642 |
-
#: wp-optimize-settings.php:260
|
643 |
-
msgid "Automatic cleanup will perform the following:"
|
644 |
-
msgstr ""
|
645 |
-
|
646 |
-
#: wp-optimize-settings.php:262
|
647 |
-
msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
|
648 |
-
msgstr ""
|
649 |
-
|
650 |
-
#: wp-optimize-settings.php:269
|
651 |
-
msgid "These options will only work if the automatic clean-up schedule has been enabled"
|
652 |
-
msgstr ""
|
653 |
-
|
654 |
-
#: wp-optimize-settings.php:274
|
655 |
-
msgid "Remove auto revisions"
|
656 |
-
msgstr ""
|
657 |
-
|
658 |
-
#: wp-optimize-settings.php:278
|
659 |
-
msgid "Remove auto drafts"
|
660 |
-
msgstr ""
|
661 |
-
|
662 |
-
#: wp-optimize-settings.php:282
|
663 |
-
msgid "Remove spam comments"
|
664 |
-
msgstr ""
|
665 |
-
|
666 |
-
#: wp-optimize-settings.php:295
|
667 |
-
msgid "Remove orphaned post meta"
|
668 |
-
msgstr ""
|
669 |
-
|
670 |
-
#: wp-optimize-settings.php:299
|
671 |
-
msgid "Remove unused tags"
|
672 |
-
msgstr ""
|
673 |
-
|
674 |
-
#: wp-optimize-settings.php:305
|
675 |
-
msgid "Optimize database"
|
676 |
-
msgstr ""
|
677 |
-
|
678 |
-
#: wp-optimize-settings.php:311
|
679 |
-
msgid "If you have InnoDB tables. They will not be optimized!"
|
680 |
-
msgstr ""
|
681 |
-
|
682 |
-
#: wp-optimize-settings.php:320
|
683 |
-
msgid "Enable email notification"
|
684 |
-
msgstr ""
|
685 |
-
|
686 |
-
#: wp-optimize-settings.php:327
|
687 |
-
msgid "Send email to"
|
688 |
-
msgstr ""
|
689 |
-
|
690 |
-
#: wp-optimize-settings.php:333
|
691 |
-
msgid "SAVE AUTO CLEAN-UP SETTINGS"
|
692 |
-
msgstr ""
|
693 |
-
|
694 |
-
#: wp-optimize-tables.php:20
|
695 |
-
msgid "Database Name:"
|
696 |
-
msgstr ""
|
697 |
-
|
698 |
-
#: wp-optimize-tables.php:28
|
699 |
-
msgid "Optimized all the tables found in the database."
|
700 |
-
msgstr ""
|
701 |
-
|
702 |
-
#: wp-optimize-tables.php:36
|
703 |
-
msgid "No."
|
704 |
-
msgstr ""
|
705 |
-
|
706 |
-
#: wp-optimize-tables.php:38
|
707 |
-
msgid "Records"
|
708 |
-
msgstr ""
|
709 |
-
|
710 |
-
#: wp-optimize-tables.php:39
|
711 |
-
msgid "Data Size"
|
712 |
-
msgstr ""
|
713 |
-
|
714 |
-
#: wp-optimize-tables.php:40
|
715 |
-
msgid "Index Size"
|
716 |
-
msgstr ""
|
717 |
-
|
718 |
-
#: wp-optimize-tables.php:41
|
719 |
-
msgid "Type"
|
720 |
-
msgstr ""
|
721 |
-
|
722 |
-
#: wp-optimize-tables.php:42
|
723 |
-
msgid "Overhead"
|
724 |
-
msgstr ""
|
725 |
-
|
726 |
-
#: wp-optimize-tables.php:137
|
727 |
-
msgid "Total:"
|
728 |
-
msgstr ""
|
729 |
-
|
730 |
-
#: wp-optimize-tables.php:138
|
731 |
-
#, php-format
|
732 |
-
msgid "%d Table"
|
733 |
-
msgid_plural "%d Tables"
|
734 |
-
msgstr[0] ""
|
735 |
-
msgstr[1] ""
|
736 |
-
|
737 |
-
#: wp-optimize-tables.php:139
|
738 |
-
#, php-format
|
739 |
-
msgid "%d Record"
|
740 |
-
msgid_plural "%d Records"
|
741 |
-
msgstr[0] ""
|
742 |
-
msgstr[1] ""
|
743 |
-
|
744 |
-
#: wp-optimize-tables.php:179
|
745 |
-
msgid "Total Size of Database:"
|
746 |
-
msgstr ""
|
747 |
-
|
748 |
-
#: wp-optimize-tables.php:191
|
749 |
-
msgid "Optimization Results:"
|
750 |
-
msgstr ""
|
751 |
-
|
752 |
-
#: wp-optimize-tables.php:196
|
753 |
-
msgid "Total Space Saved:"
|
754 |
-
msgstr ""
|
755 |
-
|
756 |
-
#: wp-optimize-tables.php:207
|
757 |
-
msgid "Optimization Possibility:"
|
758 |
-
msgstr ""
|
759 |
-
|
760 |
-
#: wp-optimize-tables.php:213
|
761 |
-
msgid "Total space can be saved:"
|
762 |
-
msgstr ""
|
763 |
-
|
764 |
-
#. Plugin Name of the plugin/theme
|
765 |
-
msgid "WP-Optimize"
|
766 |
-
msgstr ""
|
767 |
-
|
768 |
-
#. Plugin URI of the plugin/theme
|
769 |
-
msgid "http://wp-optimize.ruhanirabin.com/"
|
770 |
-
msgstr ""
|
771 |
-
|
772 |
-
#. Description of the plugin/theme
|
773 |
-
msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
|
774 |
-
msgstr ""
|
775 |
-
|
776 |
-
#. Author of the plugin/theme
|
777 |
-
msgid "Ruhani Rabin"
|
778 |
-
msgstr ""
|
779 |
-
|
780 |
-
#. Author URI of the plugin/theme
|
781 |
-
msgid "https://github.com/ruhanirabin/WP-Optimize"
|
782 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
// TODO: Does this need renaming? It is not just auto-drafts, but also trashed posts
|
6 |
+
|
7 |
+
class WP_Optimization_autodraft extends WP_Optimization {
|
8 |
+
|
9 |
+
public $available_for_auto = true;
|
10 |
+
public $auto_default = true;
|
11 |
+
public $setting_default = true;
|
12 |
+
public $available_for_saving = true;
|
13 |
+
public $ui_sort_order = 3000;
|
14 |
+
|
15 |
+
protected $setting_id = 'drafts';
|
16 |
+
protected $auto_id = 'drafts';
|
17 |
+
|
18 |
+
public function optimize() {
|
19 |
+
|
20 |
+
$clean = "DELETE FROM `".$this->wpdb->posts."` WHERE post_status = 'auto-draft'";
|
21 |
+
|
22 |
+
if ($this->retention_enabled == 'true') {
|
23 |
+
$clean .= ' AND post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
24 |
+
}
|
25 |
+
|
26 |
+
$clean .= ';';
|
27 |
+
|
28 |
+
$autodraft = $this->query($clean);
|
29 |
+
|
30 |
+
$this->register_output(sprintf(_n('%d auto draft deleted', '%d auto drafts deleted', $autodraft, 'wp-optimize'), number_format_i18n($autodraft)));
|
31 |
+
|
32 |
+
// TODO: query trashed posts and cleanup metadata
|
33 |
+
$clean = "DELETE FROM `".$this->wpdb->posts."` WHERE post_status = 'trash'";
|
34 |
+
|
35 |
+
if ($this->retention_enabled == 'true') {
|
36 |
+
$clean .= ' AND post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
37 |
+
}
|
38 |
+
|
39 |
+
$clean .= ';';
|
40 |
+
|
41 |
+
$posttrash = $this->query($clean);
|
42 |
+
|
43 |
+
$this->register_output(sprintf(_n('%d item removed from Trash', '%d items removed from Trash', $posttrash, 'wp-optimize'), number_format_i18n($posttrash)));
|
44 |
+
}
|
45 |
+
|
46 |
+
public function get_info() {
|
47 |
+
|
48 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->posts."` WHERE post_status = 'auto-draft'";
|
49 |
+
|
50 |
+
if ($this->retention_enabled == 'true') {
|
51 |
+
$sql .= ' and post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
52 |
+
}
|
53 |
+
|
54 |
+
$sql .= ';';
|
55 |
+
|
56 |
+
$autodraft = $this->wpdb->get_var($sql);
|
57 |
+
|
58 |
+
if(!$autodraft == 0 || !$autodraft == NULL){
|
59 |
+
$message = sprintf(_n('%d auto draft post in your database', '%d auto draft posts in your database', $autodraft, 'wp-optimize'), number_format_i18n($autodraft));
|
60 |
+
} else {
|
61 |
+
$message =__('No auto draft posts found', 'wp-optimize');
|
62 |
+
}
|
63 |
+
|
64 |
+
$this->register_output($message);
|
65 |
+
}
|
66 |
+
|
67 |
+
public function settings_label() {
|
68 |
+
|
69 |
+
if ($this->retention_enabled == 'true') {
|
70 |
+
return sprintf(__('Clean auto draft posts which are older than %d weeks', 'wp-optimize'), $this->retention_period);
|
71 |
+
} else {
|
72 |
+
return __('Clean all auto draft posts and posts in trash', 'wp-optimize');
|
73 |
+
}
|
74 |
+
|
75 |
+
}
|
76 |
+
|
77 |
+
public function get_auto_option_description() {
|
78 |
+
return __('Remove auto drafts', 'wp-optimize');
|
79 |
+
}
|
80 |
+
|
81 |
+
}
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_commentmeta extends WP_Optimization {
|
6 |
+
|
7 |
+
public $ui_sort_order = 9000;
|
8 |
+
|
9 |
+
// TODO: The first query here (but not the second) used to be run on a cron run. This needs reviewing when we review the whole cron-run set of options.
|
10 |
+
|
11 |
+
public function optimize() {
|
12 |
+
|
13 |
+
$clean = "DELETE FROM `".$this->wpdb->commentmeta."` WHERE comment_id NOT IN (SELECT comment_id FROM `".$this->wpdb->comments."`);";
|
14 |
+
|
15 |
+
$commentstrash_meta = $this->query($clean);
|
16 |
+
|
17 |
+
$message = sprintf(_n('%d unused comment metadata item removed', '%d unused comment metadata items removed', $commentstrash_meta, 'wp-optimize'), number_format_i18n($commentstrash_meta));
|
18 |
+
|
19 |
+
$this->register_output($message);
|
20 |
+
|
21 |
+
// TODO: still need to test now cleaning up comments meta tables - removing akismet related settings
|
22 |
+
$clean = "DELETE FROM `".$this->wpdb->commentmeta."` WHERE meta_key LIKE '%akismet%';";
|
23 |
+
|
24 |
+
$commentstrash_meta2 = $this->query($clean);
|
25 |
+
|
26 |
+
$message = sprintf(_n('%d unused akismet comment metadata item removed', '%d unused akismet comment metadata items removed', $commentstrash_meta2, 'wp-optimize'), number_format_i18n($commentstrash_meta2));
|
27 |
+
|
28 |
+
$this->register_output($message);
|
29 |
+
}
|
30 |
+
|
31 |
+
public function get_info() {
|
32 |
+
|
33 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->commentmeta."` WHERE comment_id NOT IN (SELECT comment_id FROM `".$this->wpdb->comments."`);";
|
34 |
+
|
35 |
+
$commentmeta = $this->wpdb->get_var($sql);
|
36 |
+
|
37 |
+
if(!$commentmeta == 0 || !$commentmeta == NULL){
|
38 |
+
$message = sprintf(_n('%d orphaned comment meta data in your database', '%d orphaned comment meta data in your database', $commentmeta, 'wp-optimize'), number_format_i18n($commentmeta));
|
39 |
+
} else {
|
40 |
+
$message =__('No orphaned comment meta data in your database', 'wp-optimize');
|
41 |
+
}
|
42 |
+
|
43 |
+
$this->register_output($message);
|
44 |
+
|
45 |
+
}
|
46 |
+
|
47 |
+
public function settings_label() {
|
48 |
+
return __('Clean comment meta data', 'wp-optimize');
|
49 |
+
}
|
50 |
+
|
51 |
+
public function get_auto_option_description() {
|
52 |
+
return __('Clean comment meta data', 'wp-optimize');
|
53 |
+
}
|
54 |
+
}
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_tags extends WP_Optimization {
|
6 |
+
|
7 |
+
public $available_for_auto = false;
|
8 |
+
public $auto_default = false;
|
9 |
+
public $ui_sort_order = 12000;
|
10 |
+
|
11 |
+
public function optimize() {
|
12 |
+
|
13 |
+
// TODO: Ask R why this is commented out
|
14 |
+
// $clean = "DELETE t,tt FROM `".$this->wpdb->terms."` t INNER JOIN `$this->wpdb->term_taxonomy` tt ON t.term_id=tt.term_id WHERE tt.taxonomy='post_tag' AND tt.count=0;";
|
15 |
+
//
|
16 |
+
// $tags = $this->query($clean);
|
17 |
+
// $message = sprintf(_n('%d unused tag deleted', '%d unused tags deleted', $tags, 'wp-optimize'), number_format_i18n($tags));
|
18 |
+
}
|
19 |
+
public function get_info() {
|
20 |
+
|
21 |
+
}
|
22 |
+
|
23 |
+
public function settings_label() {
|
24 |
+
return __('Remove unused tags', 'wp-optimize');
|
25 |
+
}
|
26 |
+
|
27 |
+
// N.B. This is not currently used
|
28 |
+
public function get_auto_option_description() {
|
29 |
+
// return __('Remove unused tags', 'wp-optimize');
|
30 |
+
}
|
31 |
+
}
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_optimizetables extends WP_Optimization {
|
6 |
+
|
7 |
+
protected $auto_id = 'optimize';
|
8 |
+
protected $setting_id = 'optimize';
|
9 |
+
protected $dom_id = 'optimize-db';
|
10 |
+
|
11 |
+
public $available_for_saving = true;
|
12 |
+
public $available_for_auto = true;
|
13 |
+
|
14 |
+
public $setting_default = true;
|
15 |
+
|
16 |
+
public $ui_sort_order = 500;
|
17 |
+
public $run_sort_order = 100000;
|
18 |
+
|
19 |
+
public function optimize() {
|
20 |
+
$this->optimize_tables(true);
|
21 |
+
}
|
22 |
+
|
23 |
+
public function get_info() {
|
24 |
+
$this->optimize_tables(false);
|
25 |
+
}
|
26 |
+
|
27 |
+
private function optimize_tables($optimize) {
|
28 |
+
|
29 |
+
$total_gain = 0;
|
30 |
+
$row_usage = 0;
|
31 |
+
$data_usage = 0;
|
32 |
+
$index_usage = 0;
|
33 |
+
$overhead_usage = 0;
|
34 |
+
$wp_optimize = WP_Optimize();
|
35 |
+
$tablesstatus = $this->optimizer->get_tables();
|
36 |
+
$how_many_inno_db_tables = 0;
|
37 |
+
|
38 |
+
foreach ($tablesstatus as $table) {
|
39 |
+
// TODO: $row_usage, $data_usage, $index_usage appear to be unused elsewhere in the plugin. Investigate. Also, on InnoDB, more is saved than the numeric results inform you of.
|
40 |
+
// This all comes from the checkbox with name=id=optimize-db. So, that's the place to look to untangle.
|
41 |
+
$row_usage += $table->Rows;
|
42 |
+
$data_usage += $table->Data_length;
|
43 |
+
$index_usage += $table->Index_length;
|
44 |
+
if ('InnoDB' != $table->Engine) {
|
45 |
+
$overhead_usage += $table->Data_free;
|
46 |
+
$total_gain += $table->Data_free;
|
47 |
+
} else {
|
48 |
+
$how_many_inno_db_tables++;
|
49 |
+
}
|
50 |
+
if ($optimize) {
|
51 |
+
$table_name = $table->Name;
|
52 |
+
$wp_optimize->log('Optimizing: '.$table_name);
|
53 |
+
$result_query = $this->query('OPTIMIZE TABLE '.$table_name);
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
if ($optimize) {
|
58 |
+
|
59 |
+
// No apparent reason for this (or the ob_end_flush() that was at the end). TODO: Ask Ruhani. Does something give unwanted debug output?
|
60 |
+
ob_start();
|
61 |
+
|
62 |
+
$thedate = gmdate(get_option('date_format') . ' ' . get_option('time_format'), current_time( "timestamp", 0 ));
|
63 |
+
$this->options->update_option('last-optimized', $thedate);
|
64 |
+
|
65 |
+
$this->optimizer->update_total_cleaned(strval($total_gain));
|
66 |
+
|
67 |
+
// Sending notification email
|
68 |
+
if ($this->options->get_option('email') !== false) {
|
69 |
+
//TODO need to fix the problem with variable value not passing through
|
70 |
+
if ($this->options->get_option('email-address') !== '') {
|
71 |
+
//$wp_optimize->send_email($thedate, $total_gain);
|
72 |
+
}
|
73 |
+
}
|
74 |
+
ob_end_flush();
|
75 |
+
|
76 |
+
$wp_optimize->log('Total Gain .... '.strval($total_gain));
|
77 |
+
|
78 |
+
$this->register_output(sprintf(_x('%s Database Optimized!', '%s is the Database Name', 'wp-optimize'), "'".htmlspecialchars(DB_NAME)."'"));
|
79 |
+
|
80 |
+
}
|
81 |
+
|
82 |
+
$this->register_output(__('Total gain:', 'wp-optimize').' '.WP_Optimize()->format_size(($total_gain)));
|
83 |
+
|
84 |
+
if ($how_many_inno_db_tables >0 && !$optimize) {
|
85 |
+
|
86 |
+
$this->register_output(sprintf(__('Tables using the InnoDB engine (%d) will not be optimized.', 'wp-optimize'), $how_many_inno_db_tables));
|
87 |
+
|
88 |
+
}
|
89 |
+
|
90 |
+
}
|
91 |
+
|
92 |
+
public function get_auto_option_description() {
|
93 |
+
return __('Optimize database tables', 'wp-optimize');
|
94 |
+
}
|
95 |
+
|
96 |
+
public function settings_label() {
|
97 |
+
return __('Optimize database tables', 'wp-optimize');
|
98 |
+
}
|
99 |
+
}
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_orphandata extends WP_Optimization {
|
6 |
+
|
7 |
+
public $ui_sort_order = 10000;
|
8 |
+
|
9 |
+
public function optimize() {
|
10 |
+
|
11 |
+
$clean = "DELETE FROM `".$this->wpdb->term_relationships."` WHERE term_taxonomy_id=1 AND object_id NOT IN (SELECT id FROM `".$this->wpdb->posts."`);";
|
12 |
+
|
13 |
+
$orphandata = $this->query($clean);
|
14 |
+
|
15 |
+
$message = sprintf(_n('%d orphaned meta data deleted', '%d orphaned meta data deleted', $orphandata, 'wp-optimize'), number_format_i18n($orphandata));
|
16 |
+
|
17 |
+
$this->register_output($message);
|
18 |
+
|
19 |
+
}
|
20 |
+
|
21 |
+
public function get_info() {
|
22 |
+
|
23 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->term_relationships."` WHERE term_taxonomy_id=1 AND object_id NOT IN (SELECT id FROM `".$this->wpdb->posts."`);";
|
24 |
+
|
25 |
+
$orphandata = $this->wpdb->get_var($sql);
|
26 |
+
|
27 |
+
if (!$orphandata == 0 || !$orphandata == NULL) {
|
28 |
+
$message = sprintf(_n('%d orphaned relationship data in your database', '%d orphaned relationship data in your database', $orphandata, 'wp-optimize'), number_format_i18n($orphandata));
|
29 |
+
} else {
|
30 |
+
$message =__('No orphaned relationship data in your database', 'wp-optimize');
|
31 |
+
}
|
32 |
+
|
33 |
+
$this->register_output($message);
|
34 |
+
}
|
35 |
+
|
36 |
+
public function settings_label() {
|
37 |
+
return __('Clean orphaned relationship data', 'wp-optimize');
|
38 |
+
}
|
39 |
+
}
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_pingbacks extends WP_Optimization {
|
6 |
+
|
7 |
+
public $ui_sort_order = 6000;
|
8 |
+
|
9 |
+
public function optimize() {
|
10 |
+
|
11 |
+
$clean = "DELETE FROM `".$this->wpdb->comments."` WHERE comment_type = 'pingback';";
|
12 |
+
|
13 |
+
$comments = $this->query($clean);
|
14 |
+
|
15 |
+
$this->register_output(sprintf(_n('%d pingback deleted', '%d pingbacks deleted', $comments, 'wp-optimize'), number_format_i18n($comments)));
|
16 |
+
}
|
17 |
+
|
18 |
+
public function get_info() {
|
19 |
+
|
20 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->comments."` WHERE comment_type='pingback';";
|
21 |
+
|
22 |
+
$comments = $this->wpdb->get_var($sql);
|
23 |
+
|
24 |
+
if (!$comments == NULL || !$comments == 0) {
|
25 |
+
$message = sprintf(_n('%d Pingback found', '%d Pingbacks found', $comments, 'wp-optimize'), number_format_i18n($comments));
|
26 |
+
} else {
|
27 |
+
$message = __('No pingbacks found', 'wp-optimize');
|
28 |
+
}
|
29 |
+
|
30 |
+
$this->register_output($message);
|
31 |
+
}
|
32 |
+
|
33 |
+
public function settings_label() {
|
34 |
+
return __('Remove pingbacks', 'wp-optimize');
|
35 |
+
}
|
36 |
+
}
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
// TODO: need to use proper query
|
6 |
+
|
7 |
+
class WP_Optimization_postmeta extends WP_Optimization {
|
8 |
+
|
9 |
+
public $ui_sort_order = 8000;
|
10 |
+
|
11 |
+
public $available_for_auto = false;
|
12 |
+
public $auto_default = false;
|
13 |
+
|
14 |
+
public function optimize() {
|
15 |
+
|
16 |
+
$clean = "DELETE pm FROM `".$this->wpdb->postmeta."` pm LEFT JOIN `".$this->wpdb->posts."` wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL;";
|
17 |
+
|
18 |
+
$postmeta = $this->query($clean);
|
19 |
+
|
20 |
+
$message = sprintf(_n('%d orphaned postmeta deleted', '%d orphaned postmeta deleted', $postmeta, 'wp-optimize'), number_format_i18n($postmeta));
|
21 |
+
|
22 |
+
$this->register_output($message);
|
23 |
+
}
|
24 |
+
|
25 |
+
public function get_info() {
|
26 |
+
|
27 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->postmeta."` pm LEFT JOIN `".$this->wpdb->posts."` wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL;";
|
28 |
+
|
29 |
+
$postmeta = $this->wpdb->get_var($sql);
|
30 |
+
|
31 |
+
if ($postmeta) {
|
32 |
+
$message = sprintf(_n('%d orphaned post meta data in your database', '%d orphaned postmeta in your database', $postmeta, 'wp-optimize'), number_format_i18n($postmeta));
|
33 |
+
} else {
|
34 |
+
$message = __('No orphaned post meta data in your database', 'wp-optimize');
|
35 |
+
}
|
36 |
+
|
37 |
+
$this->register_output($message);
|
38 |
+
|
39 |
+
}
|
40 |
+
|
41 |
+
public function settings_label() {
|
42 |
+
return __('Clean post meta data', 'wp-optimize');
|
43 |
+
}
|
44 |
+
|
45 |
+
// N.B. This is not currently used; it was commented out in 1.9.1
|
46 |
+
public function get_auto_option_description() {
|
47 |
+
return __('Remove orphaned post meta', 'wp-optimize');
|
48 |
+
}
|
49 |
+
}
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_revisions extends WP_Optimization {
|
6 |
+
|
7 |
+
public $ui_sort_order = 1000;
|
8 |
+
|
9 |
+
public $available_for_auto = true;
|
10 |
+
public $auto_default = true;
|
11 |
+
public $setting_default = true;
|
12 |
+
public $available_for_saving = true;
|
13 |
+
|
14 |
+
public function optimize() {
|
15 |
+
|
16 |
+
$clean = "DELETE FROM `".$this->wpdb->posts."` WHERE post_type = 'revision'";
|
17 |
+
|
18 |
+
if ($this->retention_enabled == 'true') {
|
19 |
+
$clean .= '
|
20 |
+
AND post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
21 |
+
}
|
22 |
+
$clean .= ';';
|
23 |
+
|
24 |
+
$revisions = $this->query($clean);
|
25 |
+
|
26 |
+
$message = sprintf(_n('%d post revision deleted', '%d post revisions deleted', $revisions, 'wp-optimize'), number_format_i18n($revisions));
|
27 |
+
|
28 |
+
$this->register_output($message);
|
29 |
+
}
|
30 |
+
|
31 |
+
public function get_info() {
|
32 |
+
|
33 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->posts."` WHERE post_type = 'revision'";
|
34 |
+
|
35 |
+
if ($this->retention_enabled == 'true') {
|
36 |
+
$sql .= ' and post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
37 |
+
}
|
38 |
+
$sql .= ';';
|
39 |
+
|
40 |
+
$revisions = $this->wpdb->get_var($sql);
|
41 |
+
|
42 |
+
if(!$revisions == 0 || !$revisions == NULL){
|
43 |
+
$message = sprintf(_n('%d post revision in your database', '%d post revisions in your database', $revisions, 'wp-optimize'), number_format_i18n($revisions));
|
44 |
+
} else {
|
45 |
+
$message = __('No post revisions found', 'wp-optimize');
|
46 |
+
}
|
47 |
+
|
48 |
+
$this->register_output($message);
|
49 |
+
}
|
50 |
+
|
51 |
+
public function settings_label() {
|
52 |
+
|
53 |
+
if ($this->retention_enabled == 'true') {
|
54 |
+
return sprintf(__('Clean post revisions which are older than %d weeks', 'wp-optimize'), $this->retention_period);
|
55 |
+
} else {
|
56 |
+
return __('Clean all post revisions', 'wp-optimize');
|
57 |
+
}
|
58 |
+
|
59 |
+
}
|
60 |
+
|
61 |
+
public function get_auto_option_description() {
|
62 |
+
return __('Remove auto revisions', 'wp-optimize');
|
63 |
+
}
|
64 |
+
}
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_spam extends WP_Optimization {
|
6 |
+
|
7 |
+
public $available_for_auto = true;
|
8 |
+
public $auto_default = true;
|
9 |
+
public $setting_default = true;
|
10 |
+
public $available_for_saving = true;
|
11 |
+
public $ui_sort_order = 3000;
|
12 |
+
|
13 |
+
protected $dom_id = 'clean-comments';
|
14 |
+
protected $setting_id = 'spams';
|
15 |
+
protected $auto_id = 'spams';
|
16 |
+
|
17 |
+
public function optimize() {
|
18 |
+
|
19 |
+
$clean = "DELETE FROM `".$this->wpdb->comments."` WHERE comment_approved = 'spam'";
|
20 |
+
|
21 |
+
if ($this->retention_enabled == 'true') {
|
22 |
+
$clean .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
23 |
+
}
|
24 |
+
|
25 |
+
$clean .= ';';
|
26 |
+
|
27 |
+
$comments = $this->query($clean);
|
28 |
+
|
29 |
+
$this->register_output(sprintf(_n('%d spam comment deleted', '%d spam comments deleted', $comments, 'wp-optimize'), number_format_i18n($comments)));
|
30 |
+
|
31 |
+
// TODO: query trashed comments and cleanup metadata
|
32 |
+
$clean = "DELETE FROM `".$this->wpdb->comments."` WHERE comment_approved = 'trash'";
|
33 |
+
|
34 |
+
if ($this->retention_enabled == 'true') {
|
35 |
+
$clean .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
36 |
+
}
|
37 |
+
$clean .= ';';
|
38 |
+
$commentstrash = $this->query($clean);
|
39 |
+
|
40 |
+
$this->register_output(sprintf(_n('%d comment removed from Trash', '%d comments removed from Trash', $commentstrash, 'wp-optimize'), number_format_i18n($commentstrash)));
|
41 |
+
}
|
42 |
+
|
43 |
+
public function get_info() {
|
44 |
+
|
45 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->comments."` WHERE comment_approved = 'spam'";
|
46 |
+
|
47 |
+
if ($this->retention_enabled == 'true') {
|
48 |
+
$sql .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
49 |
+
}
|
50 |
+
$sql .= ';';
|
51 |
+
|
52 |
+
$comments = $this->wpdb->get_var($sql);
|
53 |
+
|
54 |
+
if(!$comments == NULL || !$comments == 0){
|
55 |
+
$message = sprintf(_n('%d spam comment found', '%d spam comments found', $comments, 'wp-optimize'), number_format_i18n($comments)).' | <a href="edit-comments.php?comment_status=spam">'.' '.__('Review', 'wp-optimize').'</a>';
|
56 |
+
} else {
|
57 |
+
$message = __('No spam comments found', 'wp-optimize');
|
58 |
+
}
|
59 |
+
|
60 |
+
$this->register_output($message);
|
61 |
+
}
|
62 |
+
|
63 |
+
public function settings_label() {
|
64 |
+
|
65 |
+
if ($this->retention_enabled == 'true' ) {
|
66 |
+
return sprintf(__('Remove spam comments which are older than %d weeks', 'wp-optimize'), $this->retention_period);
|
67 |
+
} else {
|
68 |
+
return __('Remove spam comments and comments in trash', 'wp-optimize');
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
public function get_auto_option_description() {
|
73 |
+
return __('Remove spam comments', 'wp-optimize');
|
74 |
+
}
|
75 |
+
}
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_trackbacks extends WP_Optimization {
|
6 |
+
|
7 |
+
public $ui_sort_order = 7000;
|
8 |
+
|
9 |
+
public function optimize() {
|
10 |
+
|
11 |
+
$clean = "DELETE FROM `".$this->wpdb->comments."` WHERE comment_type = 'trackback';";
|
12 |
+
|
13 |
+
$comments = $this->query($clean);
|
14 |
+
|
15 |
+
$this->register_output(sprintf(_n('%d trackback deleted', '%d trackbacks deleted', $comments, 'wp-optimize'), number_format_i18n($comments)));
|
16 |
+
}
|
17 |
+
|
18 |
+
public function get_info() {
|
19 |
+
|
20 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->comments."` WHERE comment_type='trackback';";
|
21 |
+
|
22 |
+
$comments = $this->wpdb->get_var($sql);
|
23 |
+
|
24 |
+
if(!$comments == NULL || !$comments == 0){
|
25 |
+
$message = sprintf(_n('%d Trackback found', '%d Trackbacks found', $comments, 'wp-optimize'), number_format_i18n($comments));
|
26 |
+
} else {
|
27 |
+
$message = __('No trackbacks found', 'wp-optimize');
|
28 |
+
}
|
29 |
+
|
30 |
+
$this->register_output($message);
|
31 |
+
}
|
32 |
+
|
33 |
+
public function settings_label() {
|
34 |
+
return __('Remove trackbacks', 'wp-optimize');
|
35 |
+
}
|
36 |
+
}
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_transient extends WP_Optimization {
|
6 |
+
|
7 |
+
public $available_for_auto = true;
|
8 |
+
public $auto_default = false;
|
9 |
+
public $ui_sort_order = 5000;
|
10 |
+
|
11 |
+
public function optimize() {
|
12 |
+
|
13 |
+
$clean = "
|
14 |
+
DELETE
|
15 |
+
a, b
|
16 |
+
FROM
|
17 |
+
".$this->wpdb->options." a, ".$this->wpdb->options." b
|
18 |
+
WHERE
|
19 |
+
a.option_name LIKE '%_transient_%' AND
|
20 |
+
a.option_name NOT LIKE '%_transient_timeout_%' AND
|
21 |
+
b.option_name = CONCAT(
|
22 |
+
'_transient_timeout_',
|
23 |
+
SUBSTRING(
|
24 |
+
a.option_name,
|
25 |
+
CHAR_LENGTH('_transient_') + 1
|
26 |
+
)
|
27 |
+
)
|
28 |
+
AND b.option_value < UNIX_TIMESTAMP()
|
29 |
+
";
|
30 |
+
|
31 |
+
$options_table_transients_deleted = $this->query($clean);
|
32 |
+
|
33 |
+
$message = sprintf(_n('%d transient option deleted', '%d transient options deleted', $options_table_transients_deleted, 'wp-optimize'), number_format_i18n($options_table_transients_deleted));
|
34 |
+
|
35 |
+
// Delete transients from multisite, if configured as such
|
36 |
+
if (!is_multisite() || !is_main_network()) {
|
37 |
+
$final_message = $message;
|
38 |
+
} else {
|
39 |
+
|
40 |
+
$clean2 = "
|
41 |
+
DELETE
|
42 |
+
a, b
|
43 |
+
FROM
|
44 |
+
".$this->wpdb->sitemeta." a, ".$this->wpdb->sitemeta." b
|
45 |
+
WHERE
|
46 |
+
a.meta_key LIKE '_site_transient_%' AND
|
47 |
+
a.meta_key NOT LIKE '_site_transient_timeout_%' AND
|
48 |
+
b.meta_key = CONCAT(
|
49 |
+
'_site_transient_timeout_',
|
50 |
+
SUBSTRING(
|
51 |
+
a.meta_key,
|
52 |
+
CHAR_LENGTH('_site_transient_') + 1
|
53 |
+
)
|
54 |
+
)
|
55 |
+
AND b.meta_value < UNIX_TIMESTAMP()
|
56 |
+
";
|
57 |
+
|
58 |
+
$sitemeta_table_transients_deleted = $this->query($clean2);
|
59 |
+
|
60 |
+
$final_message = $message . ', '.sprintf(_n('%d site-wide transient option deleted', '%d site-widetransient options deleted', $sitemeta_table_transients_deleted, 'wp-optimize'), number_format_i18n($sitemeta_table_transients_deleted));
|
61 |
+
}
|
62 |
+
|
63 |
+
$this->register_output($final_message);
|
64 |
+
}
|
65 |
+
|
66 |
+
public function get_info() {
|
67 |
+
|
68 |
+
$options_table_sql = "
|
69 |
+
SELECT
|
70 |
+
COUNT(*)
|
71 |
+
FROM
|
72 |
+
".$this->wpdb->options." a, ".$this->wpdb->options." b
|
73 |
+
WHERE
|
74 |
+
a.option_name LIKE '%_transient_%' AND
|
75 |
+
a.option_name NOT LIKE '%_transient_timeout_%' AND
|
76 |
+
b.option_name = CONCAT(
|
77 |
+
'_transient_timeout_',
|
78 |
+
SUBSTRING(
|
79 |
+
a.option_name,
|
80 |
+
CHAR_LENGTH('_transient_') + 1
|
81 |
+
)
|
82 |
+
)
|
83 |
+
AND b.option_value < UNIX_TIMESTAMP()
|
84 |
+
";
|
85 |
+
|
86 |
+
$options_table_transients = $this->wpdb->get_var($options_table_sql);
|
87 |
+
|
88 |
+
if (is_multisite() && is_main_network()) {
|
89 |
+
|
90 |
+
$sitemeta_table_sql = "
|
91 |
+
SELECT
|
92 |
+
COUNT(*)
|
93 |
+
FROM
|
94 |
+
".$this->wpdb->sitemeta." a, ".$this->wpdb->sitemeta." b
|
95 |
+
WHERE
|
96 |
+
a.meta_key LIKE '_site_transient_%' AND
|
97 |
+
a.meta_key NOT LIKE '_site_transient_timeout_%' AND
|
98 |
+
b.meta_key = CONCAT(
|
99 |
+
'_site_transient_timeout_',
|
100 |
+
SUBSTRING(
|
101 |
+
a.meta_key,
|
102 |
+
CHAR_LENGTH('_site_transient_') + 1
|
103 |
+
)
|
104 |
+
)
|
105 |
+
AND b.meta_value < UNIX_TIMESTAMP()
|
106 |
+
";
|
107 |
+
|
108 |
+
$sitemeta_table_transients = $this->wpdb->get_var($options_table_sql);
|
109 |
+
} else {
|
110 |
+
$sitemeta_table_transients = 0;
|
111 |
+
}
|
112 |
+
|
113 |
+
$total_transients = (is_numeric($options_table_transients) ? $options_table_transients : 0) + (is_numeric($sitemeta_table_transients) ? $sitemeta_table_transients : 0);
|
114 |
+
|
115 |
+
if ($total_transients) {
|
116 |
+
$message = sprintf(_n('%d expired transient in your database', '%d expired transient in your database', $total_transients, 'wp-optimize'), number_format_i18n($total_transients));
|
117 |
+
} else {
|
118 |
+
$message = __('No transient options found', 'wp-optimize');
|
119 |
+
}
|
120 |
+
|
121 |
+
$this->register_output($message);
|
122 |
+
}
|
123 |
+
|
124 |
+
public function settings_label() {
|
125 |
+
return __('Remove expired transient options', 'wp-optimize');
|
126 |
+
}
|
127 |
+
|
128 |
+
public function get_auto_option_description() {
|
129 |
+
return __('Remove expired transient options', 'wp-optimize');
|
130 |
+
}
|
131 |
+
}
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die('No direct access allowed');
|
4 |
+
|
5 |
+
class WP_Optimization_unapproved extends WP_Optimization {
|
6 |
+
|
7 |
+
public $available_for_auto = true;
|
8 |
+
public $auto_default = false;
|
9 |
+
public $setting_default = true;
|
10 |
+
public $available_for_saving = true;
|
11 |
+
public $ui_sort_order = 4000;
|
12 |
+
|
13 |
+
// unapproved-comments / unapproved - need to check what IDs were previously used before (dom ID, settings ID), as there was a note about unapproved-comments in the source, which isn't in use now here.
|
14 |
+
|
15 |
+
public function optimize() {
|
16 |
+
|
17 |
+
$clean = "DELETE FROM `".$this->wpdb->comments."` WHERE comment_approved = '0' ";
|
18 |
+
|
19 |
+
if ($this->retention_enabled == 'true') {
|
20 |
+
$clean .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
21 |
+
}
|
22 |
+
|
23 |
+
$clean .= ';';
|
24 |
+
|
25 |
+
$comments = $this->query($clean);
|
26 |
+
|
27 |
+
$this->register_output(sprintf(_n('%d unapproved comment deleted', '%d unapproved comments deleted', $comments, 'wp-optimize'), number_format_i18n($comments)));
|
28 |
+
}
|
29 |
+
|
30 |
+
public function get_info() {
|
31 |
+
|
32 |
+
$sql = "SELECT COUNT(*) FROM `".$this->wpdb->comments."` WHERE comment_approved = '0'";
|
33 |
+
|
34 |
+
if ($this->retention_enabled == 'true') {
|
35 |
+
$sql .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
|
36 |
+
}
|
37 |
+
$sql .= ';';
|
38 |
+
|
39 |
+
$comments = $this->wpdb->get_var($sql);
|
40 |
+
|
41 |
+
if(!$comments == NULL || !$comments == 0){
|
42 |
+
$message = sprintf(_n('%d unapproved comment found', '%d unapproved comments found', $comments, 'wp-optimize'), number_format_i18n($comments)).' | <a href="edit-comments.php?comment_status=moderated">'.' '.__('Review', 'wp-optimize').'</a>';;
|
43 |
+
} else {
|
44 |
+
$message = __('No unapproved comments found', 'wp-optimize');
|
45 |
+
}
|
46 |
+
|
47 |
+
$this->register_output($message);
|
48 |
+
}
|
49 |
+
|
50 |
+
public function settings_label() {
|
51 |
+
if ($this->retention_enabled == 'true' ) {
|
52 |
+
return sprintf(__('Remove unapproved comments which are older than %d weeks', 'wp-optimize'), $this->retention_period);
|
53 |
+
} else {
|
54 |
+
return __('Remove unapproved comments', 'wp-optimize');
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
public function get_auto_option_description() {
|
59 |
+
return __('Remove unapproved comments', 'wp-optimize');
|
60 |
+
}
|
61 |
+
}
|
@@ -1,84 +1,67 @@
|
|
1 |
=== WP-Optimize ===
|
2 |
-
Contributors: ruhanirabin
|
3 |
-
Donate link: https://
|
4 |
Tags: comments, spam, optimize, database, revisions, users, posts, trash, schedule, automatic, clean, phpmyadmin, meta, postmeta, responsive, mobile
|
5 |
-
Requires at least:
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag:
|
8 |
License: GPLv2+
|
9 |
-
License URI:
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
WP-Optimize is an
|
16 |
|
17 |
-
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
-
|
22 |
|
23 |
-
|
24 |
|
25 |
-
|
26 |
|
27 |
-
*
|
28 |
-
* Enable/Disable comments for all published post
|
29 |
-
* Removal of stale post revisions
|
30 |
-
* Removal of stale unapproved and spam comments
|
31 |
-
* Removal of trashed comments
|
32 |
-
* Removal of akismet metadata from comments
|
33 |
-
* Removal of other stale metadata from comments
|
34 |
-
* Mobile device friendly, now you can optimize your site on the go
|
35 |
-
* Removal of all trackbacks and pingbacks
|
36 |
-
* Cleaning up auto draft posts
|
37 |
-
* Removal of transient options
|
38 |
-
* Clear out the post trash
|
39 |
-
* Automatic cleanup of all the integrated options (also uses retention if enabled)
|
40 |
-
* Ability to keep selected number of weeks data when cleaning up
|
41 |
-
* Option to add or remove link on wp admin bar.
|
42 |
-
* Enable/Disable weekly schedules of optimization
|
43 |
-
* Apply native WordPress MySql optimize commands on your database tables without phpMyAdmin or any manual query.
|
44 |
-
* Display Database table statistics. Shows how much space can be optimized and how much space has been cleared.
|
45 |
-
* Enabled for Administrators only.
|
46 |
|
|
|
47 |
|
48 |
-
|
49 |
|
50 |
-
|
51 |
|
52 |
-
|
53 |
|
54 |
-
*
|
55 |
-
* Similar to the scenario described above, there might be thousands of spam and un-approved comments in your comments table, WP-Optimize can clean and remove those in a single click
|
56 |
-
* WP-Optimize reports which database tables have overhead and wasted spaces also it allows you to shrink and get rid of those wasted spaces
|
57 |
-
* Automatically cleans database every week and respects the "Keeps selected number of weeks data" option.
|
58 |
|
59 |
-
|
60 |
|
61 |
-
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
66 |
-
* PHP 5.1.xx
|
67 |
-
* MySql 5.1.xx
|
68 |
|
|
|
69 |
|
70 |
-
|
71 |
-
Existing translators should join [Translation Utility](https://translate.wordpress.org/projects/wp-plugins/wp-optimize) to submit their translations.
|
72 |
-
|
73 |
-
You must have an account at WordPress.org in order to edit translation
|
74 |
-
|
75 |
-
[See a list of currently editable available languages at](https://translate.wordpress.org/projects/wp-plugins/wp-optimize)
|
76 |
|
77 |
== Installation ==
|
78 |
|
79 |
-
There are 3 different ways to install WP-Optimize.
|
80 |
|
81 |
-
= Using
|
82 |
|
83 |
1. Navigate to the 'Add New' in the plugins dashboard
|
84 |
2. Search for 'WP-Optimize'
|
@@ -87,43 +70,50 @@ There are 3 different ways to install WP-Optimize.
|
|
87 |
|
88 |
= Uploading in WordPress Dashboard =
|
89 |
|
90 |
-
1.
|
91 |
-
2. Navigate to the '
|
92 |
-
3.
|
93 |
-
4.
|
94 |
-
5.
|
|
|
95 |
|
96 |
= Using FTP =
|
97 |
|
98 |
-
1. Download
|
99 |
-
2.
|
100 |
-
3. Upload the
|
101 |
4. Activate the plugin in the Plugin dashboard
|
102 |
|
103 |
== Frequently Asked Questions ==
|
104 |
|
105 |
-
=
|
106 |
-
|
107 |
|
108 |
-
=
|
109 |
-
|
110 |
|
111 |
-
=
|
112 |
-
|
113 |
|
114 |
-
=
|
115 |
-
|
116 |
|
117 |
-
=
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
-
=
|
121 |
-
|
122 |
-
* Upgrade/Update your WP-Optimize plugin
|
123 |
-
* Upgrade your PHP to at least 5.5.xx
|
124 |
-
* Upgrade your MySql to at least MySql 5.1.xx
|
125 |
|
126 |
-
=
|
|
|
|
|
|
|
127 |
Please check your database for corrupted tables. That can happen, usually your web hosting company can run the repair command on the db.
|
128 |
|
129 |
== Screenshots ==
|
@@ -136,22 +126,32 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
136 |
|
137 |
== Changelog ==
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
= 1.9.1 =
|
140 |
* Ability to clean up Unused Post Meta, Comment Meta and Broken Relationship Data
|
141 |
* Warning prompts for RED marked items and optimize button
|
142 |
* Better transient options cleaning.
|
143 |
-
* Language files update
|
144 |
* Various other fixes
|
145 |
|
146 |
= 1.9 =
|
147 |
* 27 Weeks retention option equivalent to 6 month
|
148 |
* Compatibility update.
|
149 |
-
* Language files update
|
150 |
* Removed email notifications, it doesn't work on many servers
|
151 |
* Various other fixes
|
152 |
|
153 |
= 1.8.9.10 =
|
154 |
-
* Security Patch - Update your plugin.
|
155 |
* Security Patch provided by Dion at WordPress.org and Security report provided by http://planetzuda.com .
|
156 |
* Language files update
|
157 |
|
@@ -180,7 +180,7 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
180 |
* Scheduled time display will be shown according to WordPress blog local time
|
181 |
|
182 |
= 1.8.6 =
|
183 |
-
* Language
|
184 |
* Fix issues with total gain number problem
|
185 |
* InnoDB tables detected and features disabled automatically, tables view will not show Overhead. Main view will not show space saved, or total gain.
|
186 |
|
@@ -200,7 +200,6 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
200 |
* Tables moved to independent tab
|
201 |
* Optimize faster
|
202 |
* GitHub updater support
|
203 |
-
* All translations updates will come in soon
|
204 |
* I do not monitor WP forums, support email at plugins(at)ruhanirabin.com
|
205 |
|
206 |
= 1.7.4 =
|
@@ -211,34 +210,33 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
211 |
* Fixed Problems with wpMail.
|
212 |
* Fixed Problems with wpAdmin menubar.
|
213 |
* Fixed Permission issues on some site.
|
214 |
-
*
|
215 |
-
* Russian and German translation updated.
|
216 |
|
217 |
= 1.7.2 =
|
218 |
* All MySQL statements re-factored into native WP database calls - necessary for future versions of MySQL and WordPress.
|
219 |
* Upgrade to match WordPress 3.9 changes.
|
220 |
-
*
|
221 |
* Now postmeta cleanup is disabled from code - it will be updated soon with native WordPress postmeta cleaning options.
|
222 |
|
223 |
= 1.6.2 =
|
224 |
-
*
|
225 |
|
226 |
= 1.6.1 =
|
227 |
* Fixed - trashed Comments was not clearing out.
|
228 |
-
*
|
229 |
|
230 |
= 1.5.7 =
|
231 |
-
*
|
232 |
|
233 |
= 1.5.6 =
|
234 |
* "Unused Tags cleanup" option made a problem on some WordPress sites that it deletes empty categories. Since I am unable to replicate this problem. I am making this option disabled.
|
235 |
-
*
|
236 |
* Minor maintenance and fixes.
|
237 |
|
238 |
= 1.5.5 =
|
239 |
* Safe clean up options are selected by default, defaults are not by user preference for now (Optimizer Page).
|
240 |
* All the potentially dangerous clean up options are MARKED RED.
|
241 |
-
*
|
242 |
* New features explained - http://j.mp/HBIoVT (read the blog post).
|
243 |
|
244 |
= 1.5.4 =
|
@@ -251,18 +249,17 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
251 |
* Option to add or remove link on wp admin bar (even enabled - it is visible to admin only).
|
252 |
* New admin interface.
|
253 |
* Settings to select items for automatic optimization.
|
254 |
-
* Removal of WordPress transient options
|
255 |
* Removal of orphaned post meta tags.
|
256 |
* Removal of unused tags.
|
257 |
* 3 different schedule times added (weekly, bi-weekly and monthly).
|
258 |
-
*
|
259 |
* Code optimization and translation strings updated.
|
260 |
-
* Updated .PO file for translators.
|
261 |
* Integrated development log from TRAC
|
262 |
|
263 |
= 1.1.2 =
|
264 |
* removed persistent admin bar menu item
|
265 |
-
* Language
|
266 |
|
267 |
= 1.1.1 =
|
268 |
* Fix Fatal Error.
|
@@ -278,7 +275,6 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
278 |
= 1.0.1 =
|
279 |
* Removed auto cleanup of trackbacks or pingbacks.. it's better for people to do it manually.
|
280 |
|
281 |
-
|
282 |
= 0.9.8-beta =
|
283 |
* added beta tag
|
284 |
|
@@ -301,13 +297,12 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
301 |
* Fixed problem with database names containing "-" .
|
302 |
* NEW Main Level Menu Item added for WP-Optimize, You might need to scroll down to see it
|
303 |
* Compatibilty with WordPress 3.1
|
304 |
-
*
|
305 |
* Added auto draft post removal feature
|
306 |
|
307 |
= 0.8.0 =
|
308 |
* Added Multilanguage capability
|
309 |
-
*
|
310 |
-
* Farsi Translation included now (Thanks to Ali irani)
|
311 |
|
312 |
= 0.7.1 =
|
313 |
* POST META Table cleanup code removed cause it is making problems with many hosts
|
@@ -319,3 +314,6 @@ Please check your database for corrupted tables. That can happen, usually your w
|
|
319 |
|
320 |
= 0.6.5.1 =
|
321 |
* Fix Interface
|
|
|
|
|
|
1 |
=== WP-Optimize ===
|
2 |
+
Contributors: DavidAnderson, ruhanirabin, DNutbourne, aporter, snightingale
|
3 |
+
Donate link: https://david.dw-perspective.org.uk/donate
|
4 |
Tags: comments, spam, optimize, database, revisions, users, posts, trash, schedule, automatic, clean, phpmyadmin, meta, postmeta, responsive, mobile
|
5 |
+
Requires at least: 3.8
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 2.0.1
|
8 |
License: GPLv2+
|
9 |
+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
WP-Optimize is WordPress's most-installed optimization plugin. With it, you can clean up your database easily and safely, without manual queries.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
WP-Optimize is an effective tool for automatically cleaning your WordPress database so that it runs at maximum efficiency.
|
16 |
|
17 |
+
= Major Features =
|
18 |
|
19 |
+
* Removes all unnecessary data (e.g. trashed/unapproved/spam comments, stale data) plus pingbacks, trackbacks and expired transient options
|
20 |
+
* Compact/de-fragment MySQL tables with a button-press
|
21 |
+
* Detailed control of which optimizations you wish to carry out
|
22 |
+
* Carries out automatic weekly (or otherwise) clean-ups
|
23 |
+
* Retains a set number of weeks' data during clean-ups
|
24 |
+
* Performs optimizations without the need for running manual queries
|
25 |
+
* Show database statistics and potential savings
|
26 |
+
* Mobile friendly and easy-to-use
|
27 |
+
* Translated into several languages
|
28 |
+
* More planned!
|
29 |
|
30 |
+
= WP-Optimize helps you to: =
|
31 |
|
32 |
+
* <strong>Make space:</strong> When you edit a post or page on your website, WordPress automatically saves the new revision to the database. If you edit things a few times (and particularly if the post is long), your database soon gets clogged up with old revisions that just sit there, taking up valuable space. WP-Optimize removes these unnecessary post revisions, freeing up valuable Megabytes of data and increasing speed and efficiency. It also cleans up your comments table, removing all the spam and un-approved comments that have built up with a single click.
|
33 |
|
34 |
+
* <strong>Take control:</strong> WP-Optimize reports on exactly which of your database tables have overhead and wasted space, giving you the insight, control and power to keep your website neat, fast and efficient.
|
35 |
|
36 |
+
* <strong>Keep it clean:</strong> Once enabled, WP-Optimize can run an automatic clean-up on a schedule, keeping a selected number of weeks' data, according to your specification.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
+
When you use this plugin for the first time or just updated to major version, make a backup of your database (we recommend <a href="https://wordpress.org/plugins/updraftplus">UpdraftPlus</a>). Though none of the queries used are dangerous, it is always the best practice to make a database backup before altering your database.
|
39 |
|
40 |
+
= How this could help you? =
|
41 |
|
42 |
+
* The tables in MySQL (the database that WordPress uses) will, over time, become inefficient as data is added, removed, moved around. Asking MySQL to optimize its tables every now and again will keep your site running as fast as possible. It won't happen by itself.
|
43 |
|
44 |
+
* Every-time you save a new post or pages, WordPress creates a revision of that post or page. If you edit a post 6 times you might have 5 copy of that post as revisions. This quickly adds lots of rarely-used data to your database tables, making them unnecessarily bloated, and slower to access.
|
45 |
|
46 |
+
* Similar to the scenario described above, there might be thousands of spam and un-approved comments in your comments table, WP-Optimize can clean and remove those in a single click.
|
|
|
|
|
|
|
47 |
|
48 |
+
* WP-Optimize reports which database tables have overhead and wasted spaces also it allows you to shrink and get rid of those wasted spaces.
|
49 |
|
50 |
+
* Automatically cleans database every week and respects the "Keeps selected number of weeks data" option.
|
51 |
|
52 |
+
= Developers =
|
53 |
|
54 |
+
If you interested in the development of this plugin, join with us at our GitLab: https://source.updraftplus.com/team-updraft/wp-optimize/ (but please file all support questions in the wordpress.org system).
|
|
|
|
|
55 |
|
56 |
+
= Translations =
|
57 |
|
58 |
+
Translators are welcome to contribute to the plugin. Please use the [WordPress translation website](https://translate.wordpress.org/projects/wp-plugins/wp-optimize).
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
== Installation ==
|
61 |
|
62 |
+
There are 3 different ways to install WP-Optimize, as with any other wordpress.org plugin.
|
63 |
|
64 |
+
= Using the WordPress dashboard =
|
65 |
|
66 |
1. Navigate to the 'Add New' in the plugins dashboard
|
67 |
2. Search for 'WP-Optimize'
|
70 |
|
71 |
= Uploading in WordPress Dashboard =
|
72 |
|
73 |
+
1. Download the latest version of this plugin from https://wordpress.org/plugins/wp-optimize/
|
74 |
+
2. Navigate to the 'Add New' in the plugins dashboard
|
75 |
+
3. Navigate to the 'Upload' area
|
76 |
+
4. Select the zip file (from step 1.) from your computer
|
77 |
+
5. Click 'Install Now'
|
78 |
+
6. Activate the plugin in the Plugin dashboard
|
79 |
|
80 |
= Using FTP =
|
81 |
|
82 |
+
1. Download the latest version of this plugin from https://wordpress.org/plugins/wp-optimize/
|
83 |
+
2. Unzip the zip file, which will extract the wp-optimize directory to your computer
|
84 |
+
3. Upload the wp-optimize directory to the /wp-content/plugins/ directory in your web space
|
85 |
4. Activate the plugin in the Plugin dashboard
|
86 |
|
87 |
== Frequently Asked Questions ==
|
88 |
|
89 |
+
= Is optimizing my database safe? =
|
90 |
+
Yes; optimizing does not involve any "tricks" or poking around in dangerous ways. It involves running routine clean-up operations using well-defined, common MySQL commands. Nevertheless, we always recommend backups, which cover every possibility; not just database malfunctions, but hackers, human errors, etc. We recommend <a href="https://wordpress.org/plugins/updraftplus/">UpdraftPlus</a>.
|
91 |
|
92 |
+
= What savings can I expect to make? =
|
93 |
+
This is a "how long is string?" sort of question. It depends completely on your site - how big it is, how many users interact on it, how long it has been running, and when you last optimised it. However, the savings and speed-ups can be substantial; it is always worth making sure that your database is optimized.
|
94 |
|
95 |
+
= How do I get support? =
|
96 |
+
In our support forum, here: https://wordpress.org/support/plugin/wp-optimize/
|
97 |
|
98 |
+
= WP-Optimize does not make large savings on my database =
|
99 |
+
This is rare; it’s probably because you’re with a shared web hosting company that doesn’t allow scripts to run an optimize command via SQL statements (SQL "OPTIMIZE" instruction). Please consult your web hosting company on this matter.
|
100 |
|
101 |
+
= Is the plugin tried and tested? =
|
102 |
+
Yes - WP-Optimize is WordPress's #1 most-installed optimization plugin, with over 500,000 users and a pedigree going back over 7 years.
|
103 |
+
|
104 |
+
= Does WP-Optimize support InnoDB tables? =
|
105 |
+
WP-Optimize will disable some features if it detects InnoDB tables. Optimization of the database tables on-disk is not available, but other clean up features would work.
|
106 |
+
|
107 |
+
= Can you help me restore my database? =
|
108 |
+
I'm afraid that this is not possible. Please ensure that you make a backup of your entire database before using WP-Optimize for the first time, and when you upgrade to a major new version of it. We recommend <a href="https://wordpress.org/plugins/updraftplus/">UpdraftPlus</a>.
|
109 |
|
110 |
+
= Are there any bugs in this plugin? =
|
111 |
+
The plugin is an ongoing work; that means that it is impossible to rule out unforeseen situations and bugs. So I would recommend you to test it out on your local system or make a backup of your database (just to be extra careful).
|
|
|
|
|
|
|
112 |
|
113 |
+
= How do I stop transient options from coming back automatically each time I clear them? =
|
114 |
+
When WordPress uses a particular transient, that specific transient is re-created automatically. So, it's normaly for ones which are in active use to gradually re-appear. The best way to keep things optimal is to clear the transient options on a scheduled basis. For example, WordPress may create 50 transient option in a week. If you schedule WP-Optimize to clear these options on a weekly basis, you’ll have far fewer building up.
|
115 |
+
|
116 |
+
= The table size shows wrong / Not optimizing =
|
117 |
Please check your database for corrupted tables. That can happen, usually your web hosting company can run the repair command on the db.
|
118 |
|
119 |
== Screenshots ==
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 2.0.1 - 12/Dec/2016 =
|
130 |
+
|
131 |
+
* OWNERSHIP: WP-Optimize is now under the leadership of Team UpdraftPlus - https://updraftplus.com. A big thank you to Ruhani (who remains on-board) for his leadership of WP-Optimize until this point! Layout, branding and links have been altered to reflect this change.
|
132 |
+
* RE-FACTOR: Internal code completely re-factored, laying the foundations for future improvements
|
133 |
+
* TWEAK: Various filters introduced internally for easier customisation
|
134 |
+
* TWEAK: Marked form element labels, so that they can be clicked
|
135 |
+
* TWEAK: Various small UI improvements (more to come in future releases)
|
136 |
+
* FIX: Previous versions could potentially run OPTIMIZE commands on tables in the same MySQL database (if it was shared) belonging to other sites
|
137 |
+
* FIX: Previous versions were not deleting most delete-able transients. This is now fixed, with the modification that we now delete all *expired* transients.
|
138 |
+
* LANGUAGES: Removed language packs and screenshots that are already carried by wordpress.org, reducing the plugin download / install size
|
139 |
+
|
140 |
= 1.9.1 =
|
141 |
* Ability to clean up Unused Post Meta, Comment Meta and Broken Relationship Data
|
142 |
* Warning prompts for RED marked items and optimize button
|
143 |
* Better transient options cleaning.
|
144 |
+
* Language files update
|
145 |
* Various other fixes
|
146 |
|
147 |
= 1.9 =
|
148 |
* 27 Weeks retention option equivalent to 6 month
|
149 |
* Compatibility update.
|
150 |
+
* Language files update
|
151 |
* Removed email notifications, it doesn't work on many servers
|
152 |
* Various other fixes
|
153 |
|
154 |
= 1.8.9.10 =
|
|
|
155 |
* Security Patch provided by Dion at WordPress.org and Security report provided by http://planetzuda.com .
|
156 |
* Language files update
|
157 |
|
180 |
* Scheduled time display will be shown according to WordPress blog local time
|
181 |
|
182 |
= 1.8.6 =
|
183 |
+
* Language files update
|
184 |
* Fix issues with total gain number problem
|
185 |
* InnoDB tables detected and features disabled automatically, tables view will not show Overhead. Main view will not show space saved, or total gain.
|
186 |
|
200 |
* Tables moved to independent tab
|
201 |
* Optimize faster
|
202 |
* GitHub updater support
|
|
|
203 |
* I do not monitor WP forums, support email at plugins(at)ruhanirabin.com
|
204 |
|
205 |
= 1.7.4 =
|
210 |
* Fixed Problems with wpMail.
|
211 |
* Fixed Problems with wpAdmin menubar.
|
212 |
* Fixed Permission issues on some site.
|
213 |
+
* Language files update
|
|
|
214 |
|
215 |
= 1.7.2 =
|
216 |
* All MySQL statements re-factored into native WP database calls - necessary for future versions of MySQL and WordPress.
|
217 |
* Upgrade to match WordPress 3.9 changes.
|
218 |
+
* Language files update
|
219 |
* Now postmeta cleanup is disabled from code - it will be updated soon with native WordPress postmeta cleaning options.
|
220 |
|
221 |
= 1.6.2 =
|
222 |
+
* Language files update
|
223 |
|
224 |
= 1.6.1 =
|
225 |
* Fixed - trashed Comments was not clearing out.
|
226 |
+
* Language files update
|
227 |
|
228 |
= 1.5.7 =
|
229 |
+
* Language files update
|
230 |
|
231 |
= 1.5.6 =
|
232 |
* "Unused Tags cleanup" option made a problem on some WordPress sites that it deletes empty categories. Since I am unable to replicate this problem. I am making this option disabled.
|
233 |
+
* Language files update
|
234 |
* Minor maintenance and fixes.
|
235 |
|
236 |
= 1.5.5 =
|
237 |
* Safe clean up options are selected by default, defaults are not by user preference for now (Optimizer Page).
|
238 |
* All the potentially dangerous clean up options are MARKED RED.
|
239 |
+
* Language files update
|
240 |
* New features explained - http://j.mp/HBIoVT (read the blog post).
|
241 |
|
242 |
= 1.5.4 =
|
249 |
* Option to add or remove link on wp admin bar (even enabled - it is visible to admin only).
|
250 |
* New admin interface.
|
251 |
* Settings to select items for automatic optimization.
|
252 |
+
* Removal of WordPress transient options
|
253 |
* Removal of orphaned post meta tags.
|
254 |
* Removal of unused tags.
|
255 |
* 3 different schedule times added (weekly, bi-weekly and monthly).
|
256 |
+
* Language files update
|
257 |
* Code optimization and translation strings updated.
|
|
|
258 |
* Integrated development log from TRAC
|
259 |
|
260 |
= 1.1.2 =
|
261 |
* removed persistent admin bar menu item
|
262 |
+
* Language files update
|
263 |
|
264 |
= 1.1.1 =
|
265 |
* Fix Fatal Error.
|
275 |
= 1.0.1 =
|
276 |
* Removed auto cleanup of trackbacks or pingbacks.. it's better for people to do it manually.
|
277 |
|
|
|
278 |
= 0.9.8-beta =
|
279 |
* added beta tag
|
280 |
|
297 |
* Fixed problem with database names containing "-" .
|
298 |
* NEW Main Level Menu Item added for WP-Optimize, You might need to scroll down to see it
|
299 |
* Compatibilty with WordPress 3.1
|
300 |
+
* Language files update
|
301 |
* Added auto draft post removal feature
|
302 |
|
303 |
= 0.8.0 =
|
304 |
* Added Multilanguage capability
|
305 |
+
* Language files update
|
|
|
306 |
|
307 |
= 0.7.1 =
|
308 |
* POST META Table cleanup code removed cause it is making problems with many hosts
|
314 |
|
315 |
= 0.6.5.1 =
|
316 |
* Fix Interface
|
317 |
+
|
318 |
+
== Upgrade Notice ==
|
319 |
+
* 2.0.1: Re-factor of the plugin's internals, laying a foundation for planned future advances.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
|
2 |
+
|
3 |
+
<?php
|
4 |
+
$sqlversion = (string)$wpdb->get_var("SELECT VERSION() AS version");
|
5 |
+
|
6 |
+
echo '<h1>WP-Optimize '.WPO_VERSION.'</h1>';
|
7 |
+
|
8 |
+
echo '<em>'.__('Running on:', 'wp-optimize').' PHP '.PHP_VERSION.', '.__('MySQL', 'wp-optimize').' '.$sqlversion.' - '.htmlspecialchars(PHP_OS).'</em><br>';
|
9 |
+
|
10 |
+
function wp_optimize_header_link($url, $text) {
|
11 |
+
|
12 |
+
if (false !== strpos($url, '//updraftplus.com')) $url = apply_filters('wpoptimize_updraftplus_com_link', $url);
|
13 |
+
|
14 |
+
echo '<a href="'.esc_attr($url).'">'.htmlspecialchars($text).'</a>';
|
15 |
+
|
16 |
+
}
|
17 |
+
|
18 |
+
?>
|
19 |
+
<p>
|
20 |
+
<?php wp_optimize_header_link('https://updraftplus.com/wp-optimize/', __('Home', 'wp-optimize'));?> |
|
21 |
+
|
22 |
+
<?php wp_optimize_header_link('https://updraftplus.com/', 'UpdraftPlus.Com');?> |
|
23 |
+
|
24 |
+
<?php wp_optimize_header_link('https://updraftplus.com/news/', __('News', 'wp-optimize'));?> |
|
25 |
+
|
26 |
+
<?php wp_optimize_header_link('https://twitter.com/updraftplus', __('Twitter', 'wp-optimize'));?> |
|
27 |
+
|
28 |
+
<?php wp_optimize_header_link('https://wordpress.org/support/plugin/wp-optimize/', __('Support', 'wp-optimize'));?> |
|
29 |
+
|
30 |
+
<?php wp_optimize_header_link('https://updraftplus.com/newsletter-signup', __('Newsletter sign-up', 'wp-optimize'));?> |
|
31 |
+
|
32 |
+
<?php wp_optimize_header_link('https://david.dw-perspective.org.uk', __("Lead developer", 'wp-optimize'));?> |
|
33 |
+
|
34 |
+
<?php wp_optimize_header_link('https://source.updraftplus.com/team-updraft/wp-optimize/', 'Gitlab');?> |
|
35 |
+
|
36 |
+
<?php wp_optimize_header_link('https://wordpress.org/plugins/wp-optimize/faq/', __("FAQs", 'wp-optimize'));?> |
|
37 |
+
|
38 |
+
<?php wp_optimize_header_link('https://www.simbahosting.co.uk/s3/shop/', __("More plugins", 'wp-optimize'));?>
|
39 |
+
|
40 |
+
</p>
|
41 |
+
|
42 |
+
<h2 class="nav-tab-wrapper">
|
43 |
+
|
44 |
+
<a href="<?php echo esc_attr($options->admin_page_url()); ?>&tab=wp_optimize_optimize" class="nav-tab <?php if ($active_tab == 'wp_optimize_optimize') echo 'nav-tab-active'; ?>">WP-Optimize</span></a>
|
45 |
+
|
46 |
+
<a href="<?php echo esc_attr($options->admin_page_url()); ?>&tab=wp_optimize_tables" class="nav-tab <?php if ($active_tab == 'wp_optimize_tables') echo 'nav-tab-active'; ?>"><?php _e('Table information', 'wp-optimize') ?></a>
|
47 |
+
|
48 |
+
<a href="<?php echo esc_attr($options->admin_page_url()); ?>&tab=wp_optimize_settings" class="nav-tab <?php if ($active_tab == 'wp_optimize_settings') echo 'nav-tab-active'; ?>"><?php _e('Settings', 'wp-optimize') ?></a>
|
49 |
+
|
50 |
+
<a href="<?php echo esc_attr($options->admin_page_url()); ?>&tab=wp_optimize_may_also" class="nav-tab <?php if ($active_tab == 'wp_optimize_may_also') echo 'nav-tab-active'; ?>"><?php _e('Plugin family', 'wp-optimize') ?></a>
|
51 |
+
|
52 |
+
</h2>
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if (!defined('WPO_VERSION')) die ('No direct access allowed'); ?>
|
2 |
+
|
3 |
+
<div class="wpo_section wpo_group">
|
4 |
+
|
5 |
+
<form action="#" method="post" enctype="multipart/form-data" name="settings_form" id="settings_form">
|
6 |
+
|
7 |
+
<input type="hidden" name="action" value="save_redirect" />
|
8 |
+
|
9 |
+
<?php wp_nonce_field( 'wpo_settings' ); ?>
|
10 |
+
|
11 |
+
<div class="wpo_col wpo_span_1_of_3">
|
12 |
+
<div class="postbox">
|
13 |
+
<div class="inside">
|
14 |
+
<h3><?php _e('General settings', 'wp-optimize'); ?></h3>
|
15 |
+
<p>
|
16 |
+
<input name="enable-retention" id="enable-retention" type="checkbox" value ="true" <?php echo $options->get_option('retention-enabled') == 'true' ? 'checked="checked"':''; ?> />
|
17 |
+
<?php
|
18 |
+
|
19 |
+
$retention_period = max((int)$options->get_option('retention-period', '2'), 1);
|
20 |
+
|
21 |
+
echo '<label for="enable-retention">';
|
22 |
+
printf(__('Keep last %s weeks data', 'wp-optimize'),
|
23 |
+
'</label><input id="retention-period" name="retention-period" type="number" step="1" min="2" max="99" value="'.$retention_period.'"><label for="enable-retention">');
|
24 |
+
echo '</label>'; ?>
|
25 |
+
<br>
|
26 |
+
<small><?php _e('This option will, where relevant, retain data from the chosen period, and remove any garbage data before that period.', 'wp-optimize').' '.__('If the option is not active, then all garbage data will be removed.', 'wp-optimize').' '.__('This will also affect Auto Clean-up process', 'wp-optimize');?></small>
|
27 |
+
</p>
|
28 |
+
<p>
|
29 |
+
<label>
|
30 |
+
<input name="enable-admin-bar" id="enable-admin-bar" type="checkbox" value ="true" <?php echo $options->get_option('enable-admin-menu', 'false') == 'true' ? 'checked="checked"':''; ?> />
|
31 |
+
<?php _e('Enable admin bar link', 'wp-optimize');?>
|
32 |
+
</label>
|
33 |
+
<br>
|
34 |
+
<small><?php _e('This option will put an WP-Optimize link on the top admin bar (default is off). Requires a second page refresh after saving the settings.', 'wp-optimize');?></small>
|
35 |
+
</p>
|
36 |
+
<h3><?php _e('Trackback/comments actions', 'wp-optimize'); ?></h3>
|
37 |
+
<p>
|
38 |
+
<?php _e('Disable/enable trackbacks', 'wp-optimize'); ?>
|
39 |
+
<br>
|
40 |
+
<select id="wp-optimize-disable-enable-trackbacks" name="wp-optimize-disable-enable-trackbacks">
|
41 |
+
<option value="-1"><?php _e('SELECT', 'wp-optimize'); ?></option>
|
42 |
+
<option value="0"><?php _e('Disable', 'wp-optimize'); ?></option>
|
43 |
+
<option value="1"><?php _e('Enable', 'wp-optimize'); ?></option>
|
44 |
+
</select>
|
45 |
+
<br><br>
|
46 |
+
<small><?php _e('This will disable/enable Trackbacks on all your current and previously published posts', 'wp-optimize');?></small>
|
47 |
+
</p>
|
48 |
+
<p>
|
49 |
+
<?php _e('Disable/enable comments', 'wp-optimize'); ?>
|
50 |
+
<br>
|
51 |
+
<select id="wp-optimize-disable-enable-comments" name="wp-optimize-disable-enable-comments">
|
52 |
+
<option value="-1"><?php _e('SELECT', 'wp-optimize'); ?></option>
|
53 |
+
<option value="0"><?php _e('Disable', 'wp-optimize'); ?></option>
|
54 |
+
<option value="1"><?php _e('Enable', 'wp-optimize'); ?></option>
|
55 |
+
</select>
|
56 |
+
<br><br>
|
57 |
+
<small><?php _e('This will disable/enable Comments on all your current and previously published posts', 'wp-optimize');?></small>
|
58 |
+
</p>
|
59 |
+
|
60 |
+
<p>
|
61 |
+
<input class="button-primary" type="submit" name="wp-optimize-settings1" value="<?php esc_attr_e('Save settings', 'wp-optimize'); ?>" />
|
62 |
+
</p>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<?php $wpo_auto_options = $options->get_option('auto'); ?>
|
68 |
+
|
69 |
+
<div class="wpo_col wpo_span_1_of_3">
|
70 |
+
<div class="postbox">
|
71 |
+
<div class="inside">
|
72 |
+
<h3><?php _e('Auto clean-up settings', 'wp-optimize'); ?></h3>
|
73 |
+
|
74 |
+
<p>
|
75 |
+
|
76 |
+
<input name="enable-schedule" id="enable-schedule" type="checkbox" value ="true" <?php echo $options->get_option('schedule') == 'true' ? 'checked="checked"':''; ?> />
|
77 |
+
<label for="enable-schedule"><?php _e('Enable scheduled clean-up and optimization (Beta feature!)', 'wp-optimize'); ?></label>
|
78 |
+
|
79 |
+
</p>
|
80 |
+
|
81 |
+
<div id="wp-optimize-auto-options">
|
82 |
+
|
83 |
+
<p>
|
84 |
+
|
85 |
+
<?php _e('Select schedule type (default is Weekly)', 'wp-optimize'); ?><br>
|
86 |
+
<select id="schedule_type" name="schedule_type">
|
87 |
+
|
88 |
+
<?php
|
89 |
+
$schedule_options = array(
|
90 |
+
'wpo_daily' => __('Daily', 'wp-optimize'),
|
91 |
+
'wpo_weekly' => __('Weekly', 'wp-optimize'),
|
92 |
+
'wpo_otherweekly' => __('Fortnightly', 'wp-optimize'),
|
93 |
+
'wpo_monthly' => __('Monthly (approx. - every 30 days)', 'wp-optimize'),
|
94 |
+
);
|
95 |
+
|
96 |
+
$schedule_type_saved_id = $options->get_option('schedule-type', 'wpo_weekly');
|
97 |
+
|
98 |
+
foreach ($schedule_options as $opt_id => $opt_description) {
|
99 |
+
?>
|
100 |
+
<option value="<?php echo esc_attr($opt_id);?>" <?php if ($opt_id == $schedule_type_saved_id) echo 'selected="selected"';?>><?php echo htmlspecialchars($opt_description);?></option>
|
101 |
+
<?php
|
102 |
+
}
|
103 |
+
|
104 |
+
?>
|
105 |
+
|
106 |
+
</select>
|
107 |
+
<br><br>
|
108 |
+
<small><?php _e('Automatic cleanup will perform the following:', 'wp-optimize');
|
109 |
+
echo '<br>';
|
110 |
+
_e('Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db.', 'wp-optimize');?></small>
|
111 |
+
|
112 |
+
</p>
|
113 |
+
|
114 |
+
<?php
|
115 |
+
// TODO: No ordering is currently applied. The previous ordering:
|
116 |
+
// revisions, drafts(=autodraft), spams(=spam), unapproved, (red)transient, [commented out: postmeta, tags], optimizedb
|
117 |
+
|
118 |
+
// TODO: postmeta ("Remove orphaned post meta") and tags ("Remove unused tags") were present in the HTML previously, but commented out. Should ask Ruhani about that.
|
119 |
+
$optimizations = $optimizer->sort_optimizations($optimizer->get_optimizations());
|
120 |
+
|
121 |
+
foreach ($optimizations as $id => $optimization) {
|
122 |
+
|
123 |
+
if (empty($optimization->available_for_auto)) continue;
|
124 |
+
|
125 |
+
$auto_id = $optimization->get_auto_id();
|
126 |
+
|
127 |
+
$auto_dom_id = 'wp-optimize-auto-'.$auto_id;
|
128 |
+
|
129 |
+
$setting_activated = (empty($wpo_auto_options[$auto_id]) || 'false' == $wpo_auto_options[$auto_id]) ? false : true;
|
130 |
+
|
131 |
+
?><p>
|
132 |
+
<input name="wp-optimize-auto[<?php echo $auto_id;?>]" id="<?php echo $auto_dom_id;?>" type="checkbox" value="true" <?php if ($setting_activated) echo 'checked="checked"'; ?>> <label for="<?php echo $auto_dom_id;?>"><?php echo $optimization->get_auto_option_description(); ?></label>
|
133 |
+
</p>
|
134 |
+
<?php
|
135 |
+
|
136 |
+
}
|
137 |
+
?>
|
138 |
+
|
139 |
+
<!-- disabled email notification
|
140 |
+
<p>
|
141 |
+
<label>
|
142 |
+
<input name="enable-email" id="enable-email" type="checkbox" value ="true" <?php // echo $options->get_option('enable-email', 'false') == 'true' ? 'checked="checked"':''; ?> />
|
143 |
+
<?php //_e('Enable email notification', 'wp-optimize');?>
|
144 |
+
</label>
|
145 |
+
</p>
|
146 |
+
<p>
|
147 |
+
<label for="enable-email-address">
|
148 |
+
<?php //_e('Send email to', 'wp-optimize');?>
|
149 |
+
<input name="enable-email-address" id="enable-email-address" type="text" value ="<?php //echo // esc_attr( $options->get_option('enable-email-address', get_bloginfo ( 'admin_email' ) ) ); ?>" />
|
150 |
+
</label>
|
151 |
+
</p> -->
|
152 |
+
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<input class="button-primary" type="submit" name="wp-optimize-settings" value="<?php esc_attr_e('Save auto clean-up settings', 'wp-optimize'); ?>" />
|
156 |
+
|
157 |
+
</div>
|
158 |
+
|
159 |
+
</div>
|
160 |
+
</div>
|
161 |
+
|
162 |
+
</form>
|
163 |
+
</div>
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if (!defined('WPO_VERSION')) die ('No direct access allowed'); ?>
|
2 |
+
|
3 |
+
<div class="wpo_col wpo_half_width">
|
4 |
+
<div class="postbox">
|
5 |
+
<div class="inside">
|
6 |
+
<img class="addons" alt="WP_Optimize" src="<?php echo WPO_PLUGIN_URL.'images/logo/wpo_logo_small.png'; ?>">
|
7 |
+
<h2>WP-Optimize is now part of the UpdraftPlus family!</h2>
|
8 |
+
|
9 |
+
<p>We're pleased to announce with this new version (2.0) that WP-Optimize is now developed, supported and owned by <a href="https://updraftplus.com">UpdraftPlus</a>, the world's most installed WordPress backup/restore plugin.</p>
|
10 |
+
|
11 |
+
<p>This release has no major changes or features on the outside (apart from a few bug fixes). What it is, is a complete re-factorization of the plugin on the inside. The code structure is now totally different to make future development quicker, and to enable a future remote-control facility for users with multiple sites (through <a href="https://updraftcentral.com">UpdraftCentral)</a>.</p>
|
12 |
+
|
13 |
+
<p>We are quite excited to have reached this stage which lays a solid foundation for lots of future improvements. Watch this space and sign up to the <a href="https://updraftplus.com/newsletter-signup">UpdraftPlus newsletter</a> for updates!</p>
|
14 |
+
|
15 |
+
<p>Find out more about the acquisition <a href="https://updraftplus.com/updraftplus-confirms-acquired-wp-optimize">here</a>.</p>
|
16 |
+
</div>
|
17 |
+
</div>
|
18 |
+
</div>
|
19 |
+
<div class="wpo_col wpo_half_width">
|
20 |
+
<div class="postbox">
|
21 |
+
<div class="inside">
|
22 |
+
<a href="https://updraftplus.com"><img class="addons" name="UpdraftPlus" src="<?php echo WPO_PLUGIN_URL.'images/logo/udp_logo_small.png'; ?>"></a>
|
23 |
+
<h2>Why do you need a backup plugin?</h2>
|
24 |
+
<p>Websites crash, get hacked; hosting companies make mistakes or go bust; plugin and theme authors release code with unwanted errors in; site editors make mistakes too. With a backup, you can be back up and running again in minutes. Without - everything is gone.</p>
|
25 |
+
|
26 |
+
<p>Do backups have anything to do with optimising? Yes. When WP-Optimize cleans up part of the database such as unpublished comments, or old post drafts, then the contents get permanently deleted. If there's even a remote chance you'll regret this later, then you ought to take a backup!</p>
|
27 |
+
|
28 |
+
<h2>Why choose UpdraftPlus to backup my site?</h2>
|
29 |
+
|
30 |
+
<p>Not all backup plugins are created equal. The following are essential features:</p>
|
31 |
+
<ol>
|
32 |
+
<li>
|
33 |
+
<p>The ability to set an <strong>automatic backup schedule</strong>: it's too easy to forget to take the backup you really needed. Much better to set it up and leave it to do the work for you.</p>
|
34 |
+
</li>
|
35 |
+
<li>
|
36 |
+
<p>The ability to <strong>backup to remote storage</strong> like Dropbox or Google Drive: if your backups are only in your webspace, then you can lose both at once (to hackers, server failure, etc.).</p>
|
37 |
+
</li>
|
38 |
+
<li>
|
39 |
+
<p>The ability to <strong>restore your website</strong> for you from your backups. Unfortunately, most WordPress backup plugins force you to learn about how to restore by hand!</p>
|
40 |
+
</li>
|
41 |
+
</ol>
|
42 |
+
<p><a href="https://wordpress.org/plugins/updraftplus/">UpdraftPlus</a> is the most trusted and installed backup plugin because it does all of this and more reliably, for free. There is also a premium version which can do <a href="https://updraftplus.com">a lot more</a>.</p>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WPO_VERSION')) die ('No direct access allowed');
|
4 |
+
|
5 |
+
$retention_enabled = $options->get_option('retention-enabled', 'false');
|
6 |
+
$retention_period = $options->get_option('retention-period', '2');
|
7 |
+
$admin_page_url = $options->admin_page_url();
|
8 |
+
|
9 |
+
?>
|
10 |
+
|
11 |
+
<div class="wpo_section wpo_group">
|
12 |
+
<form onSubmit="return confirm('<?php echo esc_js('WARNING: This operation is permanent. Continue?', 'wp-optimize'); ?>')" action="#" method="post" enctype="multipart/form-data" name="optimize_form" id="optimize_form">
|
13 |
+
|
14 |
+
<?php wp_nonce_field('wpo_optimization'); ?>
|
15 |
+
|
16 |
+
<div class="wpo_col wpo_span_1_of_3">
|
17 |
+
<div class="postbox">
|
18 |
+
<div class="inside">
|
19 |
+
|
20 |
+
<h3><?php _e('Optimization options', 'wp-optimize'); ?></h3>
|
21 |
+
|
22 |
+
<?php
|
23 |
+
$optimizations = $optimizer->sort_optimizations($optimizer->get_optimizations());
|
24 |
+
|
25 |
+
foreach ($optimizations as $id => $optimization) {
|
26 |
+
$optimization->output_settings_html();
|
27 |
+
}
|
28 |
+
?>
|
29 |
+
|
30 |
+
<p>
|
31 |
+
<?php echo '<span style="color: red;">'.__('Warning:', 'wp-optimize').'</span> '.__('Items marked in red, whilst still safe, perform more database delete operations.', 'wp-optimize').' '.__('You may wish to run a backup before performing them.', 'wp-optimize'); ?>
|
32 |
+
</p>
|
33 |
+
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<div class="wpo_col wpo_span_1_of_3">
|
39 |
+
<div class="postbox">
|
40 |
+
<div class="inside">
|
41 |
+
<h3><?php _e('Actions', 'wp-optimize'); ?></h3>
|
42 |
+
|
43 |
+
<p>
|
44 |
+
<!-- <span style="text-align:center;"><a href="#" onClick="javascript:SetDefaults();">
|
45 |
+
<?php _e('Select safe options', 'wp-optimize'); ?></a></span> -->
|
46 |
+
<small><strong><?php _e('Warning:', 'wp-optimize'); ?></strong> <?php echo __('It is best practice to always make a backup of your database before any major operation (optimizing, upgrading, etc.).', 'wp-optimize').' <a href="https://wordpress.org/plugins/updraftplus">'.__('If you need a backup plugin, then we recommend UpdraftPlus.', 'wp-optimize').'</a>'; ?></small>
|
47 |
+
|
48 |
+
</p>
|
49 |
+
<p>
|
50 |
+
<input class="wpo_primary_big button-primary" type="submit" id="wp-optimize" name="wp-optimize" value="<?php esc_attr_e('Run optimizations now', 'wp-optimize'); ?>" />
|
51 |
+
</p>
|
52 |
+
|
53 |
+
<h3><?php _e('Status', 'wp-optimize'); ?></h3>
|
54 |
+
|
55 |
+
<?php
|
56 |
+
|
57 |
+
$sqlversion = (string)$wpdb->get_var("SELECT VERSION() AS version");
|
58 |
+
|
59 |
+
echo '<p>WP-Optimize '.WPO_VERSION.' - '.__('MySQL', 'wp-optimize').' '.$sqlversion.' - '.htmlspecialchars(PHP_OS).'</p>';
|
60 |
+
|
61 |
+
echo '<p>';
|
62 |
+
|
63 |
+
$lastopt = $options->get_option('last-optimized', 'Never');
|
64 |
+
if ($lastopt !== 'Never') {
|
65 |
+
echo __('Last automatic optimization was at', 'wp-optimize').': ';
|
66 |
+
echo '<span style="font-color: green; font-weight:bold;">';
|
67 |
+
echo htmlspecialchars($lastopt);
|
68 |
+
echo '</span>';
|
69 |
+
} else {
|
70 |
+
echo __('There was no automatic optimization', 'wp-optimize');
|
71 |
+
}
|
72 |
+
?>
|
73 |
+
<br>
|
74 |
+
|
75 |
+
<?php
|
76 |
+
if ($options->get_option('schedule', 'false') == 'true') {
|
77 |
+
echo '<strong><span style="font-color: green">';
|
78 |
+
_e('Scheduled cleaning enabled', 'wp-optimize');
|
79 |
+
echo ', </span></strong>';
|
80 |
+
if (wp_next_scheduled('wpo_cron_event2')) {
|
81 |
+
//$timestamp = wp_next_scheduled( 'wpo_cron_event2' );
|
82 |
+
$wp_optimize->cron_activate();
|
83 |
+
|
84 |
+
$timestamp = wp_next_scheduled( 'wpo_cron_event2' );
|
85 |
+
$date = new DateTime("@$timestamp");
|
86 |
+
_e('Next schedule:', 'wp-optimize');
|
87 |
+
echo ' ';
|
88 |
+
echo '<span style="font-color: green">';
|
89 |
+
echo gmdate(get_option('date_format') . ' ' . get_option('time_format'), $timestamp );
|
90 |
+
echo '</span>';
|
91 |
+
echo ' - <a href="'.esc_attr($admin_page_url).'">'.__('Refresh', 'wp-optimize').'</a>';
|
92 |
+
//echo $timestamp;
|
93 |
+
}
|
94 |
+
} else {
|
95 |
+
echo '<strong>';
|
96 |
+
_e('Scheduled cleaning disabled', 'wp-optimize');
|
97 |
+
echo '</strong>';
|
98 |
+
}
|
99 |
+
echo '<br>';
|
100 |
+
|
101 |
+
if ($retention_enabled == 'true') {
|
102 |
+
echo '<strong><span style="font-color: blue;">';
|
103 |
+
printf(__('Keeping last %s weeks data', 'wp-optimize'), $retention_period) ;
|
104 |
+
echo '</span></strong>';
|
105 |
+
} else {
|
106 |
+
echo '<strong>'.__('Not keeping recent data', 'wp-optimize').'</strong>';
|
107 |
+
}
|
108 |
+
?>
|
109 |
+
</p>
|
110 |
+
|
111 |
+
<p>
|
112 |
+
<strong><?php _e('Current database size:', 'wp-optimize');?></strong>
|
113 |
+
|
114 |
+
<?php
|
115 |
+
|
116 |
+
list ($total_size, $total_gain) = $optimizer->get_current_db_size();
|
117 |
+
echo ' <span class="current-database-size">'.$total_size.'</span> <br>';
|
118 |
+
|
119 |
+
if ($optimize_db) {
|
120 |
+
_e('You have saved:', 'wp-optimize');
|
121 |
+
echo ' <span style="font-color: blue;">'.$total_gain.'</span>';
|
122 |
+
} else {
|
123 |
+
if ($total_gain > 0) {
|
124 |
+
_e('You can save around:', 'wp-optimize');
|
125 |
+
echo ' <span style="font-color: red;">'.$total_gain.'</span> ';
|
126 |
+
}
|
127 |
+
}
|
128 |
+
?>
|
129 |
+
|
130 |
+
</p>
|
131 |
+
<p>
|
132 |
+
<?php
|
133 |
+
$total_cleaned = $options->get_option('total-cleaned');
|
134 |
+
$total_cleaned_num = floatval($total_cleaned);
|
135 |
+
|
136 |
+
if ($total_cleaned_num > 0) {
|
137 |
+
echo '<h5>'.__('Total clean up overall:','wp-optimize').' ';
|
138 |
+
echo '<span style="font-color: green">';
|
139 |
+
echo $wp_optimize->format_size($total_cleaned);
|
140 |
+
echo '</span></h5>';
|
141 |
+
}
|
142 |
+
?></p>
|
143 |
+
|
144 |
+
|
145 |
+
<h3><?php _e('Support and feedback', 'wp-optimize');?></h3>
|
146 |
+
<p>
|
147 |
+
<?php echo __('If you like WP-Optimize,', 'wp-optimize').' <a href="https://wordpress.org/support/plugin/wp-optimize/reviews/?rate=5#new-post" target="_blank">'.__('please give us a positive review, here.', 'wp-optimize'); ?></a> <?php echo __('Or, if you did not like it,', 'wp-optimize').' <a target="_blank" href="https://wordpress.org/support/plugin/wp-optimize/">'.__('please tell us why at this link.', 'wp-optimize'); ?></a>
|
148 |
+
<a href="https://wordpress.org/support/plugin/wp-optimize/"><?php _e('Support is available here.', 'wp-optimize'); ?></a>
|
149 |
+
</p>
|
150 |
+
|
151 |
+
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
<div class="wpo_col wpo_span_1_of_3">
|
156 |
+
</div>
|
157 |
+
</form>
|
158 |
+
</div>
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
|
2 |
+
|
3 |
+
<h3><?php echo __('Database Name:', 'wp-optimize')." '".htmlspecialchars(DB_NAME)."'"; ?></h3>
|
4 |
+
|
5 |
+
<?php
|
6 |
+
// This next bit belongs somewhere else, I think.
|
7 |
+
?>
|
8 |
+
<?php if ($optimize_db) { ?>
|
9 |
+
<p><?php _e('Optimized all the tables found in the database.', 'wp-optimize')?></p>
|
10 |
+
<?php } ?>
|
11 |
+
|
12 |
+
<br style="clear">
|
13 |
+
<table class="widefat">
|
14 |
+
<thead>
|
15 |
+
<tr>
|
16 |
+
<th><?php _e('No.', 'wp-optimize'); ?></th>
|
17 |
+
<th><?php _e('Table', 'wp-optimize'); ?></th>
|
18 |
+
<th><?php _e('Records', 'wp-optimize'); ?></th>
|
19 |
+
<th><?php _e('Data Size', 'wp-optimize'); ?></th>
|
20 |
+
<th><?php _e('Index Size', 'wp-optimize'); ?></th>
|
21 |
+
<th><?php _e('Type', 'wp-optimize'); ?></th>
|
22 |
+
<th><?php _e('Overhead', 'wp-optimize');?></th>
|
23 |
+
</tr>
|
24 |
+
</thead>
|
25 |
+
|
26 |
+
<tbody id="the-list">
|
27 |
+
<?php
|
28 |
+
$alternate = ' class="alternate"';
|
29 |
+
|
30 |
+
// Read SQL Version and act accordingly
|
31 |
+
// Check for InnoDB tables
|
32 |
+
// Check for windows servers
|
33 |
+
$sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
|
34 |
+
$total_gain = 0;
|
35 |
+
$no = 0;
|
36 |
+
$row_usage = 0;
|
37 |
+
$data_usage = 0;
|
38 |
+
$index_usage = 0;
|
39 |
+
$overhead_usage = 0;
|
40 |
+
|
41 |
+
$tablesstatus = $optimizer->get_tables();
|
42 |
+
|
43 |
+
foreach ($tablesstatus as $tablestatus) {
|
44 |
+
|
45 |
+
$style = (0 == $no % 2) ? '' : ' class="alternate"';
|
46 |
+
|
47 |
+
$no++;
|
48 |
+
echo "<tr$style>\n";
|
49 |
+
echo '<td>'.number_format_i18n($no).'</td>'."\n";
|
50 |
+
echo "<td>".htmlspecialchars($tablestatus->Name)."</td>\n";
|
51 |
+
echo '<td>'.number_format_i18n($tablestatus->Rows).'</td>'."\n";
|
52 |
+
echo '<td>'.$wp_optimize->format_size($tablestatus->Data_length).'</td>'."\n";
|
53 |
+
echo '<td>'.$wp_optimize->format_size($tablestatus->Index_length).'</td>'."\n";;
|
54 |
+
echo '<td>'.htmlspecialchars($tablestatus->Engine).'</td>'."\n";;
|
55 |
+
//echo '<td>'.$wp_optimize->format_size($tablestatus->Data_free).'</td>'."\n";
|
56 |
+
|
57 |
+
if ($tablestatus->Engine != 'InnoDB') {
|
58 |
+
|
59 |
+
echo '<td>';
|
60 |
+
|
61 |
+
$font_colour = ($optimize_db) ? (($tablestatus->Data_free>0) ? 'blue' : 'green') : (($tablestatus->Data_free>0) ? 'red' : 'green');
|
62 |
+
|
63 |
+
echo '<span style="color:'.$font_colour.';">';
|
64 |
+
echo $wp_optimize->format_size($tablestatus->Data_free);
|
65 |
+
echo '</span>';
|
66 |
+
|
67 |
+
echo '</td>'."\n";
|
68 |
+
} else {
|
69 |
+
echo '<td>';
|
70 |
+
echo '<span style="color:blue;">-</span>';
|
71 |
+
echo '</td>'."\n";
|
72 |
+
}
|
73 |
+
|
74 |
+
$row_usage += $tablestatus->Rows;
|
75 |
+
$data_usage += $tablestatus->Data_length;
|
76 |
+
$index_usage += $tablestatus->Index_length;
|
77 |
+
|
78 |
+
if ($tablestatus->Engine != 'InnoDB') {
|
79 |
+
$overhead_usage += $tablestatus->Data_free;
|
80 |
+
$total_gain += $tablestatus->Data_free;
|
81 |
+
}
|
82 |
+
echo '</tr>'."\n";
|
83 |
+
}
|
84 |
+
|
85 |
+
echo '<tr class="thead">'."\n";
|
86 |
+
echo '<th>'.__('Total:', 'wp-optimize').'</th>'."\n";
|
87 |
+
echo '<th>'.sprintf(_n('%d Table', '%d Tables', $no, 'wp-optimize'), number_format_i18n($no)).'</th>'."\n";
|
88 |
+
echo '<th>'.sprintf(_n('%d Record', '%d Records', $row_usage, 'wp-optimize'), number_format_i18n($row_usage)).'</th>'."\n";
|
89 |
+
echo '<th>'.$wp_optimize->format_size($data_usage).'</th>'."\n";
|
90 |
+
echo '<th>'.$wp_optimize->format_size($index_usage).'</th>'."\n";
|
91 |
+
echo '<th>'.'-'.'</th>'."\n";
|
92 |
+
echo '<th>';
|
93 |
+
|
94 |
+
$font_colour = $optimize_db ? (($overhead_usage>0) ? 'blue' : 'green') : (($overhead_usage>0) ? 'red' : 'green');
|
95 |
+
|
96 |
+
echo '<span style="color:'.$font_colour.'">'.$wp_optimize->format_size($overhead_usage).'</span>';
|
97 |
+
|
98 |
+
?>
|
99 |
+
</th>
|
100 |
+
</tr>
|
101 |
+
</tbody>
|
102 |
+
</table>
|
103 |
+
|
104 |
+
<h3><?php _e('Total size of database:', 'wp-optimize'); ?></h3>
|
105 |
+
<h2><?php
|
106 |
+
list ($part1, $part2) = $optimizer->get_current_db_size();
|
107 |
+
echo $part1;
|
108 |
+
?></h2>
|
109 |
+
|
110 |
+
<?php if ($optimize_db) {
|
111 |
+
?>
|
112 |
+
|
113 |
+
<h3><?php _e('Optimization Results:', 'wp-optimize'); ?></h3>
|
114 |
+
<p style="color: #0000FF;"><?php
|
115 |
+
|
116 |
+
if ($total_gain > 0) {
|
117 |
+
_e('Total Space Saved:', 'wp-optimize');
|
118 |
+
echo $wp_optimize->format_size($total_gain);
|
119 |
+
$optimizer->update_total_cleaned(strval($total_gain));
|
120 |
+
}
|
121 |
+
|
122 |
+
echo '</p>';
|
123 |
+
|
124 |
+
} else { ?>
|
125 |
+
|
126 |
+
<?php if ($total_gain != 0) { ?>
|
127 |
+
|
128 |
+
<h3><?php if ($total_gain > 0) _e('Optimization Possibility:', 'wp-optimize'); ?></h3>
|
129 |
+
<p style="color: #FF0000;">
|
130 |
+
<?php if ($total_gain > 0) {
|
131 |
+
echo __('Total space that can be saved:', 'wp-optimize').' '.$wp_optimize->format_size($total_gain).' ';
|
132 |
+
}
|
133 |
+
echo '</p>';
|
134 |
+
|
135 |
+
}
|
136 |
+
}
|
@@ -1,125 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
# --------------------------------------- #
|
3 |
-
# prevent file from being accessed directly
|
4 |
-
# --------------------------------------- #
|
5 |
-
if ( ! defined( 'WPINC' ) ) {
|
6 |
-
die;
|
7 |
-
}
|
8 |
-
|
9 |
-
?>
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
<?php
|
14 |
-
$active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'wp_optimize_optimize';
|
15 |
-
?>
|
16 |
-
|
17 |
-
|
18 |
-
<!--
|
19 |
-
<h2 class="nav-tab-wrapper">
|
20 |
-
<a href="?page=WP-Optimize&tab=wp_optimize_optimize" class="nav-tab <?php echo $active_tab == 'wp_optimize_optimize' ? 'nav-tab-active' : ''; ?>">
|
21 |
-
<?php
|
22 |
-
global $wpdb;
|
23 |
-
$sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
|
24 |
-
//$php_version_info = substr(PHP_OS, 0, 3);
|
25 |
-
_e('Optimizer', 'wp-optimize');
|
26 |
-
if (defined('WPO_VERSION')){
|
27 |
-
echo ' '.WPO_VERSION.' - ';
|
28 |
-
_e('MYSQL', 'wp-optimize');
|
29 |
-
echo ' '.$sqlversion.' - ';
|
30 |
-
echo PHP_OS;
|
31 |
-
} //end if
|
32 |
-
?></a>
|
33 |
-
<a href="?page=WP-Optimize&tab=wp_optimize_settings" class="nav-tab <?php echo $active_tab == 'wp_optimize_settings' ? 'nav-tab-active' : ''; ?>"><?php _e('Settings', 'wp-optimize') ?></a>
|
34 |
-
<a href="?page=WP-Optimize&tab=wp_optimize_credits" class="nav-tab <?php echo $active_tab == 'wp_optimize_credits' ? 'nav-tab-active' : ''; ?>"><?php _e('Info', 'wp-optimize') ?></a>
|
35 |
-
</h2> -->
|
36 |
-
|
37 |
-
<div id='wpo_cssmenu'>
|
38 |
-
<ul>
|
39 |
-
<li <?php echo $active_tab == 'wp_optimize_optimize' ? 'class="active"' : ''; ?> ><a href="?page=WP-Optimize&tab=wp_optimize_optimize"><span>
|
40 |
-
<?php
|
41 |
-
global $wpdb;
|
42 |
-
$sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
|
43 |
-
//$php_version_info = substr(PHP_OS, 0, 3);
|
44 |
-
_e('Optimizer', 'wp-optimize');
|
45 |
-
if (defined('WPO_VERSION')){
|
46 |
-
echo ' '.WPO_VERSION.' - ';
|
47 |
-
_e('MYSQL', 'wp-optimize');
|
48 |
-
echo ' '.$sqlversion.' - ';
|
49 |
-
echo PHP_OS;
|
50 |
-
} //end if
|
51 |
-
?></span></a></li>
|
52 |
-
|
53 |
-
<li <?php echo $active_tab == 'wp_optimize_tables' ? 'class="active"' : ''; ?>><a href="?page=WP-Optimize&tab=wp_optimize_tables"><span><?php _e('Tables', 'wp-optimize') ?></span></a></li>
|
54 |
-
|
55 |
-
<li <?php echo $active_tab == 'wp_optimize_settings' ? 'class="active"' : ''; ?>><a href="?page=WP-Optimize&tab=wp_optimize_settings"><span><?php _e('Settings', 'wp-optimize') ?></span></a></li>
|
56 |
-
|
57 |
-
<li <?php echo $active_tab == 'wp_optimize_credits' ? 'class="active"' : ''; ?>><a href='?page=WP-Optimize&tab=wp_optimize_credits'><span><?php _e('Info', 'wp-optimize') ?></span></a></li>
|
58 |
-
|
59 |
-
</ul>
|
60 |
-
</div>
|
61 |
-
<div class="wrap">
|
62 |
-
|
63 |
-
<?php
|
64 |
-
//echo '<div id="message" class="updated fade">';
|
65 |
-
//echo '<strong>'.$text.'</strong></div>';
|
66 |
-
//echo '</div>';
|
67 |
-
?>
|
68 |
-
|
69 |
-
|
70 |
-
<?php
|
71 |
-
if (! defined('WPO_PLUGIN_MAIN_PATH'))
|
72 |
-
define('WPO_PLUGIN_MAIN_PATH', plugin_dir_path( __FILE__ ));
|
73 |
-
|
74 |
-
if( $active_tab == 'wp_optimize_optimize' ) {
|
75 |
-
|
76 |
-
if (file_exists(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-main.php')) {
|
77 |
-
include_once(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-main.php');
|
78 |
-
}
|
79 |
-
else {
|
80 |
-
echo 'File is missing';
|
81 |
-
}
|
82 |
-
}
|
83 |
-
|
84 |
-
if( $active_tab == 'wp_optimize_tables' ) {
|
85 |
-
|
86 |
-
if (file_exists(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-tables.php')) {
|
87 |
-
include_once(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-tables.php');
|
88 |
-
}
|
89 |
-
else {
|
90 |
-
echo 'File is missing';
|
91 |
-
}
|
92 |
-
|
93 |
-
}
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
if( $active_tab == 'wp_optimize_settings' ) {
|
98 |
-
|
99 |
-
if (file_exists(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-settings.php')) {
|
100 |
-
include_once(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-settings.php');
|
101 |
-
}
|
102 |
-
else {
|
103 |
-
echo 'File is missing';
|
104 |
-
}
|
105 |
-
|
106 |
-
}
|
107 |
-
|
108 |
-
if( $active_tab == 'wp_optimize_credits' ) {
|
109 |
-
|
110 |
-
if (file_exists(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-credits.php')) {
|
111 |
-
include_once(WPO_PLUGIN_MAIN_PATH. 'wp-optimize-credits.php');
|
112 |
-
}
|
113 |
-
else {
|
114 |
-
echo 'File is missing';
|
115 |
-
}
|
116 |
-
|
117 |
-
}
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
?>
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,943 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
# --------------------------------------- #
|
4 |
-
# prevent file from being accessed directly
|
5 |
-
# --------------------------------------- #
|
6 |
-
if ( ! defined( 'WPINC' ) ) {
|
7 |
-
die;
|
8 |
-
}
|
9 |
-
|
10 |
-
// common functions
|
11 |
-
if (! defined('WPO_PLUGIN_MAIN_PATH'))
|
12 |
-
define('WPO_PLUGIN_MAIN_PATH', plugin_dir_path( __FILE__ ));
|
13 |
-
|
14 |
-
if (! defined('WPO_PLUGIN_URL'))
|
15 |
-
define('WPO_PLUGIN_URL', plugin_dir_url( __FILE__ ));
|
16 |
-
|
17 |
-
if (! defined('OPTION_NAME_SCHEDULE'))
|
18 |
-
define('OPTION_NAME_SCHEDULE', 'wp-optimize-schedule');
|
19 |
-
|
20 |
-
if (! defined('OPTION_NAME_SCHEDULE_TYPE'))
|
21 |
-
define('OPTION_NAME_SCHEDULE_TYPE', 'wp-optimize-schedule-type');
|
22 |
-
|
23 |
-
if (! defined('OPTION_NAME_RETENTION_ENABLED'))
|
24 |
-
define('OPTION_NAME_RETENTION_ENABLED', 'wp-optimize-retention-enabled');
|
25 |
-
|
26 |
-
if (! defined('OPTION_NAME_RETENTION_PERIOD'))
|
27 |
-
define('OPTION_NAME_RETENTION_PERIOD', 'wp-optimize-retention-period');
|
28 |
-
|
29 |
-
if (! defined('OPTION_NAME_LAST_OPT'))
|
30 |
-
define('OPTION_NAME_LAST_OPT', 'wp-optimize-last-optimized');
|
31 |
-
|
32 |
-
if (! defined('OPTION_NAME_ENABLE_ADMIN_MENU'))
|
33 |
-
define('OPTION_NAME_ENABLE_ADMIN_MENU', 'wp-optimize-enable-admin-menu');
|
34 |
-
|
35 |
-
if (! defined('OPTION_NAME_TOTAL_CLEANED'))
|
36 |
-
define('OPTION_NAME_TOTAL_CLEANED', 'wp-optimize-total-cleaned');
|
37 |
-
|
38 |
-
if (! defined('OPTION_NAME_CURRENT_CLEANED'))
|
39 |
-
define('OPTION_NAME_CURRENT_CLEANED', 'wp-optimize-current-cleaned');
|
40 |
-
|
41 |
-
if (! defined('OPTION_NAME_ENABLE_EMAIL_ADDRESS'))
|
42 |
-
define('OPTION_NAME_ENABLE_EMAIL_ADDRESS', 'wp-optimize-email-address');
|
43 |
-
|
44 |
-
if (! defined('OPTION_NAME_ENABLE_EMAIL'))
|
45 |
-
define('OPTION_NAME_ENABLE_EMAIL', 'wp-optimize-email');
|
46 |
-
/**
|
47 |
-
* wpo_sendemail($sendto, $msg)
|
48 |
-
* @return success
|
49 |
-
* @param $sentdo - eg. who to send it to, abc@def.com
|
50 |
-
* @param $msg - the msg in text
|
51 |
-
*/
|
52 |
-
function wpo_sendEmail($date, $cleanedup){
|
53 |
-
//
|
54 |
-
ob_start();
|
55 |
-
// #TODO this need to work on - currently not using the parameter values
|
56 |
-
$myTime = current_time( "timestamp", 0 );
|
57 |
-
$myDate = gmdate(get_option('date_format') . ' ' . get_option('time_format'), $myTime );
|
58 |
-
|
59 |
-
//$formattedCleanedup = wpo_format_size($cleanedup);
|
60 |
-
|
61 |
-
|
62 |
-
if ( get_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS ) !== "" ) {
|
63 |
-
//
|
64 |
-
$sendto = get_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS );
|
65 |
-
}
|
66 |
-
else{
|
67 |
-
$sendto = get_bloginfo ( 'admin_email' );
|
68 |
-
}
|
69 |
-
|
70 |
-
//$thiscleanup = wpo_format_size($cleanedup);
|
71 |
-
|
72 |
-
$subject = get_bloginfo ( 'name' ).": ".__("Automatic Operation Completed","wp-optimize")." ".$myDate;
|
73 |
-
|
74 |
-
$msg = __("Scheduled optimization was executed at","wp-optimize")." ".$myDate."\r\n"."\r\n";
|
75 |
-
//$msg .= __("Recovered space","wp-optimize").": ".$thiscleanup."\r\n";
|
76 |
-
$msg .= __("You can safely delete this email.","wp-optimize")."\r\n";
|
77 |
-
$msg .= "\r\n";
|
78 |
-
$msg .= __("Regards,","wp-optimize")."\r\n";
|
79 |
-
$msg .= __("WP-Optimize Plugin","wp-optimize");
|
80 |
-
|
81 |
-
//wp_mail( $sendto, $subject, $msg );
|
82 |
-
|
83 |
-
ob_end_flush();
|
84 |
-
}
|
85 |
-
|
86 |
-
|
87 |
-
/**
|
88 |
-
* wpo_readFeed($rss_url, $number_of_itmes)
|
89 |
-
* @return RSS items
|
90 |
-
* @param $rss_url - url of RSS feed
|
91 |
-
* @param number of items - number of items to return
|
92 |
-
*/
|
93 |
-
function wpo_readFeed($rss_url, $number_of_itmes){
|
94 |
-
|
95 |
-
include_once( ABSPATH . WPINC . '/feed.php' );
|
96 |
-
$rss = fetch_feed( $rss_url );
|
97 |
-
|
98 |
-
if ( ! is_wp_error( $rss ) ) { // Checks that the object is created correctly
|
99 |
-
|
100 |
-
// Figure out how many total items there are, but limit it to 5.
|
101 |
-
$maxitems = $rss->get_item_quantity( $number_of_itmes );
|
102 |
-
|
103 |
-
// Build an array of all the items, starting with element 0 (first element).
|
104 |
-
$rss_items = $rss->get_items( 0, $maxitems );
|
105 |
-
if ($maxitems > 0) {
|
106 |
-
return $rss_items;
|
107 |
-
}
|
108 |
-
}
|
109 |
-
else {
|
110 |
-
$rss_items = NULL;
|
111 |
-
return $rss_items;
|
112 |
-
}
|
113 |
-
|
114 |
-
}
|
115 |
-
|
116 |
-
|
117 |
-
/**
|
118 |
-
* wpo_detectDBType()
|
119 |
-
* this function is redundant
|
120 |
-
* @return void
|
121 |
-
*/
|
122 |
-
function wpo_detectDBType() {
|
123 |
-
|
124 |
-
global $wpdb;
|
125 |
-
//global $table_prefix;
|
126 |
-
$tablestype = $wpdb->get_results("SHOW TABLE STATUS WHERE Name = `$wpdb->options`");
|
127 |
-
foreach($tablestype as $tabletype) {
|
128 |
-
$table_engine = $tabletype->Engine;
|
129 |
-
}
|
130 |
-
|
131 |
-
$wpo_table_type = strtolower(strval($table_engine));
|
132 |
-
|
133 |
-
//if (! defined('WPO_TABLE_TYPE'))
|
134 |
-
// define( WPO_TABLE_TYPE,$wpo_table_type);
|
135 |
-
|
136 |
-
return $wpo_table_type;
|
137 |
-
|
138 |
-
}
|
139 |
-
|
140 |
-
/*
|
141 |
-
* function wpo_getRetainInfo()
|
142 |
-
*
|
143 |
-
* parameters: none
|
144 |
-
*
|
145 |
-
* it returns 2 options values
|
146 |
-
*
|
147 |
-
* @return (array of enabled state, period)
|
148 |
-
*/
|
149 |
-
function wpo_getRetainInfo(){
|
150 |
-
$retain_enabled = get_option(OPTION_NAME_RETENTION_ENABLED, 'false' );
|
151 |
-
|
152 |
-
if ($retain_enabled){
|
153 |
-
$retain_period = get_option(OPTION_NAME_RETENTION_PERIOD, '2');
|
154 |
-
}
|
155 |
-
|
156 |
-
return array ($retain_enabled, $retain_period);
|
157 |
-
|
158 |
-
}
|
159 |
-
|
160 |
-
|
161 |
-
/*
|
162 |
-
* function wpo_disable_linkbacks()
|
163 |
-
*
|
164 |
-
* parameters: message to debug
|
165 |
-
*
|
166 |
-
*
|
167 |
-
*
|
168 |
-
* @return none
|
169 |
-
*/
|
170 |
-
function wpo_disableLinkbacks($type) {
|
171 |
-
global $wpdb;
|
172 |
-
switch ($type) {
|
173 |
-
case "trackbacks":
|
174 |
-
|
175 |
-
$thissql = "UPDATE `$wpdb->posts` SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'post'";
|
176 |
-
$thissql .= ';';
|
177 |
-
$trackbacks = $wpdb->query( $thissql );
|
178 |
-
break;
|
179 |
-
|
180 |
-
case "comments":
|
181 |
-
$thissql = "UPDATE `$wpdb->posts` SET comment_status='closed' WHERE post_status = 'publish' AND post_type = 'post'";
|
182 |
-
$thissql .= ';';
|
183 |
-
$comments = $wpdb->query( $thissql );
|
184 |
-
break;
|
185 |
-
|
186 |
-
|
187 |
-
default:
|
188 |
-
//;
|
189 |
-
break;
|
190 |
-
}
|
191 |
-
|
192 |
-
}
|
193 |
-
|
194 |
-
/*
|
195 |
-
* function wpo_disable_linkbacks()
|
196 |
-
*
|
197 |
-
* parameters: message to debug
|
198 |
-
*
|
199 |
-
*
|
200 |
-
*
|
201 |
-
* @return none
|
202 |
-
*/
|
203 |
-
function wpo_enableLinkbacks($type) {
|
204 |
-
global $wpdb;
|
205 |
-
switch ($type) {
|
206 |
-
case "trackbacks":
|
207 |
-
|
208 |
-
$thissql = "UPDATE `$wpdb->posts` SET ping_status='open' WHERE post_status = 'publish' AND post_type = 'post'";
|
209 |
-
$thissql .= ';';
|
210 |
-
$trackbacks = $wpdb->query( $thissql );
|
211 |
-
break;
|
212 |
-
|
213 |
-
case "comments":
|
214 |
-
$thissql = "UPDATE `$wpdb->posts` SET comment_status='open' WHERE post_status = 'publish' AND post_type = 'post'";
|
215 |
-
$thissql .= ';';
|
216 |
-
$comments = $wpdb->query( $thissql );
|
217 |
-
break;
|
218 |
-
|
219 |
-
|
220 |
-
default:
|
221 |
-
//;
|
222 |
-
break;
|
223 |
-
}
|
224 |
-
|
225 |
-
}
|
226 |
-
|
227 |
-
|
228 |
-
/*
|
229 |
-
* function wpo_debugLog()
|
230 |
-
*
|
231 |
-
* parameters: message to debug
|
232 |
-
*
|
233 |
-
*
|
234 |
-
*
|
235 |
-
* @return none
|
236 |
-
*/
|
237 |
-
function wpo_debugLog($message) {
|
238 |
-
if (WP_DEBUG === true) {
|
239 |
-
if (is_array($message) || is_object($message)) {
|
240 |
-
error_log(print_r($message, true));
|
241 |
-
} else {
|
242 |
-
error_log($message);
|
243 |
-
}
|
244 |
-
}
|
245 |
-
}
|
246 |
-
|
247 |
-
/*
|
248 |
-
* function wpo_headerImage()
|
249 |
-
*
|
250 |
-
* parameters: none
|
251 |
-
*
|
252 |
-
* it returns header image and fb code
|
253 |
-
*
|
254 |
-
* @return $text
|
255 |
-
*/
|
256 |
-
function wpo_headerImage(){
|
257 |
-
|
258 |
-
$text = '<img src="'.WPO_PLUGIN_URL.'/wp-optimize.png" border="0" alt="WP-Optimize" title="WP-Optimize" width="310px" height="auto"/><br />';
|
259 |
-
|
260 |
-
//$text .='<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ruhanirabin.com%2Fwp-optimize%2F&width=310&height=46&colorscheme=light&layout=standard&action=like&show_faces=false&send=true&" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:310px; height:46px;" allowTransparency="true"></iframe>';
|
261 |
-
echo $text;
|
262 |
-
|
263 |
-
}
|
264 |
-
|
265 |
-
/*
|
266 |
-
* function wpo_removeOptions()
|
267 |
-
*
|
268 |
-
* parameters: none
|
269 |
-
*
|
270 |
-
* deletes all option values from wp_options table
|
271 |
-
*
|
272 |
-
* @return none
|
273 |
-
*/
|
274 |
-
function wpo_removeOptions(){
|
275 |
-
|
276 |
-
delete_option( 'wp-optimize-weekly-schedule' );
|
277 |
-
delete_option( OPTION_NAME_SCHEDULE );
|
278 |
-
delete_option( OPTION_NAME_RETENTION_ENABLED );
|
279 |
-
delete_option( OPTION_NAME_RETENTION_PERIOD );
|
280 |
-
delete_option( OPTION_NAME_LAST_OPT );
|
281 |
-
delete_option( OPTION_NAME_ENABLE_ADMIN_MENU );
|
282 |
-
delete_option( OPTION_NAME_SCHEDULE_TYPE );
|
283 |
-
delete_option( OPTION_NAME_TOTAL_CLEANED );
|
284 |
-
delete_option( OPTION_NAME_CURRENT_CLEANED );
|
285 |
-
delete_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS );
|
286 |
-
delete_option( OPTION_NAME_ENABLE_EMAIL );
|
287 |
-
|
288 |
-
delete_option( 'wp-optimize-auto' );
|
289 |
-
delete_option( 'wp-optimize-settings' );
|
290 |
-
|
291 |
-
}
|
292 |
-
|
293 |
-
/*
|
294 |
-
* function wpo_cron_action()
|
295 |
-
*
|
296 |
-
* parameters: none
|
297 |
-
*
|
298 |
-
* executed this function on cron event
|
299 |
-
*
|
300 |
-
* @return none
|
301 |
-
*/
|
302 |
-
function wpo_cron_action() {
|
303 |
-
global $wpdb;
|
304 |
-
list ($retention_enabled, $retention_period) = wpo_getRetainInfo();
|
305 |
-
|
306 |
-
wpo_debugLog('Starting wpo_cron_action()');
|
307 |
-
if ( get_option(OPTION_NAME_SCHEDULE) == 'true') {
|
308 |
-
|
309 |
-
$this_options = get_option('wp-optimize-auto');
|
310 |
-
// revisions
|
311 |
-
if ($this_options['revisions'] == 'true'){
|
312 |
-
$clean = "DELETE FROM `$wpdb->posts` WHERE post_type = 'revision'";
|
313 |
-
if ($retention_enabled == 'true') {
|
314 |
-
$clean .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
315 |
-
}
|
316 |
-
$clean .= ';';
|
317 |
-
$revisions = $wpdb->query( $clean );
|
318 |
-
}
|
319 |
-
|
320 |
-
// auto drafts
|
321 |
-
if ($this_options['drafts'] == 'true'){
|
322 |
-
$clean = "DELETE FROM `$wpdb->posts` WHERE post_status = 'auto-draft'";
|
323 |
-
if ($retention_enabled == 'true') {
|
324 |
-
$clean .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
325 |
-
}
|
326 |
-
$clean .= ';';
|
327 |
-
$autodraft = $wpdb->query( $clean );
|
328 |
-
|
329 |
-
|
330 |
-
// trash posts
|
331 |
-
// TODO: query trashed posts and cleanup metadata
|
332 |
-
$clean = "DELETE FROM `$wpdb->posts` WHERE post_status = 'trash'";
|
333 |
-
if ($retention_enabled == 'true') {
|
334 |
-
$clean .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
335 |
-
}
|
336 |
-
$clean .= ';';
|
337 |
-
$posttrash = $wpdb->query( $clean );
|
338 |
-
}
|
339 |
-
|
340 |
-
// spam comments
|
341 |
-
if ($this_options['spams'] == 'true'){
|
342 |
-
$clean = "DELETE FROM `$wpdb->comments` WHERE comment_approved = 'spam'";
|
343 |
-
if ($retention_enabled == 'true') {
|
344 |
-
$clean .= ' and comment_date < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
345 |
-
}
|
346 |
-
$clean .= ';';
|
347 |
-
$comments = $wpdb->query( $clean );
|
348 |
-
|
349 |
-
// trashed comments
|
350 |
-
// TODO: query trashed comments and cleanup metadata
|
351 |
-
$clean = "DELETE FROM `$wpdb->comments` WHERE comment_approved = 'trash'";
|
352 |
-
if ($retention_enabled == 'true') {
|
353 |
-
$clean .= ' and comment_date < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
354 |
-
}
|
355 |
-
$clean .= ';';
|
356 |
-
$commentstrash = $wpdb->query( $clean );
|
357 |
-
|
358 |
-
// TODO: still need to test now cleaning up comments meta tables
|
359 |
-
$clean = "DELETE FROM `$wpdb->commentmeta` WHERE comment_id NOT IN ( SELECT comment_id FROM `$wpdb->comments` )";
|
360 |
-
$clean .= ';';
|
361 |
-
//$commentstrash1 = $wpdb->query( $clean );
|
362 |
-
|
363 |
-
}
|
364 |
-
|
365 |
-
// transient options
|
366 |
-
if ($this_options['transient'] == 'true'){
|
367 |
-
$clean = "DELETE FROM `$wpdb->options` WHERE option_name LIKE '_site_transient_browser_%' OR option_name LIKE '_site_transient_timeout_browser_%' OR option_name LIKE '_transient_feed_%' OR option_name LIKE '_transient_timeout_feed_%'";
|
368 |
-
$clean .= ';';
|
369 |
-
$transient = $wpdb->query( $clean );
|
370 |
-
}
|
371 |
-
|
372 |
-
// postmeta
|
373 |
-
// TODO: refactor this with proper query
|
374 |
-
if ($this_options['postmeta'] == 'true'){
|
375 |
-
$clean = "DELETE pm FROM `$wpdb->postmeta` pm LEFT JOIN `$wpdb->posts` wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL";
|
376 |
-
$clean .= ';';
|
377 |
-
|
378 |
-
//$postmeta = $wpdb->query( $clean );
|
379 |
-
}
|
380 |
-
|
381 |
-
// unused tags
|
382 |
-
if ($this_options['tags'] == 'true'){
|
383 |
-
//$clean = "DELETE t,tt FROM `$wpdb->terms` t INNER JOIN `$wpdb->term_taxonomy` tt ON t.term_id=tt.term_id WHERE tt.taxonomy='post_tag' AND tt.count=0";
|
384 |
-
//$clean .= ';';
|
385 |
-
//$tags = $wpdb->query( $clean );
|
386 |
-
}
|
387 |
-
|
388 |
-
//db optimize part - optimize
|
389 |
-
if ($this_options['optimize'] == 'true'){
|
390 |
-
|
391 |
-
$db_tables = $wpdb->get_results('SHOW TABLES',ARRAY_A);
|
392 |
-
foreach ($db_tables as $table){
|
393 |
-
$t = array_values($table);
|
394 |
-
$wpdb->query("OPTIMIZE TABLE `".$t[0]."`");
|
395 |
-
wpo_debugLog('optimizing .... '.$t[0]);
|
396 |
-
}
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
ob_start();
|
401 |
-
list($part1, $part2) = wpo_getCurrentDBSize();
|
402 |
-
$thistime = current_time( "timestamp", 0 );
|
403 |
-
$thedate = gmdate(get_option('date_format') . ' ' . get_option('time_format'), $thistime );
|
404 |
-
update_option( OPTION_NAME_LAST_OPT, $thedate );
|
405 |
-
wpo_updateTotalCleaned(strval($part2));
|
406 |
-
|
407 |
-
// Sending notification email
|
408 |
-
if ( get_option( OPTION_NAME_ENABLE_EMAIL ) !== false ) {
|
409 |
-
//#TODO need to fix the problem with variable value not passing through
|
410 |
-
if ( get_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS ) !== '' ) {
|
411 |
-
//wpo_sendEmail($thedate, $part2);
|
412 |
-
}
|
413 |
-
|
414 |
-
}
|
415 |
-
else{
|
416 |
-
//
|
417 |
-
}
|
418 |
-
ob_end_flush();
|
419 |
-
} // endif $this_options['optimize']
|
420 |
-
} // end if ( get_option(OPTION_NAME_SCHEDULE) == 'true')
|
421 |
-
}
|
422 |
-
|
423 |
-
/*
|
424 |
-
* function wpo_PluginOptionsSetDefaults()
|
425 |
-
*
|
426 |
-
* parameters: none
|
427 |
-
*
|
428 |
-
* setup options if not exists already
|
429 |
-
*
|
430 |
-
* @return none
|
431 |
-
*/
|
432 |
-
function wpo_PluginOptionsSetDefaults() {
|
433 |
-
$deprecated = null;
|
434 |
-
$autoload = 'no';
|
435 |
-
|
436 |
-
if ( get_option( OPTION_NAME_SCHEDULE ) !== false ) {
|
437 |
-
// The option already exists, so we just update it.
|
438 |
-
|
439 |
-
} else {
|
440 |
-
// The option hasn't been added yet. We'll add it with $autoload set to 'no'.
|
441 |
-
add_option( OPTION_NAME_SCHEDULE, 'false', $deprecated, $autoload );
|
442 |
-
add_option( OPTION_NAME_LAST_OPT, 'Never', $deprecated, $autoload );
|
443 |
-
add_option( OPTION_NAME_SCHEDULE_TYPE, 'wpo_weekly', $deprecated, $autoload );
|
444 |
-
// deactivate cron
|
445 |
-
wpo_cron_deactivate();
|
446 |
-
}
|
447 |
-
if ( get_option( OPTION_NAME_RETENTION_ENABLED ) !== false ) {
|
448 |
-
//
|
449 |
-
}
|
450 |
-
else{
|
451 |
-
add_option( OPTION_NAME_RETENTION_ENABLED, 'false', $deprecated, $autoload );
|
452 |
-
add_option( OPTION_NAME_RETENTION_PERIOD, '2', $deprecated, $autoload );
|
453 |
-
}
|
454 |
-
|
455 |
-
if ( get_option( OPTION_NAME_ENABLE_ADMIN_MENU ) !== false ) {
|
456 |
-
//
|
457 |
-
}
|
458 |
-
else{
|
459 |
-
add_option( OPTION_NAME_ENABLE_ADMIN_MENU, 'false', $deprecated, $autoload );
|
460 |
-
}
|
461 |
-
// ---------
|
462 |
-
if ( get_option( OPTION_NAME_ENABLE_EMAIL ) !== false ) {
|
463 |
-
//
|
464 |
-
}
|
465 |
-
else{
|
466 |
-
//add_option( OPTION_NAME_ENABLE_EMAIL, 'true', $deprecated, $autoload );
|
467 |
-
}
|
468 |
-
// ---------
|
469 |
-
if ( get_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS ) !== '' ) {
|
470 |
-
//
|
471 |
-
}
|
472 |
-
else{
|
473 |
-
//add_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS, get_bloginfo ( 'admin_email' ), $deprecated, $autoload );
|
474 |
-
}
|
475 |
-
|
476 |
-
if ( get_option( OPTION_NAME_TOTAL_CLEANED ) !== false ) {
|
477 |
-
//
|
478 |
-
}
|
479 |
-
else{
|
480 |
-
add_option( OPTION_NAME_TOTAL_CLEANED, '0', $deprecated, $autoload );
|
481 |
-
}
|
482 |
-
|
483 |
-
if ( get_option( 'wp-optimize-auto' ) !== false ) {
|
484 |
-
// The option already exists, so we just update it.
|
485 |
-
|
486 |
-
} else {
|
487 |
-
// 'revisions', 'drafts', 'spams', 'unapproved', 'transient', 'postmeta', 'tags'
|
488 |
-
$new_options = array(
|
489 |
-
'revisions' => 'true',
|
490 |
-
'drafts' => 'true',
|
491 |
-
'spams' => 'true',
|
492 |
-
'unapproved' => 'false',
|
493 |
-
'transient' => 'false',
|
494 |
-
'postmeta' => 'false',
|
495 |
-
'tags' => 'false',
|
496 |
-
'optimize' => 'true'
|
497 |
-
);
|
498 |
-
|
499 |
-
update_option( 'wp-optimize-auto', $new_options );
|
500 |
-
}
|
501 |
-
|
502 |
-
// settings for main screen
|
503 |
-
if ( get_option( 'wp-optimize-settings' ) !== false ) {
|
504 |
-
// The option already exists, so we just update it.
|
505 |
-
|
506 |
-
} else {
|
507 |
-
// 'revisions', 'drafts', 'spams', 'unapproved', 'transient', 'postmeta', 'tags'
|
508 |
-
$new_options_main = array(
|
509 |
-
'user-revisions' => 'true',
|
510 |
-
'user-drafts' => 'true',
|
511 |
-
'user-spams' => 'true',
|
512 |
-
'user-unapproved' => 'true',
|
513 |
-
'user-transient' => 'false',
|
514 |
-
'user-optimize' => 'true'
|
515 |
-
);
|
516 |
-
|
517 |
-
update_option( 'wp-optimize-settings', $new_options_main );
|
518 |
-
}
|
519 |
-
|
520 |
-
}
|
521 |
-
|
522 |
-
|
523 |
-
/**
|
524 |
-
* wpo_format_size()
|
525 |
-
* Function: Format Bytes Into KB/MB
|
526 |
-
* @param mixed $rawSize
|
527 |
-
* @return
|
528 |
-
*/
|
529 |
-
if(!function_exists('wpo_format_size')) {
|
530 |
-
|
531 |
-
function wpo_format_size($rawSize) {
|
532 |
-
if($rawSize / 1073741824 > 1)
|
533 |
-
return number_format_i18n($rawSize/1073741824, 2) . ' '.__('GB', 'wp-optimize');
|
534 |
-
else if ($rawSize / 1048576 > 1)
|
535 |
-
return number_format_i18n($rawSize/1048576, 1) . ' '.__('MB', 'wp-optimize');
|
536 |
-
else if ($rawSize / 1024 > 1)
|
537 |
-
return number_format_i18n($rawSize/1024, 1) . ' '.__('KB', 'wp-optimize');
|
538 |
-
else
|
539 |
-
return number_format_i18n($rawSize, 0) . ' '.__('bytes', 'wp-optimize');
|
540 |
-
}
|
541 |
-
}
|
542 |
-
|
543 |
-
/*
|
544 |
-
* function wpo_getCurrentDBSize()
|
545 |
-
*
|
546 |
-
* parameters: none
|
547 |
-
*
|
548 |
-
* this function will return total database size and a possible gain of db in KB
|
549 |
-
*
|
550 |
-
* @return array $total size, $gain
|
551 |
-
*/
|
552 |
-
function wpo_getCurrentDBSize(){
|
553 |
-
global $wpdb;
|
554 |
-
$total_gain = 0;
|
555 |
-
$total_size = 0;
|
556 |
-
$no = 0;
|
557 |
-
$row_usage = 0;
|
558 |
-
$data_usage = 0;
|
559 |
-
$index_usage = 0;
|
560 |
-
$overhead_usage = 0;
|
561 |
-
$tablesstatus = $wpdb->get_results("SHOW TABLE STATUS");
|
562 |
-
|
563 |
-
wpo_debugLog('Checking DB size .... ');
|
564 |
-
foreach($tablesstatus as $tablestatus) {
|
565 |
-
$row_usage += $tablestatus->Rows;
|
566 |
-
$data_usage += $tablestatus->Data_length;
|
567 |
-
$index_usage += $tablestatus->Index_length;
|
568 |
-
|
569 |
-
if ($tablestatus->Engine != 'InnoDB'){
|
570 |
-
$overhead_usage += $tablestatus->Data_free;
|
571 |
-
$total_gain += $tablestatus->Data_free;
|
572 |
-
}
|
573 |
-
}
|
574 |
-
|
575 |
-
$total_size = $data_usage + $index_usage;
|
576 |
-
wpo_debugLog('Total Size .... '.$total_size);
|
577 |
-
wpo_debugLog('Total Gain .... '.$total_gain);
|
578 |
-
return array (wpo_format_size($total_size), wpo_format_size($total_gain));
|
579 |
-
//$wpdb->flush();
|
580 |
-
}
|
581 |
-
// end of function wpo_getCurrentDBSize
|
582 |
-
|
583 |
-
/*
|
584 |
-
* function wpo_updateTotalCleaned($current)
|
585 |
-
*
|
586 |
-
* parameters: a string value
|
587 |
-
*
|
588 |
-
* this function will return total saved data in KB
|
589 |
-
*
|
590 |
-
* @return total size
|
591 |
-
*/
|
592 |
-
function wpo_updateTotalCleaned($current){
|
593 |
-
$previously_saved = get_option(OPTION_NAME_TOTAL_CLEANED,'0');
|
594 |
-
$previously_saved = floatval($previously_saved);
|
595 |
-
|
596 |
-
$converted_current = floatval($current);
|
597 |
-
|
598 |
-
$total_now = $previously_saved + $converted_current;
|
599 |
-
$total_now = strval($total_now);
|
600 |
-
|
601 |
-
update_option(OPTION_NAME_TOTAL_CLEANED, $total_now);
|
602 |
-
update_option(OPTION_NAME_CURRENT_CLEANED, $current);
|
603 |
-
|
604 |
-
return $total_now;
|
605 |
-
|
606 |
-
} // end of function wpo_updateTotalCleaned
|
607 |
-
|
608 |
-
/*
|
609 |
-
* function wpo_cleanUpSystem($cleanupType)
|
610 |
-
*
|
611 |
-
* parameters: cleanup type
|
612 |
-
*
|
613 |
-
* this function will do the cleanup
|
614 |
-
*
|
615 |
-
* @return $message
|
616 |
-
*/
|
617 |
-
function wpo_cleanUpSystem($cleanupType){
|
618 |
-
global $wpdb;
|
619 |
-
$clean = ""; $message = "";
|
620 |
-
list ($retention_enabled, $retention_period) = wpo_getRetainInfo();
|
621 |
-
|
622 |
-
switch ($cleanupType) {
|
623 |
-
case "transient":
|
624 |
-
// backticks
|
625 |
-
$clean = "DELETE FROM `$wpdb->options` WHERE option_name LIKE '_site_transient_browser_%' OR option_name LIKE '_site_transient_timeout_browser_%' OR option_name LIKE '_transient_feed_%' OR option_name LIKE '_transient_timeout_feed_%'";
|
626 |
-
//$clean .= ';';
|
627 |
-
|
628 |
-
$transient = $wpdb->query( $clean );
|
629 |
-
$message .= sprintf(_n('%d transient option deleted', '%d transient options deleted', $transient, 'wp-optimize'), number_format_i18n($transient)).'<br>';
|
630 |
-
break;
|
631 |
-
// TODO: need to use proper query
|
632 |
-
case "postmeta":
|
633 |
-
$clean = "DELETE pm FROM `$wpdb->postmeta` pm LEFT JOIN `$wpdb->posts` wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL";
|
634 |
-
$clean .= ';';
|
635 |
-
|
636 |
-
$postmeta = $wpdb->query( $clean );
|
637 |
-
$message .= sprintf(_n('%d orphaned postmeta deleted', '%d orphaned postmeta deleted', $postmeta, 'wp-optimize'), number_format_i18n($postmeta)).'<br>';
|
638 |
-
break;
|
639 |
-
|
640 |
-
case "commentmeta":
|
641 |
-
$clean = "DELETE FROM `$wpdb->commentmeta` WHERE comment_id NOT IN (SELECT comment_id FROM `$wpdb->comments`)";
|
642 |
-
$clean .= ';';
|
643 |
-
$commentstrash_meta = $wpdb->query( $clean );
|
644 |
-
$message .= sprintf(_n('%d unused comment metadata item removed', '%d unused comment metadata items removed', $commentstrash_meta, 'wp-optimize'), number_format_i18n($commentstrash_meta)).'<br>';
|
645 |
-
|
646 |
-
// TODO: still need to test now cleaning up comments meta tables - removing akismet related settings
|
647 |
-
$clean = "DELETE FROM `$wpdb->commentmeta` WHERE meta_key LIKE '%akismet%'";
|
648 |
-
$clean .= ';';
|
649 |
-
$commentstrash_meta2 = $wpdb->query( $clean );
|
650 |
-
$message .= sprintf(_n('%d unused akismet comment metadata item removed', '%d unused akismet comment metadata items removed', $commentstrash_meta2, 'wp-optimize'), number_format_i18n($commentstrash_meta2)).'<br>';
|
651 |
-
break;
|
652 |
-
|
653 |
-
|
654 |
-
case "orphandata":
|
655 |
-
$clean = "DELETE FROM `$wpdb->term_relationships` WHERE term_taxonomy_id=1 AND object_id NOT IN (SELECT id FROM `$wpdb->posts`)";
|
656 |
-
$clean .= ';';
|
657 |
-
|
658 |
-
$orphandata = $wpdb->query( $clean );
|
659 |
-
$message .= sprintf(_n('%d orphaned meta data deleted', '%d orphaned meta data deleted', $orphandata, 'wp-optimize'), number_format_i18n($orphandata)).'<br>';
|
660 |
-
break;
|
661 |
-
|
662 |
-
case "tags":
|
663 |
-
// $clean = "DELETE t,tt FROM `$wpdb->terms` t INNER JOIN `$wpdb->term_taxonomy` tt ON t.term_id=tt.term_id WHERE tt.taxonomy='post_tag' AND tt.count=0";
|
664 |
-
// $clean .= ';';
|
665 |
-
//
|
666 |
-
// $tags = $wpdb->query( $clean );
|
667 |
-
// $message .= sprintf(_n('%d unused tag deleted', '%d unused tags deleted', $tags, 'wp-optimize'), number_format_i18n($tags)).'<br>';
|
668 |
-
break;
|
669 |
-
|
670 |
-
case "revisions":
|
671 |
-
$clean = "DELETE FROM `$wpdb->posts` WHERE post_type = 'revision'";
|
672 |
-
if ($retention_enabled == 'true') {
|
673 |
-
$clean .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
674 |
-
}
|
675 |
-
$clean .= ';';
|
676 |
-
|
677 |
-
$revisions = $wpdb->query( $clean );
|
678 |
-
$message .= sprintf(_n('%d post revision deleted', '%d post revisions deleted', $revisions, 'wp-optimize'), number_format_i18n($revisions)).'<br>';
|
679 |
-
break;
|
680 |
-
|
681 |
-
case "autodraft":
|
682 |
-
$clean = "DELETE FROM `$wpdb->posts` WHERE post_status = 'auto-draft'";
|
683 |
-
if ($retention_enabled == 'true') {
|
684 |
-
$clean .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
685 |
-
}
|
686 |
-
$clean .= ';';
|
687 |
-
|
688 |
-
$autodraft = $wpdb->query( $clean );
|
689 |
-
$message .= sprintf(_n('%d auto draft deleted', '%d auto drafts deleted', $autodraft, 'wp-optimize'), number_format_i18n($autodraft)).'<br>';
|
690 |
-
|
691 |
-
|
692 |
-
// TODO: query trashed posts and cleanup metadata
|
693 |
-
$clean = "DELETE FROM `$wpdb->posts` WHERE post_status = 'trash'";
|
694 |
-
if ($retention_enabled == 'true') {
|
695 |
-
$clean .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
696 |
-
}
|
697 |
-
$clean .= ';';
|
698 |
-
$posttrash = $wpdb->query( $clean );
|
699 |
-
$message .= sprintf(_n('%d item removed from Trash', '%d items removed from Trash', $posttrash, 'wp-optimize'), number_format_i18n($posttrash)).'<br>';
|
700 |
-
|
701 |
-
break;
|
702 |
-
|
703 |
-
case "spam":
|
704 |
-
$clean = "DELETE FROM `$wpdb->comments` WHERE comment_approved = 'spam'";
|
705 |
-
if ($retention_enabled == 'true') {
|
706 |
-
$clean .= ' and comment_date < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
707 |
-
}
|
708 |
-
$clean .= ';';
|
709 |
-
|
710 |
-
$comments = $wpdb->query( $clean );
|
711 |
-
$message .= sprintf(_n('%d spam comment deleted', '%d spam comments deleted', $comments, 'wp-optimize'), number_format_i18n($comments)).'<br>';
|
712 |
-
|
713 |
-
// TODO: query trashed comments and cleanup metadata
|
714 |
-
$clean = "DELETE FROM `$wpdb->comments` WHERE comment_approved = 'trash'";
|
715 |
-
if ($retention_enabled == 'true') {
|
716 |
-
$clean .= ' and comment_date < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
717 |
-
}
|
718 |
-
$clean .= ';';
|
719 |
-
$commentstrash = $wpdb->query( $clean );
|
720 |
-
$message .= sprintf(_n('%d comment removed from Trash', '%d comments removed from Trash', $commentstrash, 'wp-optimize'), number_format_i18n($commentstrash)).'<br>';
|
721 |
-
|
722 |
-
break;
|
723 |
-
|
724 |
-
case "unapproved":
|
725 |
-
$clean = "DELETE FROM `$wpdb->comments` WHERE comment_approved = '0'";
|
726 |
-
if ($retention_enabled == 'true') {
|
727 |
-
$clean .= ' and comment_date < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
728 |
-
}
|
729 |
-
$clean .= ';';
|
730 |
-
$comments = $wpdb->query( $clean );
|
731 |
-
$message .= sprintf(_n('%d unapproved comment deleted', '%d unapproved comments deleted', $comments, 'wp-optimize'), number_format_i18n($comments)).'<br>';
|
732 |
-
break;
|
733 |
-
|
734 |
-
case "pingbacks":
|
735 |
-
$clean = "DELETE FROM `$wpdb->comments` WHERE comment_type = 'pingback';";
|
736 |
-
$comments = $wpdb->query( $clean );
|
737 |
-
$message .= sprintf(_n('%d pingback deleted', '%d pingbacks deleted', $comments, 'wp-optimize'), number_format_i18n($comments)).'<br>';
|
738 |
-
break;
|
739 |
-
|
740 |
-
case "trackbacks":
|
741 |
-
$clean = "DELETE FROM `$wpdb->comments` WHERE comment_type = 'trackback';";
|
742 |
-
$comments = $wpdb->query( $clean );
|
743 |
-
$message .= sprintf(_n('%d trackback deleted', '%d trackbacks deleted', $comments, 'wp-optimize'), number_format_i18n($comments)).'<br>';
|
744 |
-
break;
|
745 |
-
|
746 |
-
case "enable-weekly":
|
747 |
-
update_option( OPTION_NAME_SCHEDULE, 'true' );
|
748 |
-
$comments = '';
|
749 |
-
$message .= $comments.' '.__('Enabled weekly processing', 'wp-optimize').'<br>';
|
750 |
-
break;
|
751 |
-
|
752 |
-
case "disable-weekly":
|
753 |
-
update_option( OPTION_NAME_SCHEDULE, 'false' );
|
754 |
-
$comments = '';
|
755 |
-
$message .= $comments.' '.__('Disabled weekly processing', 'wp-optimize').'<br>';
|
756 |
-
break;
|
757 |
-
|
758 |
-
//case "optimize-db":
|
759 |
-
//optimizeTables(true);
|
760 |
-
//$message .= "Database ".DB_NAME." Optimized!<br>";
|
761 |
-
//break;
|
762 |
-
|
763 |
-
default:
|
764 |
-
$message .= __('NO Actions Taken', 'wp-optimize').'<br>';
|
765 |
-
break;
|
766 |
-
} // end of switch
|
767 |
-
return $message;
|
768 |
-
} // end of function
|
769 |
-
|
770 |
-
/*
|
771 |
-
* function wpo_getInfo($cleanupType)
|
772 |
-
*
|
773 |
-
* parameters: cleanup type
|
774 |
-
*
|
775 |
-
* this function will do the cleanup
|
776 |
-
*
|
777 |
-
* @return $message
|
778 |
-
*/
|
779 |
-
function wpo_getInfo($cleanupType){
|
780 |
-
global $wpdb;
|
781 |
-
$sql = ""; $message = "";
|
782 |
-
list ($retention_enabled, $retention_period) = wpo_getRetainInfo();
|
783 |
-
|
784 |
-
switch ($cleanupType) {
|
785 |
-
case "transient":
|
786 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->options` WHERE option_name LIKE '_site_transient_browser_%' OR option_name LIKE '_site_transient_timeout_browser_%' OR option_name LIKE '_transient_feed_%' OR option_name LIKE '_transient_timeout_feed_%'";
|
787 |
-
//$sql .= ';';
|
788 |
-
$transient = $wpdb->get_var( $sql );
|
789 |
-
|
790 |
-
if(!$transient == 0 || !$transient == NULL){
|
791 |
-
$message .= ' '.sprintf(_n('%d transient option in your database', '%d transient options in your database', $transient, 'wp-optimize'), number_format_i18n($transient));
|
792 |
-
}
|
793 |
-
else $message .=' '.__('No transient options found', 'wp-optimize');
|
794 |
-
break;
|
795 |
-
|
796 |
-
case "postmeta":
|
797 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->postmeta` pm LEFT JOIN `$wpdb->posts` wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL";
|
798 |
-
$sql .= ';';
|
799 |
-
$postmeta = $wpdb->get_var( $sql );
|
800 |
-
|
801 |
-
if(!$postmeta == 0 || !$postmeta == NULL){
|
802 |
-
$message .= ' '.sprintf(_n('%d orphaned post meta data in your database', '%d orphaned postmeta in your database', $postmeta, 'wp-optimize'), number_format_i18n($postmeta));
|
803 |
-
}
|
804 |
-
else $message .=' '.__('No orphaned post meta data in your database', 'wp-optimize');
|
805 |
-
break;
|
806 |
-
|
807 |
-
case "commentmeta":
|
808 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->commentmeta` WHERE comment_id NOT IN (SELECT comment_id FROM `$wpdb->comments`)";
|
809 |
-
$sql .= ';';
|
810 |
-
$commentmeta = $wpdb->get_var( $sql );
|
811 |
-
|
812 |
-
if(!$commentmeta == 0 || !$commentmeta == NULL){
|
813 |
-
$message .= ' '.sprintf(_n('%d orphaned comment meta data in your database', '%d orphaned comment meta data in your database', $commentmeta, 'wp-optimize'), number_format_i18n($commentmeta));
|
814 |
-
}
|
815 |
-
else $message .=' '.__('No orphaned comment meta data in your database', 'wp-optimize');
|
816 |
-
break;
|
817 |
-
|
818 |
-
case "orphandata":
|
819 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->term_relationships` WHERE term_taxonomy_id=1 AND object_id NOT IN (SELECT id FROM `$wpdb->posts`)";
|
820 |
-
$sql .= ';';
|
821 |
-
$orphandata = $wpdb->get_var( $sql );
|
822 |
-
|
823 |
-
if(!$orphandata == 0 || !$orphandata == NULL){
|
824 |
-
$message .= ' '.sprintf(_n('%d orphaned relationship data in your database', '%d orphaned relationship data in your database', $orphandata, 'wp-optimize'), number_format_i18n($orphandata));
|
825 |
-
}
|
826 |
-
else $message .=' '.__('No orphaned relationship data in your database', 'wp-optimize');
|
827 |
-
break;
|
828 |
-
|
829 |
-
// not used
|
830 |
-
/*case "transient":
|
831 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->options` WHERE option_name LIKE '_site_transient_browser_%' OR option_name LIKE '_site_transient_timeout_browser_%' OR option_name LIKE '_transient_feed_%' OR option_name LIKE '_transient_timeout_feed_%'";
|
832 |
-
$sql .= ';';
|
833 |
-
$transient = $wpdb->get_var( $sql );
|
834 |
-
|
835 |
-
if(!$transient == 0 || !$transient == NULL){
|
836 |
-
$message .= ' '.sprintf(_n('%d transient data in your database', '%d transient data in your database', $transient, 'wp-optimize'), number_format_i18n($transient));
|
837 |
-
}
|
838 |
-
else $message .=' '.__('No transient data found', 'wp-optimize');
|
839 |
-
break;*/
|
840 |
-
|
841 |
-
case "revisions":
|
842 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->posts` WHERE post_type = 'revision'";
|
843 |
-
|
844 |
-
if ($retention_enabled == 'true') {
|
845 |
-
$sql .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
846 |
-
}
|
847 |
-
$sql .= ';';
|
848 |
-
$revisions = $wpdb->get_var( $sql );
|
849 |
-
|
850 |
-
if(!$revisions == 0 || !$revisions == NULL){
|
851 |
-
$message .= ' '.sprintf(_n('%d post revision in your database', '%d post revisions in your database', $revisions, 'wp-optimize'), number_format_i18n($revisions));
|
852 |
-
}
|
853 |
-
else $message .=' '.__('No post revisions found', 'wp-optimize');
|
854 |
-
break;
|
855 |
-
|
856 |
-
case "autodraft":
|
857 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->posts` WHERE post_status = 'auto-draft'";
|
858 |
-
|
859 |
-
if ($retention_enabled == 'true') {
|
860 |
-
$sql .= ' and post_modified < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
861 |
-
}
|
862 |
-
$sql .= ';';
|
863 |
-
$autodraft = $wpdb->get_var( $sql );
|
864 |
-
|
865 |
-
if(!$autodraft == 0 || !$autodraft == NULL){
|
866 |
-
$message .= ' '.sprintf(_n('%d auto draft post in your database', '%d auto draft posts in your database', $autodraft, 'wp-optimize'), number_format_i18n($autodraft));
|
867 |
-
}
|
868 |
-
else $message .=' '.__('No auto draft posts found', 'wp-optimize');
|
869 |
-
break;
|
870 |
-
|
871 |
-
|
872 |
-
case "spam":
|
873 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->comments` WHERE comment_approved = 'spam'";
|
874 |
-
if ($retention_enabled == 'true') {
|
875 |
-
$sql .= ' and comment_date < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
876 |
-
}
|
877 |
-
$sql .= ';';
|
878 |
-
$comments = $wpdb->get_var( $sql );
|
879 |
-
if(!$comments == NULL || !$comments == 0){
|
880 |
-
$message .= ' '.sprintf(_n('%d spam comment found', '%d spam comments found', $comments, 'wp-optimize'), number_format_i18n($comments)).' | <a href="edit-comments.php?comment_status=spam">'.' '.__('Review', 'wp-optimize').'</a>';
|
881 |
-
} else
|
882 |
-
$message .=' '.__('No spam comments found', 'wp-optimize');
|
883 |
-
|
884 |
-
break;
|
885 |
-
|
886 |
-
case "unapproved":
|
887 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->comments` WHERE comment_approved = '0'";
|
888 |
-
if ($retention_enabled == 'true') {
|
889 |
-
$sql .= ' and comment_date < NOW() - INTERVAL ' . $retention_period . ' WEEK';
|
890 |
-
}
|
891 |
-
$sql .= ';';
|
892 |
-
$comments = $wpdb->get_var( $sql );
|
893 |
-
if(!$comments == NULL || !$comments == 0){
|
894 |
-
$message .= ' '.sprintf(_n('%d unapproved comment found', '%d unapproved comments found', $comments, 'wp-optimize'), number_format_i18n($comments)).' | <a href="edit-comments.php?comment_status=moderated">'.' '.__('Review', 'wp-optimize').'</a>';;
|
895 |
-
} else
|
896 |
-
$message .= ' '.__('No unapproved comments found', 'wp-optimize');
|
897 |
-
|
898 |
-
break;
|
899 |
-
|
900 |
-
case "pingbacks":
|
901 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->comments` WHERE comment_type='pingback';";
|
902 |
-
$comments = $wpdb->get_var( $sql );
|
903 |
-
if(!$comments == NULL || !$comments == 0){
|
904 |
-
$message .= ' '.sprintf(_n('%d Pingback found', '%d Pingbacks found', $comments, 'wp-optimize'), number_format_i18n($comments));
|
905 |
-
} else
|
906 |
-
$message .= ' '.__('No pingbacks found', 'wp-optimize');
|
907 |
-
|
908 |
-
break;
|
909 |
-
|
910 |
-
case "trackbacks":
|
911 |
-
$sql = "SELECT COUNT(*) FROM `$wpdb->comments` WHERE comment_type='trackback';";
|
912 |
-
$comments = $wpdb->get_var( $sql );
|
913 |
-
if(!$comments == NULL || !$comments == 0){
|
914 |
-
$message .= ' '.sprintf(_n('%d Trackback found', '%d Trackbacks found', $comments, 'wp-optimize'), number_format_i18n($comments));
|
915 |
-
} else
|
916 |
-
$message .= ' '.__('No trackbacks found', 'wp-optimize');
|
917 |
-
|
918 |
-
break;
|
919 |
-
|
920 |
-
|
921 |
-
default:
|
922 |
-
$message .= __('nothing', 'wp-optimize');
|
923 |
-
break;
|
924 |
-
} // end of switch
|
925 |
-
return $message;
|
926 |
-
} // end of function
|
927 |
-
|
928 |
-
/*
|
929 |
-
* function showStatus($text)
|
930 |
-
*
|
931 |
-
* parameters: $text
|
932 |
-
*
|
933 |
-
* this function will show a yellow status msg
|
934 |
-
*
|
935 |
-
* @return none
|
936 |
-
*/
|
937 |
-
function showStatus($text){
|
938 |
-
echo '<div id="message" class="updated fade">';
|
939 |
-
echo '<strong>'.$text.'</strong></div>';
|
940 |
-
}
|
941 |
-
|
942 |
-
// end of file
|
943 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,122 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
# --------------------------------------- #
|
3 |
-
# prevent file from being accessed directly
|
4 |
-
# --------------------------------------- #
|
5 |
-
if ( ! defined( 'WPINC' ) ) {
|
6 |
-
die;
|
7 |
-
}
|
8 |
-
?>
|
9 |
-
<!-- a feed reader to read the development log -->
|
10 |
-
<div class="wpo_section wpo_group">
|
11 |
-
<div class="wpo_col wpo_span_1_of_3">
|
12 |
-
<div class="postbox">
|
13 |
-
<div class="inside">
|
14 |
-
<h3><?php _e('Credits','wp-optimize'); ?></h3>
|
15 |
-
<p>
|
16 |
-
<?php _e('WP-Optimize started as a utility for my own projects. I soon realized, that this plugin might help a lot of people. I am personally thanking all of the users who use this plugin on a daily basis. Also, thank you to all of the translators and the generous people who have donated to this project.','wp-optimize'); ?>
|
17 |
-
</p>
|
18 |
-
<p>
|
19 |
-
- Ruhani Rabin
|
20 |
-
</p>
|
21 |
-
|
22 |
-
<br /><br />
|
23 |
-
|
24 |
-
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
25 |
-
<input type="hidden" name="cmd" value="_s-xclick">
|
26 |
-
<input type="hidden" name="hosted_button_id" value="LTCMF6JDX94QS">
|
27 |
-
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" name="submit" alt="PayPal The safer, easier way to pay online.">
|
28 |
-
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
29 |
-
</form>
|
30 |
-
|
31 |
-
<br /><br />
|
32 |
-
|
33 |
-
<h3><?php _e('Contributing Developers','wp-optimize'); ?></h3>
|
34 |
-
<br />
|
35 |
-
<a href="mailto:plugins@ruhanirabin.com" target="_blank" title="E-mail"><?php _e('Help me make this plugin better','wp-optimize'); ?></a>, <?php _e('I am looking for contributing developers.','wp-optimize'); ?>
|
36 |
-
<br />
|
37 |
-
<?php _e('Your name and website will be credited here in the plugin.','wp-optimize'); ?>
|
38 |
-
<br />
|
39 |
-
</div>
|
40 |
-
</div>
|
41 |
-
</div>
|
42 |
-
|
43 |
-
<div class="wpo_col wpo_span_1_of_3">
|
44 |
-
<div class="postbox">
|
45 |
-
<div class="inside">
|
46 |
-
<h3><?php _e('Plugin Resources','wp-optimize'); ?></h3>
|
47 |
-
<p>
|
48 |
-
<b><a href="https://translate.wordpress.org/projects/wp-plugins/wp-optimize" target="_blank"><?php _e('Plugin Translation Portal (needs WordPress account)', 'wp-optimize'); ?></a></b>
|
49 |
-
</p>
|
50 |
-
<p>
|
51 |
-
<b><a href="http://ruhanirabin.github.io/WP-Optimize/" target="_blank"><?php _e('Plugin Homepage', 'wp-optimize'); ?></a></b>
|
52 |
-
</p>
|
53 |
-
<p>
|
54 |
-
<b><a href="https://github.com/ruhanirabin/WP-Optimize/issues" target="_blank"><?php _e('Support (GitHub)', 'wp-optimize'); ?></a></b>
|
55 |
-
</p>
|
56 |
-
<p>
|
57 |
-
<b><a href="mailto:plugins@ruhanirabin.com" target="_blank"><?php _e('Support E-mail', 'wp-optimize'); ?></a></b>
|
58 |
-
</p>
|
59 |
-
<p>
|
60 |
-
<b><a href="https://wordpress.org/plugins/wp-optimize/changelog/" target="_blank"><?php _e('Change Log', 'wp-optimize'); ?></a></b>
|
61 |
-
</p>
|
62 |
-
<p>
|
63 |
-
<b><a href="https://wordpress.org/plugins/wp-optimize/faq/" target="_blank"><?php _e('FAQ', 'wp-optimize'); ?></a></b>
|
64 |
-
</p>
|
65 |
-
</div>
|
66 |
-
</div>
|
67 |
-
</div>
|
68 |
-
|
69 |
-
<div class="wpo_col wpo_span_1_of_3">
|
70 |
-
<div class="postbox">
|
71 |
-
<div class="inside">
|
72 |
-
<h3>
|
73 |
-
<?php _e("What's New", 'wp-optimize'); ?></h3>
|
74 |
-
|
75 |
-
<?php
|
76 |
-
$news_items = wpo_readFeed('http://ruhanirabin.github.io/WP-Optimize/feed.xml', 3);
|
77 |
-
|
78 |
-
foreach ( $news_items as $item ) : ?>
|
79 |
-
<p>
|
80 |
-
<b> <a href="<?php echo $item->get_link(); ?>" title="<?php echo $item->get_title(); ?>" target="_blank"><?php echo $item->get_title(); ?></a> </b>
|
81 |
-
</p>
|
82 |
-
<?php endforeach; ?>
|
83 |
-
|
84 |
-
<h3><?php _e('GitHub - Develop Branch','wp-optimize'); ?></h3>
|
85 |
-
<?php // Get RSS Feed(s)
|
86 |
-
include_once( ABSPATH . WPINC . '/feed.php' );
|
87 |
-
|
88 |
-
// Get a SimplePie feed object from the specified feed source.
|
89 |
-
$rss = fetch_feed( 'https://github.com/ruhanirabin/wp-optimize/commits/develop.atom' );
|
90 |
-
|
91 |
-
if ( ! is_wp_error( $rss ) ) : // Checks that the object is created correctly
|
92 |
-
|
93 |
-
// Figure out how many total items there are, but limit it to 5.
|
94 |
-
$maxitems = $rss->get_item_quantity( 5 );
|
95 |
-
|
96 |
-
// Build an array of all the items, starting with element 0 (first element).
|
97 |
-
$rss_items = $rss->get_items( 0, $maxitems );
|
98 |
-
|
99 |
-
endif;
|
100 |
-
?>
|
101 |
-
|
102 |
-
<ul>
|
103 |
-
<?php if ( $maxitems == 0 ) : ?>
|
104 |
-
<li><?php _e( 'No items', 'wp-optimize' ); ?></li>
|
105 |
-
<?php else : ?>
|
106 |
-
<?php // Loop through each feed item and display each item as a hyperlink. ?>
|
107 |
-
<?php foreach ( $rss_items as $item ) : ?>
|
108 |
-
<li>
|
109 |
-
<p>
|
110 |
-
<?php //echo esc_html( $item->get_description() ); ?>
|
111 |
-
<a href="<?php echo $item->get_link(); ?>" title="<?php echo $item->get_title(); ?>" target="_blank"><?php echo $item->get_title(); ?></a>
|
112 |
-
|
113 |
-
<small><?php echo $item->get_date('j F Y | g:i a') ; ?></small>
|
114 |
-
</p>
|
115 |
-
</li>
|
116 |
-
<?php endforeach; ?>
|
117 |
-
<?php endif; ?>
|
118 |
-
</ul>
|
119 |
-
</div>
|
120 |
-
</div>
|
121 |
-
</div>
|
122 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,537 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
# --------------------------------------- #
|
3 |
-
# prevent file from being accessed directly
|
4 |
-
# --------------------------------------- #
|
5 |
-
if ( ! defined( 'WPINC' ) ) {
|
6 |
-
die;
|
7 |
-
}
|
8 |
-
|
9 |
-
$text = '';
|
10 |
-
|
11 |
-
if (isset($_POST["clean-revisions"])) {
|
12 |
-
$text .= wpo_cleanUpSystem('revisions');
|
13 |
-
}
|
14 |
-
|
15 |
-
if ( isset( $_POST["clean-revisions"] ) ) {
|
16 |
-
$user_options["user-revisions"] = TRUE;
|
17 |
-
} else {
|
18 |
-
$user_options["user-revisions"] = FALSE;
|
19 |
-
}
|
20 |
-
|
21 |
-
|
22 |
-
if (isset($_POST["clean-autodraft"])) {
|
23 |
-
$text .= wpo_cleanUpSystem('autodraft');
|
24 |
-
|
25 |
-
|
26 |
-
//$user_options["user-drafts"] = $user_options["user-drafts"] ? 'true' : 'false';
|
27 |
-
}
|
28 |
-
|
29 |
-
if ( isset( $_POST["clean-autodraft"] ) ) {
|
30 |
-
$user_options["user-drafts"] = TRUE;
|
31 |
-
} else {
|
32 |
-
$user_options["user-drafts"] = FALSE;
|
33 |
-
}
|
34 |
-
|
35 |
-
if (isset($_POST["clean-comments"])) {
|
36 |
-
$text .= wpo_cleanUpSystem('spam');
|
37 |
-
}
|
38 |
-
|
39 |
-
if ( isset( $_POST["clean-comments"] ) ) {
|
40 |
-
$user_options["user-spams"] = TRUE;
|
41 |
-
} else {
|
42 |
-
$user_options["user-spams"] = FALSE;
|
43 |
-
}
|
44 |
-
|
45 |
-
|
46 |
-
if (isset($_POST["unapproved-comments"])) {
|
47 |
-
$text .= wpo_cleanUpSystem('unapproved');
|
48 |
-
}
|
49 |
-
|
50 |
-
if ( isset( $_POST["unapproved-comments"] ) ) {
|
51 |
-
$user_options["user-unapproved"] = TRUE;
|
52 |
-
} else {
|
53 |
-
$user_options["user-unapproved"] = FALSE;
|
54 |
-
}
|
55 |
-
|
56 |
-
if (isset($_POST["clean-pingbacks"])) {
|
57 |
-
$text .= wpo_cleanUpSystem('pingbacks');
|
58 |
-
}
|
59 |
-
if (isset($_POST["clean-trackbacks"])) {
|
60 |
-
$text .= wpo_cleanUpSystem('trackbacks');
|
61 |
-
}
|
62 |
-
|
63 |
-
if (isset($_POST["clean-transient"])) {
|
64 |
-
$text .= wpo_cleanUpSystem('transient');
|
65 |
-
}
|
66 |
-
|
67 |
-
if (isset($_POST["clean-postmeta"])) {
|
68 |
-
$text .= wpo_cleanUpSystem('postmeta');
|
69 |
-
}
|
70 |
-
|
71 |
-
if (isset($_POST["clean-commentmeta"])) {
|
72 |
-
$text .= wpo_cleanUpSystem('commentmeta');
|
73 |
-
}
|
74 |
-
|
75 |
-
if (isset($_POST["clean-orphandata"])) {
|
76 |
-
$text .= wpo_cleanUpSystem('orphandata');
|
77 |
-
}
|
78 |
-
|
79 |
-
if (isset($_POST["clean-tags"])) {
|
80 |
-
$text .= wpo_cleanUpSystem('tags');
|
81 |
-
}
|
82 |
-
|
83 |
-
if (isset($_POST["optimize-db"])) {
|
84 |
-
$text .= sprintf(_x('%s Database Optimized!', '%s is the Database Name', 'wp-optimize'), "'".DB_NAME."'").'<br>';
|
85 |
-
}
|
86 |
-
if ( isset( $_POST["optimize-db"] ) ) {
|
87 |
-
$user_options["user-optimize"] = TRUE;
|
88 |
-
} else {
|
89 |
-
$user_options["user-optimize"] = FALSE;
|
90 |
-
}
|
91 |
-
|
92 |
-
if (isset($_POST["wp-optimize"])) {
|
93 |
-
update_option( 'wp-optimize-settings', $user_options );
|
94 |
-
}
|
95 |
-
|
96 |
-
|
97 |
-
if ($text !==''){
|
98 |
-
echo '<div id="message" class="updated">';
|
99 |
-
echo '<strong>'.$text.'</strong></div>';
|
100 |
-
}
|
101 |
-
|
102 |
-
?>
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
<?php
|
107 |
-
Function optimizeTablesQuick($Optimize){
|
108 |
-
global $wpdb;
|
109 |
-
$total_gain = 0;
|
110 |
-
$row_usage = 0;
|
111 |
-
$data_usage = 0;
|
112 |
-
$index_usage = 0;
|
113 |
-
$overhead_usage = 0;
|
114 |
-
$tablesstatus = $wpdb->get_results("SHOW TABLE STATUS");
|
115 |
-
|
116 |
-
foreach($tablesstatus as $tablestatus) {
|
117 |
-
|
118 |
-
$row_usage += $tablestatus->Rows;
|
119 |
-
$data_usage += $tablestatus->Data_length;
|
120 |
-
$index_usage += $tablestatus->Index_length;
|
121 |
-
if ($tablestatus->Engine != 'InnoDB'){
|
122 |
-
$overhead_usage += $tablestatus->Data_free;
|
123 |
-
$total_gain += $tablestatus->Data_free;
|
124 |
-
}
|
125 |
-
}
|
126 |
-
|
127 |
-
if ($Optimize == "yes" ){
|
128 |
-
//if ($tablestatus->Engine != 'InnoDB'){
|
129 |
-
$tables = $wpdb->get_col("SHOW TABLES");
|
130 |
-
foreach($tables as $table_name) {
|
131 |
-
$local_query = 'OPTIMIZE TABLE `'.$table_name.'`';
|
132 |
-
wpo_debugLog('optimizing .... '.$table_name);
|
133 |
-
$result_query = $wpdb->query($local_query);
|
134 |
-
} //end for
|
135 |
-
|
136 |
-
wpo_updateTotalCleaned(strval($total_gain));
|
137 |
-
|
138 |
-
// #TODO for testing only
|
139 |
-
// $thistime = current_time( "timestamp", 0 );
|
140 |
-
// $thedate = gmdate(get_option('date_format') . ' ' . get_option('time_format'), $thistime );
|
141 |
-
// list($part3, $part4) = wpo_getCurrentDBSize();
|
142 |
-
// wpo_sendEmail($thedate, strval($part4)); //TODO TEMPORARY - send email to admin
|
143 |
-
|
144 |
-
// wpo_debugLog('Invoked+ Updating options with value +'.$part4);
|
145 |
-
|
146 |
-
wpo_debugLog('Total Gain .... '.strval($total_gain));
|
147 |
-
} //end if
|
148 |
-
//
|
149 |
-
// clear up total gain values
|
150 |
-
$total_gain = 0;
|
151 |
-
|
152 |
-
} // end of function
|
153 |
-
|
154 |
-
?>
|
155 |
-
|
156 |
-
<script type="text/javascript">
|
157 |
-
|
158 |
-
function fCheck() {
|
159 |
-
var vCleanPingbacks = document.getElementById('clean-pingbacks');
|
160 |
-
var vCleanTrackbacks = document.getElementById('clean-trackbacks');
|
161 |
-
var vCleanPostmeta = document.getElementById('clean-postmeta');
|
162 |
-
var vCleanCommentmeta = document.getElementById('clean-commentmeta');
|
163 |
-
var vCleanOrphandata = document.getElementById('clean-orphandata');
|
164 |
-
var vCleanTransient = document.getElementById('clean-transient');
|
165 |
-
|
166 |
-
if ( vCleanTransient.checked )
|
167 |
-
return confirm('<?php _e('Transient options are automatically re-created by WordPress. Select this option, if you have a large number of Transient.', 'wp-optimize'); ?>');
|
168 |
-
|
169 |
-
if ( vCleanPingbacks.checked )
|
170 |
-
return confirm('<?php _e('This will delete all pingbacks in the database. Are you sure?', 'wp-optimize'); ?>');
|
171 |
-
|
172 |
-
if ( vCleanTrackbacks.checked )
|
173 |
-
return confirm('<?php _e('This will delete all trackbacks in the database. Are you sure?', 'wp-optimize'); ?>');
|
174 |
-
|
175 |
-
if ( vCleanPostmeta.checked )
|
176 |
-
return confirm('<?php _e('Cleaning up post meta can have unexpected results on some servers. Are you sure?', 'wp-optimize'); ?>');
|
177 |
-
|
178 |
-
if ( vCleanCommentmeta.checked )
|
179 |
-
return confirm('<?php _e('Cleaning up comments meta can have unexpected results on some servers. Are you sure?', 'wp-optimize'); ?>');
|
180 |
-
|
181 |
-
if ( vCleanOrphandata.checked )
|
182 |
-
return confirm('<?php _e('Cleaning up orphaned post relationship data can have unexpected result. Are you sure?', 'wp-optimize'); ?>');
|
183 |
-
|
184 |
-
}
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
</script>
|
189 |
-
|
190 |
-
<div class="wpo_section wpo_group">
|
191 |
-
<form onSubmit="return confirm('<?php _e('WARNING: This operation is permanent. Continue?', 'wp-optimize'); ?>')" action="#" method="post" enctype="multipart/form-data" name="optimize_form" id="optimize_form">
|
192 |
-
<div class="wpo_col wpo_span_1_of_3">
|
193 |
-
<div class="postbox">
|
194 |
-
<div class="inside">
|
195 |
-
<h3><?php _e('Clean-up options', 'wp-optimize');
|
196 |
-
$wpo_user_selection = get_option( 'wp-optimize-settings' );
|
197 |
-
//var_dump($wpo_user_selection);
|
198 |
-
?></h3>
|
199 |
-
<p>
|
200 |
-
<label>
|
201 |
-
<input name="clean-revisions" id="clean-revisions" type="checkbox" value="true" <?php echo $wpo_user_selection['user-revisions'] == 'true' ? 'checked="checked"':''; ?> />
|
202 |
-
<?php
|
203 |
-
if ( get_option( OPTION_NAME_RETENTION_ENABLED, 'false' ) == 'true' ) {
|
204 |
-
printf(__('Clean post revisions which are older than %d weeks', 'wp-optimize'), get_option( OPTION_NAME_RETENTION_PERIOD, '2' ));
|
205 |
-
} else {
|
206 |
-
_e('Clean all post revisions', 'wp-optimize');
|
207 |
-
} ?>
|
208 |
-
</label>
|
209 |
-
<br />
|
210 |
-
<small> <?php _e(wpo_getInfo('revisions'), 'wp-optimize'); ?></small>
|
211 |
-
</p>
|
212 |
-
<p>
|
213 |
-
<label>
|
214 |
-
<input name="clean-autodraft" id="clean-autodraft" type="checkbox" value="true" <?php echo $wpo_user_selection['user-drafts'] == 'true' ? 'checked="checked"':''; ?> />
|
215 |
-
<?php
|
216 |
-
if ( get_option( OPTION_NAME_RETENTION_ENABLED, 'false' ) == 'true' ) {
|
217 |
-
printf(__('Clean auto draft posts which are older than %d weeks', 'wp-optimize'), get_option( OPTION_NAME_RETENTION_PERIOD, '2' ));
|
218 |
-
} else {
|
219 |
-
_e('Clean all auto draft posts and posts in trash', 'wp-optimize');
|
220 |
-
} ?>
|
221 |
-
</label>
|
222 |
-
<br />
|
223 |
-
<small> <?php _e(wpo_getInfo('autodraft'), 'wp-optimize'); ?></small>
|
224 |
-
</p>
|
225 |
-
<p>
|
226 |
-
<label>
|
227 |
-
<input name="clean-comments" id="clean-comments" type="checkbox" value="true" <?php echo $wpo_user_selection['user-spams'] == 'true' ? 'checked="checked"':''; ?> />
|
228 |
-
<?php
|
229 |
-
if ( get_option( OPTION_NAME_RETENTION_ENABLED, 'false' ) == 'true' ) {
|
230 |
-
printf(__('Remove spam comments which are older than %d weeks', 'wp-optimize'), get_option( OPTION_NAME_RETENTION_PERIOD, '2' ));
|
231 |
-
} else {
|
232 |
-
_e('Remove spam comments and comments in trash', 'wp-optimize');
|
233 |
-
} ?>
|
234 |
-
</label>
|
235 |
-
<br />
|
236 |
-
<small> <?php _e(wpo_getInfo('spam'), 'wp-optimize'); ?></small>
|
237 |
-
</p>
|
238 |
-
<p>
|
239 |
-
<label>
|
240 |
-
<input name="unapproved-comments" id="unapproved-comments" type="checkbox" value="true" <?php echo $wpo_user_selection['user-unapproved'] == 'true' ? 'checked="checked"':''; ?> />
|
241 |
-
<?php
|
242 |
-
if ( get_option( OPTION_NAME_RETENTION_ENABLED, 'false' ) == 'true' ) {
|
243 |
-
printf(__('Remove unapproved comments which are older than %d weeks', 'wp-optimize'), get_option( OPTION_NAME_RETENTION_PERIOD, '2' ));
|
244 |
-
} else {
|
245 |
-
_e('Remove unapproved comments', 'wp-optimize');
|
246 |
-
} ?>
|
247 |
-
</label>
|
248 |
-
<br />
|
249 |
-
<small> <?php _e(wpo_getInfo('unapproved'), 'wp-optimize'); ?></small>
|
250 |
-
</p>
|
251 |
-
<p>
|
252 |
-
<label>
|
253 |
-
<input name="clean-transient" id="clean-transient" type="checkbox" value="" onclick="return fCheck()"/>
|
254 |
-
<span style="color: red;"><?php _e('Remove transient options', 'wp-optimize'); ?></span>
|
255 |
-
</label>
|
256 |
-
<br />
|
257 |
-
<small> <?php _e(wpo_getInfo('transient'), 'wp-optimize'); ?></small>
|
258 |
-
</p>
|
259 |
-
<p>
|
260 |
-
<label>
|
261 |
-
<input name="clean-pingbacks" id="clean-pingbacks" type="checkbox" value="" onclick="return fCheck()"/>
|
262 |
-
<span style="color: red;"><?php _e('Remove pingbacks', 'wp-optimize'); ?></span>
|
263 |
-
</label>
|
264 |
-
<br />
|
265 |
-
<small> <?php _e(wpo_getInfo('pingbacks'), 'wp-optimize'); ?></small>
|
266 |
-
</p>
|
267 |
-
<p>
|
268 |
-
<label>
|
269 |
-
<input name="clean-trackbacks" id="clean-trackbacks" type="checkbox" value="" onclick="return fCheck()"/>
|
270 |
-
<span style="color: red;"><?php _e('Remove trackbacks', 'wp-optimize'); ?></span>
|
271 |
-
</label>
|
272 |
-
<br />
|
273 |
-
<small> <?php _e(wpo_getInfo('trackbacks'), 'wp-optimize'); ?></small>
|
274 |
-
</p>
|
275 |
-
|
276 |
-
<p>
|
277 |
-
<label>
|
278 |
-
<input name="clean-postmeta" id="clean-postmeta" type="checkbox" value=""
|
279 |
-
onclick="return fCheck()"/>
|
280 |
-
<span style="color: red;"><?php _e('Clean post meta data', 'wp-optimize'); ?></span>
|
281 |
-
</label>
|
282 |
-
<br />
|
283 |
-
<small> <?php _e(wpo_getInfo('postmeta'), 'wp-optimize'); ?></small>
|
284 |
-
</p>
|
285 |
-
|
286 |
-
<p>
|
287 |
-
<label>
|
288 |
-
<input name="clean-commentmeta" id="clean-commentmeta" type="checkbox" value="" onclick="return fCheck()"/>
|
289 |
-
<span style="color: red;"><?php _e('Clean comment meta data', 'wp-optimize'); ?></span>
|
290 |
-
</label>
|
291 |
-
<br />
|
292 |
-
<small> <?php _e(wpo_getInfo('commentmeta'), 'wp-optimize'); ?></small>
|
293 |
-
</p>
|
294 |
-
|
295 |
-
<p>
|
296 |
-
<label>
|
297 |
-
<input name="clean-orphandata" id="clean-orphandata" type="checkbox" value="" onclick="return fCheck()"/>
|
298 |
-
<span style="color: red;"><?php _e('Clean orphaned relationship data', 'wp-optimize'); ?></span>
|
299 |
-
</label>
|
300 |
-
<br />
|
301 |
-
<small> <?php _e(wpo_getInfo('orphandata'), 'wp-optimize'); ?></small>
|
302 |
-
</p>
|
303 |
-
|
304 |
-
<p>
|
305 |
-
<small><span style="color: red;"><?php _e('WARNING: Do not select RED marked items, they may have unexpected results', 'wp-optimize'); ?></span></small>
|
306 |
-
</p>
|
307 |
-
<p>
|
308 |
-
<a href="https://wordpress.org/plugins/youtube-embed-plus/" target="_blank">
|
309 |
-
<img src="<?php echo WPO_PLUGIN_URL ;?>/images/embedplus.png" style="float: left;margin-right: 7px;"> <?php _e('Optimize YouTube embedding with this free plugin on WordPress.org', 'wp-optimize'); ?> »</a>
|
310 |
-
</p>
|
311 |
-
</div>
|
312 |
-
</div>
|
313 |
-
</div>
|
314 |
-
|
315 |
-
<div class="wpo_col wpo_span_1_of_3">
|
316 |
-
<div class="postbox">
|
317 |
-
<div class="inside">
|
318 |
-
<h3><?php _e('Actions', 'wp-optimize'); ?></h3>
|
319 |
-
<p>
|
320 |
-
<label>
|
321 |
-
<?php
|
322 |
-
echo '<input name="optimize-db" id="optimize-db" type="checkbox" value="true" ';
|
323 |
-
echo $wpo_user_selection['user-optimize'] == 'true' ? 'checked="checked"':'';
|
324 |
-
echo ' />';
|
325 |
-
echo '<b> ';
|
326 |
-
_e('Optimize database tables', 'wp-optimize');
|
327 |
-
echo '</b>';
|
328 |
-
?>
|
329 |
-
</label>
|
330 |
-
</p>
|
331 |
-
<p>
|
332 |
-
<small><b><?php _e('Note:', 'wp-optimize'); ?></b></small>
|
333 |
-
<br />
|
334 |
-
<small><?php _e('InnoDB tables will not be optimized', 'wp-optimize'); ?></small>
|
335 |
-
</p>
|
336 |
-
<p>
|
337 |
-
<!-- <span style="text-align:center;"><a href="#" onClick="javascript:SetDefaults();">
|
338 |
-
<?php _e('Select safe options', 'wp-optimize'); ?></a></span> -->
|
339 |
-
<small><b><?php _e('Warning:', 'wp-optimize'); ?></b></small>
|
340 |
-
<br />
|
341 |
-
<small><?php _e('Always make a backup of your DB when you upgrade to major versions', 'wp-optimize'); ?></small>
|
342 |
-
|
343 |
-
</p>
|
344 |
-
<p>
|
345 |
-
<input class="wpo_primary_big" type="submit" id="wp-optimize" name="wp-optimize" value="<?php _e('PROCESS', 'wp-optimize'); ?>" />
|
346 |
-
</p>
|
347 |
-
<p>
|
348 |
-
<a class="button-primary" href="<?php echo WPO_PAYPAL ; ?>" title="<?php _e('Please donate! It really helps me improving the plugin.', 'wp-optimize'); ?>" target="_blank"><?php _e('Donate!', 'wp-optimize'); ?></a>
|
349 |
-
<a class="button-primary" href="http://wordpress.org/support/view/plugin-reviews/wp-optimize?rate=5#postform" target="_blank" title="<?php _e('Please give a proper rating :)', 'wp-optimize'); ?>">
|
350 |
-
<?php _e('Rating', 'wp-optimize'); ?></a>
|
351 |
-
</p>
|
352 |
-
|
353 |
-
<h3><?php _e('Status log', 'wp-optimize'); ?></h3>
|
354 |
-
|
355 |
-
<?php
|
356 |
-
$lastopt = get_option(OPTION_NAME_LAST_OPT, 'Never');
|
357 |
-
if ($lastopt !== 'Never'){
|
358 |
-
echo '<i>';
|
359 |
-
_e('Last automatic optimization was at', 'wp-optimize');
|
360 |
-
echo ' ';
|
361 |
-
echo '</i>';
|
362 |
-
echo '<b>';
|
363 |
-
echo '<font color="green">';
|
364 |
-
echo $lastopt;
|
365 |
-
echo '</font>';
|
366 |
-
echo '</b>';
|
367 |
-
echo '</i>';
|
368 |
-
} else {
|
369 |
-
echo '<i>';
|
370 |
-
_e('There was no automatic optimization', 'wp-optimize');
|
371 |
-
//echo ' - ';
|
372 |
-
//echo '<a href="?page=WP-Optimize&tab=wp_optimize_settings">';
|
373 |
-
//_e('Check settings', 'wp-optimize');
|
374 |
-
//echo '</a>';
|
375 |
-
echo '</i>';
|
376 |
-
}
|
377 |
-
?>
|
378 |
-
<br />
|
379 |
-
|
380 |
-
<?php
|
381 |
-
if ( get_option( OPTION_NAME_SCHEDULE, 'false' ) == 'true' ) {
|
382 |
-
echo '<b>';
|
383 |
-
echo '<i>';
|
384 |
-
echo '<font color="green">';
|
385 |
-
_e('Scheduled cleaning enabled', 'wp-optimize');
|
386 |
-
echo ', ';
|
387 |
-
echo '</font>';
|
388 |
-
echo '</i>';
|
389 |
-
echo '</b>';
|
390 |
-
if (wp_next_scheduled('wpo_cron_event2')) {
|
391 |
-
//$timestamp = wp_next_scheduled( 'wpo_cron_event2' );
|
392 |
-
wpo_cron_activate();
|
393 |
-
|
394 |
-
$timestamp = wp_next_scheduled( 'wpo_cron_event2' );
|
395 |
-
$date = new DateTime("@$timestamp");
|
396 |
-
echo '<i>';
|
397 |
-
_e('Next schedule:', 'wp-optimize');
|
398 |
-
echo ' ';
|
399 |
-
echo '<font color="green">';
|
400 |
-
//echo $date->format('l jS \of F Y') . "\n";
|
401 |
-
//echo gmdate(get_option('date_format') . ' ' . get_option('time_format'), $timestamp + (get_option('gmt_offset')));
|
402 |
-
echo gmdate(get_option('date_format') . ' ' . get_option('time_format'), $timestamp );
|
403 |
-
echo '</i>';
|
404 |
-
echo '</font>';
|
405 |
-
echo '<i>';
|
406 |
-
echo ' - ';
|
407 |
-
echo '<a href="?page=WP-Optimize">';
|
408 |
-
_e('Refresh', 'wp-optimize');
|
409 |
-
echo '</a>';
|
410 |
-
echo '</i>';
|
411 |
-
//echo $timestamp;
|
412 |
-
}
|
413 |
-
} else {
|
414 |
-
echo '<b>';
|
415 |
-
echo '<i>';
|
416 |
-
_e('Scheduled cleaning disabled', 'wp-optimize');
|
417 |
-
echo ' - ';
|
418 |
-
echo '<a href="?page=WP-Optimize&tab=wp_optimize_settings">';
|
419 |
-
_e('Check settings', 'wp-optimize');
|
420 |
-
echo '</a>';
|
421 |
-
echo '</i>';
|
422 |
-
echo '</b>';
|
423 |
-
}
|
424 |
-
echo '<br />';
|
425 |
-
|
426 |
-
if ( get_option( OPTION_NAME_RETENTION_ENABLED, 'false' ) == 'true' ) {
|
427 |
-
echo '<i>';
|
428 |
-
echo '<b>';
|
429 |
-
echo '<font color="blue">';
|
430 |
-
printf(__('Keeping last %s weeks data', 'wp-optimize'), get_option( OPTION_NAME_RETENTION_PERIOD, '2' ) ) ;
|
431 |
-
echo '</font>';
|
432 |
-
echo '</i>';
|
433 |
-
echo '</b>';
|
434 |
-
} else {
|
435 |
-
echo '<i>';
|
436 |
-
echo '<b>';
|
437 |
-
_e('Not keeping recent data', 'wp-optimize');
|
438 |
-
echo ' - ';
|
439 |
-
echo '<a href="?page=WP-Optimize&tab=wp_optimize_settings">';
|
440 |
-
_e('Check settings', 'wp-optimize');
|
441 |
-
echo '</a>';
|
442 |
-
echo '</i>';
|
443 |
-
echo '</b>';
|
444 |
-
}
|
445 |
-
?>
|
446 |
-
<br />
|
447 |
-
<h4>
|
448 |
-
<?php
|
449 |
-
if (isset($_POST["optimize-db"])) {
|
450 |
-
list ($part1, $part2) = wpo_getCurrentDBSize();
|
451 |
-
_e('Current database size:', 'wp-optimize');
|
452 |
-
echo ' ';
|
453 |
-
echo '<font color="blue">';
|
454 |
-
echo $part1.'</font> ';
|
455 |
-
echo ' <br />';
|
456 |
-
_e('You have saved:', 'wp-optimize');
|
457 |
-
echo ' ';
|
458 |
-
echo '<font color="blue">';
|
459 |
-
echo $part2.'</font> ';
|
460 |
-
}
|
461 |
-
else {
|
462 |
-
list ($part1, $part2) = wpo_getCurrentDBSize();
|
463 |
-
_e('Current database size:', 'wp-optimize');
|
464 |
-
echo ' ';
|
465 |
-
echo '<font color="blue">';
|
466 |
-
echo $part1.'</font> ';
|
467 |
-
$this_value = $part2;
|
468 |
-
|
469 |
-
if ($this_value > 0){
|
470 |
-
echo ' <br />';
|
471 |
-
_e('You can save almost:', 'wp-optimize');
|
472 |
-
echo ' ';
|
473 |
-
echo '<font color="red">';
|
474 |
-
echo $part2.'</font> ';
|
475 |
-
}
|
476 |
-
}
|
477 |
-
?>
|
478 |
-
</h4>
|
479 |
-
<?php
|
480 |
-
$total_cleaned = get_option(OPTION_NAME_TOTAL_CLEANED);
|
481 |
-
$total_cleaned_num = floatval($total_cleaned);
|
482 |
-
|
483 |
-
if ($total_cleaned_num > 0){
|
484 |
-
echo '<h5>';
|
485 |
-
_e('Total clean up overall:','wp-optimize');
|
486 |
-
echo ' ';
|
487 |
-
echo '<font color="green">';
|
488 |
-
echo wpo_format_size($total_cleaned);
|
489 |
-
echo '</font>';
|
490 |
-
echo '</h5>';
|
491 |
-
}
|
492 |
-
?>
|
493 |
-
</div>
|
494 |
-
</div>
|
495 |
-
</div>
|
496 |
-
<div class="wpo_col wpo_span_1_of_3">
|
497 |
-
|
498 |
-
<!-- <p>
|
499 |
-
<?php wpo_headerImage(); ?>
|
500 |
-
</p> -->
|
501 |
-
<p>
|
502 |
-
<?php _e('Sponsor','wp-optimize')?>
|
503 |
-
</p>
|
504 |
-
<p>
|
505 |
-
<a href="http://bit.ly/266KJBZ" target="_blank"><img style="border:0px" src="<?php echo WPO_PLUGIN_URL ;?>/images/mythemeshop.png" width="310" height="auto" alt=""></a>
|
506 |
-
</p>
|
507 |
-
<p>
|
508 |
-
<a href="http://j.mp/1ePlbvc" target="_blank"><img style="border:0px" src="<?php echo WPO_PLUGIN_URL ;?>/images/elegantthemes_sm.png" width="310" height="auto" alt=""></a>
|
509 |
-
</p>
|
510 |
-
</div>
|
511 |
-
</form>
|
512 |
-
</div>
|
513 |
-
|
514 |
-
<!-- TODO: Need to make this checkbox selection thing persistent -->
|
515 |
-
|
516 |
-
<script type="text/javascript">
|
517 |
-
function SetDefaults() {
|
518 |
-
document.getElementById("clean-revisions").checked = true;
|
519 |
-
document.getElementById("clean-comments").checked = true;
|
520 |
-
document.getElementById("clean-autodraft").checked = true;
|
521 |
-
document.getElementById("optimize-db").checked = true;
|
522 |
-
|
523 |
-
return false;
|
524 |
-
}
|
525 |
-
</script>
|
526 |
-
|
527 |
-
|
528 |
-
<!--<script>
|
529 |
-
SetDefaults();
|
530 |
-
</script>-->
|
531 |
-
|
532 |
-
<?php
|
533 |
-
if (isset($_POST["optimize-db"])) {
|
534 |
-
optimizeTablesQuick("yes");
|
535 |
-
}
|
536 |
-
else optimizeTablesQuick("no");
|
537 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,293 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
# --------------------------------------- #
|
3 |
-
# prevent file from being accessed directly
|
4 |
-
# --------------------------------------- #
|
5 |
-
if ( ! defined( 'WPINC' ) ) {
|
6 |
-
die;
|
7 |
-
}
|
8 |
-
|
9 |
-
$GLOBALS['wpo_auto_options'] = get_option('wp-optimize-auto');
|
10 |
-
|
11 |
-
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
12 |
-
check_admin_referer( 'wpo_settings' );
|
13 |
-
|
14 |
-
// …
|
15 |
-
if (isset($_POST["enable-schedule"])) {
|
16 |
-
update_option( OPTION_NAME_SCHEDULE, 'true' );
|
17 |
-
wpo_cron_deactivate();
|
18 |
-
|
19 |
-
/* if (!wp_next_scheduled('wpo_cron_event2')) {
|
20 |
-
wp_schedule_event(time(), 'wpo_weekly', 'wpo_cron_event2');
|
21 |
-
add_filter('cron_schedules', 'wpo_cron_update_sched');
|
22 |
-
|
23 |
-
} */
|
24 |
-
if (isset($_POST["schedule_type"])) {
|
25 |
-
$schedule_type = $_POST['schedule_type'];
|
26 |
-
update_option( OPTION_NAME_SCHEDULE_TYPE, $schedule_type );
|
27 |
-
|
28 |
-
} else {
|
29 |
-
update_option( OPTION_NAME_SCHEDULE_TYPE, 'wpo_weekly' );
|
30 |
-
}
|
31 |
-
wpo_cron_activate();
|
32 |
-
add_action('wpo_cron_event2', 'wpo_cron_action');
|
33 |
-
//wpo_debugLog('We are at setting page form submission and reached wpo_cron_activate()');
|
34 |
-
} else {
|
35 |
-
update_option( OPTION_NAME_SCHEDULE, 'false' );
|
36 |
-
update_option( OPTION_NAME_SCHEDULE_TYPE, 'wpo_weekly' );
|
37 |
-
wpo_cron_deactivate();
|
38 |
-
|
39 |
-
}
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
if (isset($_POST["enable-retention"])) {
|
44 |
-
$retention_period = $_POST['retention-period'];
|
45 |
-
update_option( OPTION_NAME_RETENTION_ENABLED, 'true' );
|
46 |
-
update_option( OPTION_NAME_RETENTION_PERIOD, $retention_period );
|
47 |
-
|
48 |
-
} else {
|
49 |
-
update_option( OPTION_NAME_RETENTION_ENABLED, 'false' );
|
50 |
-
}
|
51 |
-
|
52 |
-
if (isset($_POST["enable-admin-bar"])) {
|
53 |
-
update_option( OPTION_NAME_ENABLE_ADMIN_MENU, 'true' );
|
54 |
-
} else {
|
55 |
-
update_option( OPTION_NAME_ENABLE_ADMIN_MENU, 'false' );
|
56 |
-
}
|
57 |
-
if (isset($_POST["enable-email"])) {
|
58 |
-
// update_option( OPTION_NAME_ENABLE_EMAIL, 'true' );
|
59 |
-
} else {
|
60 |
-
//update_option( OPTION_NAME_ENABLE_EMAIL, 'false' );
|
61 |
-
}
|
62 |
-
if (isset($_POST["enable-email-address"])) {
|
63 |
-
//update_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS, wp_unslash( $_POST["enable-email-address"] ) );
|
64 |
-
} else {
|
65 |
-
//update_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS, get_bloginfo ( 'admin_email' ) );
|
66 |
-
}
|
67 |
-
|
68 |
-
|
69 |
-
if( isset($_POST['wp-optimize-settings']) ) {
|
70 |
-
$new_options = $_POST['wp-optimize-auto'];
|
71 |
-
$bool_opts = array( 'revisions', 'drafts', 'spams', 'unapproved', 'transient', 'postmeta', 'tags', 'optimize' );
|
72 |
-
|
73 |
-
foreach($bool_opts as $key) {
|
74 |
-
$new_options[$key] = !empty( $new_options[$key] ) ? 'true' : 'false';
|
75 |
-
}
|
76 |
-
update_option( 'wp-optimize-auto', $new_options);
|
77 |
-
|
78 |
-
$wpo_auto_options = get_option('wp-optimize-auto');
|
79 |
-
|
80 |
-
}
|
81 |
-
|
82 |
-
if( isset($_POST['wp-optimize-disable-enable-trackbacks']) ) {
|
83 |
-
|
84 |
-
if ($_POST['wp-optimize-disable-enable-trackbacks'] == "0") {
|
85 |
-
wpo_disableLinkbacks('trackbacks');
|
86 |
-
echo '<div id="message" class="updated fade">';
|
87 |
-
echo '<strong>'._e('Trackbacks disabled on all current and previously published posts','wp-optimize').'</strong></div>';
|
88 |
-
}
|
89 |
-
|
90 |
-
if ($_POST['wp-optimize-disable-enable-trackbacks'] == "1") {
|
91 |
-
wpo_enableLinkbacks('trackbacks');
|
92 |
-
echo '<div id="message" class="updated fade">';
|
93 |
-
echo '<strong>'._e('Trackbacks enabled on all current and previously published posts','wp-optimize').'</strong></div>';
|
94 |
-
}
|
95 |
-
} //end if isset
|
96 |
-
|
97 |
-
if( isset($_POST['wp-optimize-disable-enable-comments']) ) {
|
98 |
-
|
99 |
-
if ($_POST['wp-optimize-disable-enable-comments'] == "0") {
|
100 |
-
wpo_disableLinkbacks('comments');
|
101 |
-
echo '<div id="message" class="updated fade">';
|
102 |
-
echo '<strong>'._e('Comments disabled on all current and previously published posts','wp-optimize').'</strong></div>';
|
103 |
-
}
|
104 |
-
|
105 |
-
if ($_POST['wp-optimize-disable-enable-comments'] == "1") {
|
106 |
-
wpo_enableLinkbacks('comments');
|
107 |
-
echo '<div id="message" class="updated fade">';
|
108 |
-
echo '<strong>'._e('Comments enabled on all current and previously published posts','wp-optimize').'</strong></div>';
|
109 |
-
}
|
110 |
-
} //endif isset
|
111 |
-
|
112 |
-
echo '<div id="message" class="updated fade">';
|
113 |
-
echo '<strong>'._e('Settings updated','wp-optimize').'</strong></div>';
|
114 |
-
} ?>
|
115 |
-
|
116 |
-
<div class="wpo_section wpo_group">
|
117 |
-
<form action="#" method="post" enctype="multipart/form-data" name="settings_form" id="settings_form">
|
118 |
-
<?php wp_nonce_field( 'wpo_settings' ); ?>
|
119 |
-
|
120 |
-
<div class="wpo_col wpo_span_1_of_3">
|
121 |
-
<div class="postbox">
|
122 |
-
<div class="inside">
|
123 |
-
<h3><?php _e('General Settings', 'wp-optimize'); ?></h3>
|
124 |
-
<p>
|
125 |
-
<input name="enable-retention" id="enable-retention" type="checkbox" value ="true" <?php echo get_option(OPTION_NAME_RETENTION_ENABLED) == 'true' ? 'checked="checked"':''; ?> />
|
126 |
-
<?php
|
127 |
-
echo '<label>';
|
128 |
-
printf(__('Keep last %s weeks data', 'wp-optimize'),
|
129 |
-
'<select id="retention-period" name="retention-period">
|
130 |
-
<option value="'.esc_attr( get_option(OPTION_NAME_RETENTION_PERIOD, '2') ).'">'.esc_html( get_option(OPTION_NAME_RETENTION_PERIOD,'2') ).'</option>
|
131 |
-
<option value="2">2</option>
|
132 |
-
<option value="4">4</option>
|
133 |
-
<option value="6">6</option>
|
134 |
-
<option value="8">8</option>
|
135 |
-
<option value="10">10</option>
|
136 |
-
<option value="27">27</option>
|
137 |
-
</select>'
|
138 |
-
);
|
139 |
-
echo '</label>'; ?>
|
140 |
-
<br />
|
141 |
-
<small><?php _e('This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process', 'wp-optimize');?></small>
|
142 |
-
</p>
|
143 |
-
<p>
|
144 |
-
<label>
|
145 |
-
<input name="enable-admin-bar" id="enable-admin-bar" type="checkbox" value ="true" <?php echo get_option(OPTION_NAME_ENABLE_ADMIN_MENU, 'false') == 'true' ? 'checked="checked"':''; ?> />
|
146 |
-
<?php _e('Enable admin bar link', 'wp-optimize');
|
147 |
-
echo ' ';
|
148 |
-
echo '<a href="?page=WP-Optimize&tab=wp_optimize_settings">';
|
149 |
-
_e('(Click here to refresh)', 'wp-optimize');
|
150 |
-
echo '</a>' ?>
|
151 |
-
</label>
|
152 |
-
<br />
|
153 |
-
<small><?php _e('This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh.', 'wp-optimize');?></small>
|
154 |
-
</p>
|
155 |
-
<h3><?php _e('Trackback/Comments Actions', 'wp-optimize'); ?></h3>
|
156 |
-
<p>
|
157 |
-
<?php _e('Disable/Enable Trackbacks', 'wp-optimize'); ?>
|
158 |
-
<br />
|
159 |
-
<select id="wp-optimize-disable-enable-trackbacks" name="wp-optimize-disable-enable-trackbacks">
|
160 |
-
<option value="-1"><?php _e('SELECT', 'wp-optimize'); ?></option>
|
161 |
-
<option value="0"><?php _e('Disable', 'wp-optimize'); ?></option>
|
162 |
-
<option value="1"><?php _e('Enable', 'wp-optimize'); ?></option>
|
163 |
-
</select>
|
164 |
-
<br /><br />
|
165 |
-
<small><?php _e('This will disable/enable Trackbacks on all your current and previously published posts', 'wp-optimize');?></small>
|
166 |
-
</p>
|
167 |
-
<p>
|
168 |
-
<?php _e('Disable/Enable Comments', 'wp-optimize'); ?>
|
169 |
-
<br />
|
170 |
-
<select id="wp-optimize-disable-enable-comments" name="wp-optimize-disable-enable-comments">
|
171 |
-
<option value="-1"><?php _e('SELECT', 'wp-optimize'); ?></option>
|
172 |
-
<option value="0"><?php _e('Disable', 'wp-optimize'); ?></option>
|
173 |
-
<option value="1"><?php _e('Enable', 'wp-optimize'); ?></option>
|
174 |
-
</select>
|
175 |
-
<br /><br />
|
176 |
-
<small><?php _e('This will disable/enable Comments on all your current and previously published posts', 'wp-optimize');?></small>
|
177 |
-
</p>
|
178 |
-
<p>
|
179 |
-
<a href="https://wordpress.org/plugins/youtube-embed-plus/" target="_blank">
|
180 |
-
<img src="<?php echo WPO_PLUGIN_URL ;?>images/embedplus.png" style="float: left;margin-right: 7px;"> <?php _e('Optimize YouTube embedding with this free plugin on WordPress.org', 'wp-optimize'); ?> »</a>
|
181 |
-
</p>
|
182 |
-
<p>
|
183 |
-
<input class="button-primary" type="submit" name="wp-optimize-settings1" value="<?php _e('SAVE SETTINGS', 'wp-optimize'); ?>" />
|
184 |
-
</p>
|
185 |
-
</div>
|
186 |
-
</div>
|
187 |
-
</div>
|
188 |
-
|
189 |
-
|
190 |
-
<div class="wpo_col wpo_span_1_of_3">
|
191 |
-
<div class="postbox">
|
192 |
-
<div class="inside">
|
193 |
-
<h3><?php _e('Auto Clean-up Settings', 'wp-optimize'); $wpo_auto_options = get_option('wp-optimize-auto');?></h3>
|
194 |
-
<p>
|
195 |
-
<input name="enable-schedule" id="enable-schedule" type="checkbox" value ="true" <?php echo get_option(OPTION_NAME_SCHEDULE) == 'true' ? 'checked="checked"':''; ?> />
|
196 |
-
<?php _e('Enable scheduled clean-up and optimization (Beta feature!)', 'wp-optimize'); ?>
|
197 |
-
<br /><br />
|
198 |
-
<?php _e('Select schedule type (default is Weekly)', 'wp-optimize'); ?><br />
|
199 |
-
<select id="schedule_type" name="schedule_type">
|
200 |
-
<option value="<?php echo esc_attr( get_option(OPTION_NAME_SCHEDULE_TYPE, 'wpo_weekly') ); ?>">
|
201 |
-
<?php
|
202 |
-
$last_schedule = get_option(OPTION_NAME_SCHEDULE_TYPE,'wpo_weekly');
|
203 |
-
switch ($last_schedule) {
|
204 |
-
case "wpo_daily":
|
205 |
-
_e('Every day', 'wp-optimize');
|
206 |
-
break;
|
207 |
-
|
208 |
-
case "wpo_weekly":
|
209 |
-
_e('Every week', 'wp-optimize');
|
210 |
-
break;
|
211 |
-
|
212 |
-
case "wpo_otherweekly":
|
213 |
-
_e('Every other week (every 14 days)', 'wp-optimize');
|
214 |
-
break;
|
215 |
-
|
216 |
-
case "wpo_monthly":
|
217 |
-
_e('Every month (every 31 days)', 'wp-optimize');
|
218 |
-
break;
|
219 |
-
|
220 |
-
default:
|
221 |
-
_e('Every week', 'wp-optimize');
|
222 |
-
break;
|
223 |
-
} ?>
|
224 |
-
|
225 |
-
<option value="wpo_daily"><?php _e('Every day', 'wp-optimize'); ?></option>
|
226 |
-
<option value="wpo_weekly"><?php _e('Every week', 'wp-optimize'); ?></option>
|
227 |
-
<option value="wpo_otherweekly"><?php _e('Every other week (every 14 days)', 'wp-optimize'); ?></option>
|
228 |
-
<option value="wpo_monthly"><?php _e('Every month (every 31 days)', 'wp-optimize'); ?></option>
|
229 |
-
</select>
|
230 |
-
<br /><br />
|
231 |
-
<small><?php _e('Automatic cleanup will perform the following:', 'wp-optimize');
|
232 |
-
echo '<br/>';
|
233 |
-
_e('Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db.', 'wp-optimize');?></small>
|
234 |
-
</p>
|
235 |
-
<p>
|
236 |
-
<?php _e('These options will only work if the automatic clean-up schedule has been enabled','wp-optimize');?>
|
237 |
-
</p>
|
238 |
-
<p>
|
239 |
-
<input name="wp-optimize-auto[revisions]" id="wp-optimize-auto[revisions]" type="checkbox" value="true" <?php echo $wpo_auto_options['revisions'] == 'true' ? 'checked="checked"':''; ?> /> <?php _e('Remove auto revisions', 'wp-optimize'); ?>
|
240 |
-
</p>
|
241 |
-
<p>
|
242 |
-
<input name="wp-optimize-auto[drafts]" id="wp-optimize-auto[drafts]" type="checkbox" value="true" <?php echo $wpo_auto_options['drafts'] == 'true' ? 'checked="checked"':''; ?> /> <?php _e('Remove auto drafts', 'wp-optimize'); ?>
|
243 |
-
</p>
|
244 |
-
<p>
|
245 |
-
<input name="wp-optimize-auto[spams]" id="wp-optimize-auto[spams]" type="checkbox" value="true" <?php echo $wpo_auto_options['spams'] == 'true' ? 'checked="checked"':''; ?> /> <?php _e('Remove spam comments', 'wp-optimize'); ?>
|
246 |
-
</p>
|
247 |
-
<p>
|
248 |
-
<input name="wp-optimize-auto[unapproved]" id="wp-optimize-auto[unapproved]" type="checkbox" value="true" <?php echo $wpo_auto_options['unapproved'] == 'true' ? 'checked="checked"':''; ?> /> <?php _e('Remove unapproved comments', 'wp-optimize'); ?>
|
249 |
-
</p>
|
250 |
-
<p>
|
251 |
-
<span style="color: red;">
|
252 |
-
<input name="wp-optimize-auto[transient]" id="wp-optimize-auto[transient]" type="checkbox" value="true" <?php echo $wpo_auto_options['transient'] == 'true' ? 'checked="checked"':''; ?> /> <?php _e('Remove transient options', 'wp-optimize'); ?>
|
253 |
-
</span>
|
254 |
-
</p>
|
255 |
-
<!-- <input name="wp-optimize-auto[postmeta]" id="wp-optimize-auto[postmeta]" type="checkbox" value="true" <?php echo $wpo_auto_options['postmeta'] == 'true' ? 'checked="checked"':''; ?> /> <?php _e('Remove orphaned post meta', 'wp-optimize'); ?>
|
256 |
-
<br /><br />-->
|
257 |
-
|
258 |
-
<!-- <input name="wp-optimize-auto[tags]" id="wp-optimize-auto[tags]" type="checkbox" value="true" <?php echo $wpo_auto_options['tags'] == 'true' ? 'checked="checked"':''; ?> /> <?php _e('Remove unused tags', 'wp-optimize'); ?>
|
259 |
-
<br /><br />-->
|
260 |
-
<p>
|
261 |
-
<input name="wp-optimize-auto[optimize]" id="wp-optimize-auto[optimize]" type="checkbox" value="true" <?php echo $wpo_auto_options['optimize'] == 'true' ? 'checked="checked"':''; ?> /> <b><?php _e('Optimize database', 'wp-optimize'); ?></b>
|
262 |
-
</p>
|
263 |
-
<?php
|
264 |
-
// if (WPO_TABLE_TYPE == 'InnoDB'){
|
265 |
-
echo '<p>';
|
266 |
-
_e('InnoDB tables will not be optimized!', 'wp-optimize');
|
267 |
-
echo '</p>';
|
268 |
-
// }
|
269 |
-
?>
|
270 |
-
<!-- disabled email notification
|
271 |
-
<p>
|
272 |
-
<label>
|
273 |
-
<input name="enable-email" id="enable-email" type="checkbox" value ="true" <?php // echo get_option(OPTION_NAME_ENABLE_EMAIL, 'false') == 'true' ? 'checked="checked"':''; ?> />
|
274 |
-
<?php //_e('Enable email notification', 'wp-optimize');?>
|
275 |
-
</label>
|
276 |
-
</p>
|
277 |
-
<p>
|
278 |
-
<label for="enable-email-address">
|
279 |
-
<?php //_e('Send email to', 'wp-optimize');?>
|
280 |
-
<input name="enable-email-address" id="enable-email-address" type="text" value ="<?php //echo // esc_attr( get_option( OPTION_NAME_ENABLE_EMAIL_ADDRESS, get_bloginfo ( 'admin_email' ) ) ); ?>" />
|
281 |
-
</label>
|
282 |
-
</p> -->
|
283 |
-
<p>
|
284 |
-
<input class="button-primary" type="submit" name="wp-optimize-settings" value="<?php _e('SAVE AUTO CLEAN-UP SETTINGS', 'wp-optimize'); ?>" />
|
285 |
-
</p>
|
286 |
-
</div>
|
287 |
-
</div>
|
288 |
-
</div>
|
289 |
-
|
290 |
-
<input type="hidden" name="action" value="save_redirect" />
|
291 |
-
|
292 |
-
</form>
|
293 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,224 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
# --------------------------------------- #
|
3 |
-
# prevent file from being accessed directly
|
4 |
-
# --------------------------------------- #
|
5 |
-
if ( ! defined( 'WPINC' ) ) {
|
6 |
-
die;
|
7 |
-
}
|
8 |
-
|
9 |
-
if (isset($_POST["optimize-db"])) {
|
10 |
-
optimizeTables(true);
|
11 |
-
}
|
12 |
-
else optimizeTables(false);
|
13 |
-
|
14 |
-
?>
|
15 |
-
<?php
|
16 |
-
Function optimizeTables($Optimize=false){
|
17 |
-
?>
|
18 |
-
<h3>
|
19 |
-
<?php
|
20 |
-
_e('Database Name:', 'wp-optimize'); ?> '<?php _e(DB_NAME, 'wp-optimize');
|
21 |
-
echo "'";
|
22 |
-
?></h3>
|
23 |
-
|
24 |
-
|
25 |
-
<?php if($Optimize){
|
26 |
-
?>
|
27 |
-
|
28 |
-
<p><?php _e('Optimized all the tables found in the database.', 'wp-optimize')?></p>
|
29 |
-
<?php } ?>
|
30 |
-
|
31 |
-
|
32 |
-
<br style="clear" />
|
33 |
-
<table class="widefat">
|
34 |
-
<thead>
|
35 |
-
<tr>
|
36 |
-
<th><?php _e('No.', 'wp-optimize'); ?></th>
|
37 |
-
<th><?php _e('Tables', 'wp-optimize'); ?></th>
|
38 |
-
<th><?php _e('Records', 'wp-optimize'); ?></th>
|
39 |
-
<th><?php _e('Data Size', 'wp-optimize'); ?></th>
|
40 |
-
<th><?php _e('Index Size', 'wp-optimize'); ?></th>
|
41 |
-
<th><?php _e('Type', 'wp-optimize'); ?></th>
|
42 |
-
<th><?php _e('Overhead', 'wp-optimize');?></th>
|
43 |
-
|
44 |
-
</tr>
|
45 |
-
</thead>
|
46 |
-
|
47 |
-
<tbody id="the-list">
|
48 |
-
<?php
|
49 |
-
$alternate = ' class="alternate"';
|
50 |
-
global $wpdb;
|
51 |
-
// Read SQL Version and act accordingly
|
52 |
-
// Check for InnoDB tables
|
53 |
-
// Check for windows servers
|
54 |
-
$sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
|
55 |
-
$total_gain = 0;
|
56 |
-
$no = 0;
|
57 |
-
$row_usage = 0;
|
58 |
-
$data_usage = 0;
|
59 |
-
$index_usage = 0;
|
60 |
-
$overhead_usage = 0;
|
61 |
-
$tablesstatus = $wpdb->get_results("SHOW TABLE STATUS");
|
62 |
-
foreach($tablesstatus as $tablestatus) {
|
63 |
-
if($no%2 == 0) {
|
64 |
-
$style = '';
|
65 |
-
} else {
|
66 |
-
$style = ' class="alternate"';
|
67 |
-
}
|
68 |
-
$no++;
|
69 |
-
echo "<tr$style>\n";
|
70 |
-
echo '<td>'.number_format_i18n($no).'</td>'."\n";
|
71 |
-
echo "<td>$tablestatus->Name</td>\n";
|
72 |
-
echo '<td>'.number_format_i18n($tablestatus->Rows).'</td>'."\n";
|
73 |
-
echo '<td>'.wpo_format_size($tablestatus->Data_length).'</td>'."\n";
|
74 |
-
echo '<td>'.wpo_format_size($tablestatus->Index_length).'</td>'."\n";;
|
75 |
-
echo '<td>'.$tablestatus->Engine.'</td>'."\n";;
|
76 |
-
//echo '<td>'.wpo_format_size($tablestatus->Data_free).'</td>'."\n";
|
77 |
-
|
78 |
-
if ($tablestatus->Engine != 'InnoDB'){
|
79 |
-
|
80 |
-
echo '<td>';
|
81 |
-
if (isset($_POST["optimize-db"])) {
|
82 |
-
|
83 |
-
if($tablestatus->Data_free>0){
|
84 |
-
echo '<font color="blue">';
|
85 |
-
echo wpo_format_size($tablestatus->Data_free);
|
86 |
-
echo '</font>';
|
87 |
-
}
|
88 |
-
else {
|
89 |
-
echo '<font color="green">';
|
90 |
-
echo wpo_format_size($tablestatus->Data_free);
|
91 |
-
echo '</font>';
|
92 |
-
}
|
93 |
-
}
|
94 |
-
else {
|
95 |
-
if($tablestatus->Data_free>0){
|
96 |
-
echo '<font color="red">';
|
97 |
-
echo wpo_format_size($tablestatus->Data_free);
|
98 |
-
echo '</font>';
|
99 |
-
}
|
100 |
-
else {
|
101 |
-
echo '<font color="green">';
|
102 |
-
echo wpo_format_size($tablestatus->Data_free);
|
103 |
-
echo '</font>';
|
104 |
-
}
|
105 |
-
}
|
106 |
-
|
107 |
-
echo '</td>'."\n";
|
108 |
-
}
|
109 |
-
else {
|
110 |
-
echo '<td>';
|
111 |
-
|
112 |
-
echo '<font color="blue">';
|
113 |
-
echo '-';
|
114 |
-
echo '</font>';
|
115 |
-
|
116 |
-
|
117 |
-
echo '</td>'."\n";
|
118 |
-
|
119 |
-
}
|
120 |
-
|
121 |
-
$row_usage += $tablestatus->Rows;
|
122 |
-
$data_usage += $tablestatus->Data_length;
|
123 |
-
$index_usage += $tablestatus->Index_length;
|
124 |
-
|
125 |
-
if ($tablestatus->Engine != 'InnoDB'){
|
126 |
-
$overhead_usage += $tablestatus->Data_free;
|
127 |
-
$total_gain += $tablestatus->Data_free;
|
128 |
-
} else {
|
129 |
-
$overhead_usage += 0;
|
130 |
-
$total_gain += 0;
|
131 |
-
}
|
132 |
-
echo '</tr>'."\n";
|
133 |
-
}
|
134 |
-
|
135 |
-
|
136 |
-
echo '<tr class="thead">'."\n";
|
137 |
-
echo '<th>'.__('Total:', 'wp-optimize').'</th>'."\n";
|
138 |
-
echo '<th>'.sprintf(_n('%d Table', '%d Tables', $no, 'wp-optimize'), number_format_i18n($no)).'</th>'."\n";
|
139 |
-
echo '<th>'.sprintf(_n('%d Record', '%d Records', $row_usage, 'wp-optimize'), number_format_i18n($row_usage)).'</th>'."\n";
|
140 |
-
echo '<th>'.wpo_format_size($data_usage).'</th>'."\n";
|
141 |
-
echo '<th>'.wpo_format_size($index_usage).'</th>'."\n";
|
142 |
-
echo '<th>'.'-'.'</th>'."\n";
|
143 |
-
echo '<th>';
|
144 |
-
|
145 |
-
|
146 |
-
if (isset($_POST["optimize-db"])) {
|
147 |
-
|
148 |
-
|
149 |
-
if($overhead_usage>0){
|
150 |
-
echo '<font color="blue">';
|
151 |
-
echo wpo_format_size($overhead_usage);
|
152 |
-
echo '</font>';
|
153 |
-
}
|
154 |
-
else {
|
155 |
-
echo '<font color="green">';
|
156 |
-
echo wpo_format_size($overhead_usage);
|
157 |
-
echo '</font>';
|
158 |
-
}
|
159 |
-
}
|
160 |
-
else {
|
161 |
-
if($overhead_usage>0){
|
162 |
-
echo '<font color="red">';
|
163 |
-
echo wpo_format_size($overhead_usage);
|
164 |
-
echo '</font>';
|
165 |
-
}
|
166 |
-
else {
|
167 |
-
echo '<font color="green">';
|
168 |
-
echo wpo_format_size($overhead_usage);
|
169 |
-
echo '</font>';
|
170 |
-
}
|
171 |
-
}
|
172 |
-
echo '</th>'."\n";
|
173 |
-
echo '</tr>';
|
174 |
-
|
175 |
-
?>
|
176 |
-
</tbody>
|
177 |
-
</table>
|
178 |
-
|
179 |
-
<h3><?php _e('Total Size of Database:', 'wp-optimize'); ?></h3>
|
180 |
-
<h2><?php
|
181 |
-
list ($part1, $part2) = wpo_getCurrentDBSize();
|
182 |
-
echo $part1;
|
183 |
-
|
184 |
-
?></h2>
|
185 |
-
|
186 |
-
<?php if (isset($_POST["optimize-db"])) {
|
187 |
-
?>
|
188 |
-
|
189 |
-
<?php //$total_gain = round ($total_gain,3);?>
|
190 |
-
|
191 |
-
<h3><?php _e('Optimization Results:', 'wp-optimize'); ?></h3>
|
192 |
-
<p style="color: #0000FF;">
|
193 |
-
<?php
|
194 |
-
|
195 |
-
if ($total_gain > 0){
|
196 |
-
_e('Total Space Saved:', 'wp-optimize');
|
197 |
-
echo wpo_format_size($total_gain); wpo_updateTotalCleaned(strval($total_gain));
|
198 |
-
}
|
199 |
-
?></p>
|
200 |
-
<?php } else { ?>
|
201 |
-
<?php //$total_gain = round ($total_gain,3); ?>
|
202 |
-
<?php if(!$total_gain==0){ ?>
|
203 |
-
|
204 |
-
<h3><?php
|
205 |
-
|
206 |
-
if ($total_gain > 0){
|
207 |
-
_e('Optimization Possibility:', 'wp-optimize');
|
208 |
-
}
|
209 |
-
|
210 |
-
?></h3>
|
211 |
-
<p style="color: #FF0000;">
|
212 |
-
<?php if ($total_gain > 0){
|
213 |
-
_e('Total space that can be saved:', 'wp-optimize'); ?> <?php echo wpo_format_size($total_gain);
|
214 |
-
echo ' ';
|
215 |
-
}
|
216 |
-
?></p>
|
217 |
-
<?php } ?>
|
218 |
-
<?php
|
219 |
-
}
|
220 |
-
?>
|
221 |
-
|
222 |
-
<?php
|
223 |
-
} //end of optimize function
|
224 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,206 +1,463 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
Plugin Name: WP-Optimize
|
4 |
-
Plugin URI: http://
|
5 |
-
Description:
|
6 |
-
Version:
|
7 |
-
Author: Ruhani Rabin
|
8 |
-
Author URI: https://
|
9 |
-
Text Domain: wp-optimize
|
10 |
-
Domain Path: /languages
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
if (
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
}
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
}
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: WP-Optimize
|
4 |
+
Plugin URI: http://updraftplus.com
|
5 |
+
Description: WP-Optimize is WordPress's #1 most installed optimization plugin. With it, you can clean up your database easily and safely, without manual queries.
|
6 |
+
Version: 2.0.1
|
7 |
+
Author: David Anderson, Ruhani Rabin, Team Updraft
|
8 |
+
Author URI: https://updraftplus.com
|
9 |
+
Text Domain: wp-optimize
|
10 |
+
Domain Path: /languages
|
11 |
+
License: GPLv2 or later
|
12 |
+
*/
|
13 |
+
|
14 |
+
if (!defined('ABSPATH')) die('No direct access allowed');
|
15 |
+
|
16 |
+
define('WPO_VERSION', '2.0.1');
|
17 |
+
define('WPO_PLUGIN_URL', plugin_dir_url( __FILE__ ));
|
18 |
+
define('WPO_PLUGIN_MAIN_PATH', plugin_dir_path( __FILE__ ));
|
19 |
+
|
20 |
+
class WP_Optimize {
|
21 |
+
|
22 |
+
private $template_directories;
|
23 |
+
|
24 |
+
protected static $_instance = null;
|
25 |
+
protected static $_optimizer_instance = null;
|
26 |
+
protected static $_options_instance = null;
|
27 |
+
|
28 |
+
public function __construct() {
|
29 |
+
|
30 |
+
register_activation_hook(__FILE__, 'wpo_activation_actions');
|
31 |
+
register_deactivation_hook(__FILE__, 'wpo_deactivation_actions');
|
32 |
+
|
33 |
+
add_action('plugins_loaded', array($this, 'plugins_loaded'));
|
34 |
+
|
35 |
+
$plugin = plugin_basename(__FILE__);
|
36 |
+
add_filter("plugin_action_links_$plugin", array($this, 'plugin_settings_link'));
|
37 |
+
add_action('admin_init', array($this, 'admin_init'));
|
38 |
+
add_action('admin_menu', array($this, 'admin_menu'));
|
39 |
+
add_action('admin_head', array($this, 'admin_head'));
|
40 |
+
add_action('wpo_cron_event2', array($this, 'cron_action'));
|
41 |
+
add_filter('cron_schedules', array($this, 'cron_schedules'));
|
42 |
+
|
43 |
+
}
|
44 |
+
|
45 |
+
public static function instance() {
|
46 |
+
if (empty(self::$_instance)) {
|
47 |
+
self::$_instance = new self();
|
48 |
+
}
|
49 |
+
return self::$_instance;
|
50 |
+
}
|
51 |
+
|
52 |
+
public static function get_optimizer() {
|
53 |
+
if (empty(self::$_optimizer_instance)) {
|
54 |
+
if (!class_exists('WP_Optimizer')) require_once(WPO_PLUGIN_MAIN_PATH.'/includes/class-wp-optimizer.php');
|
55 |
+
self::$_optimizer_instance = new WP_Optimizer();
|
56 |
+
}
|
57 |
+
return self::$_optimizer_instance;
|
58 |
+
}
|
59 |
+
|
60 |
+
public static function get_options() {
|
61 |
+
if (empty(self::$_options_instance)) {
|
62 |
+
if (!class_exists('WP_Optimize_Options')) require_once(WPO_PLUGIN_MAIN_PATH.'/includes/class-wp-optimize-options.php');
|
63 |
+
self::$_options_instance = new WP_Optimize_Options();
|
64 |
+
}
|
65 |
+
return self::$_options_instance;
|
66 |
+
}
|
67 |
+
|
68 |
+
public function admin_init() {
|
69 |
+
$this->register_template_directories();
|
70 |
+
}
|
71 |
+
|
72 |
+
public function plugins_loaded() {
|
73 |
+
load_plugin_textdomain('wp-optimize', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
74 |
+
}
|
75 |
+
|
76 |
+
public function capability_required() {
|
77 |
+
return apply_filters('wp_optimize_capability_required', 'manage_options');
|
78 |
+
}
|
79 |
+
|
80 |
+
public function wp_optimize_menu() {
|
81 |
+
|
82 |
+
$capability_required = $this->capability_required();
|
83 |
+
|
84 |
+
if (!current_user_can($capability_required)) { echo "Permission denied."; return; }
|
85 |
+
|
86 |
+
$enqueue_version = (defined('WP_DEBUG') && WP_DEBUG) ? WPO_VERSION.'.'.time() : WPO_VERSION;
|
87 |
+
|
88 |
+
wp_enqueue_script('wp-optimize-admin', WPO_PLUGIN_URL.'js/admin.js', array('jquery'), $enqueue_version);
|
89 |
+
|
90 |
+
$options = $this->get_options();
|
91 |
+
|
92 |
+
$active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'wp_optimize_optimize';
|
93 |
+
if ('wp_optimize_tables' != $active_tab && 'wp_optimize_settings' != $active_tab && 'wp_optimize_may_also' != $active_tab) $active_tab = 'wp_optimize_optimize';
|
94 |
+
|
95 |
+
if ('wp_optimize_optimize' == $active_tab && !empty($_REQUEST['_wpnonce']) && wp_verify_nonce($_REQUEST['_wpnonce'], 'wpo_optimization')) $options->save_posted_options();
|
96 |
+
|
97 |
+
$this->include_template('admin-page-header.php', false, array('active_tab' => $active_tab));
|
98 |
+
|
99 |
+
echo '<div class="wrap wp-optimize-wrap">';
|
100 |
+
|
101 |
+
// TODO: Make the page more interactive by printing all the tabs, and switching using JavaScript instead of using page re-loads
|
102 |
+
if ('wp_optimize_tables' == $active_tab) {
|
103 |
+
|
104 |
+
// There's no way to trigger this, AFAICT. If we add it, it should have a nonce to protect it.
|
105 |
+
$optimize_db = false;//isset($_POST["optimize-db"]);
|
106 |
+
|
107 |
+
$this->include_template('tables.php', false, array('optimize_db' => $optimize_db));
|
108 |
+
|
109 |
+
} elseif ('wp_optimize_settings' == $active_tab) {
|
110 |
+
|
111 |
+
$output = $options->save_posted_settings();
|
112 |
+
|
113 |
+
foreach ($output as $item) {
|
114 |
+
echo '<div class="updated fade"><strong>'.$item.'</strong></div>';
|
115 |
+
}
|
116 |
+
|
117 |
+
$this->include_template('admin-settings.php');
|
118 |
+
|
119 |
+
} elseif ('wp_optimize_may_also' == $active_tab) {
|
120 |
+
|
121 |
+
$this->include_template('may-also-like.php');
|
122 |
+
|
123 |
+
} else {
|
124 |
+
|
125 |
+
$nonce_passed = (!empty($_REQUEST['_wpnonce']) && wp_verify_nonce($_REQUEST['_wpnonce'], 'wpo_optimization')) ? true : false;
|
126 |
+
|
127 |
+
// Default tab: wp_optimize_optimize
|
128 |
+
|
129 |
+
$optimizer = $this->get_optimizer();
|
130 |
+
|
131 |
+
$optimization_results = $nonce_passed ? $optimizer->do_optimizations($_POST) : false;
|
132 |
+
|
133 |
+
if (!empty($optimization_results)) {
|
134 |
+
|
135 |
+
echo '<div id="message" class="updated"><strong>';
|
136 |
+
|
137 |
+
foreach ($optimization_results as $optimization_result) {
|
138 |
+
|
139 |
+
if (!empty($optimization_result->output)) {
|
140 |
+
|
141 |
+
foreach ($optimization_result->output as $line) {
|
142 |
+
echo $line."<br>";
|
143 |
+
}
|
144 |
+
|
145 |
+
}
|
146 |
+
|
147 |
+
}
|
148 |
+
|
149 |
+
echo '</strong></div>';
|
150 |
+
|
151 |
+
}
|
152 |
+
|
153 |
+
$optimize_db = ($nonce_passed && isset($_POST["optimize-db"]));
|
154 |
+
|
155 |
+
$this->include_template('optimize-table.php', false, array('optimize_db' => $optimize_db));
|
156 |
+
|
157 |
+
}
|
158 |
+
|
159 |
+
echo '</div>';
|
160 |
+
|
161 |
+
}
|
162 |
+
|
163 |
+
public function wpo_admin_bar() {
|
164 |
+
global $wp_admin_bar;
|
165 |
+
|
166 |
+
// Add a link called at the top admin bar
|
167 |
+
$wp_admin_bar->add_node(array(
|
168 |
+
'id' => 'wp-optimize',
|
169 |
+
'title' => 'WP-Optimize',
|
170 |
+
'href' => menu_page_url( 'WP-Optimize', false ),
|
171 |
+
));
|
172 |
+
|
173 |
+
}
|
174 |
+
|
175 |
+
// Add settings link on plugin page
|
176 |
+
public function plugin_settings_link($links) {
|
177 |
+
|
178 |
+
$admin_page_url = $this->get_options()->admin_page_url();
|
179 |
+
|
180 |
+
$settings_link = '<a href="' . esc_url( $admin_page_url ) . '">' . __( 'Settings', 'wp-optimize' ) . '</a>';
|
181 |
+
array_unshift($links, $settings_link);
|
182 |
+
|
183 |
+
$optimize_link = '<a href="' . esc_url( $admin_page_url ) . '">' . __( 'Optimizer', 'wp-optimize' ) . '</a>';
|
184 |
+
array_unshift($links, $optimize_link);
|
185 |
+
return $links;
|
186 |
+
}
|
187 |
+
|
188 |
+
// TODO: Need to find out why the schedule time is not refreshing
|
189 |
+
public function cron_activate() {
|
190 |
+
$gmtoffset = (int) (3600 * ((double) get_option('gmt_offset')));
|
191 |
+
|
192 |
+
$options = $this->get_options();
|
193 |
+
|
194 |
+
if ($options->get_option('schedule') === false ) {
|
195 |
+
$options->set_default_options();
|
196 |
+
} else {
|
197 |
+
if ($options->get_option('schedule') == 'true') {
|
198 |
+
if (!wp_next_scheduled('wpo_cron_event2')) {
|
199 |
+
|
200 |
+
$schedule_type = $options->get_option('schedule-type', 'wpo_weekly');
|
201 |
+
|
202 |
+
$this_time = 86400*7;
|
203 |
+
|
204 |
+
switch ($schedule_type) {
|
205 |
+
case "wpo_daily":
|
206 |
+
$this_time = 86400;
|
207 |
+
break;
|
208 |
+
|
209 |
+
case "wpo_weekly":
|
210 |
+
$this_time = 86400*7;
|
211 |
+
break;
|
212 |
+
|
213 |
+
case "wpo_otherweekly":
|
214 |
+
$this_time = 86400*14;
|
215 |
+
break;
|
216 |
+
|
217 |
+
case "wpo_monthly":
|
218 |
+
$this_time = 86400*30;
|
219 |
+
break;
|
220 |
+
}
|
221 |
+
|
222 |
+
add_action('wpo_cron_event2', array($this, 'cron_action'));
|
223 |
+
wp_schedule_event(current_time( "timestamp", 0 ) + $this_time , $schedule_type, 'wpo_cron_event2');
|
224 |
+
WP_Optimize()->log('running wp_schedule_event()');
|
225 |
+
}
|
226 |
+
}
|
227 |
+
}
|
228 |
+
}
|
229 |
+
|
230 |
+
|
231 |
+
// scheduler public functions to update schedulers
|
232 |
+
public function cron_schedules( $schedules ) {
|
233 |
+
$schedules['wpo_daily'] = array('interval' => 86400, 'display' => 'Once Daily');
|
234 |
+
$schedules['wpo_weekly'] = array('interval' => 86400*7, 'display' => 'Once Weekly');
|
235 |
+
$schedules['wpo_otherweekly'] = array('interval' => 86400*14, 'display' => 'Once Every Other Week');
|
236 |
+
$schedules['wpo_monthly'] = array('interval' => 86400*30, 'display' => 'Once Every Month');
|
237 |
+
return $schedules;
|
238 |
+
}
|
239 |
+
|
240 |
+
|
241 |
+
public function admin_head() {
|
242 |
+
$style_url = plugins_url( '/css/wpo_admin.css', __FILE__ ) ;
|
243 |
+
echo "<link rel='stylesheet' type='text/css' href='".$style_url."' />\n";
|
244 |
+
}
|
245 |
+
|
246 |
+
public function admin_menu() {
|
247 |
+
|
248 |
+
$capability_required = $this->capability_required();
|
249 |
+
|
250 |
+
if (!current_user_can($capability_required)) return;
|
251 |
+
|
252 |
+
if (function_exists('add_meta_box')) {
|
253 |
+
add_menu_page("WP-Optimize", "WP-Optimize", $capability_required, "WP-Optimize", array($this,"wp_optimize_menu"), plugin_dir_url( __FILE__ ).'images/icon/wpo.png');
|
254 |
+
} else {
|
255 |
+
add_submenu_page("index.php", "WP-Optimize", "WP-Optimize", $capability_required, "WP-Optimize", array($this,"wp_optimize_menu"), plugin_dir_url( __FILE__ ).'images/icon/wpo.png');
|
256 |
+
}
|
257 |
+
|
258 |
+
$options = $this->get_options();
|
259 |
+
|
260 |
+
if ($options->get_option('enable-admin-menu', 'false' ) == 'true') {
|
261 |
+
add_action('wp_before_admin_bar_render', array($this, 'wpo_admin_bar'));
|
262 |
+
}
|
263 |
+
|
264 |
+
$options->set_default_options();
|
265 |
+
$this->cron_activate();
|
266 |
+
}
|
267 |
+
|
268 |
+
private function wp_normalize_path($path) {
|
269 |
+
// wp_normalize_path is not present before WP 3.9
|
270 |
+
if (function_exists('wp_normalize_path')) return wp_normalize_path($path);
|
271 |
+
// Taken from WP 4.6
|
272 |
+
$path = str_replace( '\\', '/', $path );
|
273 |
+
$path = preg_replace( '|(?<=.)/+|', '/', $path );
|
274 |
+
if ( ':' === substr( $path, 1, 1 ) ) {
|
275 |
+
$path = ucfirst( $path );
|
276 |
+
}
|
277 |
+
return $path;
|
278 |
+
}
|
279 |
+
|
280 |
+
public function get_templates_dir() {
|
281 |
+
return apply_filters('wp_optimize_templates_dir', $this->wp_normalize_path(WPO_PLUGIN_MAIN_PATH.'/templates'));
|
282 |
+
}
|
283 |
+
|
284 |
+
public function get_templates_url() {
|
285 |
+
return apply_filters('wp_optimize_templates_url', WPO_PLUGIN_MAIN_PATH.'/templates');
|
286 |
+
}
|
287 |
+
|
288 |
+
public function include_template($path, $return_instead_of_echo = false, $extract_these = array()) {
|
289 |
+
if ($return_instead_of_echo) ob_start();
|
290 |
+
|
291 |
+
if (preg_match('#^([^/]+)/(.*)$#', $path, $matches)) {
|
292 |
+
$prefix = $matches[1];
|
293 |
+
$suffix = $matches[2];
|
294 |
+
if (isset($this->template_directories[$prefix])) {
|
295 |
+
$template_file = $this->template_directories[$prefix].'/'.$suffix;
|
296 |
+
}
|
297 |
+
}
|
298 |
+
|
299 |
+
if (!isset($template_file)) {
|
300 |
+
$template_file = WPO_PLUGIN_MAIN_PATH.'/templates/'.$path;
|
301 |
+
}
|
302 |
+
|
303 |
+
$template_file = apply_filters('wp_optimize_template', $template_file, $path);
|
304 |
+
|
305 |
+
do_action('wp_optimize_before_template', $path, $template_file, $return_instead_of_echo, $extract_these);
|
306 |
+
|
307 |
+
if (!file_exists($template_file)) {
|
308 |
+
error_log("WP Optimize: template not found: $template_file");
|
309 |
+
echo __('Error:', 'wp-optimize').' '.__('template not found', 'wp-optimize')." ($path)";
|
310 |
+
} else {
|
311 |
+
extract($extract_these);
|
312 |
+
global $wpdb;
|
313 |
+
$wp_optimize = $this;
|
314 |
+
$optimizer = $this->get_optimizer();
|
315 |
+
$options = $this->get_options();
|
316 |
+
include $template_file;
|
317 |
+
}
|
318 |
+
|
319 |
+
do_action('wp_optimize_after_template', $path, $template_file, $return_instead_of_echo, $extract_these);
|
320 |
+
|
321 |
+
if ($return_instead_of_echo) return ob_get_clean();
|
322 |
+
}
|
323 |
+
|
324 |
+
private function register_template_directories() {
|
325 |
+
|
326 |
+
$template_directories = array();
|
327 |
+
|
328 |
+
$templates_dir = $this->get_templates_dir();
|
329 |
+
|
330 |
+
if ($dh = opendir($templates_dir)) {
|
331 |
+
while (($file = readdir($dh)) !== false) {
|
332 |
+
if ('.' == $file || '..' == $file) continue;
|
333 |
+
if (is_dir($templates_dir.'/'.$file)) {
|
334 |
+
$template_directories[$file] = $templates_dir.'/'.$file;
|
335 |
+
}
|
336 |
+
}
|
337 |
+
closedir($dh);
|
338 |
+
}
|
339 |
+
|
340 |
+
// This is the optimal hook for most extensions to hook into
|
341 |
+
$this->template_directories = apply_filters('wp_optimize_template_directories', $template_directories);
|
342 |
+
|
343 |
+
}
|
344 |
+
|
345 |
+
// TODO: Not currently used; investigate.
|
346 |
+
// TODO: The description does not match the actual function
|
347 |
+
/**
|
348 |
+
* send_email($sendto, $msg)
|
349 |
+
* @return success
|
350 |
+
* @param $sentdo - eg. who to send it to, abc@def.com
|
351 |
+
* @param $msg - the msg in text
|
352 |
+
*/
|
353 |
+
public function send_email($date, $cleanedup){
|
354 |
+
//
|
355 |
+
ob_start();
|
356 |
+
// #TODO this need to work on - currently not using the parameter values
|
357 |
+
$myTime = current_time( "timestamp", 0 );
|
358 |
+
$myDate = gmdate(get_option('date_format') . ' ' . get_option('time_format'), $myTime );
|
359 |
+
|
360 |
+
//$formattedCleanedup = $wp_optimize->format_size($cleanedup);
|
361 |
+
|
362 |
+
$sendto = $options->get_option('email-address');
|
363 |
+
if (!$sendto) $sendto = get_bloginfo ( 'admin_email' );
|
364 |
+
|
365 |
+
//$thiscleanup = $wp_optimize->format_size($cleanedup);
|
366 |
+
|
367 |
+
$subject = get_bloginfo ( 'name' ).": ".__("Automatic Operation Completed","wp-optimize")." ".$myDate;
|
368 |
+
|
369 |
+
$msg = __("Scheduled optimization was executed at","wp-optimize")." ".$myDate."\r\n"."\r\n";
|
370 |
+
//$msg .= __("Recovered space","wp-optimize").": ".$thiscleanup."\r\n";
|
371 |
+
$msg .= __("You can safely delete this email.","wp-optimize")."\r\n";
|
372 |
+
$msg .= "\r\n";
|
373 |
+
$msg .= __("Regards,","wp-optimize")."\r\n";
|
374 |
+
$msg .= __("WP-Optimize Plugin","wp-optimize");
|
375 |
+
|
376 |
+
//wp_mail( $sendto, $subject, $msg );
|
377 |
+
|
378 |
+
ob_end_flush();
|
379 |
+
}
|
380 |
+
|
381 |
+
/*
|
382 |
+
* function log()
|
383 |
+
*
|
384 |
+
* parameters: message to debug
|
385 |
+
*
|
386 |
+
* @return none
|
387 |
+
*/
|
388 |
+
public function log($message) {
|
389 |
+
if (defined('WP_DEBUG') && WP_DEBUG) {
|
390 |
+
error_log($message);
|
391 |
+
}
|
392 |
+
}
|
393 |
+
|
394 |
+
/**
|
395 |
+
* $wp_optimize->format_size()
|
396 |
+
* Function: Format Bytes Into KB/MB
|
397 |
+
* @param mixed $bytes
|
398 |
+
* @return
|
399 |
+
*/
|
400 |
+
public function format_size($bytes) {
|
401 |
+
if ($bytes > 1073741824) {
|
402 |
+
return number_format_i18n($bytes/1073741824, 2) . ' '.__('GB', 'wp-optimize');
|
403 |
+
} elseif ($bytes > 1048576) {
|
404 |
+
return number_format_i18n($bytes/1048576, 1) . ' '.__('MB', 'wp-optimize');
|
405 |
+
} elseif ($bytes > 1024) {
|
406 |
+
return number_format_i18n($bytes/1024, 1) . ' '.__('KB', 'wp-optimize');
|
407 |
+
} else {
|
408 |
+
return number_format_i18n($bytes, 0) . ' '.__('bytes', 'wp-optimize');
|
409 |
+
}
|
410 |
+
}
|
411 |
+
|
412 |
+
/*
|
413 |
+
* function cron_action()
|
414 |
+
*
|
415 |
+
* parameters: none
|
416 |
+
*
|
417 |
+
* executed this function on cron event
|
418 |
+
*
|
419 |
+
* @return none
|
420 |
+
*/
|
421 |
+
public function cron_action() {
|
422 |
+
|
423 |
+
$optimizer = $this->get_optimizer();
|
424 |
+
$options = $this->get_options();
|
425 |
+
|
426 |
+
$this->log('WPO: Starting cron_action()');
|
427 |
+
|
428 |
+
if ('true' == $options->get_option('schedule')) {
|
429 |
+
|
430 |
+
$this_options = $options->get_option('auto');
|
431 |
+
|
432 |
+
$optimizations = $optimizer->get_optimizations();
|
433 |
+
|
434 |
+
// TODO: The output of the optimizations is not saved/used/logged
|
435 |
+
$results = $optimizer->do_optimizations($this_options, 'auto');
|
436 |
+
|
437 |
+
}
|
438 |
+
|
439 |
+
}
|
440 |
+
|
441 |
+
}
|
442 |
+
|
443 |
+
function WP_Optimize() {
|
444 |
+
return WP_Optimize::instance();
|
445 |
+
}
|
446 |
+
|
447 |
+
$GLOBALS['wp_optimize'] = WP_Optimize();
|
448 |
+
|
449 |
+
// plugin activation actions
|
450 |
+
function wpo_activation_actions() {
|
451 |
+
WP_Optimize()->get_options()->set_default_options();
|
452 |
+
}
|
453 |
+
|
454 |
+
// plugin deactivation actions
|
455 |
+
function wpo_deactivation_actions() {
|
456 |
+
wpo_cron_deactivate();
|
457 |
+
WP_Optimize()->get_options()->delete_all_options();
|
458 |
+
}
|
459 |
+
|
460 |
+
function wpo_cron_deactivate() {
|
461 |
+
WP_Optimize()->log('running wpo_cron_deactivate()');
|
462 |
+
wp_clear_scheduled_hook('wpo_cron_event2');
|
463 |
+
}
|
Binary file
|
Binary file
|