Hyper Cache - Version 3.3.6

Version Description

  • Removed the cache folder option from the settings (can still be defined using a define in wp-config.php) to avoid possible bad path injection
  • Thank you to RIPS Technologies - https://www.ripstech.com
  • Fix for host names with dashes
  • Translation supported only via (https://translate.wordpress.org): contributions welcomed
Download this release

Release Info

Developer satollo
Plugin Icon wp plugin Hyper Cache
Version 3.3.6
Comparing to
See all releases

Code changes from version 3.3.5 to 3.3.6

advanced-cache.php CHANGED
@@ -208,7 +208,7 @@ function hyper_cache_sanitize_uri($uri) {
208
  }
209
 
210
  function hyper_cache_sanitize_host($host) {
211
- $host = preg_replace('|[^a-zA-Z0-9\.]+|', '', $host);
212
  return strtolower($host);
213
  }
214
 
208
  }
209
 
210
  function hyper_cache_sanitize_host($host) {
211
+ $host = preg_replace('|[^a-zA-Z0-9\.\-]+|', '', $host);
212
  return strtolower($host);
213
  }
214
 
languages/hyper-cache-ru_RU.mo DELETED
Binary file
languages/hyper-cache-ru_RU.po DELETED
@@ -1,460 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # This file is put in the public domain.
3
- # FIRST AUTHOR <artnikov@ya.ru>, 2015.
4
- #
5
- msgid ""
6
- msgstr ""
7
- "Project-Id-Version: Hyper Cache 3.1.8\n"
8
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/hyper-cache\n"
9
- "POT-Creation-Date: 2009-09-29 15:57+0000\n"
10
- "PO-Revision-Date: 2015-01-18 14:32+0600\n"
11
- "Last-Translator: artnikov <artnikov@ya.ru>\n"
12
- "Language-Team: \n"
13
- "MIME-Version: 1.0\n"
14
- "Content-Type: text/plain; charset=UTF-8\n"
15
- "Content-Transfer-Encoding: 8bit\n"
16
- "Language: ru_RU\n"
17
- "X-Generator: Poedit 1.7.3\n"
18
-
19
- #: options.php:77
20
- msgid "Options saved. If you changed any of the bypasses empty the cache."
21
- msgstr "Настройки сохранены. Если вы изменяете страницы, то изменяютя и страницы в кеше"
22
-
23
- #: options.php:83
24
- #, php-format
25
- msgid "Unable to write the <code>wp-content/advanced-cache.php</code> file. Check the file or folder permissions."
26
- msgstr "Не удается создать файл <code>wp-content/advanced-cache.php</code> файл. Проверьте разрешение для создание папок и файлов."
27
-
28
- #: options.php:90
29
- msgid "The cache folder has been cleaned."
30
- msgstr "Кэш папка была очищена."
31
-
32
- #: options.php:95
33
- msgid "Done!"
34
- msgstr "Отлично!"
35
-
36
- #: options.php:132
37
- msgid "Options deleted"
38
- msgstr "Настройки сброшены"
39
-
40
- #: options.php:137
41
- msgid "Cache size"
42
- msgstr "Размер КЭШа"
43
-
44
- #: options.php:148
45
- msgid "Old Hyper Cache options are missing or not readable."
46
- msgstr "Настройки ранней версии Hyper Cache отсутствуют или повреждены."
47
-
48
- #: options.php:171
49
- msgid "Old options imported, now review them and save."
50
- msgstr "Прежние настройки импортированы, их можно просмотреть и сохранить."
51
-
52
- #: options.php:220
53
- #, php-format
54
- msgid "You must add to the file wp-config.php (after the <code>define(\"WPLANG\", \"\");</code>) the line of code: <code>define(\"WP_CACHE\", true);</code>"
55
- msgstr "Вы должны добавить в файле wp-config.php (после строки <code>define(\"WPLANG\", \"\");</code>) код: <code>define(\"WP_CACHE\", true);</code>."
56
-
57
- #: options.php:228
58
- msgid "You must save the options since some files must be updated."
59
- msgstr "Вы должны сохранить настройки, так как файлы должны быть обновлены."
60
-
61
- #: options.php:237
62
- #, php-format
63
- msgid "Hyper Cache was not able to create or find the"
64
- msgstr "Hyper Cache не удалось создать или найти"
65
-
66
- #: options.php:239
67
- #, php-format
68
- msgid "folder, please create it manually with list, write and read permissions (usually 777)."
69
- msgstr "папку, пожалуйста создайте его вручную, с правами (обычно 777)."
70
-
71
- #: options.php:249
72
- #, php-format
73
- msgid "You should choose a different <a href=\"options-permalink.php\" target=\"_blank\"> permalink structure under the Permalink panel</a> otherwise Hyper Cache cannot work properly."
74
- msgstr "Вы должны выбрать другую папку <a href=\"options-permalink.php\" target=\"_blank\"> для постоянной ссылки</a> в противном случае Hyper Cache не может работать должным образом."
75
-
76
- #: options.php:263
77
- #, php-format
78
- msgid ""
79
- "Please, refer to the <a href=\"http://www.satollo.net/plugins/hyper-cache\" target=\"_blank\">official page</a> and the <a href=\"http://www.satollo.net/forums/forum/hyper-cache\" target=\"_blank\">official forum</a> for support. <a href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5PHGDGNHAYLJ8\" target=\"_blank\"><img style="
80
- "\"vertical-align: bottom\" src=\"http://www.satollo.net/images/donate.png\"></a> Even <b>2$</b> helps! (<a href=\"http://www.satollo.net/donations\" target=\"_blank\">read more</a>)"
81
- msgstr ""
82
- "Пожалуйста, обратитесь для поддержки <a href=\"http://www.satollo.net/plugins/hyper-cache\" target=\"_blank\">официальная страница</a> и <a href=\"http://www.satollo.net/forums/forum/hyper-cache\" target=\"_blank\">официальный форум</a> .<a href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5PHGDGNHAYLJ8\" target=\"_blank\"><img "
83
- "style=\"vertical-align: bottom\" src=\"http://www.satollo.net/images/donate.png\"></a> Даже <b>2$</b> поддержка! (<a href=\"http://www.satollo.net/donations\" target=\"_blank\">читать далее</a>)"
84
-
85
- #: options.php:266
86
- #, php-format
87
- msgid "Want a full mail marketing system in your blog? Try my free <a href=\"http://www.satollo.net/plugins/newsletter\" target=\"_blank\">Newsletter</a> plugin."
88
- msgstr "Хотите полную маркетинговую почтовую систему на вашем сайте? Пробуйте мой бесплатный плагин <a href=\"http://www.satollo.net/plugins/newsletter\" target=\"_blank\">Newsletter</a>."
89
-
90
- #: options.php:269
91
- msgid "Clean the whole cache"
92
- msgstr "Удалить весь кеш"
93
-
94
- #: options.php:270
95
- msgid "Clean home and archives"
96
- msgstr "Очистка архивов и домашней"
97
-
98
- #: options.php:271
99
- msgid "Compute the cache size"
100
- msgstr "Вычесление размера КЕШа"
101
-
102
- #: options.php:272
103
- msgid "Import old options"
104
- msgstr "Импортировать настройки"
105
-
106
- #: options.php:273
107
- msgid "Sure? Your setting will be overwritten."
108
- msgstr "Уверены? Ваши настройки будут записаны поверх!"
109
-
110
- #: options.php:278
111
- msgid "General"
112
- msgstr "Главные"
113
-
114
- #: options.php:279
115
- msgid "Bypasses"
116
- msgstr "Исключения"
117
-
118
- #: options.php:280
119
- msgid "Mobile"
120
- msgstr "Мобильный"
121
-
122
- #: options.php:282
123
- msgid "CDN"
124
- msgstr "CDN"
125
-
126
- #: options.php:288
127
- msgid "EXPERIEMTAL! It works only with images, css, scripts."
128
- msgstr "ВНИМАНИЕ! Это работает только с изображениями, стилями css, файлами скриптов."
129
-
130
- #: options.php:301
131
- #, php-format
132
- msgid "Write here the CDN URL. For example a MaxCDN URL is something like<code>http://foo.bar.netdna-cdn.com</code>. You should usually create a pull zone in your CDN panel and they will give your an URL."
133
- msgstr "Напишите здесь URL CDN. Например URL MaxCDN - например <code>http://foo.bar.netdna-cdn.com</code>. Вы должны обычно создать перемещающуюся зону в вашей панели CDN, и они дадут вашему URL."
134
-
135
- #: options.php:309
136
- #, php-format
137
- msgid "I`m actually testing it with <a href=\"http://www.satollo.net/affiliate/maxcdn\" target=\"_blank\">MaxCDN</a> and <a href=\"http://www.satollo.net/affiliate/keycdn\" target=\"_blank\">KeyCDN</a>."
138
- msgstr "Я фактически проверял это с <href = \"http://www.satollo.net/affiliate/maxcdn\" target = \"_blank\"> MaxCDN </a> и <href = \"http://www.satollo.net/affiliate/keycdn\" target = \"_blank\"> KeyCDN </a>."
139
-
140
- #: options.php:319
141
- msgid "Disable translations"
142
- msgstr "Отключить перевод"
143
-
144
- #: options.php:321 options.php:275
145
- msgid "Disable"
146
- msgstr "Отключить"
147
-
148
- #: options.php:324
149
- msgid "If you want to see this panel with the original labels, you can disable the tranlsation."
150
- msgstr "Если ВЫ хотите видеть настройки без перевода, можете его отключить."
151
-
152
- #: options.php:330
153
- msgid "Cached pages will be valid for"
154
- msgstr "Кэшированные страницы, будут действительны в течение"
155
-
156
- #: options.php:333
157
- msgid "0 means forever."
158
- msgstr "0 означает, что навсегда."
159
-
160
- #: options.php:337
161
- msgid "Enable compression"
162
- msgstr "Включить сжатие"
163
-
164
- #: options.php:342
165
- msgid "If you note odd characters when enabled, disable it since your server is already compressing the pages."
166
- msgstr "Если на сайте появились нечитаемые символы, отключаете сжатие, так как на вашем сервере - уже включено сжатие страниц."
167
-
168
- #: options.php:348
169
- msgid "When the home is refreshed, refresh even the"
170
- msgstr "Когда обновлена домашняя страница, обновятся остальные."
171
-
172
- #: options.php:350
173
- msgid "latest post"
174
- msgstr "последние записи"
175
-
176
- #: options.php:352
177
- msgid "The number of latest posts to invalidate when the home is invalidated."
178
- msgstr "Число последних записей, изменятся, когда изменена главная."
179
-
180
- #: options.php:357
181
- msgid "When a post receives a comment"
182
- msgstr "При написании комментария"
183
-
184
- #: options.php:359 options.php:370
185
- msgid "clean archives (categories, tags, ..., but not the home)"
186
- msgstr "Очистить архивы(категории,теги..., но не главную)"
187
-
188
- #: options.php:361 options.php:372
189
- msgid "clean the home"
190
- msgstr "Очистить домашнюю"
191
-
192
- #: options.php:368
193
- msgid "When a post is edited"
194
- msgstr "Когда записи отредактированы"
195
-
196
- #: options.php:380
197
- msgid "Cache folder"
198
- msgstr "Папка кэша"
199
-
200
- #: options.php:313 options.php:382
201
- msgid "path on disk"
202
- msgstr "путь к папке"
203
-
204
- #: options.php:384
205
- #, php-format
206
- msgid "Leave blank for default value. You can even evaluate to leave this blank and create a symbolic link <code>wp-content/cache/hyper-cache -&gt; [your folder]</code>. Your blog is located on"
207
- msgstr "Оставьте не заполненым, для значения по-умолчанию. Вы можете проверить, оставить не заполненым и создать символическую ссылку, типа:<code>wp-content/cache/hyper-cache -&gt; [ВАША ПАПКА]</code>. Путь к вашему сайту:"
208
-
209
- #: options.php:388
210
- msgid "A wrong configuration can destroy your blog."
211
- msgstr "Неправильная конфигурация может уничтожить ваш сайт."
212
-
213
- #: options.php:393
214
- msgid "Next autoclean will run in"
215
- msgstr "Далее эта функция будет выполняться через"
216
-
217
- #: options.php:396
218
- msgid "(will run again in)"
219
- msgstr "выполнится снова через"
220
-
221
- #: options.php:397
222
- msgid "minutes"
223
- msgstr "минуты"
224
-
225
- #: options.php:399
226
- msgid "The autoclean process removes old files to save disk space."
227
- msgstr "Автоочистка, удаляет устаревшие файлы, для оптимизации дискового пространства."
228
-
229
- #: options.php:400
230
- msgid "If you enable the \"serve expired pages to bots\", you should disable the auto clean."
231
- msgstr "Если Вы допускаете \"выдачу страниц поисковым ботам с истиченным сроком существования\", Вы должны отключить автоочистку."
232
-
233
- #: options.php:405
234
- msgid "Allow browser caching"
235
- msgstr "Разрешение кеширования браузерами"
236
-
237
- #: options.php:407 options.php:395
238
- msgid "enable it"
239
- msgstr "Разрешить, "
240
-
241
- #: options.php:409
242
- msgid "with an expire time of"
243
- msgstr "по истечению"
244
-
245
- #: options.php:410 #: options.php:287 options.php:332
246
- msgid "hours"
247
- msgstr "часов"
248
-
249
- #: options.php:412
250
- msgid ""
251
- "When enabled Hyper Cache sends a signal to the browser allowing it to NOT request a page more than once andto use the copy it has in the local cache. If you set an expire time greater than zero, the browser should keep the copy for that amount of hours, otherwise Hyper Cache will tell the browser to keep the copy until the page expire in the blog cache."
252
- "<br>Usually I keep this feature disabled."
253
- msgstr ""
254
- "Когда включен, Hyper Cache посылает сигнал браузеру, позволяющий НЕ спрашивать, чтобы страница постоянно использовала копию, которая имеется в кэше. Если Вы устанавливаете время сохранения, больше чем ноль, браузер должен сохранить копию определенное время, иначе Hyper Cache заставит браузер сохранять копию, пока не истечет время сохранения в кэше сайта."
255
- "<br>Обычно я оставляю эту настройку заблокированной."
256
-
257
- #: options.php:430
258
- msgid "HTTPS"
259
- msgstr "HTTPS"
260
-
261
- #: options.php:432 options.php:590
262
- msgid "Bypass the cache"
263
- msgstr "Не кэшировать страницу"
264
-
265
- #: options.php:433 options.php:589
266
- msgid "Cache separately"
267
- msgstr "Кешировать отдельно"
268
-
269
- #: options.php:434
270
- msgid "Use the standard cache (I have HTTP/HTTPS aware pages)"
271
- msgstr "Используйте стандартный кэш (я имею HTTP/HTTP, страницы), "
272
-
273
- #: options.php:441
274
- msgid "Use readfile"
275
- msgstr "Используйте чтение файлов"
276
-
277
- #: options.php:445
278
- msgid "The PHP function readfile to send back a page should optimized but on some server it has less performances the a standard file_get_contents. Probably you wont notice the difference."
279
- msgstr "Функция PHP чтение файлов, чтобы послать назад страницу, она должна быть оптимизированной, но на некотором сервере функция file_get_contents, имеет меньшее значение. Вероятно Все правильно, если видите различие."
280
-
281
- #: options.php:452
282
- msgid "Ignore no-cache header from bots"
283
- msgstr "Игнорируйте заголовок без кэша для ботов"
284
-
285
- #: options.php:463
286
- msgid "Serve expired pages to bots"
287
- msgstr "Служит ботам со страницами с закончевшимся сроком действия"
288
-
289
- #: options.php:463
290
- msgid "Serve a cache page even if expired when requested by bots."
291
- msgstr "Служит странице кэша, даже если истек когда требуется ботами."
292
-
293
- #: options.php:478
294
- msgid "Do not cache the home page"
295
- msgstr "Не кэшируйте домашнюю страницу"
296
-
297
- #: options.php:482
298
- msgid "When active, the home page and its subpages are not cached."
299
- msgstr "Когда активно, домашняя страница и его подстраницы не кэшируются."
300
-
301
- #: options.php:483
302
- msgid "Works even with a static home page."
303
- msgstr "Работы даже со статической домашней страницей."
304
-
305
- #: options.php:488
306
- msgid "Do not cache the \"404 - Not found\" page"
307
- msgstr "Не кэшировать \"стр.404\" "
308
-
309
- #: options.php:492
310
- msgid "When active, Hyper Cache does not serve a cached \"404 not found\" page. Requests which lead to a 404 not found page overload you blog since WordPress must generate a full page. Caching it help in reduce that overload."
311
- msgstr "Когда активно, Hyper Cache не работает с кэшируемым 404, страницей. Запросы, которые приводят к 404 перегружают сайт, так как WordPress должен выдать полную страницу... , включение параметра помогает уменьшить нагрузку"
312
-
313
- #: options.php:497
314
- msgid "Do not cache the blog main feeds"
315
- msgstr "Не кешировать ленту комментариев"
316
-
317
- #: options.php:501
318
- msgid "When active, the main blog feed %s is not cached."
319
- msgstr "Когда активно, главная лента новостей RSS не кэшируется"
320
-
321
- #: options.php:507
322
- msgid "Do not cache single post comment feed"
323
- msgstr "Не кешировать ленту RSS комментариев"
324
-
325
- #: options.php:510
326
- msgid "When active, the single post comment feeds are not cached. Usually I enable this bypass since it saves disk space and comment feed on single posts are not usually used."
327
- msgstr "Когда активно, страница комментариев не кэшируется. Обычно включается, так как это оптимизирует использование дискового пространства."
328
-
329
- #: options.php:516
330
- msgid "Exact URIs to bypass"
331
- msgstr "Точный адрес URI исключить"
332
-
333
- #: options.php:293 options.php:420 options.php:443 options.php:454 options.php:465 options.php:518 options.php:529 options.php:540 options.php:551 options.php:563
334
- msgid "Enable"
335
- msgstr "Включить"
336
-
337
- #: options.php:521 options.php:532 options.php:543 options.php:554
338
- msgid "One per line."
339
- msgstr "По одному в линию."
340
-
341
- #: options.php:522
342
- #, php-format
343
- msgid "Those URIs are exactly matched. For example if you add the <code>/my-single-post</code> URI and a request is received for <code>http://youblog.com<strong>/my-single-post</strong></code> that page IS NOT cached. A request for <code>http://youblog.com<strong>/my-single-post-something</strong></code> IS cached."
344
- msgstr "Адрес URIs точно соответствуют. Например, если Вы добавляете <code>/my-single-post </code>, URI и запрос получены для <code>http://youblog.com<strong>/my-single-post</strong></code>, что страница не кэшируется. Запрос о <code>http://youblog.com<strong>/my-single-post-something</strong></code> кэшируется."
345
-
346
- #: options.php:527
347
- msgid "(Starting with) URIs to bypass"
348
- msgstr "(Начиная с) адреса URI исключить"
349
-
350
- #: options.php:533
351
- #, php-format
352
- msgid "Those URIs match if a requested URI starts with one of them. For example if you add the <code>/my-single-post</code> URI and a request is received for <code>http://youblog.com<strong>/my-single-post</strong></code> that page IS NOT cached. A request for <code>http://youblog.com<strong>/my-single-post-something</strong></code> IS NOT cached as well."
353
- msgstr "То соответствие URIs - требуемые начала URI с одним из них. Например, если Вы добавляете<code>/my-single-post</code> URI кешируется так же <code>http://youblog.com<strong>/my-single-post</strong></code> та страница кэшируется. Запрос к <code>http://youblog.com<strong>/my-single-post-something</strong></code> Кэшируется также."
354
-
355
- #: options.php:538
356
- msgid "Cookies to bypass"
357
- msgstr "Куки исключить"
358
-
359
- #: options.php:544
360
- msgid "If the visitor has a cookie named as one of the listed values, the cache is bypassed."
361
- msgstr "Если указанная строка совпадает с одним из имен Cookies, кэш исключается."
362
-
363
- #: options.php:549
364
- msgid "Devices (user agents) to bypass"
365
- msgstr "Устройства(пользовательские) исключить"
366
-
367
- #: options.php:555
368
- msgid "If the visitor has a device with a user agent named as one of the listed values, the cache is bypassed."
369
- msgstr "Если посетитель имеет устройство с пользовательским агентом, названным как одно из перечисленных значений, кэширование не происходит."
370
-
371
- #: options.php:561
372
- msgid "Dont serve cached pages to comment authors"
373
- msgstr "Не кешировать авторские комментарии"
374
-
375
- #: options.php:566
376
- msgid "Hyper Cache is able to work with users who left a comment and completes the comment form with user data even on cached page with a small JavaScript added at the end of the pages. But the \"awaiting moderation\" message cannot be shown. If you have few readers who comment you can disable this feature to get back the classical WordPress comment flow."
377
- msgstr ""
378
- "Hyper Cache способен работать с пользователями, которые оставили комментарий и завершает комментарий форму с пользовательских данных даже на кэшированной страницы (с функцией JavaScript добавляется в конце страницы). Но сообщение \"ожидает модерации\" не может быть показано. Если у вас не много комментаторов, вы можете отключить эту функцию, чтобы "
379
- "вернуться классический комментариев поток WordPress ."
380
-
381
- #: options.php:571
382
- msgid "Reject posts older than"
383
- msgstr "Не кешировать страницы старше"
384
-
385
- #: options.php:574
386
- msgid "days"
387
- msgstr "дней"
388
-
389
- #: options.php:576
390
- msgid "Older posts wont be cached and stored resulting in a lower disk space usage. Useful when older posts have low traffic."
391
- msgstr "Архивные страницы, кэшируется и сохранены приводят к экономии дискового пространства. Полезно, когда старые страницы имеют низкий трафик."
392
-
393
- #: options.php:480 options.php:497 options.php:586
394
- msgid "Working mode"
395
- msgstr "Режим работы"
396
-
397
- #: options.php:588
398
- msgid "Use the standard cache"
399
- msgstr "Использовать стандартный КЕШ"
400
-
401
- #: options.php:593
402
- msgid "Choose \"cache separately\" if you produce different content for mobile devices"
403
- msgstr "Выбирите кешировать отдельно, если используете мобильную тему"
404
-
405
- #: options.php:484
406
- msgid "[disabled] Do not detect mobile devices"
407
- msgstr "[Отключено] Не обнаруживают мобильных устройств"
408
-
409
- #: options.php:500
410
- msgid "[enabled] Detect mobile devices and use a separate cache"
411
- msgstr "[Включено] Обнаружение мобильных устройства, используется отдельный кэш"
412
-
413
- #: options.php:501
414
- msgid "[enabled] Detect mobile devices and bypass the cache"
415
- msgstr "[Включено] Обнаружение мобильных устройств и кэша"
416
-
417
- #: options.php:504
418
- msgid "It make sense to disable the cache for mobile devices when their traffic is very low."
419
- msgstr "Имеет смысл отключить кэш для мобильных устройств, когда их трафик очень низок."
420
-
421
- #: options.php:509 options.php:599
422
- msgid "Mobile theme"
423
- msgstr "Мобильная тема"
424
-
425
- #: options.php:499 options.php:604
426
- msgid "Use the active blog theme"
427
- msgstr "Использование активной темы сайта"
428
-
429
- #: options.php:519 options.php:610
430
- msgid "If you have plugins which produce different content for desktop and mobile devices, you should use a separate cache for mobile."
431
- msgstr "Если Вы имеете дополнения к программе, которые производят различное содержание для стационарных и мобильных устройств, Вы должны использовать отдельный кэш для мобильных устройств."
432
-
433
- #: options.php:594
434
- msgid "See for example my <a href=\"http://www.satollo.net/plugins/header-footer\" target=\"_blank\">Header and Footer</a> plugin for different desktop/mobile ads injection in posts."
435
- msgstr "Смотрите пример использования <a href=\"http://www.satollo.net/plugins/header-footer\" target=\"_blank\">Header и Footer</a> расширений для различных устройств."
436
-
437
- #: options.php:525 options.php:615
438
- msgid "Mobile user agents"
439
- msgstr "Мобильные агенты пользователей"
440
-
441
- #: options.php:528 options.php:618
442
- msgid "Reset"
443
- msgstr "Сброс"
444
-
445
- #: options.php:531
446
- #, php-format
447
- msgid "A \"user agent\" is a text which identify the kind of device used to surf the site. For example and iPhone has <code>iphone</code> as user agent."
448
- msgstr "\"пользовательский агент \" текстовый формат устройства, которые идентифицируют вид используемого устройства, для занятий серфингом в интернете. Например и iPhone имеет <code>iphone</code> как пользовательский агент."
449
-
450
- #: options.php:541
451
- msgid "Save"
452
- msgstr "Сохранить"
453
-
454
- #: options.php:544
455
- msgid "Delete options"
456
- msgstr "Удалить параметры"
457
-
458
- #: options.php:545
459
- msgid "Autoclean"
460
- msgstr "Автоочистка"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/hyper-cache.pot DELETED
@@ -1,570 +0,0 @@
1
- # Copyright (C) 2014
2
- # This file is distributed under the same license as the package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: \n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/hyper-cache\n"
7
- "POT-Creation-Date: 2014-09-16 07:25:25+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #. Text in echo
16
- #: options.php:539
17
- msgid "(Starting with) URIs to bypass"
18
- msgstr ""
19
-
20
- #. Text in echo
21
- #: options.php:583
22
- msgid "(with a small JavaScript added at the end of the pages)."
23
- msgstr ""
24
-
25
- #. Text in echo
26
- #: options.php:339
27
- msgid "0 means forever."
28
- msgstr ""
29
-
30
- #. Text in echo
31
- #: options.php:641
32
- msgid "A \"user agent\" is a text which identify the kind of device used to surf the site."
33
- msgstr ""
34
-
35
- #. Text in echo
36
- #: options.php:548
37
- msgid "A request for <code>http://youblog.com<strong>/my-single-post-something</strong></code> IS NOT cached as well."
38
- msgstr ""
39
-
40
- #. Text in echo
41
- #: options.php:534
42
- msgid "A request for <code>http://youblog.com<strong>/my-single-post-something</strong></code> IS cached."
43
- msgstr ""
44
-
45
- #. Text in echo
46
- #: options.php:394
47
- msgid "A wrong configuration can destroy your blog."
48
- msgstr ""
49
-
50
- #. Text in echo
51
- #: options.php:411
52
- msgid "Allow browser caching"
53
- msgstr ""
54
-
55
- #. Text in echo
56
- #: options.php:418
57
- msgid "Attention: the browser may not reload a page from the blog showing not updated content. "
58
- msgstr ""
59
-
60
- #. Text in function
61
- #: options.php:438
62
- msgid "Build a separated cache"
63
- msgstr ""
64
-
65
- #. Text in echo
66
- #: options.php:584
67
- msgid "But the \"awaiting moderation\" message cannot be shown."
68
- msgstr ""
69
-
70
- #. Text in function
71
- #: options.php:438
72
- #: options.php:608
73
- msgid "Bypass the cache"
74
- msgstr ""
75
-
76
- #. Text in echo
77
- #: options.php:286
78
- msgid "Bypasses"
79
- msgstr ""
80
-
81
- #. Text in echo
82
- #: options.php:288
83
- msgid "CDN"
84
- msgstr ""
85
-
86
- #. Text in echo
87
- #: options.php:388
88
- msgid "Cache folder"
89
- msgstr ""
90
-
91
- #. Text in function
92
- #: options.php:608
93
- msgid "Cache separately"
94
- msgstr ""
95
-
96
- #. Text in function
97
- #: options.php:663
98
- msgid "Cache size"
99
- msgstr ""
100
-
101
- #. Text in echo
102
- #: options.php:336
103
- msgid "Cached pages will be valid for"
104
- msgstr ""
105
-
106
- #. Text in echo
107
- #: options.php:501
108
- msgid "Caching it help in reduce that overload."
109
- msgstr ""
110
-
111
- #. Text in echo
112
- #: options.php:249
113
- msgid "Change it on the <a href=\"options-permalink.php\" target=\"_blank\">permalink panel</a> otherwise Hyper Cache cannot work properly."
114
- msgstr ""
115
-
116
- #. Text in echo
117
- #: options.php:613
118
- msgid "Choose \"cache separately\" if you produce different content for mobile devices"
119
- msgstr ""
120
-
121
- #. Text in function
122
- #: options.php:277
123
- msgid "Clean home and archives"
124
- msgstr ""
125
-
126
- #. Text in function
127
- #: options.php:276
128
- msgid "Clean the whole cache"
129
- msgstr ""
130
-
131
- #. Text in function
132
- #: options.php:278
133
- msgid "Compute the cache size"
134
- msgstr ""
135
-
136
- #. Text in echo
137
- #: options.php:553
138
- msgid "Cookies to bypass"
139
- msgstr ""
140
-
141
- #. Text in echo
142
- #: options.php:564
143
- msgid "Devices (user agents) to bypass"
144
- msgstr ""
145
-
146
- #. Text in echo
147
- #: options.php:516
148
- msgid "Do not cache single post comment feed"
149
- msgstr ""
150
-
151
- #. Text in echo
152
- #: options.php:495
153
- msgid "Do not cache the \"404 - Not found\" page"
154
- msgstr ""
155
-
156
- #. Text in echo
157
- #: options.php:506
158
- msgid "Do not cache the blog main feeds"
159
- msgstr ""
160
-
161
- #. Text in echo
162
- #: options.php:485
163
- msgid "Do not cache the home page"
164
- msgstr ""
165
-
166
- #. Text in echo
167
- #: options.php:576
168
- msgid "Don\\'t serve cached pages to comment authors"
169
- msgstr ""
170
-
171
- #. Text in function
172
- #: options.php:663
173
- msgid "Done!"
174
- msgstr ""
175
-
176
- #. Text in function
177
- #: options.php:297
178
- #: options.php:413
179
- #: options.php:426
180
- #: options.php:450
181
- #: options.php:461
182
- #: options.php:472
183
- #: options.php:528
184
- #: options.php:541
185
- #: options.php:555
186
- #: options.php:566
187
- #: options.php:578
188
- msgid "Enable"
189
- msgstr ""
190
-
191
- #. Text in echo
192
- #: options.php:343
193
- msgid "Enable compression"
194
- msgstr ""
195
-
196
- #. Text in echo
197
- #: options.php:526
198
- msgid "Exact URIs to bypass"
199
- msgstr ""
200
-
201
- #. Text in echo
202
- #: options.php:306
203
- msgid "For example a MaxCDN URL is something like"
204
- msgstr ""
205
-
206
- #. Text in echo
207
- #: options.php:642
208
- msgid "For example and iPhone has <code>iphone</code> as user agent."
209
- msgstr ""
210
-
211
- #. Text in echo
212
- #: options.php:546
213
- msgid "For example if you add the <code>/my-single-post</code> URI and a request is received for <code>http://youblog.com<strong>/my-single-post</strong></code> that page IS NOT cached."
214
- msgstr ""
215
-
216
- #. Text in echo
217
- #: options.php:285
218
- msgid "General"
219
- msgstr ""
220
-
221
- #. Text in echo
222
- #: options.php:436
223
- msgid "HTTPS"
224
- msgstr ""
225
-
226
- #. Text in echo
227
- #: options.php:581
228
- msgid "Hyper Cache is able to work with users who left a comment and completes the comment form with
229
- user data even on cached page"
230
- msgstr ""
231
-
232
- #. Text in function
233
- #: options.php:236
234
- msgid "Hyper Cache was not able to create or find the %s folder."
235
- msgstr ""
236
-
237
- #. Text in echo
238
- #: options.php:559
239
- msgid "If the visitor has a cookie named as one of the listed values, the cache is bypassed."
240
- msgstr ""
241
-
242
- #. Text in echo
243
- #: options.php:570
244
- msgid "If the visitor has a device with a user agent named as one of the listed values, the cache is bypassed."
245
- msgstr ""
246
-
247
- #. Text in echo
248
- #: options.php:406
249
- msgid "If you enable the \"serve expired pages to bots\", you should disable the auto clean."
250
- msgstr ""
251
-
252
- #. Text in echo
253
- #: options.php:585
254
- msgid "If you have few readers who comment you can disable this feature to get back the classical WordPress comment flow."
255
- msgstr ""
256
-
257
- #. Text in echo
258
- #: options.php:630
259
- msgid "If you have plugins which produce different content for desktop and mobile devices, you should use a separate cache for mobile."
260
- msgstr ""
261
-
262
- #. Text in echo
263
- #: options.php:348
264
- msgid "If you note odd characters when enabled, disable it since your server is already compressing the pages."
265
- msgstr ""
266
-
267
- #. Text in echo
268
- #: options.php:459
269
- msgid "Ignore no-cache header from bots"
270
- msgstr ""
271
-
272
- #. Text in function
273
- #: options.php:279
274
- msgid "Import old options"
275
- msgstr ""
276
-
277
- #. Text in echo
278
- #: options.php:453
279
- msgid "It should be better than the file_get_contents() actually used."
280
- msgstr ""
281
-
282
- #. Text in echo
283
- #: options.php:292
284
- msgid "It works only with images, css, scripts."
285
- msgstr ""
286
-
287
- #. Text in echo
288
- #: options.php:392
289
- msgid "Leave blank for default value."
290
- msgstr ""
291
-
292
- #. Text in echo
293
- #: options.php:417
294
- msgid "Lets browser to use a local copy of the page if newer than specified."
295
- msgstr ""
296
-
297
- #. Text in echo
298
- #: options.php:287
299
- msgid "Mobile"
300
- msgstr ""
301
-
302
- #. Text in echo
303
- #: options.php:619
304
- msgid "Mobile theme"
305
- msgstr ""
306
-
307
- #. Text in echo
308
- #: options.php:635
309
- msgid "Mobile user agents"
310
- msgstr ""
311
-
312
- #. Text in echo
313
- #: options.php:399
314
- msgid "Next autoclean will run in"
315
- msgstr ""
316
-
317
- #. Text in function
318
- #: options.php:663
319
- msgid "Old Hyper Cache options are missing or not readable"
320
- msgstr ""
321
-
322
- #. Text in function
323
- #: options.php:663
324
- msgid "Old options imported, now review them and save."
325
- msgstr ""
326
-
327
- #. Text in echo
328
- #: options.php:595
329
- msgid "Older posts won\\'t be cached and stored resulting in a lower disk space usage."
330
- msgstr ""
331
-
332
- #. Text in echo
333
- #: options.php:640
334
- msgid "One per line."
335
- msgstr ""
336
-
337
- #. Text in function
338
- #: options.php:663
339
- msgid "Options deleted"
340
- msgstr ""
341
-
342
- #. Text in function
343
- #: options.php:663
344
- msgid "Options saved. If you changed any of the bypasses empty the cache."
345
- msgstr ""
346
-
347
- #. Text in echo
348
- #: options.php:442
349
- msgid "Pages are usually different when served in HTTP and HTTPS."
350
- msgstr ""
351
-
352
- #. Text in echo
353
- #: options.php:236
354
- msgid "Please create it manually with list, write and read permissions (usually 777)."
355
- msgstr ""
356
-
357
- #. Text in echo
358
- #: options.php:590
359
- msgid "Reject posts older than"
360
- msgstr ""
361
-
362
- #. Text in echo
363
- #: options.php:424
364
- msgid "Remove HTTP/HTTPS"
365
- msgstr ""
366
-
367
- #. Text in echo
368
- #: options.php:500
369
- msgid "Requests which lead to a 404 not found page overload you blog since WordPress must generate a full page"
370
- msgstr ""
371
-
372
- #. Text in function
373
- #: options.php:638
374
- msgid "Reset"
375
- msgstr ""
376
-
377
- #. Text in function
378
- #: options.php:652
379
- msgid "Save"
380
- msgstr ""
381
-
382
- #. Text in echo
383
- #: options.php:614
384
- msgid "See for example my <a href=\"http://www.satollo.net/plugins/header-footer\" target=\"_blank\">Header and Footer</a> plugin for different desktop/mobile ads injection in posts."
385
- msgstr ""
386
-
387
- #. Text in echo
388
- #: options.php:474
389
- msgid "Serve a cache page even if expired when requested by bots."
390
- msgstr ""
391
-
392
- #. Text in echo
393
- #: options.php:470
394
- msgid "Serve expired pages to bots"
395
- msgstr ""
396
-
397
- #. Text in function
398
- #: options.php:279
399
- msgid "Sure? Your setting will be overwritten."
400
- msgstr ""
401
-
402
- #. Text in echo
403
- #: options.php:405
404
- msgid "The autoclean process removes old files to save disk space."
405
- msgstr ""
406
-
407
- #. Text in function
408
- #: options.php:663
409
- msgid "The cache folder has been cleaned."
410
- msgstr ""
411
-
412
- #. Text in echo
413
- #: options.php:358
414
- msgid "The number of latest posts to invalidate when the home is invalidated."
415
- msgstr ""
416
-
417
- #. Text in echo
418
- #: options.php:532
419
- msgid "Those URIs are exactly matched."
420
- msgstr ""
421
-
422
- #. Text in echo
423
- #: options.php:545
424
- msgid "Those URIs match if a requested URI starts with one of them."
425
- msgstr ""
426
-
427
- #. Text in function
428
- #: options.php:663
429
- msgid "Unable to write the <code>wp-content/advanced-cache.php</code> file. Check the file or folder permissions."
430
- msgstr ""
431
-
432
- #. Text in echo
433
- #: options.php:448
434
- msgid "Use readfile()"
435
- msgstr ""
436
-
437
- #. Text in echo
438
- #: options.php:452
439
- msgid "Use the PHP function readfile() to send back a page."
440
- msgstr ""
441
-
442
- #. Text in function
443
- #: options.php:621
444
- msgid "Use the active blog theme"
445
- msgstr ""
446
-
447
- #. Text in function
448
- #: options.php:608
449
- msgid "Use the standard cache"
450
- msgstr ""
451
-
452
- #. Text in function
453
- #: options.php:438
454
- msgid "Use the standard cache (I have HTTP/HTTPS aware pages)"
455
- msgstr ""
456
-
457
- #. Text in echo
458
- #: options.php:596
459
- msgid "Useful when older posts have low traffic."
460
- msgstr ""
461
-
462
- #. Text in echo
463
- #: options.php:521
464
- msgid "Usually I enable this bypass since it saves disk space and comment feed on single posts are not usually used."
465
- msgstr ""
466
-
467
- #. Text in echo
468
- #: options.php:273
469
- msgid "Want a full mail marketing system in your blog? Try my free <a href=\"http://www.satollo.net/plugins/newsletter\" target=\"_blank\">Newsletter</a> plugin."
470
- msgstr ""
471
-
472
- #. Text in echo
473
- #: options.php:364
474
- msgid "When a post is edited"
475
- msgstr ""
476
-
477
- #. Text in echo
478
- #: options.php:376
479
- msgid "When a post receives a comment"
480
- msgstr ""
481
-
482
- #. Text in echo
483
- #: options.php:499
484
- msgid "When active, Hyper Cache does not serve a cached \"404 not found\" page."
485
- msgstr ""
486
-
487
- #. Text in echo
488
- #: options.php:489
489
- msgid "When active, the home page and its subpages are not cached."
490
- msgstr ""
491
-
492
- #. Text in function
493
- #: options.php:510
494
- msgid "When active, the main blog feed %s is not cached."
495
- msgstr ""
496
-
497
- #. Text in echo
498
- #: options.php:520
499
- msgid "When active, the single post comment feeds are not cached."
500
- msgstr ""
501
-
502
- #. Text in echo
503
- #: options.php:354
504
- msgid "When the home is refreshed, refresh even the"
505
- msgstr ""
506
-
507
- #. Text in echo
508
- #: options.php:606
509
- msgid "Working mode"
510
- msgstr ""
511
-
512
- #. Text in echo
513
- #: options.php:490
514
- msgid "Works even with a static home page."
515
- msgstr ""
516
-
517
- #. Text in echo
518
- #: options.php:305
519
- msgid "Write here the CDN URL."
520
- msgstr ""
521
-
522
- #. Text in echo
523
- #: options.php:393
524
- msgid "You can even evaluate to leave this blank and create a symbolic link <code>wp-content/cache/hyper-cache -&gt; [your folder]</code>."
525
- msgstr ""
526
-
527
- #. Text in echo
528
- #: options.php:220
529
- msgid "You must add to the file wp-config.php (after the <code>define(\"WPLANG\", \"\");</code>) the line of code: <code>define(\"WP_CACHE\", true);</code>"
530
- msgstr ""
531
-
532
- #. Text in echo
533
- #: options.php:228
534
- msgid "You must save the options since some files must be updated."
535
- msgstr ""
536
-
537
- #. Text in echo
538
- #: options.php:249
539
- msgid "You should choose a different permalink structure."
540
- msgstr ""
541
-
542
- #. Text in echo
543
- #: options.php:308
544
- msgid "You should usually create a pull zone in your CDN panel and they will give your an URL."
545
- msgstr ""
546
-
547
- #. Text in echo
548
- #: options.php:593
549
- msgid "days"
550
- msgstr ""
551
-
552
- #. Text in echo
553
- #: options.php:338
554
- msgid "hours"
555
- msgstr ""
556
-
557
- #. Text in echo
558
- #: options.php:356
559
- msgid "latest post"
560
- msgstr ""
561
-
562
- #. Text in echo
563
- #: options.php:403
564
- msgid "minutes"
565
- msgstr ""
566
-
567
- #. Text in echo
568
- #: options.php:403
569
- msgid "will run again in"
570
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
options.php CHANGED
@@ -23,10 +23,6 @@ if ($controls->is_action('save')) {
23
  }
24
  }
25
 
26
- $controls->options['folder'] = trim($controls->options['folder']);
27
- if (!empty($controls->options['folder']))
28
- $controls->options['folder'] = untrailingslashit($controls->options['folder']);
29
-
30
  if (!is_numeric($controls->options['max_age'])) {
31
  $controls->options['max_age'] = 24;
32
  }
@@ -221,7 +217,7 @@ if (!wp_next_scheduled('hyper_cache_clean')) {
221
  <?php if (!defined('WP_CACHE') || !WP_CACHE) { ?>
222
  <div class="error">
223
  <p>
224
- <?php _e('You must add to the file wp-config.php (after the <code>&lt;php</code> first line) the line of code: <code>define("WP_CACHE", true);</code>', 'hyper-cache'); ?>
225
  </p>
226
  </div>
227
  <?php } ?>
@@ -451,12 +447,12 @@ if (!wp_next_scheduled('hyper_cache_clean')) {
451
  <tr>
452
  <th><?php _e('Cache folder', 'hyper-cache'); ?></th>
453
  <td>
454
- <?php $controls->text('folder', 70); ?> path on disk
455
- <p class="description">
456
- <?php _e('Leave blank for default value.', 'hyper-cache'); ?>
457
- <?php _e('You can even evaluate to leave this blank and create a symbolic link <code>wp-content/cache/hyper-cache -&gt; [your folder]</code>.', 'hyper-cache'); ?>
458
- <?php _e('A wrong configuration can destroy your blog.', 'hyper-cache'); ?>
459
- </p>
460
  </td>
461
  </tr>
462
  <tr>
23
  }
24
  }
25
 
 
 
 
 
26
  if (!is_numeric($controls->options['max_age'])) {
27
  $controls->options['max_age'] = 24;
28
  }
217
  <?php if (!defined('WP_CACHE') || !WP_CACHE) { ?>
218
  <div class="error">
219
  <p>
220
+ <?php _e('You must add to the file wp-config.php (after the <code>&lt;?php</code> first line) the line of code: <code>define("WP_CACHE", true);</code>', 'hyper-cache'); ?>
221
  </p>
222
  </div>
223
  <?php } ?>
447
  <tr>
448
  <th><?php _e('Cache folder', 'hyper-cache'); ?></th>
449
  <td>
450
+ <?php if (defined('HYPER_CACHE_FOLDER')) { ?>
451
+ <?php _e('A custom cache folder is deinfed in wp-config.php', 'hyper-cache'); ?>: <code><?php echo esc_html(HYPER_CACHE_FOLDER)?></code>
452
+ <?php } else { ?>
453
+ <?php _e('A custom cache folder can be defined in wp-config.php', 'hyper-cache'); ?>
454
+ <code>define('HYPER_CACHE_FOLDER', '/path/to/cache/folder');</code>
455
+ <?php } ?>
456
  </td>
457
  </tr>
458
  <tr>
plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Hyper Cache
5
  Plugin URI: http://www.satollo.net/plugins/hyper-cache
6
  Description: A easy to configure and efficient cache to increase the speed of your blog.
7
- Version: 3.3.5
8
  Author: Stefano Lissa
9
  Author URI: http://www.satollo.net
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
@@ -513,10 +513,11 @@ class HyperCache {
513
  }
514
 
515
  function get_folder() {
516
- if (empty($this->options['folder']))
 
 
517
  return WP_CONTENT_DIR . '/cache/hyper-cache';
518
- else
519
- return $this->options['folder'];
520
  }
521
 
522
  function text_to_list($text) {
4
  Plugin Name: Hyper Cache
5
  Plugin URI: http://www.satollo.net/plugins/hyper-cache
6
  Description: A easy to configure and efficient cache to increase the speed of your blog.
7
+ Version: 3.3.6
8
  Author: Stefano Lissa
9
  Author URI: http://www.satollo.net
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
513
  }
514
 
515
  function get_folder() {
516
+ if (defined('HYPER_CACHE_FOLDER')) {
517
+ return HYPER_CACHE_FOLDER;
518
+ } else {
519
  return WP_CONTENT_DIR . '/cache/hyper-cache';
520
+ }
 
521
  }
522
 
523
  function text_to_list($text) {
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Hyper Cache ===
2
  Tags: cache,performance,staticizer,apache,htaccess,tuning,speed,bandwidth,optimization,tidy,gzip,compression,server load,boost
3
- Requires at least: 2.5
4
- Tested up to: 4.9.4
5
- Stable tag: 3.3.5
6
  Donate link: http://www.satollo.net/donations
7
  Contributors: satollo
8
 
@@ -68,6 +68,13 @@ the [Hyper Cache official forum](http://www.satollo.net/forums/forum/hyper-cache
68
 
69
  == Changelog ==
70
 
 
 
 
 
 
 
 
71
  = 3.3.5 =
72
 
73
  * Added event of cache purged
1
  === Hyper Cache ===
2
  Tags: cache,performance,staticizer,apache,htaccess,tuning,speed,bandwidth,optimization,tidy,gzip,compression,server load,boost
3
+ Requires at least: 3.9
4
+ Tested up to: 4.9.6
5
+ Stable tag: 3.3.6
6
  Donate link: http://www.satollo.net/donations
7
  Contributors: satollo
8
 
68
 
69
  == Changelog ==
70
 
71
+ = 3.3.6 =
72
+
73
+ * Removed the cache folder option from the settings (can still be defined using a define in wp-config.php) to avoid possible bad path injection
74
+ * Thank you to RIPS Technologies - https://www.ripstech.com
75
+ * Fix for host names with dashes
76
+ * Translation supported only via (https://translate.wordpress.org): contributions welcomed
77
+
78
  = 3.3.5 =
79
 
80
  * Added event of cache purged