WP Super Cache - Version 1.4.4

Version Description

Security release fixing an XSS bug in the settings page, and fix for fatal error in output handler.

=

Download this release

Release Info

Developer donncha
Plugin Icon 128x128 WP Super Cache
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.3.3 to 1.4.4

Changelog.txt CHANGED
@@ -1,5795 +1,274 @@
1
- 2013-04-24 19:53 donncha
2
 
3
- * readme.txt, wp-cache.php: Bump version to 1.3.2
4
-
5
- 2013-04-24 19:52 donncha
6
-
7
- * readme.txt: Added upgrade notice and changelog for 1.3.2
8
-
9
- 2013-04-17 13:06 donncha
10
-
11
- * wp-cache.php: Fixed warnings on the action POST parameter, props
12
- @michiecat
13
-
14
- 2013-04-17 10:31 donncha
15
-
16
- * wp-cache-phase1.php, wp-cache-phase2.php: Dump the GET array if
17
- required.
18
-
19
- 2013-04-16 12:17 donncha
20
-
21
- * plugins/jetpack.php: Check if Jetpack is installed before showing
22
- helper form
23
-
24
- 2013-04-16 12:05 donncha
25
-
26
- * wp-cache-phase2.php: Need to pass this as a global variable so
27
- mfunc can be disabled!
28
-
29
- 2013-04-16 12:03 donncha
30
-
31
- * wp-super-cache.pot: Updated translation file
32
-
33
- 2013-04-16 11:59 donncha
34
-
35
- * plugins/jetpack.php: Added plugin to provide support for the
36
- Jetpack Mobile Theme.
37
-
38
- 2013-04-16 11:48 donncha
39
-
40
- * plugins/wptouch.php: Minor change to text output
41
-
42
- 2013-04-16 11:37 donncha
43
-
44
- * wp-cache-phase1.php: Added debug logs to mobile detection code
45
-
46
- 2013-04-16 11:31 donncha
47
-
48
- * wp-cache-phase1.php: Re-org the comment check regex
49
-
50
- 2013-04-16 08:27 donncha
51
-
52
- * wp-cache.php: Remove just the leading mfunc tag to mangle dynamic
53
- code inserted into comments
54
-
55
- 2013-04-15 10:18 donncha
56
-
57
- * wp-cache.php: Remove ending mfunc etc tags to mangle
58
- multi-comment tags
59
-
60
- 2013-04-12 14:00 donncha
61
-
62
- * wp-cache-phase2.php: Escape urls in "last cached" list
63
-
64
- 2013-04-12 13:59 donncha
65
-
66
- * wp-cache-phase2.php, wp-cache.php: Disable mfunc and related
67
- tags. Add an option on the settings page.
68
-
69
- 2013-04-12 11:39 donncha
70
-
71
- * readme.txt: Slightly modified the warning in the upgrade notice
72
-
73
- 2013-04-12 11:29 donncha
74
-
75
- * Changelog.txt: Updated changelog
76
-
77
- 2013-04-12 11:25 donncha
78
-
79
- * readme.txt, wp-cache.php: Bump version to 1.3.1
80
-
81
- 2013-04-12 11:13 donncha
82
-
83
- * readme.txt: Updated changelog and documentation
84
-
85
- 2013-04-12 10:42 donncha
86
-
87
- * plugins/awaitingmoderation.php, plugins/badbehaviour.php,
88
- plugins/domain-mapping.php, plugins/searchengine.php,
89
- plugins/wptouch.php, wp-cache.php: Fixed XSS problems with
90
- REQUEST_URI on the settings page.
91
-
92
- 2013-04-11 11:18 donncha
93
-
94
- * Changelog.txt: Updated changelog
95
-
96
- 2013-04-11 11:14 donncha
97
-
98
- * readme.txt, wp-cache.php: Bump version tested to 3.5.1 and
99
- version to 1.3
100
-
101
- 2013-04-11 11:07 donncha
102
-
103
- * readme.txt: Updated changelog
104
-
105
- 2013-04-11 10:39 donncha
106
-
107
- * wp-cache.php: Remove mfunc, mclude and dynamic-cached-content
108
- tags from comments. Props Frank Goossen
109
- (http://blog.futtta.be/2013/04/10/wp-safer-cache-stopgap-for-wordpress-cache-plugins-vulnerability/)
110
- and kisscsaby
111
- (http://wordpress.org/support/topic/pwn3d?replies=6)
112
-
113
- 2012-12-13 08:17 donncha
114
-
115
- * readme.txt: Bumped tested version to 3.5
116
-
117
- 2012-12-03 09:59 donncha
118
-
119
- * wp-cache-phase2.php: Hide these fs warnings from the logs
120
-
121
- 2012-10-24 06:17 donncha
122
-
123
- * wp-cache.php: Don't mention GoDaddy in the 304 warning, it's
124
- hopefully fixed.
125
-
126
- 2012-10-08 10:07 donncha
127
-
128
- * wp-cache-phase1.php, wp-cache.php: * Use LOGGED_IN_COOKIE in more
129
- places, props askapache
130
- * Make sure to check if that constant is defined before using it
131
- to avoid fatal errors
132
- * Added wpsc_get_logged_in_cookie() to get cookie value without
133
- requiring rewrites of the .htaccess file
134
-
135
- 2012-10-05 11:39 donncha
136
-
137
- * Changelog.txt: Updated changelog for version 1.2
138
-
139
- 2012-10-05 11:36 donncha
140
-
141
- * readme.txt, wp-cache.php: * Updated version to 1.2 and bumped
142
- tested version.
143
- * Added changelog for 1.2
144
-
145
- 2012-10-04 20:31 donncha
146
-
147
- * wp-super-cache.pot: Updated translation file
148
-
149
- 2012-10-04 20:27 donncha
150
-
151
- * wp-cache-phase1.php: Check for $wp_cache_disable_utf8 when
152
- serving supercache files from PHP, like it affects mod_rewrite
153
- served files.
154
-
155
- 2012-09-21 16:04 donncha
156
-
157
- * wp-cache.php: Oops, fixed a minor typo
158
-
159
- 2012-09-21 16:01 donncha
160
-
161
- * wp-cache.php: Set up the cached pages counter correctly, see
162
- http://wordpress.org/support/topic/plugin-wp-super-cache-confusing-information-in-cached-pages-since?replies=2
163
-
164
- 2012-09-19 21:15 donncha
165
-
166
- * wp-cache.php: Fixed term link when preloading, props Stefan
167
- Parmark
168
-
169
- 2012-08-30 11:53 donncha
170
-
171
- * wp-cache.php: Remove is_main_blog() calls, requires 3.0 already.
172
- Props angelxas.
173
- http://wordpress.org/support/topic/plugin-wp-super-cache-crashes-wp-341-multisite?replies=2
174
-
175
- 2012-08-30 10:59 donncha
176
-
177
- * wp-cache.php: Very minor whitespace fix
178
-
179
- 2012-08-30 10:39 donncha
180
-
181
- * wp-cache-phase2.php: Make sure sites that upgrade to 1.0 don't
182
- schedule the GC too often, props tigertech, fixed #1569.
183
- http://wordpress.org/support/topic/wp-super-cache-causes-high-doing_wp_cron-load?replies=3
184
-
185
- 2012-08-30 10:32 donncha
186
-
187
- * wp-cache.php: Allow editors to delete cached files for specific
188
- pages via the admin bar. See
189
- http://wordpress.org/support/topic/plugin-wp-super-cache-allow-editor-role-to-delete-cache?replies=8
190
-
191
- 2012-08-03 09:57 donncha
192
-
193
- * wp-cache.php: * Added warning if garbage collection wasn't
194
- enabled
195
- * schedule watcher job when GC form is submitted
196
- * Enable GC when using the easy settings page
197
-
198
- 2012-08-03 09:53 donncha
199
-
200
- * wp-cache-phase2.php: Added function to create garbage collection
201
- flag filename.
202
-
203
- 2012-07-30 09:01 donncha
204
-
205
- * wp-cache-phase2.php: Use GC flag wp_cache_gc.txt in cache
206
- directory so watcher job doesn't schedule a GC when it's already
207
- running
208
-
209
- 2012-07-30 08:58 donncha
210
-
211
- * wp-cache-phase2.php: If wp_cache_gc job is NOT scheduled then we
212
- need to schedule a new one in the watcher job
213
-
214
- 2012-07-27 10:20 donncha
215
-
216
- * wp-super-cache.pot: Updated translation pot file
217
-
218
- 2012-07-27 10:17 donncha
219
-
220
- * languages/wp-super-cache-zh_CN.po: Updated translation, props
221
- Christopher Meng
222
-
223
- 2012-07-27 09:48 donncha
224
-
225
- * readme.txt: Updated docs on late init, props Storm.
226
- http://wordpress.org/support/topic/plugin-wp-super-cache-mfunc-issue?replies=4#post-3018123
227
-
228
- 2012-07-27 09:39 donncha
229
-
230
- * wp-cache-phase2.php, wp-cache.php: * Added a garbage collection
231
- watcher job to restart GC if it somehow fails.
232
- * Clear gc hooks when uninstalling
233
- * Added a check for shutdown gc when scheduling default gc
234
-
235
- 2012-07-27 09:14 donncha
236
-
237
- * wp-cache.php: Enable garbage collection when activating caching
238
-
239
- 2012-07-24 08:56 donncha
240
-
241
- * wp-cache.php: Fix some links and add a link to the development
242
- version
243
-
244
- 2012-07-17 19:16 donncha
245
-
246
- * wp-cache-phase1.php: Use the supercached mobile files, props
247
- turtlehat,
248
- http://wordpress.org/support/topic/plugin-wp-super-cache-why-_mobile-instead-of-mobile-after-wp_cache_check_mobile-action?replies=2
249
-
250
- 2012-07-16 13:04 donncha
251
-
252
- * wp-cache-phase1.php: Move call to
253
- wp_supercache_cache_for_admins() down after loading supercache
254
- plugins. Props rapidstrider,
255
- http://wordpress.org/support/topic/plugin-wp-super-cache-wp_supercache_remove_cookies-not-working
256
-
257
- 2012-07-16 12:59 donncha
258
-
259
- * wp-cache-phase1.php: Added support for LOGGED_IN_COOKIE constant,
260
- props Askapache
261
-
262
- 2012-07-12 16:47 donncha
263
-
264
- * wp-cache-phase1.php: Fixes problems updating cache files on
265
- directory installs. Props Naki-BoT,
266
- http://wordpress.org/support/topic/plugin-wp-super-cache-wordpress-in-directory-and-cache-on-post-edit-not-removed
267
-
268
- 2012-07-10 13:37 donncha
269
-
270
- * wp-cache.php: * Added warning if WordPress is installed in a
271
- folder and served from root
272
- * Added Dismiss buttons on htaccess and readable wp-content
273
- warnings.
274
-
275
- 2012-07-10 07:50 donncha
276
-
277
- * wp-cache.php: Change deactivate hook to uninstall hook so updates
278
- don't delete the old configuration
279
-
280
- 2012-06-27 10:14 donncha
281
-
282
- * languages/wp-super-cache-zh_TW.mo,
283
- languages/wp-super-cache-zh_TW.po: Updated translation, props
284
- priv
285
-
286
- 2012-06-26 12:21 donncha
287
-
288
- * plugins/wptouch.php: Check WPTouch Pro cookies here too
289
-
290
- 2012-06-26 10:26 donncha
291
-
292
- * plugins/wptouch.php: Support WPTouch Pro switch to desktop,
293
- hopefully.
294
-
295
- 2012-06-22 16:19 donncha
296
-
297
- * Changelog.txt: Updated changelog
298
-
299
- 2012-06-21 15:14 donncha
300
-
301
- * wp-cache-phase2.php: Added new constant, "WPSCFORCEUPDATE" that
302
- will disable the draft post check if defined
303
-
304
- 2012-06-21 15:08 donncha
305
-
306
- * wp-cache-phase2.php: Only check dupe posts after the post has
307
- been published
308
-
309
- 2012-06-21 09:46 donncha
310
-
311
- * wp-super-cache.pot: Updated translation file
312
-
313
- 2012-06-21 09:37 donncha
314
-
315
- * readme.txt: Updated credits for translations
316
-
317
- 2012-06-21 09:25 donncha
318
-
319
- * languages/wp-super-cache-zh_CN.mo,
320
- languages/wp-super-cache-zh_CN.po: Updated translation, props
321
- Christopher Meng.
322
-
323
- 2012-06-21 09:21 donncha
324
-
325
- * languages/wp-super-cache-zh_TW.mo,
326
- languages/wp-super-cache-zh_TW.po: Updated translation, props
327
- Priv
328
-
329
- 2012-06-21 08:53 donncha
330
-
331
- * wp-cache-phase2.php: wp_cache_post_edit() checks if the current
332
- post has been processed already. Now that check only happens
333
- after a post is published. Possibly fixes scheduled posts
334
- problems for some users.
335
-
336
- 2012-06-20 09:32 donncha
337
-
338
- * wp-cache-base.php: Avoid raising a warning on strpos, see
339
- http://wordpress.org/support/topic/plugin-wp-super-cache-wp-super-cache-warning-strpos-functionstrpos-offset-not-contained-in-stri?replies=2
340
-
341
- 2012-06-13 21:55 donncha
342
-
343
- * readme.txt: Bump tested version
344
-
345
- 2012-06-12 12:52 donncha
346
-
347
- * wp-cache.php: No need to schedule a single job if it's going to
348
- be scheduled for a particular time.
349
-
350
- 2012-06-12 11:37 donncha
351
-
352
- * wp-cache-base.php, wp-cache-phase1.php, wp-cache-phase2.php,
353
- wp-cache.php: Use HTTP_HOST instead of SERVER_NAME because nginx
354
- has problems with it.
355
-
356
- 2012-06-11 16:00 donncha
357
-
358
- * advanced-cache.php, readme.txt, wp-cache.php: Move
359
- advanced-cache.php path into wp-config.php by defining
360
- WPCACHEHOME there.
361
-
362
- 2012-06-11 13:40 donncha
363
-
364
- * wp-cache.php: Fixed DO NOT CACHE PAGE url, props netrival,
365
- http://wordpress.org/support/topic/plugin-wp-super-cache-possible-low-priority-bug-do-not-cache-page-secret-key-showing-wrong-link?replies=1
366
-
367
- 2012-06-11 13:39 donncha
368
-
369
- * wp-cache.php: Hide another variable warning
370
-
371
- 2012-06-11 13:23 donncha
372
-
373
- * wp-cache.php: Hide "tab" variable warning
374
-
375
- 2012-06-11 12:06 donncha
376
-
377
- * wp-cache-phase2.php: Forgot these carriage returns in the debug
378
- messages
379
-
380
- 2012-06-11 11:56 donncha
381
-
382
- * wp-cache-phase1.php: Remove warning if this isn't set
383
-
384
- 2012-06-08 15:05 donncha
385
-
386
- * wp-cache-phase1.php: Fixed serving of gzipped content to clients
387
- who who don't tell us either way. Fixes #1528. Props pioto
388
-
389
- 2012-06-07 16:04 donncha
390
-
391
- * plugins/badbehaviour.php, plugins/domain-mapping.php,
392
- plugins/searchengine.php, plugins/wptouch.php,
393
- wp-cache-config-sample.php, wp-cache.php: Get rid of PHP notices,
394
- props @simonwheatley
395
-
396
- 2012-06-05 14:34 donncha
397
-
398
- * wp-cache.php: Don't stop processing form input because
399
- wp-cron.php isn't found. We should still inform the user though.
400
-
401
- 2012-05-30 16:22 donncha
402
-
403
- * wp-cache-phase2.php, wp-cache.php: Added option on Debug page to
404
- disable caching comments on public pages.
405
-
406
- 2012-05-28 08:46 donncha
407
-
408
- * wp-cache-phase1.php: Fix fatal error when "make known users
409
- anonymous" is selected
410
-
411
- 2012-05-23 14:35 donncha
412
-
413
- * wp-cache.php: Check that get_supercache_dir exists before calling
414
- it. Props @hewsut
415
-
416
- 2012-05-23 12:16 donncha
417
-
418
- * wp-cache.php: Added note about moving supercache plugins.
419
-
420
- 2012-05-23 10:26 donncha
421
-
422
- * readme.txt, wp-cache.php: Bump version and stable versions for
423
- new release
424
-
425
- 2012-05-23 10:24 donncha
426
-
427
- * Changelog.txt, readme.txt: Updated changelog
428
-
429
- 2012-05-23 10:17 donncha
430
-
431
- * wp-super-cache.pot: Updated translation file
432
-
433
- 2012-05-23 10:14 donncha
434
-
435
- * wp-cache.php: Remove mentions of wp-minify as that plugin doesn't
436
- exist any more
437
-
438
- 2012-05-23 10:06 donncha
439
-
440
- * wp-super-cache.pot: Updated translation file
441
-
442
- 2012-05-23 10:04 donncha
443
-
444
- * wp-cache.php: Added message to yellow box.
445
-
446
- 2012-05-23 10:03 donncha
447
-
448
- * wp-super-cache.pot: Updated translation file
449
-
450
- 2012-05-17 15:36 donncha
451
-
452
- * wp-cache-phase1.php, wp-cache.php: Remove the debug log level, I
453
- always recommend level 5 anyway.
454
-
455
- 2012-05-14 16:32 donncha
456
-
457
- * wp-cache.php: Correctly check $wp_cache_disable_utf8 is not set
458
-
459
- 2012-05-11 15:24 donncha
460
-
461
- * Changelog.txt, readme.txt: Added changelog entries for 1.0 and
462
- 1.1
463
-
464
- 2012-05-11 15:02 donncha
465
-
466
- * wp-super-cache.pot: Updated translation file
467
-
468
- 2012-05-10 11:14 donncha
469
-
470
- * wp-cache-phase2.php: Create the legacy cache dir if it's not
471
- there
472
-
473
- 2012-05-10 10:50 donncha
474
-
475
- * wp-cache-phase2.php: Added wp_cache_clear_cache_on_menu() to
476
- clear the cache when the navigation menu is modified
477
-
478
- 2012-05-10 10:41 donncha
479
-
480
- * wp-cache-phase2.php: Revert previous change,
481
- wp_cache_clear_cache() with no parameter is supposed to clear out
482
- all cached files
483
-
484
- 2012-05-10 10:32 donncha
485
-
486
- * wp-cache-phase2.php: Only clear the cache for the current blog,
487
- not all blogs
488
-
489
- 2012-05-10 10:28 donncha
490
-
491
- * wp-cache-phase2.php: Only clear the cache cache of the current
492
- blog when "clear all cache on new post" is enabled, not all blogs
493
-
494
- 2012-05-10 10:25 donncha
495
-
496
- * wp-cache-phase2.php: Added $blog_id parameter to
497
- wp_cache_clear_cache() so only one blog's cache files are deleted
498
- (except legacy files, all deleted regardless)
499
-
500
- 2012-05-10 10:22 donncha
501
-
502
- * wp-cache-phase1.php, wp-cache-phase2.php: Put code that creates
503
- the cache/blogs/ directories into a function so it doesn't get
504
- called all the time, slight speed up and less empty directories
505
-
506
- 2012-05-10 10:08 donncha
507
-
508
- * wp-cache-phase2.php: Added "clean_post_cache" action to clear
509
- cache but stop the function being called twice
510
-
511
- 2012-05-10 10:07 donncha
512
-
513
- * wp-cache-phase1.php: Add $blog_id parameter to get_supercache_dir
514
- function to get the directory for that blog
515
-
516
- 2012-05-01 17:01 donncha
517
-
518
- * wp-cache.php: Removed "Last GC" time as it's on the advanced
519
- settings page.
520
-
521
- 2012-05-01 16:50 donncha
522
-
523
- * plugins/wptouch.php, wp-cache-phase1.php: Added
524
- wp_cache_check_mobile filter to short circuit mobile check. See
525
- http://wordpress.org/support/topic/wp-super-cache-and-wptouch?replies=2
526
-
527
- 2012-04-26 07:51 donncha
528
-
529
- * wp-cache-phase2.php: Don't delete cached files on draft post
530
- save, props jrevillini
531
- http://wordpress.org/support/topic/plugin-wp-super-cache-clear-all-cache-shouldnt-be-executed-on-a-draft-post?replies=7#post-2760461
532
-
533
- 2012-04-13 14:05 donncha
534
-
535
- * wp-cache-phase2.php: Added action for wp_trash_post so it clears
536
- the cache
537
-
538
- 2012-04-13 14:02 donncha
539
-
540
- * wp-cache.php: Show more files in the file listing
541
-
542
- 2012-04-13 13:21 donncha
543
-
544
- * wp-cache.php: Show a warning when 304 browser caching is disabled
545
-
546
- 2012-03-12 08:57 donncha
547
-
548
- * wp-cache.php: If site is running less than PHP 5.3.0 then check
549
- for safe mode. Props cyberws,
550
- http://wordpress.org/support/topic/plugin-wp-super-cache-php-53-compatibility
551
-
552
- 2012-03-07 10:59 donncha
553
-
554
- * wp-cache-phase1.php: Reverse logic on the remove cookies filter
555
-
556
- 2012-03-07 10:55 donncha
557
-
558
- * wp-cache-phase1.php: Added a filter,
559
- 'wp_supercache_remove_cookies' that decides if cookies should be
560
- removed on a per request basis. See
561
- http://wordpress.org/support/topic/plugin-wp-super-cache-make-known-users-anonymous-breaks-autheticated-commenting
562
-
563
- 2012-03-01 11:52 donncha
564
-
565
- * wp-cache.php: Fixed cache schedule dropdown
566
-
567
- 2012-02-22 22:03 donncha
568
-
569
- * wp-cache-base.php, wp-cache.php: Check that WP_MULTI_SITE is true
570
- as well!
571
-
572
- 2012-02-22 22:02 donncha
573
-
574
- * wp-cache-phase2.php: No need to call this twice, removed second
575
- call.
576
-
577
- 2012-02-17 10:09 donncha
578
-
579
- * wp-super-cache.pot: Updated translation file
580
-
581
- 2012-02-16 14:18 donncha
582
-
583
- * wp-cache.php: Added a title to the Delete Cache admin menu link
584
-
585
- 2012-02-16 13:55 donncha
586
-
587
- * wp-cache-base.php, wp-cache.php: Check for VHOST as well as
588
- MULTISITE checks for sites that upgrade from MU and don't have
589
- that constant set.
590
-
591
- 2012-02-15 22:11 donncha
592
-
593
- * wp-cache.php: When preloading, don't preload page_on_front or
594
- page_for_poss pages as that will probably clear the cache. Props
595
- te-deum. See
596
- http://wordpress.org/support/topic/plugin-wp-super-cache-preloaded-pages-not-created-until-user-visits?replies=28#post-2627649
597
-
598
- 2012-02-09 19:28 donncha
599
-
600
- * wp-cache-phase2.php: Disable caching AFTER actions added so cache
601
- is cleared
602
-
603
- 2012-02-09 18:17 donncha
604
-
605
- * wp-cache-phase1.php: If SERVER_NAME isn't defined then use
606
- HTTP_HOST
607
-
608
- 2012-02-09 18:03 donncha
609
-
610
- * wp-cache-phase2.php: Hopefully fix moderation/administration of
611
- comments.
612
-
613
- 2012-02-09 16:09 donncha
614
-
615
- * wp-cache-phase1.php, wp-cache-phase2.php: Check if variables
616
- defined and avoid warnings
617
-
618
- 2012-02-09 15:53 donncha
619
-
620
- * wp-cache-phase1.php: Check that site_url returns something and
621
- deal with it if it doesn't. PHP is weird sometimes.
622
- http://wordpress.org/support/topic/wp-super-cache-not-refreshing-post-after-comments-made
623
-
624
- 2012-02-09 14:01 donncha
625
-
626
- * wp-cache-phase2.php: Check if referer is comments admin page to
627
- decide what to delete, all or single page.
628
-
629
- 2012-02-09 13:59 donncha
630
-
631
- * wp-cache-base.php, wp-cache-phase1.php, wp-cache.php: Replace
632
- HTTP_HOST with SERVER_NAME, props _ck_
633
- http://wordpress.org/support/topic/plugin-wp-super-cache-minor-bug-with-use-of-_serverhttp_host-instead-of-_serverserver_name
634
-
635
- 2012-02-09 13:58 donncha
636
-
637
- * wp-cache-phase2.php: Add slashes to page urls when doing GC
638
-
639
- 2012-02-09 13:49 donncha
640
-
641
- * wp-cache.php: This error points at the wrong place in the docs
642
-
643
- 2012-02-03 09:30 donncha
644
-
645
- * wp-cache.php: Added link to Cron View, a plugin that can help
646
- debug wp-cron problems
647
-
648
- 2012-01-30 13:44 donncha
649
-
650
- * readme.txt: Added link to Cron View plugin to help diagnose
651
- crontab problems
652
-
653
- 2012-01-30 12:00 donncha
654
-
655
- * wp-cache-phase2.php: CRON requests are non empty GET requests so
656
- we want to ignore those params
657
-
658
- 2012-01-30 11:22 donncha
659
-
660
- * wp-cache.php: Add description of GC notification emails checkbox
661
-
662
- 2012-01-30 11:21 donncha
663
-
664
- * wp-cache.php: Make it clearer that GC jobs are scheduled to UTC
665
- times
666
-
667
- 2012-01-30 09:19 donncha
668
-
669
- * wp-cache.php: Make preloading of taxonomies optional, see
670
- http://wordpress.org/support/topic/wp-super-cache-causes-time-out-on-file-delete-with-rackspace-cloudsites?replies=12
671
-
672
- 2012-01-30 09:16 donncha
673
-
674
- * wp-cache.php: Fixes for PHP warnings, props vStone, lots more to
675
- come when I have time.
676
- http://plugins.trac.wordpress.org/ticket/1466
677
-
678
- 2012-01-23 09:19 donncha
679
-
680
- * wp-cache.php: Use get_supercache_dir() rather than hardcoding the
681
- supercache directory
682
-
683
- 2012-01-23 09:18 donncha
684
-
685
- * plugins/domain-mapping.php, wp-cache-phase1.php: Added
686
- 'wp_super_cache_supercachedir' filter on supercache directory and
687
- modified domain mapping plugin to support it, props Matthew
688
- Boynes.
689
-
690
- 2012-01-19 08:23 donncha
691
-
692
- * plugins/wptouch.php: Check if wptouch functions exist before
693
- filtering browsers
694
-
695
- 2012-01-18 11:38 donncha
696
-
697
- * readme.txt: Added warning that files in the cache directory are
698
- prone to be deleted. See
699
- http://ocaoimh.ie/2012/01/18/a-cache-directory-is-a-temporary-directory/
700
-
701
- 2012-01-13 09:27 donncha
702
-
703
- * wp-cache-phase2.php: Check that function returns false as it can
704
- return 0 if not files deleted
705
-
706
- 2012-01-11 10:59 donncha
707
-
708
- * wp-cache-phase2.php: Clear out the global /page/* pages when a
709
- post is published
710
-
711
- 2012-01-11 10:58 donncha
712
-
713
- * wp-cache-phase1.php: Remove https from the home url to get the
714
- supercache dir
715
-
716
- 2012-01-10 14:42 donncha
717
-
718
- * wp-cache-phase2.php: Just some more debug messages!
719
-
720
- 2012-01-10 14:41 donncha
721
-
722
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Added
723
- options:
724
- * disable caching if GET is not empty.
725
- * disable the blog_charset .htaccess directive which I added back
726
- in.
727
-
728
- 2012-01-10 14:37 donncha
729
-
730
- * wp-cache.php: don't check the mobile prefix or browser strings
731
- against the rewrite rules when they're empty. Any changes will be
732
- caught further down anyway
733
-
734
- 2012-01-09 22:33 donncha
735
-
736
- * wp-cache.php: I forgot that do_cacheaction() isn't defined before
737
- the plugin is configured! See
738
- http://wordpress.org/support/topic/plugin-wp-super-cache-my-page-2-is-randomly-redirecting-to-other-posts?replies=19#post-2549174
739
-
740
- 2012-01-05 17:04 donncha
741
-
742
- * plugins/multisite.php, wp-cache.php: Disable the settings page
743
- when caching disabled on Site admin page.
744
-
745
- 2012-01-05 15:52 donncha
746
-
747
- * plugins/multisite.php: Added multisite Network Admin Sites
748
- "Cached" column
749
-
750
- 2012-01-05 12:51 donncha
751
-
752
- * wp-cache-phase2.php: Cache the output of is_* functions used by
753
- the plugin because $wp_query may be destroyed by the PHP
754
- destructor. See
755
- http://ocaoimh.ie/2012/01/04/wp-super-cache-bug-fixing-and-php-object-destruction/
756
-
757
- 2012-01-04 16:22 donncha
758
-
759
- * wp-cache.php: Removed unneeded debug log
760
-
761
- 2012-01-04 16:04 donncha
762
-
763
- * wp-cache.php: Put preload taxonomy code within posts limit checks
764
- so it doesn't do extra preloads!
765
-
766
- 2012-01-04 16:02 donncha
767
-
768
- * wp-cache.php: Check if number of posts is less than post limit so
769
- preload finishes without trying to do an extra 100 posts
770
-
771
- 2012-01-04 16:01 donncha
772
-
773
- * wp-cache.php: Update preload counter before taxonomy preload so
774
- the admin page shows the preload action
775
-
776
- 2012-01-04 16:00 donncha
777
-
778
- * wp-cache-phase2.php, wp-cache.php: Added lots more debugging -
779
- prune_super_cache and preload functions
780
-
781
- 2012-01-04 11:56 donncha
782
-
783
- * plugins/wptouch.php: Make sure ua list is an array as it's stored
784
- as a string
785
-
786
- 2012-01-04 10:26 donncha
787
-
788
- * wp-cache-phase2.php: Fixed minor typo in debug log message
789
-
790
- 2012-01-04 10:20 donncha
791
-
792
- * wp-cache-phase2.php: Only write meta cache file if not using only
793
- supercache files.
794
-
795
- 2012-01-04 10:16 donncha
796
-
797
- * wp-cache-phase2.php: Check if $wp_query is defined before
798
- checking for is_feed, is_search etc.
799
-
800
- 2012-01-04 09:57 donncha
801
-
802
- * wp-cache-phase2.php: Correctly check if GET is empty for anon
803
- caching
804
-
805
- 2012-01-04 09:08 donncha
806
-
807
- * plugins/searchengine.php: Update plugin admin page to match other
808
- plugins
809
-
810
- 2012-01-04 00:03 donncha
811
-
812
- * wp-cache-phase2.php: Make sure we don't write anon files for GET
813
- requests, see
814
- http://wordpress.org/support/topic/plugin-wp-super-cache-my-page-2-is-randomly-redirecting-to-other-posts?replies=5
815
-
816
- 2012-01-03 23:58 donncha
817
-
818
- * wp-cache-phase2.php: Write meta file if user is not using
819
- supercacheonly or is not logged in, not AND.
820
-
821
- 2012-01-03 18:14 donncha
822
-
823
- * wp-cache-phase2.php: Make sure a post is published before
824
- removing cache files. Props _ck_, see
825
- http://wordpress.org/support/topic/plugin-wp-super-cache-found-possible-bug-with-starting-new-post
826
-
827
- 2012-01-03 18:08 donncha
828
-
829
- * plugins/wptouch.php, wp-cache-phase1.php, wp-cache.php: Added
830
- WPTouch plugin to modify browser list and prefix list and added
831
- support for exclude list in that plugin.
832
-
833
- 2012-01-03 13:12 donncha
834
-
835
- * wp-cache.php: Use display text for scheduled interval.
836
-
837
- 2012-01-03 11:02 donncha
838
-
839
- * ossdl-cdn.php: Make sure $arr_of_excludes is an array always to
840
- avoid stristr warning
841
-
842
- 2011-12-22 13:16 donncha
843
-
844
- * wp-cache.php: Don't check the blog_id if the site isn't a
845
- multisite network.
846
-
847
- 2011-12-22 12:39 donncha
848
-
849
- * wp-cache.php: Only show the "Delete Cache" link in the admin bar
850
- when caching off for known users
851
-
852
- 2011-12-15 08:57 donncha
853
-
854
- * wp-cache.php: Make sure pages returned by cache tester are not
855
- error objects!
856
-
857
- 2011-12-11 09:05 donncha
858
-
859
- * wp-cache.php: Delete index files rather than directory when
860
- deleting post supercache files.
861
-
862
- 2011-12-11 09:04 donncha
863
-
864
- * wp-cache-phase2.php: Added another debug message
865
-
866
- 2011-12-10 22:31 donncha
867
-
868
- * wp-cache-phase2.php: Add the cache age limit to the debug message
869
- when a cache file is deleted during GC
870
-
871
- 2011-12-10 22:30 donncha
872
-
873
- * wp-cache-phase2.php: Filter the tags that are checked at the end
874
- of a web document with a 'wp_cache_eof_tags' filter. See
875
- http://wordpress.org/support/topic/plugin-wp-super-cache-feature-request-test-for-opening-xml-tag-in-wp_cache_get_ob?replies=4
876
-
877
- 2011-12-10 10:50 donncha
878
-
879
- * wp-cache.php: Fix schedule frequency form,
880
- http://wordpress.org/support/topic/plugin-wp-super-cache-garbage-collection-scheduler-interval-not-saved-always-hourly?replies=2
881
-
882
- 2011-12-10 10:02 donncha
883
-
884
- * wp-cache.php: Clear out wp-cache legacy files from root cache dir
885
- as well as blogs directories
886
-
887
- 2011-12-10 10:01 donncha
888
-
889
- * readme.txt: Attempt to fix formatting of FAQ
890
-
891
- 2011-12-06 17:04 donncha
892
-
893
- * wp-cache-phase1.php, wp-cache-phase2.php: Check if the rejected
894
- uri or ua is an array.
895
-
896
- 2011-12-06 15:13 donncha
897
-
898
- * wp-super-cache.pot: Updated the translation file
899
-
900
- 2011-12-06 12:44 donncha
901
-
902
- * wp-cache.php: Explain that cancelling a preload may take some
903
- time.
904
-
905
- 2011-12-06 12:22 donncha
906
-
907
- * wp-cache.php: Move preload notifications around and added
908
- notification for taxonomy preload
909
-
910
- 2011-12-05 20:42 donncha
911
-
912
- * readme.txt: Bump the WP version number.
913
-
914
- 2011-12-05 18:01 donncha
915
-
916
- * readme.txt, wp-cache.php: Bump version to 1.0
917
-
918
- 2011-12-05 17:58 donncha
919
-
920
- * Changelog.txt: Updated changelog
921
-
922
- 2011-12-05 17:56 donncha
923
-
924
- * wp-super-cache.pot: Updated the translation file
925
-
926
- 2011-12-05 17:50 donncha
927
-
928
- * wp-cache.php: Added warning about preload mode to expiry settings
929
- form
930
-
931
- 2011-12-05 16:58 donncha
932
-
933
- * wp-cache.php: Small changes to scheduling form.
934
-
935
- 2011-12-05 11:18 donncha
936
-
937
- * readme.txt, wp-cache.php: Added FAQ for mobile plugins and
938
- changed text in settings page slightly
939
-
940
- 2011-12-05 10:28 donncha
941
-
942
- * readme.txt, wp-cache.php: Removed AddDefaultCharset and added
943
- note to readme.txt, see
944
- http://wordpress.org/support/topic/plugin-wp-super-cache-please-please-please-leave-adddefaultcharset-out-of-htaccess?replies=3
945
-
946
- 2011-12-01 15:48 donncha
947
-
948
- * wp-super-cache.pot: Updated translation file
949
-
950
- 2011-11-30 17:57 donncha
951
-
952
- * wp-cache-phase1.php, wp-cache.php: Fix for blogs that use a
953
- folder install and don't have a trailing slash. See
954
- http://wordpress.org/support/topic/plugin-wp-super-cache-one-of-the-root-causes-of-the-timestamps-difference
955
-
956
- 2011-11-30 11:42 donncha
957
-
958
- * wp-cache-phase2.php, wp-cache.php: Set these scheduling variables
959
-
960
- 2011-11-29 12:09 donncha
961
-
962
- * wp-cache-phase2.php: Cast the number of deleted files and
963
- directories as an int, because false !== 0
964
-
965
- 2011-11-29 10:49 donncha
966
-
967
- * wp-cache.php: Minor text change, props talgalili
968
-
969
- 2011-11-29 09:41 donncha
970
-
971
- * wp-cache.php: Minor text changes, fixes to labels
972
-
973
- 2011-11-29 09:34 donncha
974
-
975
- * wp-cache-phase2.php: Record how many files were deleted by cron
976
- job
977
-
978
- 2011-11-28 22:39 donncha
979
-
980
- * wp-cache-phase2.php, wp-cache.php: Revamped scheduling of garbage
981
- collection system. WIP.
982
-
983
- 2011-11-24 17:57 donncha
984
-
985
- * wp-cache.php: Added an admin bar link to delete the cache for the
986
- current page, but only if no caching for known users.
987
-
988
- 2011-11-23 17:13 donncha
989
-
990
- * readme.txt: Added more troubleshooting tips
991
-
992
- 2011-11-21 11:30 donncha
993
-
994
- * wp-super-cache.pot: Updated translation file
995
-
996
- 2011-11-21 10:37 donncha
997
-
998
- * wp-cache.php: Ooops, don't forget Stephen here too!
999
-
1000
- 2011-11-21 10:27 donncha
1001
-
1002
- * wp-cache.php: Digg is old hat, it's Stephen Fry now.
1003
-
1004
- 2011-10-26 17:29 donncha
1005
-
1006
- * readme.txt: Updated translation credits
1007
-
1008
- 2011-10-26 17:25 donncha
1009
-
1010
- * languages/wp-super-cache-ru_RU.mo,
1011
- languages/wp-super-cache-ru_RU.po: Updated Russian translation by
1012
- Elvis
1013
-
1014
- 2011-10-26 17:23 donncha
1015
-
1016
- * wp-super-cache.pot: Updated translation file
1017
-
1018
- 2011-10-26 17:21 donncha
1019
-
1020
- * languages/wp-super-cache-zh_TW.mo,
1021
- languages/wp-super-cache-zh_TW.po: Updated translation, props
1022
- Priv
1023
-
1024
- 2011-10-26 17:16 donncha
1025
-
1026
- * languages/wp-super-cache-ro_RO.mo,
1027
- languages/wp-super-cache-ro_RO.po: Added Romanian translation,
1028
- props Michail Bogdanov, http://www.webhostinghub.com/
1029
-
1030
- 2011-10-26 17:10 donncha
1031
-
1032
- * languages/wp-super-cache-be_BY.mo,
1033
- languages/wp-super-cache-be_BY.po: Added Belarusian translation,
1034
- props Alexander Alexandrov, http://www.designcontest.com/
1035
-
1036
- 2011-10-26 17:02 donncha
1037
-
1038
- * languages/wp-super-cache-lt_LT.mo,
1039
- languages/wp-super-cache-lt_LT.po: Added Lithuanian translation,
1040
- props Nata Strazda, www.webhostingrating.com
1041
-
1042
- 2011-10-26 16:41 donncha
1043
-
1044
- * wp-cache-phase2.php: Revert [66003] so supercache files are
1045
- cleared always. http://plugins.trac.wordpress.org/changeset/66003
1046
-
1047
- 2011-10-26 16:24 donncha
1048
-
1049
- * wp-cache-phase2.php: Remove $permalink, as $dir already has the
1050
- permalink, props Alex Bitsche
1051
-
1052
- 2011-10-24 17:10 donncha
1053
-
1054
- * wp-cache-phase2.php: Delete the cached file in the right
1055
- directory. Props Alex Bitsche.
1056
-
1057
- 2011-10-20 15:08 donncha
1058
-
1059
- * wp-cache.php: Colour code the cache tester results
1060
-
1061
- 2011-10-19 12:01 donncha
1062
-
1063
- * wp-cache.php: Preload all post types except for revisions and nav
1064
- menu items
1065
-
1066
- 2011-10-19 11:15 donncha
1067
-
1068
- * wp-cache.php: * Populate preload counter if not set.
1069
- * Preload 50 taxonomy pages at a time rather than 10
1070
- * Push current taxonomy page into permalink text file
1071
-
1072
- 2011-10-18 17:05 donncha
1073
-
1074
- * wp-cache.php: Preload can now preload taxonomies, use
1075
- 'wp_cache_preload_taxonomies' filter to change taxonomies.
1076
-
1077
- 2011-10-18 15:31 donncha
1078
-
1079
- * readme.txt: Minor typo fix and added a new FAQ: "What does the
1080
- Cache Rebuild feature do?"
1081
-
1082
- 2011-10-11 16:48 donncha
1083
-
1084
- * wp-cache.php: Make the file listing wider
1085
-
1086
- 2011-10-11 16:47 donncha
1087
-
1088
- * wp-cache.php: Correct the "Hide list" link
1089
-
1090
- 2011-10-11 16:43 donncha
1091
-
1092
- * wp-cache.php: Regenerate the list of files correctly.
1093
-
1094
- 2011-10-11 16:13 donncha
1095
-
1096
- * wp-cache-phase2.php: Hide preg_match warnings like
1097
- http://wordpress.org/support/topic/plugin-wp-super-cache-errors-shown-at-top-of-cached-pages?replies=6
1098
-
1099
- 2011-10-11 16:00 donncha
1100
-
1101
- * wp-cache-phase2.php: Make "Page not cached message a bit clearer"
1102
-
1103
- 2011-09-09 08:26 donncha
1104
-
1105
- * wp-cache.php: Fix empty date param, props hew, fixes
1106
- http://plugins.trac.wordpress.org/ticket/1378
1107
-
1108
- 2011-08-29 14:35 donncha
1109
-
1110
- * wp-cache.php: Added docs suggesting what to do when cache tester
1111
- doesn't work.
1112
-
1113
- 2011-07-27 17:30 donncha
1114
-
1115
- * languages/wp-super-cache-ua_UA.mo,
1116
- languages/wp-super-cache-ua_UA.po, readme.txt: Added Ukranian
1117
- translation, props Alyona Lompar.
1118
-
1119
- 2011-07-25 11:13 donncha
1120
-
1121
- * wp-cache-phase1.php: Allow previews by logged in users, even when
1122
- they're made anon on the blog.
1123
-
1124
- 2011-07-22 15:42 donncha
1125
-
1126
- * wp-cache-phase1.php, wp-cache.php: Make it "known users" rather
1127
- than logged in users, and interrogate $_COOKIE directly
1128
-
1129
- 2011-07-22 15:10 donncha
1130
-
1131
- * wp-cache-phase1.php, wp-cache.php: Added option to make logged in
1132
- users anonymous so they're served static cached files. Props
1133
- DrEmixam,
1134
- http://wordpress.org/support/topic/plugin-wp-super-cache-not-caching-pages-for-logged-in-users-1
1135
-
1136
- 2011-07-20 11:29 donncha
1137
-
1138
- * readme.txt: Bump tested and requried versions.
1139
-
1140
- 2011-07-20 11:25 donncha
1141
-
1142
- * wp-cache-base.php, wp-cache-config-sample.php: Update multisite
1143
- detection to 3.0 standards. Fixes caching of XML sitemaps
1144
-
1145
- 2011-07-15 09:49 donncha
1146
-
1147
- * ossdl-cdn.php: Generate hash keys so files are served from the
1148
- same CDN on multisite networks.
1149
-
1150
- 2011-07-13 12:55 donncha
1151
-
1152
- * wp-cache-phase2.php, wp-cache.php: * On multisite networks add a
1153
- new button "Delete cache on all blogs" for superadmins.
1154
- * Deleting cache now only deletes cache for that blog
1155
-
1156
- 2011-07-12 06:13 donncha
1157
-
1158
- * wp-cache.php: Put ' around the cache secret key, props Simon
1159
- Prosser.
1160
-
1161
- 2011-07-11 16:51 donncha
1162
-
1163
- * wp-cache-phase1.php, wp-cache.php: Added "donotcachepage" GET
1164
- parameter to disable cache on page.
1165
-
1166
- 2011-07-11 15:49 donncha
1167
-
1168
- * wp-cache-phase2.php, wp-cache.php: Added support for is_author()
1169
- exclusion
1170
-
1171
- 2011-07-11 15:41 donncha
1172
-
1173
- * wp-cache-phase2.php: Only rebuild the current url, or the
1174
- homepage will never be updated
1175
-
1176
- 2011-07-11 14:52 donncha
1177
-
1178
- * wp-cache-phase1.php, wp-cache-phase2.php: * Added
1179
- get_supercache_dir() and modified get_all_supercache_filenames()
1180
- to take a directory name.
1181
- * get_all_supercache_filenames() now scans the given directory
1182
- for index files.
1183
- * Scan root dir for rebuild files now
1184
-
1185
- 2011-07-01 08:32 donncha
1186
-
1187
- * readme.txt: Added link to codex page on permissions, props
1188
- Ipstenu
1189
-
1190
- 2011-06-30 13:07 donncha
1191
-
1192
- * readme.txt: Added new faq, "How many pages can I cache?"
1193
-
1194
- 2011-06-27 09:29 donncha
1195
-
1196
- * wp-cache-phase2.php: Fix for when strlen() doesn't work on binary
1197
- data. See
1198
- http://wordpress.org/support/topic/plugin-wp-super-cache-patch-strlen-vs-utf8-mbstringfunc_overload-2
1199
-
1200
- 2011-06-17 08:45 donncha
1201
-
1202
- * wp-cache-phase1.php: Fix cache action array check, see
1203
- http://wordpress.org/support/topic/plugin-wp-super-cache-bug-report?replies=3#post-2171915
1204
-
1205
- 2011-06-03 15:32 donncha
1206
-
1207
- * wp-cache-phase1.php: Added "cache_init" action that fires on
1208
- every page, uncached or PHP cached.
1209
-
1210
- 2011-05-24 15:52 donncha
1211
-
1212
- * wp-cache.php: Remove duplicate / from rewrite rules and display
1213
- diff of rules when they're different.
1214
-
1215
- 2011-05-24 10:48 donncha
1216
-
1217
- * wp-cache.php: Don't stop the settings page when wp-cron.php is
1218
- missing.
1219
-
1220
- 2011-05-06 17:00 donncha
1221
-
1222
- * wp-cache-phase1.php, wp-cache-phase2.php: Allow mobile check to
1223
- modify supercache index.html filename rather than cache key
1224
-
1225
- 2011-05-06 15:00 donncha
1226
-
1227
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Add a
1228
- string to the index.html instead of using a new directory
1229
-
1230
- 2011-04-28 09:51 donncha
1231
-
1232
- * wp-cache.php: Added lowercase root directory in supercache dir in
1233
- .htaccess rules. Fixes
1234
- http://wordpress.org/support/topic/plugin-wp-super-cache-mod_rewrite-caching-fails-if-wp-is-in-sub-directory-with-upper-case-letters?replies=4
1235
- I hope
1236
-
1237
- 2011-04-27 15:08 donncha
1238
-
1239
- * wp-cache.php: heck perms of ABSPATH in case webserver has write
1240
- access anyway.
1241
-
1242
- 2011-04-25 09:49 donncha
1243
-
1244
- * wp-cache.php: Handle problems with the cache tester before trying
1245
- to save the failed page.
1246
-
1247
- 2011-04-23 19:01 donncha
1248
-
1249
- * ossdl-cdn.php: If cdn url is blank then don't try to rewrite
1250
- urls. Possible fix for
1251
- http://wordpress.org/support/topic/plugin-wp-super-cache-ossdl-cdn-off-linker-not-working-from-super-cache?replies=5
1252
-
1253
- 2011-03-30 18:03 donncha
1254
-
1255
- * wp-cache.php: Convert directory permsissions to octal and make
1256
- sure group and world aren't writable if directory is writable.
1257
- Fixes http://plugins.trac.wordpress.org/ticket/1291
1258
-
1259
- 2011-03-30 14:11 donncha
1260
-
1261
- * wp-cache-phase1.php, wp-cache-phase2.php: Use supercache base
1262
- dirs in wp_cache_post_id_gc() too
1263
-
1264
- 2011-03-21 16:10 donncha
1265
-
1266
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Support
1267
- more than 1 supercache directory, props Simon Wheatley
1268
- http://wordpress.org/support/topic/patch-allowing-multiple-static-cache-dirs-for-wp-super-cache
1269
-
1270
- 2011-03-21 14:10 donncha
1271
-
1272
- * wp-cache-phase1.php, wp-cache.php: Added support for http and
1273
- https caching, props 0blivian, see
1274
- http://wordpress.org/support/topic/wp-super-cache-protocol-aware-caching-patch?replies=3
1275
-
1276
- 2011-03-15 11:07 donncha
1277
-
1278
- * readme.txt, wp-cache-phase1.php, wp-cache.php: Change expiry of
1279
- html files from 300 seconds to 3 seconds
1280
-
1281
- 2011-03-15 11:02 donncha
1282
-
1283
- * wp-cache-phase1.php: Don't issue 304 headers for known users to
1284
- avoid problems when people logout. See
1285
- http://wordpress.org/support/topic/plugin-wp-super-cache-logged-in-but-actually-not/page/2?replies=33#post-1998397
1286
-
1287
- 2011-03-01 19:47 donncha
1288
-
1289
- * wp-cache-phase1.php: Make uri lowercase, not filesystem path
1290
- because the FS is case sensitive
1291
-
1292
- 2011-03-01 19:02 donncha
1293
-
1294
- * wp-cache-phase2.php: Remember to create the cache directory, in
1295
- legacy mode or supercache mode!
1296
-
1297
- 2011-02-28 22:18 donncha
1298
-
1299
- * readme.txt, wp-cache.php: Bump version to 0.9.9.9
1300
-
1301
- 2011-02-28 22:10 donncha
1302
-
1303
- * readme.txt: Minor typo
1304
-
1305
- 2011-02-28 22:09 donncha
1306
-
1307
- * wp-super-cache.pot: updated translation file
1308
-
1309
- 2011-02-27 12:15 donncha
1310
-
1311
- * wp-cache.php: Fixed typo in permissions message.
1312
-
1313
- 2011-02-24 16:48 donncha
1314
-
1315
- * languages/wp-super-cache-de_DE.mo,
1316
- languages/wp-super-cache-de_DE.po: Updated German translation,
1317
- props Mathias Roth (http://trade-service.eu)
1318
-
1319
- 2011-02-24 10:23 donncha
1320
-
1321
- * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
1322
- Updated Japanese translation, props Tai, http://tekapo.com
1323
-
1324
- 2011-02-23 18:47 donncha
1325
-
1326
- * Changelog.txt: Updated changelog
1327
-
1328
- 2011-02-23 18:38 donncha
1329
-
1330
- * readme.txt: Added changelog, and translation credits
1331
-
1332
- 2011-02-23 18:36 donncha
1333
-
1334
- * languages/wp-super-cache-sv_SE.mo,
1335
- languages/wp-super-cache-sv_SE.po: Added Swedish translation,
1336
- props Fredrik Forséll
1337
-
1338
- 2011-02-23 18:32 donncha
1339
-
1340
- * languages/wp-super-cache-ru_RU.mo,
1341
- languages/wp-super-cache-ru_RU.po: Added Russian translation,
1342
- props Elvis Fweb (http://fweb.org.ru/blog/super-cache-rus)
1343
-
1344
- 2011-02-23 18:17 donncha
1345
-
1346
- * languages/wp-super-cache-tr_TR.mo,
1347
- languages/wp-super-cache-tr_TR.po: Added Turkish translation,
1348
- props Barış Ünver
1349
-
1350
- 2011-02-23 18:00 donncha
1351
-
1352
- * wp-super-cache.pot: Updated translation file
1353
-
1354
- 2011-02-23 17:56 donncha
1355
-
1356
- * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
1357
- Updated Japanese translation, props Tai. http://tekapo.com
1358
-
1359
- 2011-02-19 09:51 donncha
1360
-
1361
- * readme.txt: Added FAQ about load spikes
1362
-
1363
- 2011-01-26 11:42 donncha
1364
-
1365
- * wp-cache-phase2.php: Remove the 5 second old check on existing
1366
- cache files as it may cause problems on pages with frequent
1367
- comments
1368
-
1369
- 2011-01-25 21:23 donncha
1370
-
1371
- * ossdl-cdn.php: Add osscdl option to skip https loaded static
1372
- content, see
1373
- http://wordpress.org/support/topic/plugin-wp-super-cache-toggle-for-conditional-cdn-for-sites-with-some-ssl-https-content?replies=3
1374
-
1375
- 2011-01-25 20:40 donncha
1376
-
1377
- * wp-cache-phase2.php: If caching disabled leave a html comment at
1378
- the end of the page. Remove a caching check that's no longer
1379
- needed
1380
-
1381
- 2011-01-25 20:27 donncha
1382
-
1383
- * wp-cache-phase1.php: Make the supercachedir lowercase to avoid
1384
- problems with unicode characters. See
1385
- http://wordpress.org/support/topic/plugin-wp-super-cache-not-deleting-cache-on-comment-post
1386
- and
1387
- http://wordpress.org/support/topic/plugin-wp-super-cache-still-not-corrected-bug-about-unicode-range-letters-in-permalink
1388
-
1389
- 2011-01-18 16:08 donncha
1390
-
1391
- * readme.txt, wp-cache.php: Added link to
1392
- http://codex.wordpress.org/Changing_File_Permissions where
1393
- permissions need to be changed, see
1394
- http://wordpress.org/support/topic/wp-super-cache-getting-warning-message,
1395
- props Samuel B
1396
-
1397
- 2011-01-18 15:59 donncha
1398
-
1399
- * wp-cache-phase1.php: Cache get_current_url_supercache_dir() as
1400
- it's called several times during a request.
1401
-
1402
- 2011-01-17 16:29 donncha
1403
-
1404
- * wp-cache.php: Show mod_rewrite rules even when WordPress rules
1405
- are not detected.
1406
- http://wordpress.org/support/topic/plugin-wp-super-cache-module-is-painful-to-use-if-you-dont-use-htaccess?replies=4#post-1890602
1407
-
1408
- 2011-01-17 13:35 donncha
1409
-
1410
- * wp-cache.php: Show the right url to older MU sites, props Raphaël
1411
- Hertzog,
1412
- http://twitter.com/#!/raphaelhertzog/statuses/26993300657414145
1413
-
1414
- 2011-01-11 11:33 donncha
1415
-
1416
- * wp-cache-phase2.php: If we're serving a feed we always want to
1417
- cache that.
1418
-
1419
- 2011-01-10 12:13 donncha
1420
-
1421
- * languages/wp-super-cache-de_DE.mo,
1422
- languages/wp-super-cache-de_DE.po: Updated German translation by
1423
- Mathias Roth
1424
-
1425
- 2011-01-10 12:09 donncha
1426
-
1427
- * ossdl-cdn.php: If an image appears more than once on a page serve
1428
- it from the same CDN hostname. See
1429
- http://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent?replies=3
1430
-
1431
- 2011-01-07 17:04 donncha
1432
-
1433
- * wp-cache.php: Make sure to use is_front_page(), the function.
1434
- Props Backie.
1435
- http://wordpress.org/support/topic/plugin-wp-super-cache-wp_cache_is_home-always-true?replies=2#post-1873743
1436
-
1437
- 2011-01-07 12:24 donncha
1438
-
1439
- * uninstall.php: No need for this uninstall script any more!
1440
-
1441
- 2011-01-07 12:20 donncha
1442
-
1443
- * readme.txt: Bump the tested version
1444
-
1445
- 2011-01-07 12:07 donncha
1446
-
1447
- * readme.txt: Minor typo
1448
-
1449
- 2011-01-07 12:02 donncha
1450
-
1451
- * Changelog.txt: Updated changelog
1452
-
1453
- 2011-01-06 17:37 donncha
1454
-
1455
- * wp-cache.php: Print the text, not __() it, and check if rewrite
1456
- rules in .htaccess are present before emailing user about it.
1457
-
1458
- 2011-01-06 13:21 donncha
1459
-
1460
- * Changelog.txt: Updated changelog
1461
-
1462
- 2011-01-06 13:13 donncha
1463
-
1464
- * readme.txt: Updated docs
1465
-
1466
- 2011-01-06 12:12 donncha
1467
-
1468
- * readme.txt: Minor changes to docs
1469
-
1470
- 2011-01-06 10:03 donncha
1471
-
1472
- * readme.txt, wp-cache.php: Tagged version 0.9.9.8
1473
-
1474
- 2011-01-05 15:02 donncha
1475
-
1476
- * Changelog.txt, readme.txt: Updated changelogs
1477
-
1478
- 2011-01-05 14:54 donncha
1479
-
1480
- * wp-super-cache.pot: Updated pot file
1481
-
1482
- 2011-01-05 14:51 donncha
1483
-
1484
- * ossdl-cdn.php, wp-cache.php: Fixed link to CDN Sync support
1485
- forum.
1486
-
1487
- 2011-01-05 13:37 donncha
1488
-
1489
- * wp-super-cache.pot: Updated pot file.
1490
-
1491
- 2011-01-05 13:32 donncha
1492
-
1493
- * ossdl-cdn.php, wp-cache.php: Link to the CDN Sync tool from the
1494
- Easy settings page too
1495
-
1496
- 2011-01-05 13:15 donncha
1497
-
1498
- * ossdl-cdn.php: Link to CDN Sync Tool on CDN page.
1499
-
1500
- 2011-01-05 11:50 donncha
1501
-
1502
- * Changelog.txt: Updated changelog
1503
-
1504
- 2011-01-05 11:46 donncha
1505
-
1506
- * wp-cache-phase1.php, wp-cache.php: Remove log by email
1507
- functionality. It cases problems for users when they get too much
1508
- email
1509
-
1510
- 2011-01-05 11:45 donncha
1511
-
1512
- * wp-cache-phase2.php: Warn user by debug log if cache expiry is
1513
- zero and therefore no garbage collection
1514
-
1515
- 2011-01-04 15:22 donncha
1516
-
1517
- * languages/wp-super-cache-zh_TW.mo,
1518
- languages/wp-super-cache-zh_TW.po: Updated Traditional Chinese
1519
- translation
1520
-
1521
- 2011-01-04 12:49 donncha
1522
-
1523
- * wp-cache.php: Added an extra space to make selecting chmod
1524
- command easier.
1525
-
1526
- 2011-01-04 12:48 donncha
1527
-
1528
- * wp-cache.php: Flush the rewrite rules after uninstalling. Props
1529
- @nacin, http://ocaoimh.ie/uninstall-supercache/
1530
-
1531
- 2011-01-04 12:42 donncha
1532
-
1533
- * wp-cache.php: Make uninstall warnings clearer and easier to read,
1534
- hopefully
1535
-
1536
- 2010-12-22 16:22 donncha
1537
-
1538
- * wp-cache.php: Cast $lines as array to avoid warnings arising from
1539
- empty config files.
1540
-
1541
- 2010-12-22 12:00 donncha
1542
-
1543
- * wp-cache.php: Remove .htaccess rules if they match the ones in
1544
- the plugin, else email the blog admin that there's a problem.
1545
-
1546
- 2010-12-21 14:26 donncha
1547
-
1548
- * readme.txt: Updated docs to reflect changes to caching modes and
1549
- uninstall instructions
1550
-
1551
- 2010-12-21 12:52 donncha
1552
-
1553
- * wp-cache.php: Let's tidy up and add some space
1554
-
1555
- 2010-12-21 12:44 donncha
1556
-
1557
- * wp-cache.php: * Added code to remove plugin files when plugin
1558
- deactivated.
1559
- * Show cache contents even when caching is disabled.
1560
- * Minor fixes
1561
-
1562
- 2010-12-21 12:17 donncha
1563
-
1564
- * wp-cache.php: Fixed easy page "Update Status" button, it was
1565
- triggering the cache tester
1566
-
1567
- 2010-12-20 15:26 donncha
1568
-
1569
- * wp-cache.php: Put cache tester and delete buttons on the "Easy"
1570
- setup page.
1571
-
1572
- 2010-12-20 14:43 donncha
1573
-
1574
- * wp-cache-phase1.php: Allow functions in classes to be used in
1575
- cacheactions. Props exz,
1576
- http://wordpress.org/support/topic/plugin-wp-super-cache-use-function-in-a-class-with-add_cacheaction?replies=1
1577
-
1578
- 2010-12-17 18:32 donncha
1579
-
1580
- * wp-cache.php: Show Settings->Super Cache page to super admins to
1581
- preserve old links
1582
-
1583
- 2010-12-17 16:47 donncha
1584
-
1585
- * wp-cache-phase2.php, wp-cache.php: Added option to enable front
1586
- page cache checks and enable by default.
1587
-
1588
- 2010-12-17 16:04 donncha
1589
-
1590
- * wp-cache-phase1.php: Print compression comment on cached dynamic
1591
- pages
1592
-
1593
- 2010-12-17 14:13 donncha
1594
-
1595
- * wp-cache-phase2.php: Gzip the dynamic cached page before we serve
1596
- the first user to visit a page.
1597
-
1598
- 2010-12-17 14:10 donncha
1599
-
1600
- * wp-cache-phase1.php: Use the plugin $cache_compression settings
1601
- to determine if gzipped dynamic cached files should be served or
1602
- not.
1603
-
1604
- 2010-12-17 13:04 donncha
1605
-
1606
- * wp-cache-phase1.php: Sometimes "zlib.output_compression" is set
1607
- to "off" rather than 0, check for "on" to make sure we don't
1608
- disable compression accidentally.
1609
-
1610
- 2010-12-15 12:42 donncha
1611
-
1612
- * wp-cache-phase1.php: CHeck if PHP is using zlib compression
1613
- already before compressing dynamic pages
1614
-
1615
- 2010-12-15 12:37 donncha
1616
-
1617
- * wp-cache-phase1.php: Use "ob_gzhandler" to compress dynamic pages
1618
- on the fly if supported, see
1619
- http://wordpress.org/support/topic/plugin-wp-super-cache-suggestion-mod_rewrite-mode-with-legacy-fallback?replies=8#post-1837856
1620
-
1621
- 2010-12-15 12:27 donncha
1622
-
1623
- * wp-cache.php: Updated patch to support 1and1 webhosting, see
1624
- http://wordpress.org/support/topic/plugin-wp-super-cache-how-to-get-mod_rewrite-working-on-1and1-shared-hosting?replies=6#post-1837843
1625
-
1626
- 2010-12-15 07:20 donncha
1627
-
1628
- * wp-cache-phase2.php: oops, left some debug code in!
1629
-
1630
- 2010-12-14 14:56 donncha
1631
-
1632
- * wp-cache.php: Regenerate the cache stats when the cache is
1633
- deleted
1634
-
1635
- 2010-12-14 14:34 donncha
1636
-
1637
- * wp-cache.php: Minor typo fixed.
1638
-
1639
- 2010-12-14 13:38 donncha
1640
-
1641
- * wp-cache-phase1.php, wp-cache-phase2.php: First pass at using
1642
- supercache files to store "dynamic pages". See
1643
- http://wordpress.org/support/topic/plugin-wp-super-cache-suggestion-mod_rewrite-mode-with-legacy-fallback?replies=5
1644
-
1645
- 2010-12-14 10:48 donncha
1646
-
1647
- * wp-cache.php: Hopefully fix problems with 1and1 hosting as they
1648
- use /kunden/ in their path, see
1649
- http://wordpress.org/support/topic/plugin-wp-super-cache-how-to-get-mod_rewrite-working-on-1and1-shared-hosting,
1650
- props reviewmylife
1651
-
1652
- 2010-12-13 18:52 donncha
1653
-
1654
- * wp-cache.php: For the purposes of our checks, home is / or
1655
- wherever the blog lives, not in the paged content.
1656
-
1657
- 2010-12-13 18:38 donncha
1658
-
1659
- * wp-cache.php: Call the correct function on template_redirect to
1660
- set the is_home cache.
1661
-
1662
- 2010-12-13 17:30 donncha
1663
-
1664
- * languages/wp-super-cache-de_DE.mo,
1665
- languages/wp-super-cache-de_DE.po: Updated German translation,
1666
- props Mathias,
1667
- http://wordpress.org/support/topic/plugin-wp-super-cache-can-i-help-to-improve-language-file?replies=11#post-1829165
1668
-
1669
- 2010-12-13 15:54 donncha
1670
-
1671
- * wp-cache-phase2.php, wp-cache.php: Cache is_home and
1672
- is_front_page in $wp_cache_is_home because they may not work on
1673
- PHP shutdown. See
1674
- http://wordpress.org/support/topic/plugin-wp-super-cache-not-writing-another-page-to-front-page-cache?replies=8
1675
-
1676
- 2010-12-09 13:34 donncha
1677
-
1678
- * wp-super-cache.pot: Updated pot file for translation
1679
-
1680
- 2010-12-09 13:31 donncha
1681
-
1682
- * languages/wp-super-cache-de_DE.mo,
1683
- languages/wp-super-cache-de_DE.po: Updated German translation,
1684
- props Mathias (http://trade-service.biz/)
1685
-
1686
- 2010-12-09 12:28 donncha
1687
-
1688
- * ossdl-cdn.php: Added multiple CNAME support to CDN functionality
1689
- (props David Ward) and add translation strings
1690
-
1691
- 2010-12-07 16:00 donncha
1692
-
1693
- * plugins/badbehaviour.php: Fixed admin form on Bad Behavior plugin
1694
-
1695
- 2010-11-30 12:08 donncha
1696
-
1697
- * ossdl-cdn.php, wp-cache-config-sample.php: Allow CDN support to
1698
- be switched off, see
1699
- http://wordpress.org/support/topic/plugin-wp-super-cache-wp_supercache-problem-with-sharedaddy-shareandfollow?replies=6
1700
-
1701
- 2010-11-29 15:55 donncha
1702
-
1703
- * wp-cache.php: Add Supercache menu item on network admin menu,
1704
- WordPress 3.1
1705
-
1706
- 2010-11-29 11:24 donncha
1707
-
1708
- * wp-cache.php: Silently fail when the config file is missing and
1709
- we try to update it. Only happens when the settings page is first
1710
- loaded.
1711
- http://wordpress.org/support/topic/plugin-wp-super-cache-warning-invalid-argument-supplied-for-foreach?replies=3
1712
-
1713
- 2010-11-26 12:25 donncha
1714
-
1715
- * wp-cache-phase2.php: There's no need to write meta files when
1716
- we're not caching for logged in users!
1717
-
1718
- 2010-11-26 11:31 donncha
1719
-
1720
- * advanced-cache.php, wp-cache.php: Define the constant
1721
- "ADVANCEDCACHEPROBLEM" if wp-cache-phase1.php can't be loaded and
1722
- report it on the dashboard. See
1723
- http://thehoneymonster.com/2010/10/wp-super-cache-oopsiedoodle/
1724
-
1725
- 2010-11-26 10:03 donncha
1726
-
1727
- * wp-cache.php: Fixed translation domain on string, props Priv,
1728
- http://wordpress.org/support/topic/plugin-wp-super-cache-can-i-help-to-improve-language-file?replies=6
1729
-
1730
- 2010-11-24 09:55 donncha
1731
-
1732
- * wp-cache.php: Preload pages as well as posts, see
1733
- http://wordpress.org/support/topic/plugin-wp-super-cache-pages-are-not-cached-in-preload-mode?replies=2
1734
-
1735
- 2010-11-23 20:37 donncha
1736
-
1737
- * languages/wp-super-cache-it_IT.mo,
1738
- languages/wp-super-cache-it_IT.po: Updated Italian translation,
1739
- props Gianni
1740
-
1741
- 2010-11-23 13:48 donncha
1742
-
1743
- * readme.txt, wp-cache.php: Bump version to 0.9.9.7
1744
-
1745
- 2010-11-23 13:45 donncha
1746
-
1747
- * Changelog.txt: Updated changelog
1748
-
1749
- 2010-11-23 13:38 donncha
1750
-
1751
- * wp-cache-phase1.php: Check if there are any actions before
1752
- processing a cacheaction(), see
1753
- http://wordpress.org/support/topic/plugin-wp-super-cache-wp-admin-problem?replies=2
1754
-
1755
- 2010-11-23 13:29 donncha
1756
-
1757
- * wp-cache.php: Change preload limits and increase steps for
1758
- smaller preloads -
1759
- http://wordpress.org/support/topic/plugin-wp-super-cache-how-do-i-cache-the-newest?replies=3
1760
-
1761
- 2010-11-23 13:03 donncha
1762
-
1763
- * readme.txt: Minor changes to documentation
1764
-
1765
- 2010-11-23 12:51 donncha
1766
-
1767
- * readme.txt: Updated docs for MU/MS
1768
-
1769
- 2010-11-23 12:43 donncha
1770
-
1771
- * readme.txt: Added a link to Priv's credit for translation
1772
-
1773
- 2010-11-23 12:41 donncha
1774
-
1775
- * languages/wp-super-cache-zh_TW.mo,
1776
- languages/wp-super-cache-zh_TW.po: Updated translation file by
1777
- Priv (http://priv.tw/blog)
1778
-
1779
- 2010-11-22 17:44 donncha
1780
-
1781
- * readme.txt: Credit priv with updated Traditional Chinese
1782
- translation.
1783
-
1784
- 2010-11-22 17:41 donncha
1785
-
1786
- * languages/wp-super-cache-zh_TW.mo,
1787
- languages/wp-super-cache-zh_TW.po: Updated translation file by
1788
- priv
1789
-
1790
- 2010-11-22 17:32 donncha
1791
-
1792
- * readme.txt: Add link to development version for translators
1793
-
1794
- 2010-11-22 17:31 donncha
1795
-
1796
- * wp-super-cache.pot: Updated pot file for translation
1797
-
1798
- 2010-11-22 17:20 donncha
1799
-
1800
- * wp-cache.php: Link to WPSCMin and GTMetrix
1801
-
1802
- 2010-11-22 17:03 donncha
1803
-
1804
- * ossdl-cdn.php: Updated CDN settings page docs
1805
-
1806
- 2010-11-22 16:28 donncha
1807
-
1808
- * wp-cache-phase2.php: Increase the gzip level so pages are
1809
- slightly smaller
1810
-
1811
- 2010-11-22 16:03 donncha
1812
-
1813
- * readme.txt: Added CDN docs
1814
-
1815
- 2010-11-20 15:31 donncha
1816
-
1817
- * wp-super-cache.pot: Updated translation file.
1818
-
1819
- 2010-11-16 18:14 donncha
1820
-
1821
- * wp-cache.php: Added a "rate this plugin" reminder to the sidebar
1822
- on the settings page.
1823
-
1824
- 2010-11-16 15:18 donncha
1825
-
1826
- * wp-cache-phase2.php, wp-cache.php: Don't make extra front page
1827
- checks optional
1828
-
1829
- 2010-11-15 09:41 donncha
1830
-
1831
- * readme.txt: Updated uninstall instructions
1832
-
1833
- 2010-11-15 08:53 donncha
1834
-
1835
- * wp-cache.php: Remove cdn line from recommended plugins, and
1836
- change pause between urls in preload from 2 seconds to 1 second
1837
-
1838
- 2010-11-15 08:51 donncha
1839
-
1840
- * uninstall.php: Replaced UNINSTALL.. constant with nonce in the
1841
- uninstall form to make things easier.
1842
-
1843
- 2010-11-15 08:28 donncha
1844
-
1845
- * plugins/awaitingmoderation.php, plugins/badbehaviour.php,
1846
- plugins/domain-mapping.php, plugins/searchengine.php: Updated the
1847
- settings page on SC plugins
1848
-
1849
- 2010-11-09 09:52 donncha
1850
-
1851
- * ossdl-cdn.php: Before rewriting URL to CDN, make sure it's in the
1852
- include directories
1853
-
1854
- 2010-11-08 20:56 donncha
1855
-
1856
- * ossdl-cdn.php, wp-cache.php: Initial import of OSSDL CDN
1857
- off-linker, a plugin by W-Mark Kubacki (http://mark.ossdl.de/)
1858
-
1859
- 2010-11-06 09:47 donncha
1860
-
1861
- * wp-cache-phase2.php: Added "wp_cache_ob_callback_filter" to
1862
- filter the output callback buffer every time
1863
-
1864
- 2010-11-06 09:43 donncha
1865
-
1866
- * wp-cache.php: Change copyright notice, as others have of course
1867
- contributed code!
1868
-
1869
- 2010-11-03 16:45 donncha
1870
-
1871
- * readme.txt: Added troubleshooting point explaining why permalinks
1872
- might break after uninstalling
1873
-
1874
- 2010-11-02 12:30 donncha
1875
-
1876
- * wp-cache.php: Don't show Supercache admin page to ordinary users
1877
- on MS sites. Props Mark Bailey.
1878
-
1879
- 2010-11-01 11:56 donncha
1880
-
1881
- * readme.txt, uninstall.php: uninstall.php now runs from where
1882
- Wordpress is installed instead of in the supercache plugin
1883
- directory
1884
-
1885
- 2010-10-22 09:32 donncha
1886
-
1887
- * wp-cache-phase2.php: Check if current page is front page or home
1888
- page if cache file to write is for the homepage
1889
-
1890
- 2010-10-21 13:45 donncha
1891
-
1892
- * wp-cache-phase2.php: First paranoid check - check if the front
1893
- page is being cached correctly
1894
-
1895
- 2010-10-21 13:42 donncha
1896
-
1897
- * wp-cache.php: Added "extra paranoid checks" option on the
1898
- settings page
1899
-
1900
- 2010-10-21 11:35 donncha
1901
-
1902
- * wp-cache.php: Only show advanced settings page if cache enabled.
1903
-
1904
- 2010-10-20 13:08 donncha
1905
-
1906
- * wp-cache-phase2.php: Don't try to write a cache file for another
1907
- page to the front page cache location
1908
-
1909
- 2010-10-20 12:54 donncha
1910
-
1911
- * wp-cache.php: Added "late init" option to settings page
1912
-
1913
- 2010-10-20 12:29 donncha
1914
-
1915
- * readme.txt: Added docs for new dynamic cached content tag
1916
-
1917
- 2010-10-20 12:28 donncha
1918
-
1919
- * wp-cache-phase2.php: When in legacy mode, no need to check for
1920
- supercache
1921
-
1922
- 2010-10-20 12:10 donncha
1923
-
1924
- * wp-cache-phase2.php: Show supercache footer message on Legacy
1925
- cached pages. Fixes the cache tester for those using this cache.
1926
-
1927
- 2010-10-20 10:58 donncha
1928
-
1929
- * wp-cache-phase2.php: Added "dynamic-cached-content" tag, see
1930
- http://wordpress.org/support/topic/plugin-wp-super-cache-proposed-replacement-to-mfuncmclude?replies=7
1931
-
1932
- 2010-10-15 12:35 donncha
1933
-
1934
- * wp-cache-phase2.php: Use the host from get_bloginfo( 'url' ) to
1935
- figure out the supercache directory
1936
-
1937
- 2010-10-11 17:18 donncha
1938
-
1939
- * wp-cache.php: Fixed "Delete Cache" link on admin dropdown. See
1940
- http://wordpress.org/support/topic/plugin-wp-super-cache-delete-cache-on-dashboard-drop-down-doesnt-seem-to-work?replies=2#post-1734185
1941
-
1942
- 2010-10-08 13:04 donncha
1943
-
1944
- * wp-cache.php: Added recommended links and plugins and update
1945
- "rewrite rules detected" notice
1946
-
1947
- 2010-10-07 16:03 donncha
1948
-
1949
- * wp-cache.php: Make sure compression stays disabled if gzencode()
1950
- not found. See
1951
- http://wordpress.org/support/topic/plugin-wp-super-cache-check-for-gzencode?replies=2
1952
-
1953
- 2010-09-30 11:43 donncha
1954
-
1955
- * wp-cache.php: Only select posts, props liangzai,
1956
- http://wordpress.org/support/topic/plugin-wp-super-cache-preload-files?replies=7#post-1716174
1957
-
1958
- 2010-09-30 11:35 donncha
1959
-
1960
- * wp-cache.php: Reduce preload pause to 2 seconds and added
1961
- notification of currently cached post plus faster cancellation
1962
-
1963
- 2010-09-29 16:46 donncha
1964
-
1965
- * Changelog.txt: Updated changelog
1966
-
1967
- 2010-09-29 16:43 donncha
1968
-
1969
- * readme.txt, wp-cache.php: Bump to 0.9.9.6
1970
-
1971
- 2010-09-29 16:36 donncha
1972
-
1973
- * readme.txt: Minor updated to changelog
1974
-
1975
- 2010-09-29 16:33 donncha
1976
-
1977
- * readme.txt: Added new FAQ on editing the .htaccess file
1978
-
1979
- 2010-09-29 16:09 donncha
1980
-
1981
- * readme.txt: Added new FAQ, "How do I delete the WP_CACHE define
1982
- from wp-config.php?"
1983
-
1984
- 2010-09-29 16:06 donncha
1985
-
1986
- * wp-cache.php: Added "need help?" section to yellow box
1987
-
1988
- 2010-09-29 14:30 donncha
1989
-
1990
- * wp-cache.php: Sleep for 4 seconds between preloads to reduce
1991
- server load some more when preloading
1992
-
1993
- 2010-09-29 14:08 donncha
1994
-
1995
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Fix
1996
- variable warning messages
1997
-
1998
- 2010-09-29 10:11 donncha
1999
-
2000
- * wp-cache-phase1.php: Send Content-Length header if 304 support
2001
- enabled
2002
-
2003
- 2010-09-29 09:50 donncha
2004
-
2005
- * wp-cache.php: Don't delete expired supercache files when preload
2006
- mode is on
2007
-
2008
- 2010-09-29 09:05 donncha
2009
-
2010
- * wp-cache.php: Pause 2 seconds instead of 5 between preload urls
2011
-
2012
- 2010-09-28 17:30 donncha
2013
-
2014
- * readme.txt: Updated readme, changelog and credits for German
2015
- translation
2016
-
2017
- 2010-09-28 17:26 donncha
2018
-
2019
- * languages/wp-super-cache-de_DE.mo,
2020
- languages/wp-super-cache-de_DE.po: Added German translation,
2021
- props Mathias Roth, (http://trade-service.eu/)
2022
-
2023
- 2010-09-28 16:34 donncha
2024
-
2025
- * readme.txt: Added French translation credit
2026
-
2027
- 2010-09-28 16:32 donncha
2028
-
2029
- * languages/wp-super-cache-fr_FR.mo,
2030
- languages/wp-super-cache-fr_FR.po: Added French translation,
2031
- props Maitre Mo (http://maitremo.fr/)
2032
-
2033
- 2010-09-28 16:28 donncha
2034
-
2035
- * languages/wp-super-cache-it_IT.mo,
2036
- languages/wp-super-cache-it_IT.po: Updated Italian translation,
2037
- props Gianni Diurno
2038
-
2039
- 2010-09-28 16:14 donncha
2040
-
2041
- * wp-cache.php: Only show styled tabs in WP 3.0.1 and higher
2042
-
2043
- 2010-09-28 13:58 donncha
2044
-
2045
- * wp-cache.php: Sleep 5 seconds between preloads
2046
-
2047
- 2010-09-27 13:59 donncha
2048
-
2049
- * wp-super-cache.pot: Updated translation file
2050
-
2051
- 2010-09-27 13:57 donncha
2052
-
2053
- * wp-cache.php: Gettext fixes, props Gianni Diurno for most of
2054
- them.
2055
-
2056
- 2010-09-27 12:09 donncha
2057
-
2058
- * wp-cache-phase1.php: Added 304 not modified header check to
2059
- legacy caching too. NOT for dynamic pages.
2060
-
2061
- 2010-09-27 11:44 donncha
2062
-
2063
- * wp-cache-phase1.php, wp-cache.php: Added 304 "File not modified"
2064
- support in PHP mode, props qdinar,
2065
- http://wordpress.org/support/topic/plugin-wp-super-cache-still-not-corrected-bug-about-unicode-range-letters-in-permalink?replies=24#post-1687175
2066
-
2067
- 2010-09-27 11:41 donncha
2068
-
2069
- * wp-cache-phase1.php, wp-cache-phase2.php: Revert $wpsc_settings
2070
- changes.
2071
-
2072
- 2010-09-27 06:43 donncha
2073
-
2074
- * wp-cache-phase1.php: Forgot to init the slashcheck variable
2075
-
2076
- 2010-09-24 11:33 donncha
2077
-
2078
- * Changelog.txt: Updated changelog for 0.9.9.5
2079
-
2080
- 2010-09-24 11:31 donncha
2081
-
2082
- * readme.txt, wp-cache.php: Bump to 0.9.9.5 for minor bug fixes.
2083
-
2084
- 2010-09-24 11:26 donncha
2085
-
2086
- * wp-cache.php: Show the lockdown menu again.
2087
-
2088
- 2010-09-24 07:00 donncha
2089
-
2090
- * wp-cache.php: Disable compression when using easy page, and only
2091
- warn of mod_rewrite rules if they're turned off
2092
-
2093
- 2010-09-24 06:47 donncha
2094
-
2095
- * wp-cache.php: Disable cache compression, still problems with the
2096
- occasional host.
2097
-
2098
- 2010-09-23 18:08 donncha
2099
-
2100
- * wp-cache.php: The plugin works somewhat well in safemode so don't
2101
- stop users using the settings page.
2102
-
2103
- 2010-09-23 17:53 donncha
2104
-
2105
- * wp-cache.php: No more hello world notices and don't delete
2106
- mod_rewrite rules when caching is disabled
2107
-
2108
- 2010-09-22 16:05 donncha
2109
-
2110
- * Changelog.txt: Updated changelog
2111
-
2112
- 2010-09-22 16:02 donncha
2113
-
2114
- * readme.txt, wp-cache.php: Bump version to 0.9.9.4 and update some
2115
- docs
2116
-
2117
- 2010-09-22 15:20 donncha
2118
-
2119
- * wp-cache.php: When supercache is disabled delete the mod_rewrite
2120
- rules
2121
-
2122
- 2010-09-22 15:16 donncha
2123
-
2124
- * wp-cache.php: Don't check the mod_rewrite rules if caching
2125
- disabled
2126
-
2127
- 2010-09-22 14:54 donncha
2128
-
2129
- * readme.txt: Updated changelog and added language credits
2130
-
2131
- 2010-09-22 14:26 donncha
2132
-
2133
- * wp-super-cache.pot: Updated translation file
2134
-
2135
- 2010-09-22 14:18 donncha
2136
-
2137
- * plugins/domain-mapping.php: Added code to check if domain mapping
2138
- used and print a warning message
2139
-
2140
- 2010-09-22 13:23 donncha
2141
-
2142
- * wp-cache.php: Set "wp_cache_mod_rewrite" if it's not defined
2143
- already, for those upgrading
2144
-
2145
- 2010-09-22 11:50 donncha
2146
-
2147
- * wp-cache.php: Fixed typo in rewrite rules notice
2148
-
2149
- 2010-09-21 11:54 donncha
2150
-
2151
- * wp-cache.php: Don't need this adminpage form any more
2152
-
2153
- 2010-09-21 10:00 donncha
2154
-
2155
- * wp-cache.php: Update the docs explaining garbage collection
2156
-
2157
- 2010-09-21 09:58 donncha
2158
-
2159
- * wp-cache.php: Show advanced settings page if legacy caching
2160
- enabled too
2161
-
2162
- 2010-09-21 09:44 donncha
2163
-
2164
- * wp-cache.php: Show "advanced settings" page when mod_rewrite
2165
- caching enabled.
2166
-
2167
- 2010-09-21 09:34 donncha
2168
-
2169
- * wp-cache.php: Disable .htaccess checks when not running on "main
2170
- site" instead of disabling settings page completely
2171
-
2172
- 2010-09-20 15:43 donncha
2173
-
2174
- * plugins/domain-mapping.php, wp-cache-phase2.php: Added "gc_cache"
2175
- action and domain mapping cache plugin to clear the cache of
2176
- domain mapped multisite websites
2177
-
2178
- 2010-09-20 12:58 donncha
2179
-
2180
- * wp-cache.php: Added another check for the mod_rewrite config
2181
- before displaying a warning about those rules
2182
-
2183
- 2010-09-20 12:47 donncha
2184
-
2185
- * wp-cache.php: Correctly check for the "main blog"
2186
-
2187
- 2010-09-20 12:01 donncha
2188
-
2189
- * wp-cache.php: * Tester tab added "& Contents" to make it clearer
2190
- what's in this page.
2191
- * Add back in "List Files" link. Oops.
2192
-
2193
- 2010-09-20 11:59 donncha
2194
-
2195
- * wp-cache-config-sample.php, wp-cache.php: No need for simple
2196
- setup variable now
2197
-
2198
- 2010-09-20 11:37 donncha
2199
-
2200
- * plugins/awaitingmoderation.php: Added example plugin to remove
2201
- "Awaiting moderation" message when comments left on posts.
2202
-
2203
- 2010-09-20 11:36 donncha
2204
-
2205
- * plugins/badbehaviour.php, plugins/searchengine.php: Make plugins
2206
- listed in an ordered list
2207
-
2208
- 2010-09-20 11:35 donncha
2209
-
2210
- * wp-cache.php: * Added Plugins tab
2211
- * Check if if PHP or Supercache mode before checking .htaccess
2212
- file for rewrite rules.
2213
- * Change "half-on" text to "legacy" to reflect new terminology
2214
- * Split Settings page into Easy and Advanced tabs instead of
2215
- form.
2216
-
2217
- 2010-09-13 22:46 donncha
2218
-
2219
- * wp-cache.php: Make tabs like those on the themes page
2220
-
2221
- 2010-09-13 04:31 donncha
2222
-
2223
- * wp-cache.php: Cast as an array to hide a warning about 2nd arg.
2224
-
2225
- 2010-09-13 04:28 donncha
2226
-
2227
- * wp-cache.php: Hopefully trap wp_errors generating from page
2228
- requests to tester
2229
-
2230
- 2010-09-07 16:16 donncha
2231
-
2232
- * wp-cache.php: Enable "PHP Caching" from the easy setup page
2233
-
2234
- 2010-09-07 16:07 donncha
2235
-
2236
- * wp-cache.php: Minor tweaks to layout of admin page
2237
-
2238
- 2010-09-07 16:06 donncha
2239
-
2240
- * wp-cache-config-sample.php, wp-cache.php: Added "easy setup"
2241
- configuration screen (WIP)
2242
-
2243
- 2010-09-07 16:03 donncha
2244
-
2245
- * wp-cache.php: Fixed check for "main site" on MU sites
2246
-
2247
- 2010-09-07 12:31 donncha
2248
-
2249
- * wp-cache.php: * Fixed check for "main site"
2250
- * Updated error messages
2251
-
2252
- 2010-09-07 12:09 donncha
2253
-
2254
- * wp-cache.php: Added tabs to the Supercache admin page
2255
-
2256
- 2010-09-06 07:33 donncha
2257
-
2258
- * readme.txt: Added FAQ on writable directories and fixed a few
2259
- typos
2260
-
2261
- 2010-09-03 15:15 donncha
2262
-
2263
- * readme.txt, wp-cache-phase1.php: Updated headers and docs for PHP
2264
- served cache files
2265
-
2266
- 2010-08-31 17:55 donncha
2267
-
2268
- * wp-cache.php: Added "$wp_super_cache_lock_down" config variable
2269
- to hide lockdown and directly cached pages admin menus
2270
-
2271
- 2010-08-31 17:44 donncha
2272
-
2273
- * readme.txt: Major updates to the docs, covering legacy mode.
2274
-
2275
- 2010-08-31 15:34 donncha
2276
-
2277
- * readme.txt: Updated docs on legacy caching
2278
-
2279
- 2010-08-31 13:50 donncha
2280
-
2281
- * readme.txt: Minor mod to caching mechanism list
2282
-
2283
- 2010-08-31 13:48 donncha
2284
-
2285
- * readme.txt: Added docs on legacy caching and the different
2286
- caching mechanisms
2287
-
2288
- 2010-08-31 12:45 donncha
2289
-
2290
- * wp-cache-phase2.php: Added action on "wp_update_nav_menu" to
2291
- clear cache, props
2292
- http://www.webmasterbulletin.net/2010/07/wp-super-cache-and-wp3-0-menus/1270
2293
-
2294
- 2010-08-30 16:50 donncha
2295
-
2296
- * wp-cache.php: Admin page upgrades:
2297
- * Separate out PHP and mod_rewrite supercaching.
2298
- * Minor text changes
2299
-
2300
- 2010-08-30 16:38 donncha
2301
-
2302
- * wp-cache-phase2.php: Hide potential error messages
2303
-
2304
- 2010-08-30 16:37 donncha
2305
-
2306
- * wp-cache-phase2.php: Revert this settings change for now.
2307
-
2308
- 2010-08-30 16:35 donncha
2309
-
2310
- * wp-cache-phase2.php: If caching disabled, then don't run the
2311
- second phase function
2312
-
2313
- 2010-08-30 11:46 donncha
2314
-
2315
- * wp-cache-phase1.php: Minor whitespace mod
2316
-
2317
- 2010-08-30 11:46 donncha
2318
-
2319
- * wp-cache-phase1.php: Serve a gzipped supercache file if the
2320
- client supports it.
2321
-
2322
- 2010-08-30 10:16 donncha
2323
-
2324
- * wp-cache-phase2.php: Remove unused global variable
2325
-
2326
- 2010-08-30 09:36 donncha
2327
-
2328
- * wp-cache-phase2.php: Don't delete supercache files if supercache
2329
- is disabled when posts change. Stops moderated comments deleting
2330
- the front page.
2331
-
2332
- 2010-08-29 10:17 donncha
2333
-
2334
- * wp-cache-phase2.php: Check for empty tmp cache files and report
2335
- them correctly.
2336
-
2337
- 2010-08-27 15:40 donncha
2338
-
2339
- * wp-cache.php: Change cache compression on/off into a checkbox and
2340
- move into "Misc" section.
2341
-
2342
- 2010-08-27 14:56 donncha
2343
-
2344
- * wp-cache.php: Ignore case when checking mobile user agents in
2345
- .htaccess
2346
-
2347
- 2010-08-26 16:37 donncha
2348
-
2349
- * wp-cache.php: Hide warnings from these unlinks, even though the
2350
- plugin checks if they exist!
2351
-
2352
- 2010-08-26 14:43 donncha
2353
-
2354
- * wp-cache.php: Add a timestamp to the preload counter to catch
2355
- when it stalls. Reschedule the preload job when that happens.
2356
-
2357
- 2010-08-26 12:34 donncha
2358
-
2359
- * wp-cache.php: Cache tester should probably send http requests for
2360
- homepage if admin is secure
2361
-
2362
- 2010-08-26 11:30 donncha
2363
-
2364
- * wp-cache.php: Ony add mobile rules if mobile support is enabled
2365
-
2366
- 2010-08-26 11:26 donncha
2367
-
2368
- * wp-cache.php: Move code to handle updating the options into it's
2369
- own function and move more error checking into it's own function
2370
-
2371
- 2010-08-24 17:07 donncha
2372
-
2373
- * wp-cache.php: First go at reorganising the admin page
2374
-
2375
- 2010-08-23 17:27 donncha
2376
-
2377
- * wp-cache-phase2.php: Starting to use $wpsc_settings
2378
-
2379
- 2010-08-23 17:09 donncha
2380
-
2381
- * wp-cache-phase1.php, wp-cache-phase2.php: Added
2382
- "wp_cache_load_config()" and $wpsc_settings array
2383
-
2384
- 2010-08-23 12:23 donncha
2385
-
2386
- * readme.txt: Added new FAQ, "How do I delay serving the cache
2387
- until the "init" action fires?"
2388
-
2389
- 2010-08-23 12:07 donncha
2390
-
2391
- * readme.txt: Include a simple mfunc example
2392
-
2393
- 2010-08-23 12:06 donncha
2394
-
2395
- * wp-cache-config-sample.php, wp-cache-phase2.php: Removed
2396
- $wp_cache_gzip_first, if compression is enabled there's no reason
2397
- it won't work for the cache generating visit
2398
-
2399
- 2010-08-23 11:40 donncha
2400
-
2401
- * wp-cache-phase2.php: Warn if late init not set on dynamic pages
2402
-
2403
- 2010-08-23 10:45 donncha
2404
-
2405
- * wp-cache-phase2.php: Added "wp_cache_append_tag()" to add the
2406
- Supercache log message after filtering
2407
-
2408
- 2010-08-06 17:09 donncha
2409
-
2410
- * wp-cache.php: Added the function "wpsupercache_site_admin()" to
2411
- support old versions of MU using is_site_admin()
2412
-
2413
- 2010-08-06 16:10 donncha
2414
-
2415
- * wp-cache-phase1.php, wp-cache.php: Removed lots of PHP variable
2416
- warnings. Props Joel Hardi
2417
-
2418
- 2010-08-06 15:30 donncha
2419
-
2420
- * wp-cache.php: Fixed cache tester when WP is installed in a sub
2421
- directory
2422
-
2423
- 2010-08-03 12:17 donncha
2424
-
2425
- * wp-cache-phase2.php: Check for closing "urlset" tag for xml
2426
- sitemap generators
2427
- (http://wordpress.org/support/topic/plugin-wp-super-cache-xml-sitemap-feed-not-cached?replies=11#post-1627457)
2428
-
2429
- 2010-07-30 12:19 donncha
2430
-
2431
- * wp-cache.php: Check the status of pages returned by the cache
2432
- tester and report any problems.
2433
-
2434
- 2010-07-01 15:30 donncha
2435
-
2436
- * wp-cache.php: Removed donation blurb from admin page
2437
-
2438
- 2010-07-01 15:27 donncha
2439
-
2440
- * readme.txt: Removed donation link, updated min version and added
2441
- automattic as contributor
2442
-
2443
- 2010-06-28 10:25 donncha
2444
-
2445
- * wp-cache-config-sample.php: Use WP_PLUGIN_DIR instead of
2446
- WP_CONTENT_DIR, props Baris Unver
2447
-
2448
- 2010-06-21 15:42 donncha
2449
-
2450
- * wp-cache.php: On MU/WP 3.0 network sites only allow admin page on
2451
- main site. http://wordpress.org/support/topic/412472?replies=2
2452
-
2453
- 2010-06-16 10:34 donncha
2454
-
2455
- * Changelog.txt, readme.txt: Updated changelogs
2456
-
2457
- 2010-06-16 10:26 donncha
2458
-
2459
- * wp-super-cache.pot: Updated translation file for 0.9.9.3
2460
-
2461
- 2010-06-16 10:24 donncha
2462
-
2463
- * readme.txt, wp-cache.php: Bump version to 0.9.9.3
2464
-
2465
- 2010-06-16 10:20 donncha
2466
-
2467
- * wp-cache.php: Minor mod to preloading text
2468
-
2469
- 2010-06-16 10:18 donncha
2470
-
2471
- * wp-cache.php: If cache stats are not cached then do so, and also
2472
- include an explanation of caching stats.
2473
-
2474
- 2010-06-16 10:11 donncha
2475
-
2476
- * wp-cache.php: Minor mod to preloading text
2477
-
2478
- 2010-06-16 10:07 donncha
2479
-
2480
- * wp-cache.php: Slight change in "preload mode" description and
2481
- donation link
2482
-
2483
- 2010-06-16 09:14 donncha
2484
-
2485
- * wp-cache.php: Minor change to "about" text on admin page.
2486
-
2487
- 2010-06-15 22:55 donncha
2488
-
2489
- * wp-cache.php: Avoid division by zero error when plugin is
2490
- "half-on" and always show "delete cache" button.
2491
-
2492
- 2010-06-15 15:59 donncha
2493
-
2494
- * wp-cache.php: Check if $wpmu_version is set rather than if
2495
- is_site_admin() exists to detect MU
2496
-
2497
- 2010-06-15 13:34 donncha
2498
-
2499
- * readme.txt, wp-cache.php: Version 0.9.9.2
2500
-
2501
- 2010-06-15 13:27 donncha
2502
-
2503
- * wp-super-cache.pot: Updated pot translation file
2504
-
2505
- 2010-06-15 13:22 donncha
2506
-
2507
- * Changelog.txt: Updated changelog, version 0.9.9.1
2508
-
2509
- 2010-06-15 13:19 donncha
2510
-
2511
- * readme.txt: Bump version to 0.9.9.1
2512
-
2513
- 2010-06-15 12:23 donncha
2514
-
2515
- * Changelog.txt, readme.txt: Updated changelog and readme.txt
2516
- changelog
2517
-
2518
- 2010-06-15 11:38 donncha
2519
-
2520
- * wp-cache.php: Separate out full and in-refresh jobs
2521
-
2522
- 2010-06-14 21:31 donncha
2523
-
2524
- * wp-cache.php: Remove link to uninstall.php and rearrange docs a
2525
- bit
2526
-
2527
- 2010-06-14 16:28 donncha
2528
-
2529
- * wp-cache.php: Added medium email notification volume of
2530
- preloading
2531
-
2532
- 2010-06-14 10:45 donncha
2533
-
2534
- * wp-cache.php: Check cache stats correctly before showing file
2535
- listing link
2536
-
2537
- 2010-06-14 10:32 donncha
2538
-
2539
- * readme.txt: Removed "why shouldn't I cache every page" question
2540
- and updated test version
2541
-
2542
- 2010-06-14 10:23 donncha
2543
-
2544
- * wp-cache.php: Added "Cache Preload Started" email
2545
-
2546
- 2010-06-14 10:10 donncha
2547
-
2548
- * wp-cache.php: Cache "cache contents" output and add "Regenerate"
2549
- link to refresh it.
2550
-
2551
- 2010-06-09 15:52 donncha
2552
-
2553
- * wp-cache.php: Allow adjustment of email notification volume
2554
-
2555
- 2010-05-30 07:54 donncha
2556
-
2557
- * wp-cache.php: gettext changes to refresh messages and on preload,
2558
- use an expiry of 1 day if no refresh timeout defined when
2559
- clearing out old supercache files
2560
-
2561
- 2010-05-30 07:43 donncha
2562
-
2563
- * wp-cache-phase2.php: Only delete front page of blog if "page on
2564
- front" selected rather than all cached files
2565
-
2566
- 2010-05-14 13:51 donncha
2567
-
2568
- * wp-cache-phase2.php: Only GC the supercache dir if preload mode
2569
- is off or we're forcing it
2570
-
2571
- 2010-05-14 13:47 donncha
2572
-
2573
- * wp-cache.php: Added "email me" option to track progress of
2574
- preload function
2575
-
2576
- 2010-05-10 07:47 donncha
2577
-
2578
- * wp-cache-phase2.php, wp-cache.php: Allow GC of supercache files
2579
- to be forced and use that to clean up really old files after
2580
- preload refresh
2581
-
2582
- 2010-05-09 09:07 donncha
2583
-
2584
- * wp-cache-phase2.php: Don't delete cache when moderated comments
2585
- are modified, and don't delete the site when "page on front"
2586
- option is selected
2587
-
2588
- 2010-05-09 08:05 donncha
2589
-
2590
- * wp-cache-phase1.php: Don't do slash checks on /
2591
-
2592
- 2010-05-09 07:41 donncha
2593
-
2594
- * wp-cache-phase1.php, wp-cache.php: Avoid duplicate content
2595
- problems when slashes are missing and plugin tries to server
2596
- static html file
2597
-
2598
- 2010-05-07 10:59 donncha
2599
-
2600
- * wp-cache-phase2.php: Don't delete any cache pages when a draft
2601
- post is saved
2602
-
2603
- 2010-05-07 10:37 donncha
2604
-
2605
- * wp-cache.php: The imploded mobile browser config data is only
2606
- ever used by phase1, the admin page uses the arrays
2607
-
2608
- 2010-05-07 10:21 donncha
2609
-
2610
- * wp-cache.php: Make mobile device support message generic
2611
-
2612
- 2010-05-07 10:15 donncha
2613
-
2614
- * wp-cache.php: Add warning if mod_rewrite rules don't match
2615
-
2616
- 2010-05-07 09:22 donncha
2617
-
2618
- * wp-cache-phase1.php, wp-cache.php: Check for wordpress_logged_in
2619
- cookies to avoid matching wordpress_test_cookie
2620
-
2621
- 2010-05-06 14:43 donncha
2622
-
2623
- * wp-cache.php: Added "clear_post_supercache()" to clear the
2624
- supercache for a particular post. Use that function to clear the
2625
- cache for individual posts while preloading
2626
-
2627
- 2010-05-06 14:41 donncha
2628
-
2629
- * wp-cache-phase1.php: Get supercache dir of a post
2630
-
2631
- 2010-05-04 16:43 donncha
2632
-
2633
- * wp-cache.php: Add seconds too for completeness
2634
-
2635
- 2010-05-04 16:41 donncha
2636
-
2637
- * wp-cache.php: Show next refresh time in friendly hours and
2638
- minutes
2639
-
2640
- 2010-05-04 16:36 donncha
2641
-
2642
- * wp-cache.php: case POST variable as an int first
2643
-
2644
- 2010-05-04 16:35 donncha
2645
-
2646
- * wp-cache.php: Don't reset cache expiry time when preload is done.
2647
-
2648
- 2010-05-04 12:50 donncha
2649
-
2650
- * wp-cache.php: Order get from posts table by publish date rather
2651
- than ID
2652
-
2653
- 2010-05-04 12:49 donncha
2654
-
2655
- * wp-cache.php: Avoid showing gigantic intervals while scheduled
2656
- job is running
2657
-
2658
- 2010-05-04 12:43 donncha
2659
-
2660
- * wp-cache.php: Minor rearrangement of text
2661
-
2662
- 2010-05-04 12:37 donncha
2663
-
2664
- * wp-cache.php: Show time until next cache refresh in seconds
2665
-
2666
- 2010-05-04 12:33 donncha
2667
-
2668
- * wp-cache.php: Added "Cancel Cache Preload" button to cancel
2669
- current preload
2670
-
2671
- 2010-05-04 12:13 donncha
2672
-
2673
- * wp-cache.php: Don't show "number of posts" that matches total
2674
- posts
2675
-
2676
- 2010-05-04 12:11 donncha
2677
-
2678
- * wp-cache.php: 60 seconds between preloading of 100 posts to save
2679
- on load
2680
-
2681
- 2010-05-04 12:10 donncha
2682
-
2683
- * wp-cache.php: Only schedule preload refresh when interval is non
2684
- zero, props Daniel,
2685
- http://ocaoimh.ie/preload-cache-wp-super-cache/#comment-675081
2686
-
2687
- 2010-05-03 07:40 donncha
2688
-
2689
- * wp-cache.php: Always define posts_to_cache, props Daniel @
2690
- http://ocaoimh.ie/preload-cache-wp-super-cache/#comment-674977
2691
-
2692
- 2010-04-30 09:03 donncha
2693
-
2694
- * wp-cache.php: Enclose rewrite rules in quotes, props duanestorey,
2695
- http://wordpress.org/support/topic/339075/page/2?replies=32#post-1496557
2696
-
2697
- 2010-04-29 13:37 donncha
2698
-
2699
- * wp-cache.php: These are arrays, not strings
2700
-
2701
- 2010-04-29 13:37 donncha
2702
-
2703
- * wp-cache.php: Added WAP and Profile header checks, props
2704
- AndreaTrasatti
2705
- (http://wordpress.org/support/topic/339075?replies=25#post-1493778)
2706
-
2707
- 2010-04-29 13:28 donncha
2708
-
2709
- * wp-cache.php: * Use POST instead of GET for preload form.
2710
- * Added "Preload Cache Now" and "Update Settings" buttons
2711
- * Improved select dropdown
2712
-
2713
- 2010-04-29 13:01 donncha
2714
-
2715
- * wp-cache.php: Make sure mobile browsers and prefixes are defined
2716
- before updating .htaccess file
2717
-
2718
- 2010-04-29 11:19 donncha
2719
-
2720
- * wp-cache-phase2.php, wp-cache.php: * Added "preload on" mode
2721
- where only half-on cache files are cleaned up.
2722
- * Added "posts to cache" selector if more than 1000 posts.
2723
- * Updated text description of preloading
2724
-
2725
- 2010-04-29 11:13 donncha
2726
-
2727
- * wp-cache.php: Disable preloading UI by defining the constant
2728
- "DISABLESUPERCACHEPRELOADING". Just in case some hosts don't like
2729
- it.
2730
-
2731
- 2010-04-28 16:54 donncha
2732
-
2733
- * wp-cache.php: Show next scheduled cache refresh
2734
-
2735
- 2010-04-28 15:51 donncha
2736
-
2737
- * wp-cache.php: Show preload counter when cache is being preloaded
2738
-
2739
- 2010-04-28 15:46 donncha
2740
-
2741
- * wp-cache.php: Preload cache using wp-cron and refresh cache every
2742
- X minutes
2743
-
2744
- 2010-04-28 14:35 donncha
2745
-
2746
- * wp-cache-phase1.php: Check if browser is blank before checking
2747
- for groups
2748
-
2749
- 2010-04-28 13:09 donncha
2750
-
2751
- * wp-cache.php: * Only allow preloading when running in supercache
2752
- (ON) mode.
2753
- * Added wpsc_update_htaccess() for plugins to update .htaccess
2754
- rules.
2755
-
2756
- 2010-04-27 17:44 donncha
2757
-
2758
- * wp-cache-phase1.php, wp-cache.php: Added ability to group mobile
2759
- devices. Added "cached_mobile_groups" filter so plugins can
2760
- modify groups. One group by default. See
2761
- http://wordpress.org/support/topic/339075?replies=21#post-1493412
2762
-
2763
- 2010-04-27 12:05 donncha
2764
-
2765
- * wp-cache-phase1.php: Merge code from
2766
- http://svn.wp-plugins.org/wordpress-mobile-pack/trunk/plugins/wpmp_switcher/lite_detection.php
2767
- into mobile detection function
2768
-
2769
- 2010-04-27 11:36 donncha
2770
-
2771
- * wp-cache.php: Added support for mobile prefixes, see
2772
- http://wordpress.org/support/topic/339075?replies=17#post-1493120
2773
-
2774
- 2010-04-27 09:33 donncha
2775
-
2776
- * wp-cache.php: Minor text cleanup
2777
-
2778
- 2010-04-27 09:29 donncha
2779
-
2780
- * wp-cache.php: gettext this properly
2781
-
2782
- 2010-04-27 08:55 donncha
2783
-
2784
- * wp-cache.php: Added update_cached_mobile_ua_list() so plugins can
2785
- update the list of cached mobile UAs.
2786
-
2787
- 2010-04-27 08:48 donncha
2788
-
2789
- * wp-cache.php: Added "cached_mobile_browsers" filter so mobile
2790
- plugins can filter list of mobile user agents.
2791
-
2792
- 2010-04-26 08:29 donncha
2793
-
2794
- * wp-cache-phase2.php, wp-cache.php: Garbage collection can be
2795
- disabled by setting expiry time to zero. Preloading cache
2796
- disables GC too.
2797
-
2798
- 2010-04-25 14:50 donncha
2799
-
2800
- * wp-cache.php: First pass at a cache preloader
2801
-
2802
- 2010-04-25 14:49 donncha
2803
-
2804
- * wp-cache-phase1.php: Added error reporting to aid debugging
2805
-
2806
- 2010-04-25 14:49 donncha
2807
-
2808
- * wp-cache.php: Use WP api to fetch homepage in tester
2809
-
2810
- 2010-04-22 10:17 donncha
2811
-
2812
- * wp-cache-phase1.php, wp-cache-phase2.php: * Fixed problem with
2813
- eval() and html.
2814
- * If compression is enabled, and client supports it but gzip
2815
- headers are missing, make sure html served is not compressed.
2816
-
2817
- 2010-04-22 08:38 donncha
2818
-
2819
- * wp-cache-phase1.php: Check if page is dynamic before sending gzip
2820
- headers. See http://wordpress.org/support/topic/347847?replies=29
2821
-
2822
- 2010-04-09 16:16 donncha
2823
-
2824
- * readme.txt, wp-cache-phase2.php: Remove the "redirect utm_source"
2825
- code and add a FAQ on changing it into an anchor tag
2826
-
2827
- 2010-04-08 17:25 donncha
2828
-
2829
- * wp-cache-phase2.php, wp-cache.php: Add option, "Only refresh
2830
- current page when comments made." See
2831
- http://wordpress.org/support/topic/385305?replies=5
2832
-
2833
- 2010-04-07 17:00 donncha
2834
-
2835
- * wp-cache-phase1.php: Add the SERVER_PORT to the half mode and
2836
- object cache. See
2837
- http://wordpress.org/support/topic/368679?replies=4
2838
-
2839
- 2010-03-25 11:51 donncha
2840
-
2841
- * languages/wp-super-cache-zh_CN.mo,
2842
- languages/wp-super-cache-zh_CN.po: Added Chinese(Simplified)
2843
- translation, props Chen Yang (http://emule-fans.com/)
2844
-
2845
- 2010-03-25 11:43 donncha
2846
-
2847
- * wp-cache.php: Check for WP_CACHE set to false and report an error
2848
- if the config file can't be updated. Props Artem @
2849
- http://beerpla.net
2850
-
2851
- 2010-03-25 10:22 donncha
2852
-
2853
- * readme.txt: Added warning about APC, props John Berns
2854
-
2855
- 2010-03-18 15:26 donncha
2856
-
2857
- * wp-cache-phase2.php: Don't delete cache when spam and trash are
2858
- emptied
2859
-
2860
- 2010-03-15 17:14 donncha
2861
-
2862
- * wp-cache.php: Check $wpmu_version to detect MU, and not
2863
- is_site_admin.
2864
-
2865
- 2010-02-25 10:59 donncha
2866
-
2867
- * wp-cache-phase1.php, wp-cache-phase2.php: More debugging, esp of
2868
- page edit clear caching
2869
-
2870
- 2010-02-23 18:01 donncha
2871
-
2872
- * wp-cache.php: Save rejected user agents properly.
2873
- http://wordpress.org/support/topic/366101?replies=2
2874
-
2875
- 2010-02-23 17:59 donncha
2876
-
2877
- * wp-cache.php: Better description of "logged in users" option,
2878
- make it "known users"
2879
- http://wordpress.org/support/topic/366904?replies=2
2880
-
2881
- 2010-02-21 10:24 donncha
2882
-
2883
- * wp-cache.php: Compare timestamps on each cached page when testing
2884
-
2885
- 2010-02-21 09:33 donncha
2886
-
2887
- * wp-cache-phase2.php, wp-cache.php: Added ability to remove
2888
- utm_source parameters from urls
2889
-
2890
- 2010-02-19 12:51 donncha
2891
-
2892
- * wp-cache.php: Make tester more verbose
2893
-
2894
- 2010-02-18 17:51 donncha
2895
-
2896
- * wp-cache.php: First go at a cache tester
2897
-
2898
- 2010-02-17 15:38 donncha
2899
-
2900
- * wp-cache-phase1.php: Improved debugging of cache serving
2901
-
2902
- 2010-02-12 12:45 donncha
2903
-
2904
- * wp-cache-phase2.php: Add more debugging.
2905
-
2906
- 2010-02-09 12:09 donncha
2907
-
2908
- * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
2909
- Updated Japanese language files, props Tai
2910
-
2911
- 2010-02-09 09:04 donncha
2912
-
2913
- * wp-cache.php: Fix printf warning
2914
-
2915
- 2010-02-08 18:04 donncha
2916
-
2917
- * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
2918
- Updated Japanese translation files, props Tai
2919
-
2920
- 2010-02-08 17:32 donncha
2921
-
2922
- * languages/wp-super-cache-it_IT.mo,
2923
- languages/wp-super-cache-it_IT.po: Updated Italian translation,
2924
- props Gianni Diurno
2925
-
2926
- 2010-02-08 14:25 donncha
2927
-
2928
- * Changelog.txt: Yet another update to changelog
2929
-
2930
- 2010-02-08 14:24 donncha
2931
-
2932
- * wp-super-cache.pot: Updated pot file
2933
-
2934
- 2010-02-08 14:22 donncha
2935
-
2936
- * plugins/badbehaviour.php, plugins/searchengine.php: Minor text
2937
- change, props Tai
2938
-
2939
- 2010-02-08 14:18 donncha
2940
-
2941
- * Changelog.txt: Updated, again!
2942
-
2943
- 2010-02-08 14:16 donncha
2944
-
2945
- * wp-super-cache.pot: Updated pot file
2946
-
2947
- 2010-02-08 14:13 donncha
2948
-
2949
- * Changelog.txt: Updated changelog
2950
-
2951
- 2010-02-08 14:11 donncha
2952
-
2953
- * readme.txt, wp-cache.php: Bump version to 0.9.9
2954
-
2955
- 2010-02-08 14:09 donncha
2956
-
2957
- * wp-cache.php: Add links to readme and forum
2958
-
2959
- 2010-02-08 14:00 donncha
2960
-
2961
- * readme.txt, wp-cache.php: Updated tested version.
2962
- Added link to WordPress Mobile Edition.
2963
-
2964
- 2010-02-08 13:52 donncha
2965
-
2966
- * Changelog.txt: Don't serve supercache files from PHP when GET is
2967
- not empty
2968
-
2969
- 2010-02-08 13:51 donncha
2970
-
2971
- * wp-cache-phase1.php: Supercache files can't be used when GET is
2972
- not empty
2973
-
2974
- 2010-02-08 13:43 donncha
2975
-
2976
- * Changelog.txt: Update changelog
2977
-
2978
- 2010-02-08 13:36 donncha
2979
-
2980
- * wp-cache-phase1.php: Only serve supercached files to anon users
2981
-
2982
- 2010-02-08 13:14 donncha
2983
-
2984
- * wp-cache-phase1.php: Don't serve GET requests from object cache
2985
-
2986
- 2010-02-08 13:03 donncha
2987
-
2988
- * readme.txt: Update upgrade note
2989
-
2990
- 2010-02-02 11:56 donncha
2991
-
2992
- * wp-cache.php: Added check for permalink structure
2993
-
2994
- 2010-01-29 12:28 donncha
2995
-
2996
- * wp-super-cache.pot: Updated translation pot file
2997
-
2998
- 2010-01-29 12:09 donncha
2999
-
3000
- * wp-cache.php: Only show object cache option when an external
3001
- object cache used.
3002
-
3003
- 2010-01-29 11:15 donncha
3004
-
3005
- * readme.txt: Added note about supercache header
3006
-
3007
- 2010-01-29 11:13 donncha
3008
-
3009
- * readme.txt: Updated mobile rewrite rules in readme.txt
3010
-
3011
- 2010-01-29 11:11 donncha
3012
-
3013
- * Changelog.txt, readme.txt: Update changelog
3014
-
3015
- 2010-01-29 10:40 donncha
3016
-
3017
- * wp-cache.php: Show delete buttons even when object cache is used.
3018
-
3019
- 2010-01-29 10:36 donncha
3020
-
3021
- * wp-cache-phase2.php: Use $cache_max_time for object cache timeout
3022
-
3023
- 2010-01-29 10:28 donncha
3024
-
3025
- * wp-cache-phase2.php: Clear object cache when posts change
3026
-
3027
- 2010-01-29 10:20 donncha
3028
-
3029
- * wp-cache.php: Don't show cache listing when object cache used.
3030
-
3031
- 2010-01-29 10:13 donncha
3032
-
3033
- * languages/wp-super-cache-zh_TW.mo,
3034
- languages/wp-super-cache-zh_TW.po: Chinese(Traditional)
3035
- translation by Pseric
3036
-
3037
- 2010-01-29 10:07 donncha
3038
-
3039
- * readme.txt: Added FAQ on wp-cache vs supercache files
3040
-
3041
- 2010-01-29 09:47 donncha
3042
-
3043
- * wp-cache-phase1.php: Hostname is already included in supercache
3044
- dir
3045
-
3046
- 2010-01-29 09:45 donncha
3047
-
3048
- * wp-cache-phase1.php: If cache loader doesn't find a wp-cache
3049
- file, look for a supercache one and serve that instead.
3050
-
3051
- 2010-01-28 10:17 donncha
3052
-
3053
- * wp-cache-phase1.php: Include the hostname in the object cache key
3054
-
3055
- 2010-01-27 17:18 donncha
3056
-
3057
- * wp-cache-phase1.php: Object cache is only useful for anon users.
3058
-
3059
- 2010-01-27 15:46 donncha
3060
-
3061
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: * Remove
3062
- "anon user only", same as logged in option.
3063
- * Add gzip encoding to object cache key
3064
- * Don't cache for known users in object cache
3065
-
3066
- 2010-01-27 14:58 donncha
3067
-
3068
- * wp-cache-phase1.php: Oops, don't serve cache file in the right
3069
- place
3070
-
3071
- 2010-01-27 14:38 donncha
3072
-
3073
- * wp-cache-phase1.php, wp-cache.php: Get mobile browser list from
3074
- "wp mobile edition". Warn user of obsolete rules.
3075
-
3076
- 2010-01-27 12:26 donncha
3077
-
3078
- * wp-cache-phase2.php: Let's avoid warnings if we can
3079
-
3080
- 2010-01-27 12:24 donncha
3081
-
3082
- * wp-cache-config-sample.php: Add more default config settings
3083
-
3084
- 2010-01-26 18:29 donncha
3085
-
3086
- * wp-cache-phase2.php: Don't cache GET requests in object cache for
3087
- the time being.
3088
- Missing chunk of code from previous check in
3089
-
3090
- 2010-01-26 18:20 donncha
3091
-
3092
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: First
3093
- pass at object cache support. (Thank you Andy Skelton for writing
3094
- batcache from where I borrowed some code and ideas)
3095
-
3096
- 2010-01-26 14:38 donncha
3097
-
3098
- * wp-cache-phase2.php, wp-cache.php: * Added "no caching for known
3099
- users" option
3100
- * Fix half-on caching.
3101
-
3102
- 2010-01-21 22:10 donncha
3103
-
3104
- * wp-cache-phase2.php: * Make sure the writer lock is unlocked
3105
- * "Logged in" users now include those who leave comments
3106
-
3107
- 2010-01-19 11:13 donncha
3108
-
3109
- * wp-cache.php: Warn the user is php zlib output_compression is
3110
- enabled.
3111
-
3112
- 2010-01-11 10:07 donncha
3113
-
3114
- * wp-cache-phase2.php: Don't create static cache files when dynamic
3115
- mfunc content is detected.
3116
- Delete 0 byte size tmp cache files
3117
-
3118
- 2010-01-11 09:56 donncha
3119
-
3120
- * readme.txt: Added link to developer docs
3121
-
3122
- 2009-12-22 11:14 donncha
3123
-
3124
- * languages/wp-super-cache-uk.mo, languages/wp-super-cache-uk.po:
3125
- Added Ukrainian translation, props Vitaly Mylo
3126
-
3127
- 2009-12-15 10:46 donncha
3128
-
3129
- * readme.txt: Added Upgrade Notice section to readme
3130
-
3131
- 2009-12-15 10:44 donncha
3132
-
3133
- * wp-cache.php, wp-super-cache.pot: Wordpress -> WordPress
3134
-
3135
- 2009-12-15 10:36 donncha
3136
-
3137
- * wp-cache.php: Warn if zlib compression is enabled before user
3138
- enables compression in the plugin
3139
-
3140
- 2009-12-15 10:23 donncha
3141
-
3142
- * readme.txt: Added compression troubleshooting answer, props
3143
- Vladimir (http://blog.sjinks.pro/)
3144
-
3145
- 2009-11-23 16:15 donncha
3146
-
3147
- * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po,
3148
- languages/wp-super-cache-ja_JA.mo,
3149
- languages/wp-super-cache-ja_JA.po: Renamed Japanese language
3150
- files
3151
-
3152
- 2009-11-23 15:11 donncha
3153
-
3154
- * languages/wp-super-cache-ja_JA.mo,
3155
- languages/wp-super-cache-ja_JA.po: Added Japanese translation,
3156
- props Tai (http://tekapo.com/)
3157
-
3158
- 2009-11-19 11:59 donncha
3159
-
3160
- * languages/wp-super-cache-it_IT.mo,
3161
- languages/wp-super-cache-it_IT.po: Updated Italian translation
3162
-
3163
- 2009-11-18 17:50 donncha
3164
-
3165
- * Changelog.txt: Updated changelog
3166
-
3167
- 2009-11-18 17:49 donncha
3168
-
3169
- * readme.txt, wp-cache.php: Bump version to 0.9.8
3170
-
3171
- 2009-11-18 17:28 donncha
3172
-
3173
- * readme.txt: Added "Translators" thank you message
3174
-
3175
- 2009-11-18 17:14 donncha
3176
-
3177
- * Changelog.txt, readme.txt: Updated changelog
3178
-
3179
- 2009-11-18 16:36 donncha
3180
-
3181
- * wp-cache-config-sample.php, wp-cache.php: Added
3182
- $wp_super_cache_advanced_debug and hide advanced debug features
3183
- by default
3184
-
3185
- 2009-11-13 12:33 donncha
3186
-
3187
- * languages/wp-super-cache-es_ES.mo,
3188
- languages/wp-super-cache-es_ES.po: Update Spanish translation
3189
- files, props Omi
3190
-
3191
- 2009-11-13 10:34 donncha
3192
-
3193
- * wp-super-cache.pot: Update translation file
3194
-
3195
- 2009-11-13 10:24 donncha
3196
-
3197
- * wp-cache.php: Fire off page checker every 5 minutes rather than 1
3198
- minute.
3199
-
3200
- 2009-11-13 10:02 donncha
3201
-
3202
- * languages/wp-super-cache-it_IT.mo,
3203
- languages/wp-super-cache-it_IT.po: Fixed typo in translation
3204
-
3205
- 2009-11-12 14:05 donncha
3206
-
3207
- * languages/wp-super-cache-es_ES.mo,
3208
- languages/wp-super-cache-es_ES.po,
3209
- languages/wp-super-cache-it_IT.mo,
3210
- languages/wp-super-cache-it_IT.po: Language updates via Gianni
3211
- Diurno and Omi (thanks guys, you do a great job!)
3212
-
3213
- 2009-11-10 16:31 donncha
3214
-
3215
- * wp-super-cache.pot: Updated translation file
3216
-
3217
- 2009-11-10 16:26 donncha
3218
-
3219
- * wp-cache-config-sample.php, wp-cache.php: Added
3220
- wp_cache_check_site() function
3221
-
3222
- 2009-11-10 13:00 donncha
3223
-
3224
- * wp-cache.php: More gettext fixes
3225
-
3226
- 2009-11-10 12:24 donncha
3227
-
3228
- * languages/wp-super-cache-es_ES.mo,
3229
- languages/wp-super-cache-es_ES.po: Added Spanish translation,
3230
- props Omi
3231
-
3232
- 2009-11-09 16:45 donncha
3233
-
3234
- * wp-cache.php: Change wordpress_logged_in to wordpress in
3235
- supercache cookie checks to match PHP code
3236
-
3237
- 2009-11-05 18:01 donncha
3238
-
3239
- * languages/wp-super-cache-it_IT.po: Fix link to adverts for
3240
- friends plugin
3241
-
3242
- 2009-11-05 16:17 donncha
3243
-
3244
- * wp-cache.php: More gettext fixes, props Juan P.F.
3245
-
3246
- 2009-11-05 12:24 donncha
3247
-
3248
- * languages/wp-super-cache-it_IT.mo,
3249
- languages/wp-super-cache-it_IT.po: First check in of Italian
3250
- translation by Gianni Diurno (http://gidibao.net/)
3251
-
3252
- 2009-11-05 12:10 donncha
3253
-
3254
- * wp-super-cache.pot: Update translations
3255
-
3256
- 2009-11-05 11:57 donncha
3257
-
3258
- * wp-cache.php: More gettext changes, props Gianni
3259
-
3260
- 2009-11-04 16:28 donncha
3261
-
3262
- * wp-super-cache.pot: Fixed missing < in text
3263
-
3264
- 2009-11-04 16:26 donncha
3265
-
3266
- * plugins/searchengine.php: Ooops, minor typo, props Juan P.F.
3267
-
3268
- 2009-11-04 12:07 donncha
3269
-
3270
- * languages, wp-cache.php: Load translation files from languages
3271
- folder
3272
-
3273
- 2009-11-04 11:50 donncha
3274
-
3275
- * wp-super-cache.pot: Updated translation file
3276
-
3277
- 2009-11-04 11:39 donncha
3278
-
3279
- * wp-cache-phase1.php: Split user agent and cache file checks into
3280
- two for easier debugging
3281
-
3282
- 2009-11-04 11:38 donncha
3283
-
3284
- * plugins/badbehaviour.php, plugins/searchengine.php, wp-cache.php:
3285
- gettext updates, thanks Gianni
3286
-
3287
- 2009-10-25 17:44 donncha
3288
-
3289
- * wp-cache.php: Check for WP_CACHE when plugin loaded rather than
3290
- after init. See
3291
- http://wordpress.org/support/topic/307644?replies=28#post-1258599
3292
-
3293
- 2009-10-21 12:22 donncha
3294
-
3295
- * wp-cache-phase2.php: Add wp_cache_clear_cache() function to clean
3296
- cache directory
3297
-
3298
- 2009-10-21 12:04 donncha
3299
-
3300
- * wp-cache-phase2.php: Fix indentation in ob callback
3301
-
3302
- 2009-10-21 12:01 donncha
3303
-
3304
- * wp-cache-phase2.php: Only show logged in message when debugging
3305
- enabled
3306
-
3307
- 2009-10-20 11:21 donncha
3308
-
3309
- * wp-super-cache.pot: Updated translation file
3310
-
3311
- 2009-10-20 11:19 donncha
3312
-
3313
- * wp-cache.php: Minor typo
3314
-
3315
- 2009-10-20 11:13 donncha
3316
-
3317
- * wp-cache.php: Minor text change to aid translation. Props Aldo
3318
- Latino
3319
-
3320
- 2009-10-15 03:08 donncha
3321
-
3322
- * readme.txt: Added troubleshooting no 20., php vs apache owners
3323
- accessing cache files. props Nikolay Bachiyski.
3324
-
3325
- 2009-10-12 22:01 donncha
3326
-
3327
- * wp-cache.php: Fix problem deleting cache files. props Marco
3328
- Schmoecker
3329
-
3330
- 2009-10-06 14:55 donncha
3331
-
3332
- * wp-cache-phase2.php: Deleting a moderated comment shouldn't
3333
- delete cached files.
3334
-
3335
- 2009-10-06 10:32 donncha
3336
-
3337
- * wp-cache-phase2.php: "wp_set_comment_status" action has 2
3338
- parameters
3339
-
3340
- 2009-10-06 08:50 donncha
3341
-
3342
- * wp-cache-phase2.php: Don't delete cache files on moderated pings
3343
- or trackbacks
3344
-
3345
- 2009-10-05 21:29 donncha
3346
-
3347
- * wp-cache.php: Remove this debugging code
3348
-
3349
- 2009-10-05 21:25 donncha
3350
-
3351
- * wp-cache.php: Schedule the site checker from the admin page, fix
3352
- typo when checking schedules
3353
-
3354
- 2009-10-05 16:53 donncha
3355
-
3356
- * wp-cache.php: Added gzipped front page checker that kicks in
3357
- every 60 seconds via cron
3358
-
3359
- 2009-10-02 21:42 donncha
3360
-
3361
- * Changelog.txt: More updating
3362
-
3363
- 2009-10-02 21:40 donncha
3364
-
3365
- * readme.txt, wp-cache.php: Bump version to 0.9.7
3366
-
3367
- 2009-10-02 21:39 donncha
3368
-
3369
- * Changelog.txt: Updated changelog
3370
-
3371
- 2009-10-02 21:34 donncha
3372
-
3373
- * wp-cache-phase2.php: Don't show "blank page", "404 not cached" or
3374
- "no html tag" warnings on output unless debugging enabled.
3375
-
3376
- 2009-10-02 19:45 donncha
3377
-
3378
- * Changelog.txt, readme.txt: Updated changelog and readme.txt
3379
- changes
3380
-
3381
- 2009-10-02 13:14 donncha
3382
-
3383
- * wp-super-cache.pot: Updated POT file
3384
-
3385
- 2009-10-02 13:09 donncha
3386
-
3387
- * wp-cache.php: Minor text change to bio text
3388
-
3389
- 2009-10-01 20:47 donncha
3390
-
3391
- * wp-cache-phase2.php, wp-cache.php: Added more debugging, on cache
3392
- cleanup
3393
-
3394
- 2009-10-01 20:26 donncha
3395
-
3396
- * wp-cache.php: Sort the file listing by newest first.
3397
- Hide a filemtime warning, props @reverbstudios
3398
-
3399
- 2009-10-01 19:57 donncha
3400
-
3401
- * wp-cache-phase1.php: Load wp-cache-phase2.php all the time
3402
-
3403
- 2009-10-01 17:50 donncha
3404
-
3405
- * readme.txt: Added "How do I make certain parts of the page stay
3406
- dynamic?" to FAQ
3407
-
3408
- 2009-09-30 09:51 donncha
3409
-
3410
- * wp-cache.php: Sort the stale from the fresh wp-cache files
3411
- properly
3412
-
3413
- 2009-09-29 22:21 donncha
3414
-
3415
- * wp-cache-config-sample.php: Added $wp_super_cache_late_init to
3416
- config page
3417
-
3418
- 2009-09-29 10:17 donncha
3419
-
3420
- * wp-cache.php: Add button to delete specific cache files.
3421
-
3422
- 2009-09-29 09:14 donncha
3423
-
3424
- * wp-cache.php: Count wp-cached cache files correctly
3425
-
3426
- 2009-09-29 08:17 donncha
3427
-
3428
- * wp-cache-config-sample.php: Added "Yandex" to list of rejected UA
3429
- for not caching
3430
-
3431
- 2009-09-29 08:08 donncha
3432
-
3433
- * wp-cache.php: Add anchors to each section of the admin page
3434
-
3435
- 2009-09-29 07:47 donncha
3436
-
3437
- * wp-cache-phase2.php: Don't cache wp-admin requests
3438
-
3439
- 2009-09-29 07:43 donncha
3440
-
3441
- * wp-cache-phase2.php: Disable supercaching when GET parameters
3442
- present instead of all caching. Disable on POST (as normal) and
3443
- preview
3444
-
3445
- 2009-09-28 21:59 donncha
3446
-
3447
- * wp-cache-phase1.php: Move cron code down so that cache variables
3448
- are set.
3449
-
3450
- 2009-09-28 21:37 donncha
3451
-
3452
- * wp-super-cache.pot: More translatable text
3453
-
3454
- 2009-09-28 21:35 donncha
3455
-
3456
- * wp-cache.php: More il8n mods
3457
-
3458
- 2009-09-28 17:48 donncha
3459
-
3460
- * wp-cache.php: More il8n mods
3461
-
3462
- 2009-09-28 13:57 donncha
3463
-
3464
- * wp-cache.php: Add positional anchors
3465
-
3466
- 2009-09-28 13:52 donncha
3467
-
3468
- * wp-cache.php: Improve listing of cache files
3469
-
3470
- 2009-09-28 13:35 donncha
3471
-
3472
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Record
3473
- the cache key in the wp-cache meta file. Show that key on the
3474
- admin page file listings and add "wp_cache_meta" filter to modify
3475
- the cache meta data
3476
-
3477
- 2009-09-28 13:12 donncha
3478
-
3479
- * wp-cache.php: Warn users they must enable mobile device support
3480
- if rewrite rules detected. Better detect when to warn that
3481
- .htaccess rules must be updated (no need when rewrite rules not
3482
- present)
3483
-
3484
- 2009-09-28 11:12 donncha
3485
-
3486
- * wp-cache.php: Allow admin to list cached files.
3487
-
3488
- 2009-09-28 09:43 donncha
3489
-
3490
- * wp-cache.php: More il8n changes
3491
-
3492
- 2009-09-24 20:45 donncha
3493
-
3494
- * wp-cache.php: Forgot the fieldset, props thunderlounge!
3495
-
3496
- 2009-09-24 11:43 donncha
3497
-
3498
- * wp-cache.php, wp-super-cache.pot: Renamed text domain to
3499
- wp-super-cache
3500
- Added .pot file
3501
- Load text domain as described in
3502
- http://codex.wordpress.org/I18n_for_WordPress_Developers
3503
-
3504
- 2009-09-24 11:27 donncha
3505
-
3506
- * wp-cache.php: First stab at internationalising wp-super-cache
3507
-
3508
- 2009-09-24 10:18 donncha
3509
-
3510
- * wp-cache.php: Removed REQUEST_URI from form actions
3511
-
3512
- 2009-09-20 21:13 donncha
3513
-
3514
- * wp-cache-phase2.php, wp-cache.php: Added "Newest Cached Pages"
3515
- option to list 10 newest pages cached by the plugin.
3516
-
3517
- 2009-09-20 19:10 donncha
3518
-
3519
- * wp-cache-phase2.php: Added "wpsupercache_404" filter. Return true
3520
- to cache error 404 pages. Props simonwheatley, see
3521
- http://wordpress.org/support/topic/312672
3522
-
3523
- 2009-09-18 20:37 donncha
3524
-
3525
- * wp-cache-phase1.php: Include the wordpress_test_cookie in the
3526
- cache key for wp-cache files.
3527
-
3528
- 2009-09-16 10:23 donncha
3529
-
3530
- * wp-cache-phase1.php: Late Init. Don't do anything until "init"
3531
-
3532
- 2009-09-16 10:21 donncha
3533
-
3534
- * wp-cache-phase2.php: Better debug messages
3535
-
3536
- 2009-09-15 10:58 donncha
3537
-
3538
- * wp-cache-config-sample.php, wp-cache-phase1.php,
3539
- wp-cache-phase2.php, wp-cache.php: Check if logging enabled
3540
- before calling debug function (optimization)
3541
- Improve debug admin screen
3542
-
3543
- 2009-09-10 10:12 donncha
3544
-
3545
- * wp-cache.php: Generate the correct rules for users ins
3546
- directories
3547
-
3548
- 2009-09-10 08:41 donncha
3549
-
3550
- * wp-cache.php: When cache compression is off don't divide number
3551
- of cached files by 2 as no .gz files are created. Props dpark,
3552
- http://wordpress.org/support/topic/309443
3553
-
3554
- 2009-09-09 16:29 donncha
3555
-
3556
- * wp-cache-phase2.php: Improved output buffer error message
3557
-
3558
- 2009-09-09 12:37 donncha
3559
-
3560
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Added
3561
- debug settings section on admin page.
3562
-
3563
- 2009-09-09 09:11 donncha
3564
-
3565
- * wp-cache.php: Check if safe_mode is 1 or "on",
3566
- http://wordpress.org/support/topic/239579?replies=9#post-1204927
3567
-
3568
- 2009-09-03 11:06 donncha
3569
-
3570
- * wp-cache-phase2.php: Don't cache GET requests earlier on before
3571
- OB is set up.
3572
-
3573
- 2009-09-03 11:05 donncha
3574
-
3575
- * wp-cache-phase1.php: If debugging is not set then return
3576
- immediately
3577
-
3578
- 2009-09-03 11:02 donncha
3579
-
3580
- * wp-cache-config-sample.php, wp-cache-phase1.php,
3581
- wp-cache-phase2.php: Added logging to a file and configurable log
3582
- level
3583
-
3584
- 2009-09-01 09:31 donncha
3585
-
3586
- * readme.txt: Updated description of "How to tell if a page is
3587
- cached"
3588
-
3589
- 2009-09-01 09:26 donncha
3590
-
3591
- * wp-cache.php: Tell user that compression is enabled in half-on
3592
- mode.
3593
-
3594
- 2009-08-24 13:04 donncha
3595
-
3596
- * readme.txt: Added http://redbot.org/ to FAQ (thanks Alex!)
3597
-
3598
- 2009-08-24 12:14 donncha
3599
-
3600
- * wp-cache.php: Send the Vary header to browsers
3601
-
3602
- 2009-08-24 08:49 donncha
3603
-
3604
- * readme.txt: Added FAQ about caching warnings at
3605
- ismyblogworking.com
3606
-
3607
- 2009-08-21 16:52 donncha
3608
-
3609
- * wp-cache.php: Minor fixes for rewrite rules.
3610
- http://wordpress.org/support/topic/301570?replies=14
3611
-
3612
- 2009-08-19 08:44 donncha
3613
-
3614
- * readme.txt: Added troubleshooting note to use half-on mode if
3615
- timestamp keeps updating.
3616
-
3617
- 2009-08-06 10:55 donncha
3618
-
3619
- * wp-cache-phase2.php, wp-cache.php: Added "Cached Page" counter.
3620
-
3621
- 2009-07-30 08:24 donncha
3622
-
3623
- * wp-cache-phase2.php, wp-cache.php: Add support for not caching
3624
- feeds and search pages.
3625
-
3626
- 2009-07-29 17:28 donncha
3627
-
3628
- * Changelog.txt: Updated changelog
3629
-
3630
- 2009-07-29 17:26 donncha
3631
-
3632
- * readme.txt, wp-cache.php: Bump version to 0.9.6.1
3633
-
3634
- 2009-07-29 17:13 donncha
3635
-
3636
- * readme.txt: Added changelog details for 0.9.6.1
3637
-
3638
- 2009-07-29 11:43 donncha
3639
-
3640
- * wp-cache-phase2.php, wp-cache.php: Apply "no caching" rules
3641
- Record options properly
3642
-
3643
- 2009-07-29 11:29 donncha
3644
-
3645
- * wp-cache.php: Add page types to not cache to admin page
3646
-
3647
- 2009-07-29 09:36 donncha
3648
-
3649
- * wp-cache-phase2.php: Move logged in message below check for POST
3650
- Add check for is_admin() too
3651
- (http://wordpress.org/support/topic/294687)
3652
-
3653
- 2009-07-27 11:51 donncha
3654
-
3655
- * Changelog.txt: Updated changelog
3656
-
3657
- 2009-07-27 11:50 donncha
3658
-
3659
- * readme.txt, wp-cache.php: Bumped version to 0.9.6
3660
-
3661
- 2009-07-27 11:49 donncha
3662
-
3663
- * Changelog.txt: Updated changelog.txt
3664
-
3665
- 2009-07-27 11:46 donncha
3666
-
3667
- * wp-cache.php: I prefer pretty links
3668
-
3669
- 2009-07-27 11:43 donncha
3670
-
3671
- * readme.txt: Added 0.9.6 changelog
3672
-
3673
- 2009-07-27 11:38 donncha
3674
-
3675
- * wp-cache-phase2.php: Only show "not cached" message to logged in
3676
- users if not a feed.
3677
-
3678
- 2009-07-27 11:34 donncha
3679
-
3680
- * wp-cache.php: Add link to uninstall script to admin page
3681
-
3682
- 2009-07-27 11:33 donncha
3683
-
3684
- * readme.txt: Added filesmatch rules to docs
3685
-
3686
- 2009-07-27 11:26 donncha
3687
-
3688
- * readme.txt: Added docs for using uninstall script
3689
-
3690
- 2009-07-27 11:25 donncha
3691
-
3692
- * uninstall.php: Check if user can install plugins in uninstall
3693
- script
3694
-
3695
- 2009-07-27 11:17 donncha
3696
-
3697
- * uninstall.php: Added uninstall script
3698
-
3699
- 2009-07-27 10:42 donncha
3700
-
3701
- * wp-cache-phase2.php: Removed check of filemtime that's not needed
3702
- any more.
3703
-
3704
- 2009-07-27 10:41 donncha
3705
-
3706
- * wp-cache.php: Added "ForceType" in cache .htaccess to force
3707
- supercache html.gz files to be served as html files.
3708
-
3709
- 2009-07-27 10:39 donncha
3710
-
3711
- * readme.txt: Added category page and static page problem to FAQ
3712
-
3713
- 2009-07-21 11:57 donncha
3714
-
3715
- * wp-cache-phase1.php: Fix indentation
3716
-
3717
- 2009-07-21 11:55 donncha
3718
-
3719
- * wp-cache-phase2.php: Add back in
3720
- wp_cache_user_agent_is_rejected() if it doesn't exist (shouldn't
3721
- happen but it does)
3722
-
3723
- 2009-07-21 10:58 donncha
3724
-
3725
- * wp-cache-phase2.php: Added message to show to logged in users
3726
- when caching disabled for them.
3727
-
3728
- 2009-07-21 10:34 donncha
3729
-
3730
- * wp-cache-phase2.php: Check the filemtime on the right file, props
3731
- Simone Marx
3732
-
3733
- 2009-07-20 16:37 donncha
3734
-
3735
- * wp-cache.php: Remove "get_comment_author_url" filter
3736
-
3737
- 2009-07-17 15:42 donncha
3738
-
3739
- * wp-cache.php: Silly typo
3740
-
3741
- 2009-07-17 15:41 donncha
3742
-
3743
- * wp-cache.php: Use Amazon UK link rather than US one
3744
-
3745
- 2009-07-17 15:31 donncha
3746
-
3747
- * Changelog.txt: Updated changelog
3748
-
3749
- 2009-07-17 15:30 donncha
3750
-
3751
- * readme.txt: Added changelog to readme.txt
3752
-
3753
- 2009-07-17 15:22 donncha
3754
-
3755
- * readme.txt, wp-cache.php: Bump version to 0.9.5
3756
- Bump tested version to 2.8.1
3757
-
3758
- 2009-07-17 15:19 donncha
3759
-
3760
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Don't
3761
- serve wp_cached cache files to rejected USER AGENTs
3762
-
3763
- 2009-07-17 15:08 donncha
3764
-
3765
- * wp-cache.php: Show next and last GC times in minutes, not local
3766
- times
3767
-
3768
- 2009-07-02 17:21 donncha
3769
-
3770
- * wp-cache-phase2.php: Rearrange checks for cache files.
3771
-
3772
- 2009-06-25 21:01 donncha
3773
-
3774
- * wp-cache-phase2.php: Hide filemtime warnings
3775
-
3776
- 2009-06-19 15:07 donncha
3777
-
3778
- * wp-cache-phase1.php: Don't check the filesize or mtime
3779
-
3780
- 2009-06-19 13:02 donncha
3781
-
3782
- * wp-cache-phase1.php, wp-cache-phase2.php: Don't check file age
3783
- when serving cached content - it will be deleted by ordinary
3784
- updates or by garbage collection
3785
- Check file age of each cache file only when regenerating (and
3786
- only to check if file was recently recreated)
3787
-
3788
- 2009-06-19 09:03 donncha
3789
-
3790
- * wp-cache.php: Updated blurb
3791
-
3792
- 2009-06-19 09:01 donncha
3793
-
3794
- * Changelog.txt: Updated changelog
3795
-
3796
- 2009-06-18 12:34 donncha
3797
-
3798
- * wp-cache-phase2.php: Typos in closing and unlink commands
3799
-
3800
- 2009-06-12 10:47 donncha
3801
-
3802
- * readme.txt, wp-cache-config-sample.php, wp-cache-phase1.php,
3803
- wp-cache.php: Bump tested version to 2.8
3804
- Applied patch to fix PHP warnings by Matt Martz,
3805
- http://sivel.net/
3806
-
3807
- 2009-06-10 22:46 donncha
3808
-
3809
- * wp-cache-phase1.php: Forgot the mobile whitelist
3810
-
3811
- 2009-06-05 17:04 donncha
3812
-
3813
- * wp-cache-phase1.php: Use cookies action instead of cache_key so
3814
- that supercache files aren't generated by anon mobile users
3815
-
3816
- 2009-06-05 15:12 donncha
3817
-
3818
- * wp-cache-config-sample.php, wp-cache.php: Added "Android" mobile
3819
- user agent, thanks Matt Martz/sivel
3820
-
3821
- 2009-06-05 12:27 donncha
3822
-
3823
- * readme.txt, wp-cache.php: Don't force the plugin into "half on"
3824
- mode if mobile support selected.
3825
- Added rewrite rules so that mobile devices are ignored by static
3826
- cache.
3827
- Thanks Vladimir Prelovac for bugging me about this.
3828
-
3829
- 2009-05-29 08:40 donncha
3830
-
3831
- * wp-cache-phase1.php: Ignore the WP test cookie, props Jay @
3832
- http://jay.gooby.org/post/nginx-wp-super-cache-not-writing-cache-files-solved
3833
-
3834
- 2009-05-26 09:55 donncha
3835
-
3836
- * wp-cache-phase2.php: Use blog's html type rather than text/html,
3837
- props Weston Ruter
3838
-
3839
- 2009-05-26 09:25 donncha
3840
-
3841
- * wp-cache-phase1.php, wp-cache-phase2.php: Cache the REQUEST_URI
3842
- in $wp_cache_request_uri in case a plugin overwrites it.
3843
-
3844
- 2009-05-21 13:12 donncha
3845
-
3846
- * wp-cache.php: Add newlines to mod_rewrite rules
3847
-
3848
- 2009-05-19 11:21 donncha
3849
-
3850
- * readme.txt: Updated recent changes list
3851
-
3852
- 2009-05-19 11:18 donncha
3853
-
3854
- * readme.txt: Updated docs for DONOTCACHEPAGE constant
3855
-
3856
- 2009-05-19 11:15 donncha
3857
-
3858
- * wp-cache.php: Added "WPSC_DISABLE_COMPRESSION" constant so
3859
- hosting companies can disable compression in wp-super-cache
3860
-
3861
- 2009-05-19 11:04 donncha
3862
-
3863
- * wp-cache.php: Added "WPSC_DISABLE_LOCKING" constant so hosting
3864
- companies can disable file locking sitewide
3865
-
3866
- 2009-05-19 10:19 donncha
3867
-
3868
- * wp-cache-phase2.php: Added "DONOTCACHEPAGE" constant so plugins
3869
- can specify pages that should not be cached.
3870
-
3871
- 2009-05-11 13:35 donncha
3872
-
3873
- * wp-cache.php: Use PHP_DOCUMENT_ROOT in .htaccess rules if set,
3874
- props Adrian Ott @ Mosso
3875
-
3876
- 2009-04-25 06:30 donncha
3877
-
3878
- * Changelog.txt: Updated changelog
3879
-
3880
- 2009-04-25 06:30 donncha
3881
-
3882
- * readme.txt, wp-cache.php: Bumped version number to 0.9.4.3
3883
-
3884
- 2009-04-23 20:04 donncha
3885
-
3886
- * wp-cache-phase2.php: Move mutex init above actions again
3887
-
3888
- 2009-04-22 11:34 donncha
3889
-
3890
- * readme.txt, wp-cache.php: Bump version number to 0.9.4.2
3891
-
3892
- 2009-04-22 11:06 donncha
3893
-
3894
- * wp-cache-phase2.php: Move check for logged in user after actions
3895
- are defined, otherwise cache files aren't updated. See
3896
- http://wordpress.org/support/topic/264090?replies=2
3897
-
3898
- 2009-04-21 19:53 donncha
3899
-
3900
- * Changelog.txt: Updated changelog
3901
-
3902
- 2009-04-21 19:53 donncha
3903
-
3904
- * readme.txt, wp-cache.php: Bumped version to 0.9.4.1
3905
-
3906
- 2009-04-21 19:52 donncha
3907
-
3908
- * wp-cache.php: Oops, make sure the "don't cache if logged in"
3909
- checkbox can be unchecked!
3910
- Clear the cache when it's enabled
3911
-
3912
- 2009-04-21 15:46 donncha
3913
-
3914
- * Changelog.txt: Updated changelog
3915
-
3916
- 2009-04-21 15:45 donncha
3917
-
3918
- * readme.txt: Updated recent changes
3919
-
3920
- 2009-04-21 15:44 donncha
3921
-
3922
- * Changelog.txt: Updated changelog
3923
-
3924
- 2009-04-21 15:43 donncha
3925
-
3926
- * readme.txt, wp-cache.php: Bumped version number to 0.9.4
3927
-
3928
- 2009-04-21 11:46 donncha
3929
-
3930
- * wp-cache.php: Minor docs update
3931
-
3932
- 2009-04-20 09:25 donncha
3933
-
3934
- * wp-cache-phase2.php: Check that user is logged in before not
3935
- caching
3936
-
3937
- 2009-04-20 08:49 donncha
3938
-
3939
- * wp-cache-phase2.php, wp-cache.php: Added "Don't cache for logged
3940
- in users" option
3941
-
3942
- 2009-04-18 22:03 donncha
3943
-
3944
- * readme.txt: Updated donation link
3945
-
3946
- 2009-04-15 16:38 donncha
3947
-
3948
- * wp-cache.php: Display file size stats on admin page
3949
-
3950
- 2009-04-15 15:27 donncha
3951
-
3952
- * wp-cache-phase2.php: Clear the cache when the profile is updated.
3953
- Props djquinn http://wordpress.org/support/topic/261504?replies=6
3954
- http://www.dquinn.net/wp-super-cache-preview-draft-update-profile-wordpress/
3955
-
3956
- 2009-04-15 15:25 donncha
3957
-
3958
- * wp-cache-phase1.php: Don't cache post previews
3959
-
3960
- 2009-04-14 14:10 donncha
3961
-
3962
- * wp-cache-config-sample.php, wp-cache.php: Added backslashes to
3963
- rejected URI. See
3964
- http://wordpress.org/support/topic/260790?replies=10#post-1045412
3965
-
3966
- 2009-04-06 14:17 donncha
3967
-
3968
- * Changelog.txt: Updated changelog to 0.9.3.1
3969
-
3970
- 2009-04-06 14:16 donncha
3971
-
3972
- * readme.txt, wp-cache.php: Bump version to 0.9.3.1
3973
-
3974
- 2009-04-06 14:16 donncha
3975
-
3976
- * readme.txt: Added link to forum thread on posting problems in
3977
- 0.9.3
3978
-
3979
- 2009-04-06 14:11 donncha
3980
-
3981
- * readme.txt: Added "Recent Changes" section to start of readme.txt
3982
- to make life easier on those upgrading
3983
-
3984
- 2009-04-05 22:15 donncha
3985
-
3986
- * advanced-cache.php: Don't show broken path message in wp-admin.
3987
- Check if file is missing before showing an error
3988
-
3989
- 2009-04-05 21:51 donncha
3990
-
3991
- * wp-cache-phase1.php: Return true so the include_once() returns
3992
- true. Fixes problem with saving posts
3993
-
3994
- 2009-04-05 18:53 donncha
3995
-
3996
- * wp-cache-phase2.php: Clear the supercache when all cache is
3997
- cleared on post edit.
3998
-
3999
- 2009-04-05 18:53 donncha
4000
-
4001
- * advanced-cache.php: whitespace cleanup
4002
-
4003
- 2009-04-05 09:36 donncha
4004
-
4005
- * Changelog.txt: Updated changelog
4006
-
4007
- 2009-04-05 08:25 donncha
4008
-
4009
- * wp-cache-phase2.php: Hide any potential opendir warnings
4010
-
4011
- 2009-04-04 11:40 donncha
4012
-
4013
- * Changelog.txt: Updated Changelog to 0.9.3
4014
-
4015
- 2009-04-04 11:40 donncha
4016
-
4017
- * readme.txt, wp-cache.php: Bump version number to 0.9.3
4018
-
4019
- 2009-04-04 11:23 donncha
4020
-
4021
- * wp-cache.php: Minor change in cache rebuild and mutex option text
4022
-
4023
- 2009-04-04 11:15 donncha
4024
-
4025
- * wp-cache-phase1.php: Cache files for single blogs go in cache/,
4026
- MU cache files go in cache/blogs/
4027
-
4028
- 2009-04-03 15:01 donncha
4029
-
4030
- * wp-cache-config-sample.php, wp-cache.php: "Cache rebuild" feature
4031
- is now on by default
4032
- File locks are off by default
4033
- Change language on admin page to "Enable file locking" instead of
4034
- "Disable..."
4035
-
4036
- 2009-04-02 19:56 donncha
4037
-
4038
- * wp-cache-phase2.php: Get rid of more get_option() calls in the
4039
- shutdown function
4040
-
4041
- 2009-04-02 13:42 donncha
4042
-
4043
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Added a
4044
- blog cache dir. WordPress MU blogs will be cached into different
4045
- directories.
4046
- Regular WP will cache into cache/blogs/ instead of cache/
4047
-
4048
- 2009-04-02 13:41 donncha
4049
-
4050
- * readme.txt: Update docs:
4051
- 1. new signature on page.
4052
- 2. Minor text changes
4053
-
4054
- 2009-04-02 11:49 donncha
4055
-
4056
- * wp-cache-phase2.php: Removed errlog
4057
-
4058
- 2009-04-02 11:09 donncha
4059
-
4060
- * wp-cache-phase2.php: Check if rejected uri expr is a blank. See
4061
- http://justinblanton.com/2009/03/broken-wp-super-cache
4062
-
4063
- 2009-04-01 11:46 donncha
4064
-
4065
- * wp-cache-phase2.php: Added "wp_cache_rebuild_or_delete()"
4066
- function to delete or create rebuild cache files
4067
-
4068
- 2009-03-31 10:56 donncha
4069
-
4070
- * readme.txt: Minor docs update
4071
-
4072
- 2009-03-31 10:53 donncha
4073
-
4074
- * readme.txt: Updated docs to stress that wp-cached files are "good
4075
- enough" for most people.
4076
-
4077
- 2009-03-31 10:46 donncha
4078
-
4079
- * advanced-cache.php, readme.txt: Added "wpcache_broken_message()"
4080
- and code to catch when path in advanced-cache.php is broken.
4081
-
4082
- 2009-03-31 10:32 donncha
4083
-
4084
- * wp-cache.php: Check if admin_url exists. Not everyone updates
4085
- WordPress.
4086
-
4087
- 2009-03-31 10:31 donncha
4088
-
4089
- * wp-cache-phase2.php: In post change, remove corrupted or obsolete
4090
- meta and cache files
4091
-
4092
- 2009-03-31 10:30 donncha
4093
-
4094
- * Changelog.txt: Updated changelog.txt
4095
-
4096
- 2009-03-30 16:12 donncha
4097
-
4098
- * wp-cache-phase2.php: Added an "auto reject" list of URIs
4099
-
4100
- 2009-03-30 06:22 donncha
4101
-
4102
- * wp-cache-phase1.php: Remove corrupted or obsolete meta file and
4103
- cache file.
4104
-
4105
- 2009-03-30 04:53 donncha
4106
-
4107
- * wp-cache-phase1.php, wp-cache-phase2.php: Don't use array_push().
4108
- Removed wp_cache_file_contents action as it may contribute to
4109
- memory problems for some hosts.
4110
- Pass buffer by reference to ob function.
4111
- Revert merge of shutdown function and ob function
4112
- Pass "siteurl" to post_id gc function
4113
-
4114
- 2009-03-29 16:32 donncha
4115
-
4116
- * wp-cache-phase1.php: Make sure $meta is an array
4117
-
4118
- 2009-03-28 13:03 donncha
4119
-
4120
- * Changelog.txt: Updated changelog
4121
-
4122
- 2009-03-28 13:02 donncha
4123
-
4124
- * readme.txt, wp-cache.php: Bump version number to 0.9.2
4125
-
4126
- 2009-03-28 12:58 donncha
4127
-
4128
- * readme.txt: Added a troubleshooting entry for advanced-cache.php
4129
-
4130
- 2009-03-28 12:54 donncha
4131
-
4132
- * advanced-cache.php: Include once instead of require because it
4133
- won't cause a FATAL error if the path is incorrect
4134
-
4135
- 2009-03-28 12:39 donncha
4136
-
4137
- * readme.txt: Minimum version is now 2.6, props tigertech,
4138
- http://wordpress.org/support/topic/255628?replies=1
4139
-
4140
- 2009-03-28 12:34 donncha
4141
-
4142
- * wp-cache-phase2.php: Delete static "pages on front" when posts
4143
- change.
4144
-
4145
- 2009-03-28 12:30 donncha
4146
-
4147
- * readme.txt: Move uninstall instructions up
4148
- Added "If all else fails" instructions
4149
-
4150
- 2009-03-21 21:15 donncha
4151
-
4152
- * wp-cache.php: Added "Settings" link on plugins page.
4153
- Simplified admin notice, may fix 500 internal errors
4154
-
4155
- 2009-03-21 21:13 donncha
4156
-
4157
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Revert
4158
- moving meta information into cache file. It took too long to scan
4159
- the directory
4160
-
4161
- 2009-03-20 15:34 donncha
4162
-
4163
- * wp-cache-phase2.php: Unlink supercache cache files as well as
4164
- wp-cache files
4165
-
4166
- 2009-03-20 15:33 donncha
4167
-
4168
- * wp-cache-phase2.php: No need for separate $log variable
4169
-
4170
- 2009-03-20 15:31 donncha
4171
-
4172
- * wp-cache-phase2.php: $supercacheonly is set further up
4173
-
4174
- 2009-03-20 15:30 donncha
4175
-
4176
- * wp-cache-phase2.php: Minor typos "attac"
4177
- Removed unused function
4178
-
4179
- 2009-03-20 15:28 donncha
4180
-
4181
- * wp-cache-phase2.php: Make sure other actions have a chance to
4182
- mark comments as spam
4183
-
4184
- 2009-03-13 22:19 donncha
4185
-
4186
- * wp-cache-phase1.php: Don't need that error_log
4187
-
4188
- 2009-03-13 11:41 donncha
4189
-
4190
- * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Make meta
4191
- an array rather than an object because of this change to PHP5:
4192
- http://bugs.php.net/bug.php?id=40104
4193
- Move meta file data into cache file.
4194
-
4195
- 2009-03-13 09:06 donncha
4196
-
4197
- * wp-cache-phase2.php: Move wp_cache_shutdown_callback() into the
4198
- ob callback
4199
-
4200
- 2009-03-09 09:52 donncha
4201
-
4202
- * wp-cache.php: Only check for apache modules if in supercache
4203
- mode.
4204
-
4205
- 2009-02-27 09:55 donncha
4206
-
4207
- * plugins/badbehaviour.php: Note that compression disabled when BB
4208
- support enabled.
4209
-
4210
- 2009-02-27 09:46 donncha
4211
-
4212
- * plugins/badbehaviour.php: Bad-behavior fixes. Plugin will find
4213
- the bb plugin folder now.
4214
-
4215
- 2009-02-26 12:55 donncha
4216
-
4217
- * wp-cache-phase1.php: set the right variable.
4218
-
4219
- 2009-02-26 11:53 donncha
4220
-
4221
- * Changelog.txt: Updated changelog, should have svnupped last time
4222
-
4223
- 2009-02-26 11:53 donncha
4224
-
4225
- * Changelog.txt: Updated changelog
4226
-
4227
- 2009-02-26 11:51 donncha
4228
-
4229
- * readme.txt, wp-cache.php: Bump version to 0.9.1
4230
-
4231
- 2009-02-26 11:35 donncha
4232
-
4233
- * readme.txt: Updated docs on "expired pages" and the required
4234
- modules needed to serve new data
4235
-
4236
- 2009-02-26 11:23 donncha
4237
-
4238
- * wp-cache.php: Remove "experimental" heading.
4239
-
4240
- 2009-02-26 11:07 donncha
4241
-
4242
- * wp-cache.php: Added "About the author" box to admin page.
4243
-
4244
- 2009-02-19 16:07 donncha
4245
-
4246
- * wp-cache.php: Make the donation box hidable.
4247
-
4248
- 2009-02-19 15:46 donncha
4249
-
4250
- * wp-cache.php: Added donation button, yes my html skills suck.
4251
-
4252
- 2009-02-19 15:00 donncha
4253
-
4254
- * wp-cache.php: Match IP against 192.168 instead of 192.
4255
-
4256
- 2009-02-19 13:43 donncha
4257
-
4258
- * readme.txt, wp-cache.php: Added checks for hostname = 127.x.x.x
4259
- or 192.x.x.x or if available uses wp_remote_get() to load
4260
- wp-cron.php
4261
- Gives warning if checks fail
4262
- Updated readme.txt with docs on how to resolve. Thanks to Joost
4263
- de Valk for help debugging this. http://yoast.com/wp-cron-issues/
4264
-
4265
- 2009-02-19 13:34 donncha
4266
-
4267
- * wp-cache-phase2.php: Hide file op warning.
4268
- Removed register_shutdown command that's not used any more
4269
-
4270
- 2009-02-19 11:48 donncha
4271
-
4272
- * wp-cache.php: Hide rename warning. Possibly related to no global
4273
- lock.
4274
-
4275
- 2009-02-17 13:04 donncha
4276
-
4277
- * Changelog.txt: Updated changelog
4278
-
4279
- 2009-02-17 12:58 donncha
4280
-
4281
- * wp-cache-phase2.php: Don't show no HTML tag warning for
4282
- robots.txt, http://wordpress.org/support/topic/243904?replies=1
4283
-
4284
- 2009-02-17 12:36 donncha
4285
-
4286
- * wp-cache.php: Clear the supercache folder when it's disabled.
4287
- Remove the .disabled folder if a supercache folder exists.
4288
- Show Last and Next garbage collection times as UTC
4289
- Added an admin notice on the plugins page if wp-super-cache
4290
- caching is disabled
4291
- Add plugin notice below plugin row if caching is disabled
4292
-
4293
- 2009-02-17 12:34 donncha
4294
-
4295
- * wp-cache-phase2.php: Hide some filemtime() warnings. Without a
4296
- global file lock we'll get more of these.
4297
-
4298
- 2009-02-17 12:33 donncha
4299
-
4300
- * plugins/badbehaviour.php: Disable the supercache if Bad Behaviour
4301
- support is enabled.
4302
-
4303
- 2009-02-14 11:48 donncha
4304
-
4305
- * readme.txt: Updated tag and added Donation link
4306
-
4307
- 2009-02-06 10:48 donncha
4308
-
4309
- * wp-cache-phase1.php, wp-cache-phase2.php: Just use the output
4310
- buffer, no shutdown functions.
4311
-
4312
- 2009-02-05 20:53 donncha
4313
-
4314
- * wp-cache-phase2.php: No need to call this callback twice!
4315
-
4316
- 2009-02-05 15:32 donncha
4317
-
4318
- * wp-cache-config-sample.php: Remove any slashes left in the
4319
- blogcacheid
4320
-
4321
- 2009-02-05 13:36 donncha
4322
-
4323
- * wp-cache.php: Replace blashslashes in WP_CONTENT_DIR here,
4324
- possible Win32 fix
4325
-
4326
- 2009-02-05 10:20 donncha
4327
-
4328
- * readme.txt: Added "UserOnline" to the list of plugins that don't
4329
- update when a page is cached
4330
-
4331
- 2009-02-05 09:55 donncha
4332
-
4333
- * wp-cache.php: Replace backslashes in WP_CONTENT_DIR too. Win32
4334
- fix. props Chris (beerfan)
4335
-
4336
- 2009-02-04 21:49 donncha
4337
-
4338
- * wp-cache-config-sample.php, wp-cache-phase2.php: Added
4339
- $wp_cache_shutdown_gc config option to use shutdown instead of
4340
- wp-cron
4341
- Added comments on config options
4342
-
4343
- 2009-02-04 20:38 donncha
4344
-
4345
- * wp-cache-phase2.php: Don't create empty supercache directories.
4346
-
4347
- 2009-02-04 10:25 donncha
4348
-
4349
- * readme.txt: Troubleshooting updates: advanced-cache.php, cache on
4350
- NFS warning
4351
-
4352
- 2009-02-03 21:53 donncha
4353
-
4354
- * plugins/badbehaviour.php, wp-cache-phase1.php: Things act strange
4355
- when a function has a require_once(), even if it's never reached
4356
-
4357
- 2009-02-03 21:41 donncha
4358
-
4359
- * plugins/badbehaviour.php, plugins/searchengine.php,
4360
- wp-cache-config-sample.php, wp-cache-phase1.php: Added Bad
4361
- Behaviour plugin
4362
- Allow SuperCache plugin directory to be relocated. See
4363
- $wp_cache_plugins_dir in config file.
4364
- Fixed updating Active status of searchengine plugin
4365
- Added new cacheactions:
4366
- 'wp_cache_served_cache_file' activated just before headers are
4367
- sent for an existing cache file.
4368
- 'wp_cache_file_contents' filter that every wp-cache cache file is
4369
- sent through. (ignoring mfunc)
4370
-
4371
- 2009-02-03 12:11 donncha
4372
-
4373
- * wp-cache-phase1.php: Clean and echo the buffer
4374
-
4375
- 2009-02-03 11:49 donncha
4376
-
4377
- * wp-cache-phase1.php, wp-cache-phase2.php: Register supercache
4378
- shutdown function right at the start of the process so it's
4379
- executed before WP objects are destroyed
4380
-
4381
- 2009-02-02 15:48 donncha
4382
-
4383
- * wp-cache-phase2.php: Don't register shutdown function, call it
4384
- from the output buffer callback.
4385
-
4386
- 2009-02-02 09:58 donncha
4387
-
4388
- * wp-cache-phase2.php: Don't read files into an array, reverting
4389
- [86134]
4390
-
4391
- 2009-01-29 17:19 donncha
4392
-
4393
- * wp-cache.php: Remove double slashes from inst_root
4394
-
4395
- 2009-01-29 16:28 donncha
4396
-
4397
- * wp-cache.php: Guess the install root properly
4398
-
4399
- 2009-01-29 14:25 donncha
4400
-
4401
- * wp-cache-phase2.php: Revert prune_super_cache and
4402
- garbage_collection code.
4403
-
4404
- 2009-01-29 06:41 donncha
4405
-
4406
- * wp-cache.php: Fix caching for blogs installed in sub dirs. See
4407
- http://wordpress.org/support/topic/238022?replies=6
4408
-
4409
- 2009-01-27 19:57 donncha
4410
-
4411
- * wp-cache-phase2.php: Only rename the tmp cache file when it's
4412
- created.
4413
- Hide warnings about renames and unlinks
4414
-
4415
- 2009-01-27 06:18 donncha
4416
-
4417
- * Changelog.txt: Updated changelog
4418
-
4419
- 2009-01-27 06:17 donncha
4420
-
4421
- * readme.txt, wp-cache.php: Bump version to 0.9
4422
-
4423
- 2009-01-27 06:17 donncha
4424
-
4425
- * wp-cache-phase2.php: Bring back mfunc code
4426
-
4427
- 2009-01-27 05:53 donncha
4428
-
4429
- * wp-cache-phase2.php, wp-cache.php: Set GC to 10 minutes instead
4430
- of 30.
4431
-
4432
- 2009-01-26 20:08 donncha
4433
-
4434
- * wp-cache.php: Show last and next garbage collection times
4435
-
4436
- 2009-01-26 18:11 donncha
4437
-
4438
- * wp-cache.php: Make sure constant value is displayed, props
4439
- Jonathan Dingman
4440
-
4441
- 2009-01-26 17:32 donncha
4442
-
4443
- * wp-cache-phase1.php: Update mobile "enabled" variable
4444
-
4445
- 2009-01-26 17:32 donncha
4446
-
4447
- * wp-cache-phase2.php: Don't send gzip headers if headers already
4448
- sent
4449
-
4450
- 2009-01-26 13:00 donncha
4451
-
4452
- * wp-cache-config-sample.php, wp-cache-phase2.php, wp-cache.php:
4453
- Removed "dynamic caching" that isn't documented anywhere any more
4454
- Fixed activate bugs with mobile device support
4455
-
4456
- 2009-01-26 11:12 donncha
4457
-
4458
- * wp-cache-config-sample.php, wp-cache-phase1.php, wp-cache.php:
4459
- Mobile device support via
4460
- http://wordpress.org/extend/plugins/wordpress-mobile-edition/ by
4461
- Alex King
4462
-
4463
- 2009-01-26 10:03 donncha
4464
-
4465
- * readme.txt: Added extra FAQs
4466
-
4467
- 2009-01-25 11:21 donncha
4468
-
4469
- * wp-cache-phase2.php, wp-cache.php: Admin page updates
4470
- If expiry time is over 30 minutes, set garbage collection to 30
4471
- minutes, else expiry time
4472
-
4473
- 2009-01-25 09:11 donncha
4474
-
4475
- * wp-cache-phase2.php: If supercache enabled, Don't create wp-cache
4476
- files for anonymous users. Should cut down cached files by half
4477
- ore more.
4478
-
4479
- 2009-01-25 07:56 donncha
4480
-
4481
- * wp-cache-phase2.php: Warn if cache expiry cron job took longer
4482
- than 30 seconds, props SiriusBuzz
4483
-
4484
- 2009-01-25 07:49 donncha
4485
-
4486
- * advanced-cache.php, wp-cache-phase2.php, wp-cache.php:
4487
- advanced-cache.php will load the phase1.php even in relocated
4488
- plugin folders now. (NOTE. Must be updated if plugin folder
4489
- changes)
4490
- Removed error_log()
4491
-
4492
- 2009-01-24 06:03 donncha
4493
-
4494
- * wp-cache.php: Update advanced-cache.php message, props Jonathan
4495
- Dingman
4496
-
4497
- 2009-01-23 19:10 donncha
4498
-
4499
- * Changelog.txt: Updated Changelog for 0.8.9
4500
-
4501
- 2009-01-23 19:09 donncha
4502
-
4503
- * readme.txt, wp-cache.php: Bump version number to 0.8.9 and update
4504
- documentation
4505
-
4506
- 2009-01-23 18:34 donncha
4507
-
4508
- * wp-cache.php: Updated text
4509
-
4510
- 2009-01-23 12:43 donncha
4511
-
4512
- * wp-cache-phase2.php, wp-cache.php: Set garbage collection to 10
4513
- seconds after expiry
4514
-
4515
- 2009-01-23 12:13 donncha
4516
-
4517
- * wp-cache.php: mutext variable needs to be global
4518
-
4519
- 2009-01-23 12:06 donncha
4520
-
4521
- * advanced-cache.php, wp-cache.php: Added "advanced-cache.php"
4522
- which will load wp-cache-phase1.php
4523
- Copy that file to wp-content/ instead of symlinking
4524
- Added checkboxes for "cache rebuild" and "disable file locking"
4525
- remove #list anchor tag
4526
-
4527
- 2009-01-22 11:26 donncha
4528
-
4529
- * wp-cache-phase2.php: Delete lots more cache files in one go, for
4530
- busy sites
4531
-
4532
- 2009-01-21 13:42 donncha
4533
-
4534
- * wp-cache-phase2.php: Removed "cron job called" debug message
4535
-
4536
- 2009-01-21 13:05 donncha
4537
-
4538
- * wp-cache.php: Show all sections of the admin page by default.
4539
- Move cache contents up
4540
-
4541
- 2009-01-20 11:23 donncha
4542
-
4543
- * wp-cache.php: Admin page UI update, props Robert Wolf
4544
-
4545
- 2009-01-19 18:29 donncha
4546
-
4547
- * wp-cache-config-sample.php: Comment out $wp_cache_mutex_disabled
4548
- by default
4549
-
4550
- 2009-01-19 18:27 donncha
4551
-
4552
- * wp-cache-config-sample.php, wp-cache-phase2.php: Allow mutex file
4553
- locking to be disabled
4554
-
4555
- 2009-01-19 18:18 donncha
4556
-
4557
- * wp-cache.php: Fix the favourites if a non admin users logs in
4558
-
4559
- 2009-01-16 17:04 donncha
4560
-
4561
- * Changelog.txt: Updated Changelog
4562
-
4563
- 2009-01-16 17:03 donncha
4564
-
4565
- * wp-cache-config-sample.php, wp-cache-phase1.php,
4566
- wp-cache-phase2.php: Added simple DEBUG mode. Activate by setting
4567
- $wp_cache_debug to your email address in wp-cache-config.php
4568
- Sends debug emails on: cron job, failed job, when gzip headers
4569
- are missing from wp-cache meta file.
4570
-
4571
- 2009-01-16 16:14 donncha
4572
-
4573
- * readme.txt, wp-cache.php: Bump version to 0.8.8
4574
-
4575
- 2009-01-16 16:10 donncha
4576
-
4577
- * wp-cache.php: Added "Delete Cache" link to Favourites menu
4578
-
4579
- 2009-01-15 23:16 donncha
4580
-
4581
- * wp-cache-phase2.php: We clean up files as well as directories.
4582
- Should fix issue with non-updating blogs
4583
-
4584
- 2009-01-14 22:47 donncha
4585
-
4586
- * wp-cache-config-sample.php, wp-cache-phase1.php,
4587
- wp-cache-phase2.php: Remove debugging code
4588
-
4589
- 2009-01-14 18:51 donncha
4590
-
4591
- * wp-cache-config-sample.php, wp-cache-phase1.php,
4592
- wp-cache-phase2.php: Lots of debug code
4593
-
4594
- 2009-01-14 14:33 donncha
4595
-
4596
- * readme.txt: Updated the "How do I know my blog is being cached?"
4597
- FAQ
4598
-
4599
- 2009-01-12 17:51 donncha
4600
-
4601
- * wp-cache-phase2.php: Don't overwrite $dh directory handler
4602
-
4603
- 2009-01-12 17:38 donncha
4604
-
4605
- * wp-cache-phase2.php: When reading large directories, create array
4606
- of files. The opendir handle seems to die.
4607
-
4608
- 2009-01-11 09:16 donncha
4609
-
4610
- * wp-cache-phase2.php, wp-cache.php: Use opendir()/readdir()
4611
- instead of glob()
4612
-
4613
- 2009-01-09 21:16 donncha
4614
-
4615
- * wp-cache-phase2.php: Minor typo
4616
-
4617
- 2009-01-09 11:04 donncha
4618
-
4619
- * Changelog.txt: Updated changelog
4620
-
4621
- 2009-01-09 11:04 donncha
4622
-
4623
- * readme.txt, wp-cache.php: Bump version to 0.8.7
4624
-
4625
- 2009-01-09 10:59 donncha
4626
-
4627
- * wp-cache-phase2.php, wp-cache.php: Change default expiry time to
4628
- 10 minutes
4629
- Only clean out 100 files at a time. Should help with very large
4630
- sites.
4631
- Fix file pointer.
4632
-
4633
- 2008-12-05 09:57 donncha
4634
-
4635
- * wp-cache.php: Fix term -> meta typo, props kettari,
4636
- http://wordpress.org/support/topic/222613?replies=1
4637
-
4638
- 2008-12-04 18:13 donncha
4639
-
4640
- * Changelog.txt: Updated changelog for 0.8.6
4641
-
4642
- 2008-12-04 18:12 donncha
4643
-
4644
- * wp-cache-phase1.php: Added "WP-Super-Cache: WP-Cache" header for
4645
- cached php files.
4646
-
4647
- 2008-12-04 17:59 donncha
4648
-
4649
- * readme.txt, wp-cache.php: Bump version numberb to 2.7
4650
-
4651
- 2008-12-04 17:44 donncha
4652
-
4653
- * wp-cache.php: Hide unlink errors
4654
-
4655
- 2008-12-04 16:53 donncha
4656
-
4657
- * wp-cache-phase2.php: Use uniqid() instead of tempnam() to
4658
- generate temporary filenames.
4659
- No need for chmod.
4660
- Fixed minor typo
4661
-
4662
- 2008-12-04 13:40 donncha
4663
-
4664
- * wp-cache-phase2.php: Record time of cache generation
4665
-
4666
- 2008-12-04 13:27 donncha
4667
-
4668
- * readme.txt: Added Apache configuration docs on AllowOverride
4669
-
4670
- 2008-12-02 11:00 donncha
4671
-
4672
- * wp-cache.php: If WP_CACHE is not enabled, but the define() line
4673
- is in wp-config.php, stop, because it's probably commented out.
4674
-
4675
- 2008-12-01 11:38 donncha
4676
-
4677
- * wp-cache-phase2.php: Abort caching if plugin can't write to any
4678
- cache file, and report error
4679
- $gzsize may not survive to shutdown callback. Get the filesize
4680
- again
4681
-
4682
- 2008-12-01 11:37 donncha
4683
-
4684
- * wp-cache-phase1.php: Push the headers into the headers array, not
4685
- the meta object
4686
-
4687
- 2008-11-25 12:58 donncha
4688
-
4689
- * Changelog.txt: Updated changelog
4690
-
4691
- 2008-11-25 12:58 donncha
4692
-
4693
- * readme.txt, wp-cache.php: Bump version number to 0.8.5
4694
-
4695
- 2008-11-25 12:45 donncha
4696
-
4697
- * wp-cache-phase2.php: Added "supercache_dir" filter so supercache
4698
- directory can be modified.
4699
-
4700
- 2008-11-25 12:40 donncha
4701
-
4702
- * wp-cache-phase2.php: Removed backslashes from the supercache
4703
- filename
4704
-
4705
- 2008-11-25 12:27 donncha
4706
-
4707
- * wp-cache.php: Warn if Apache modules are missing.
4708
- Display gzip cache rewrite rules.
4709
- Deal with WordPress MU better as it can't upgrade the .htaccess
4710
- file.
4711
-
4712
- 2008-11-25 12:24 donncha
4713
-
4714
- * wp-cache-phase1.php: Added wp_cache_key cacheaction to modify
4715
- cache key (ie. add user agent, IP, etc)
4716
-
4717
- 2008-11-25 11:10 donncha
4718
-
4719
- * wp-cache-phase1.php, wp-cache-phase2.php: Check that cache file
4720
- exists before serving, it may have been removed without the meta
4721
- file
4722
-
4723
- 2008-11-25 11:01 donncha
4724
-
4725
- * wp-cache-phase2.php: Removed $gzipped variable
4726
-
4727
- 2008-11-25 10:54 donncha
4728
-
4729
- * wp-cache-phase2.php: No need to addslashes() to file functions
4730
-
4731
- 2008-11-14 13:20 donncha
4732
-
4733
- * wp-cache-phase2.php: Added wpsupercache_buffer filter so buffer
4734
- can be manipulated before writing to cache file
4735
-
4736
- 2008-11-14 13:00 donncha
4737
-
4738
- * wp-cache-phase2.php: Move gzip header detection down
4739
-
4740
- 2008-11-14 10:09 donncha
4741
-
4742
- * wp-cache-phase1.php, wp-cache-phase2.php: Add gzip headers back
4743
- if they are missing. Should fix problems with users seeing
4744
- corrupted pages.
4745
-
4746
- 2008-11-14 10:00 donncha
4747
-
4748
- * readme.txt: Updated docs on file locking
4749
-
4750
- 2008-11-11 17:28 donncha
4751
-
4752
- * wp-cache-phase2.php: Write wp-cache php cache files to temporary
4753
- files before moving into place.
4754
- Increase gzip compression to 3
4755
- If cron job failed to get mutex lock, try again in 10 minutes
4756
-
4757
- 2008-11-07 09:43 donncha
4758
-
4759
- * wp-cache.php: Use WP_CONTENT_URL in mod_rewrite rules.
4760
- Use WP_CONTENT_DIR in WPCACHEHOME definition.
4761
-
4762
- 2008-10-27 13:21 donncha
4763
-
4764
- * readme.txt: Added links section and link to WP Widget Cache,
4765
- props to Ben @ http://www.binarymoon.co.uk/
4766
- Minor troubleshooting update
4767
-
4768
- 2008-10-23 08:14 donncha
4769
-
4770
- * wp-cache.php: wp_cache_check_global_config() fixes by joelhardi,
4771
- http://wordpress.org/support/topic/211477?replies=1#post-879591
4772
-
4773
- 2008-10-22 15:57 donncha
4774
-
4775
- * Changelog.txt: Updated changelog
4776
-
4777
- 2008-10-22 15:55 donncha
4778
-
4779
- * readme.txt, wp-cache.php: Bump version number to 0.8.4
4780
-
4781
- 2008-10-11 22:10 donncha
4782
-
4783
- * wp-cache-phase2.php: Update the time of last gc
4784
-
4785
- 2008-10-10 11:54 donncha
4786
-
4787
- * wp-cache-phase2.php, wp-cache.php: Change garbage collection
4788
- parameters to time rather than hits
4789
-
4790
- 2008-10-08 16:06 donncha
4791
-
4792
- * Changelog.txt: Updated changelog
4793
-
4794
- 2008-10-08 16:04 donncha
4795
-
4796
- * readme.txt, wp-cache.php: Bump version numbers to 0.8.3
4797
- Updated docs
4798
-
4799
- 2008-10-08 08:12 donncha
4800
-
4801
- * readme.txt: Note for WPMU users,
4802
- http://wordpress.org/support/topic/208770?replies=3#post-871207
4803
-
4804
- 2008-10-07 12:03 donncha
4805
-
4806
- * readme.txt: x-gzip->gzip
4807
-
4808
- 2008-10-07 10:50 donncha
4809
-
4810
- * readme.txt: Minor typo,
4811
- http://wordpress.org/support/topic/208770?replies=1#post-870518
4812
-
4813
- 2008-10-07 10:44 donncha
4814
-
4815
- * plugins/searchengine.php: Don't overwrite logged in user details
4816
- in searchengine plugin.
4817
-
4818
- 2008-10-06 09:19 donncha
4819
-
4820
- * wp-cache-phase1.php, wp-cache.php: Encode as gzip, not x-gzip as
4821
- IE7 has problems with it. ref:
4822
- http://bugs.typo3.org/view.php?id=4623
4823
-
4824
- 2008-10-01 08:05 donncha
4825
-
4826
- * readme.txt, wp-cache.php: Options -> Settings, thanks webmaestro
4827
- http://wordpress.org/support/topic/207576?replies=2
4828
-
4829
- 2008-09-29 09:29 donncha
4830
-
4831
- * wp-cache.php: Only update "clear on post" setting when saving
4832
- status options, thanks Viper007Bond
4833
-
4834
- 2008-09-28 11:04 donncha
4835
-
4836
- * wp-cache-phase2.php: Only create compressed data if required
4837
-
4838
- 2008-09-28 06:16 donncha
4839
-
4840
- * wp-cache-phase2.php: Compress cache files with "dynamic content"
4841
- too
4842
-
4843
- 2008-09-28 05:56 donncha
4844
-
4845
- * wp-cache-phase2.php: Only compress cached files once. Nice speed
4846
- boost!
4847
-
4848
- 2008-09-28 05:46 donncha
4849
-
4850
- * wp-cache-phase2.php: Write gzipped supercache files using fopen
4851
- instead of gzopen
4852
-
4853
- 2008-09-26 23:16 donncha
4854
-
4855
- * Changelog.txt: Updated changelog
4856
-
4857
- 2008-09-26 23:15 donncha
4858
-
4859
- * readme.txt, wp-cache.php: Bump the version number to 0.8.2
4860
-
4861
- 2008-09-26 23:14 donncha
4862
-
4863
- * wp-cache-config-sample.php, wp-cache-phase2.php, wp-cache.php:
4864
- Added $cache_rebuild_files setting to switch off "need rebuild"
4865
- functionality by default
4866
-
4867
- 2008-09-26 16:00 donncha
4868
-
4869
- * wp-cache-phase2.php: On post change clear the front page
4870
-
4871
- 2008-09-26 12:04 donncha
4872
-
4873
- * wp-cache-phase2.php: Move cache writers entry up above supercache
4874
- cleaning.
4875
- Only clean individual posts, don't clear cache when no post_id
4876
-
4877
- 2008-09-26 09:49 donncha
4878
-
4879
- * wp-cache.php: Only show "Delete Cache" link to MU site admins or
4880
- admins on WP blogs
4881
-
4882
- 2008-09-25 12:47 donncha
4883
-
4884
- * wp-cache.php: Save "wp_cache_clear_on_post_edit" properly, thanks
4885
- HarryRAR,
4886
- http://wordpress.org/support/topic/206371?replies=2#post-861998
4887
-
4888
- 2008-09-25 11:12 donncha
4889
-
4890
- * wp-cache-phase2.php, wp-cache.php: Can't clear cache on edit_post
4891
- because leaving a comment calls edit_post unfortunately
4892
- Experimental code to preserve supercache version of a page while
4893
- it's being regenerated.
4894
-
4895
- 2008-09-24 14:21 donncha
4896
-
4897
- * wp-cache.php: Added "Delete Cache" link at top of admin pages
4898
-
4899
- 2008-09-24 13:57 donncha
4900
-
4901
- * Changelog.txt: Updated changelog, still release 0.8.1
4902
-
4903
- 2008-09-24 13:03 donncha
4904
-
4905
- * wp-cache-phase2.php: Added function to clear cache when a post is
4906
- edited
4907
-
4908
- 2008-09-24 13:02 donncha
4909
-
4910
- * wp-cache.php: Added "Clear on edit" checkbox to clear all cache
4911
- files when a post or page is edited
4912
-
4913
- 2008-09-24 13:01 donncha
4914
-
4915
- * wp-cache.php: Remove meta and supercache directories when
4916
- deactivating
4917
-
4918
- 2008-09-24 12:47 donncha
4919
-
4920
- * wp-cache.php: Switch status messages around.
4921
-
4922
- 2008-09-24 12:47 donncha
4923
-
4924
- * wp-cache.php: Remove cache/.htaccess when uninstalling.
4925
-
4926
- 2008-09-24 12:44 donncha
4927
-
4928
- * readme.txt: Make mod mime and rewrite line clearer, hopefully
4929
-
4930
- 2008-09-24 12:38 donncha
4931
-
4932
- * wp-cache-phase2.php: comment_id typo
4933
- Only clear supercache files if it's enabled
4934
-
4935
- 2008-09-24 12:37 donncha
4936
-
4937
- * readme.txt: Updated mod_rewrite rules and expiry/mime type rules
4938
-
4939
- 2008-09-24 11:57 donncha
4940
-
4941
- * Changelog.txt: Updated changelog for 0.8.1
4942
-
4943
- 2008-09-24 11:57 donncha
4944
-
4945
- * readme.txt, wp-cache.php: Bump the version number
4946
-
4947
- 2008-09-24 10:01 donncha
4948
-
4949
- * wp-cache-phase2.php: Make the temporary filename world readable
4950
- to avoid problems where Apache and PHP run as different users.
4951
- Thanks Tigertech for the code.
4952
-
4953
- 2008-09-24 09:57 donncha
4954
-
4955
- * wp-cache-phase2.php: Check that rename worked, if not, remove
4956
- cache file and rename again. Props tigertech
4957
-
4958
- 2008-09-23 19:55 donncha
4959
-
4960
- * wp-cache-phase2.php: Don't clear the supercache if it's not
4961
- enabled (In blog context, when a moderated comment is made)
4962
-
4963
- 2008-09-23 13:09 donncha
4964
-
4965
- * Changelog.txt: Updated changelog
4966
-
4967
- 2008-09-23 13:05 donncha
4968
-
4969
- * readme.txt, wp-cache.php: Bump the version to 0.8
4970
-
4971
- 2008-09-23 13:01 donncha
4972
-
4973
- * wp-cache-phase1.php: Comment: reminder to update .htaccess rules
4974
- if get_cookie cacheaction is used.
4975
-
4976
- 2008-09-23 12:58 donncha
4977
-
4978
- * wp-cache-phase1.php: Don't return if the $string is not ''
4979
-
4980
- 2008-09-23 12:50 donncha
4981
-
4982
- * wp-cache.php: Generate a semaphore id based on hostname and cache
4983
- path, props Tigertech
4984
- http://wordpress.org/support/topic/205195?replies=4#post-857610
4985
-
4986
- 2008-09-23 11:14 donncha
4987
-
4988
- * wp-cache.php: Make the expiry cleanup list an unordered list
4989
-
4990
- 2008-09-23 11:06 donncha
4991
-
4992
- * wp-cache-phase2.php: siteurl -> home for those who run WP in a
4993
- different place
4994
-
4995
- 2008-09-23 10:44 donncha
4996
-
4997
- * wp-cache-config-sample.php, wp-cache-phase2.php, wp-cache.php: No
4998
- need for $super_cache_max_time
4999
-
5000
- 2008-09-23 10:39 donncha
5001
-
5002
- * wp-cache-phase2.php: On post change:
5003
- 1. Clear all files from permalink in supercache directory.
5004
- 2. Clear siteurl/page/ permalinks.
5005
- 3. Clear supercache files when corresponding php meta files are
5006
- removed.
5007
-
5008
- 2008-09-18 09:45 donncha
5009
-
5010
- * wp-cache.php: Show mod_rewrite rules when .htaccess is RO, props
5011
- Matt @ http://mattsblog.ca/
5012
-
5013
- 2008-09-17 16:29 donncha
5014
-
5015
- * wp-cache-phase2.php, wp-cache.php: Decrease the chance of
5016
- cleanup.
5017
-
5018
- 2008-09-17 11:01 donncha
5019
-
5020
- * wp-cache.php: Don't server cached static files when url contains
5021
- "=". Should avoid lots of problems with query strings
5022
-
5023
- 2008-09-17 11:00 donncha
5024
-
5025
- * wp-cache-phase2.php: Replace the siteurl correctly for those who
5026
- have installed in a subdir, but access from the directory above.
5027
- Thanks Viper007Bond.
5028
-
5029
- 2008-09-16 13:01 donncha
5030
-
5031
- * wp-cache.php: Check for WordPress MU because .htaccess can't be
5032
- updated.
5033
- Set cache control and expiry headers of supercached files. Cached
5034
- for 5 minutes, but with "must-revalidate"
5035
-
5036
- 2008-09-06 11:00 donncha
5037
-
5038
- * wp-cache-phase2.php: Write cache files to a temporary file first,
5039
- then rename. Rename should be atomic.
5040
-
5041
- 2008-08-28 11:30 donncha
5042
-
5043
- * Changelog.txt: Updated changelog
5044
-
5045
- 2008-08-28 11:29 donncha
5046
-
5047
- * readme.txt, wp-cache.php: Bump the version number to 0.7.1
5048
-
5049
- 2008-08-28 11:00 donncha
5050
-
5051
- * wp-cache.php: Updated .htaccess code:
5052
- Check that file is writable (again?)
5053
- Fix warnings about upgrades.
5054
- Bright yellow backgrounds on items that need attention
5055
- Thanks Matt @ http://twitter.com/mattfreedman/statuses/901325274
5056
- for reporting.
5057
-
5058
- 2008-08-27 19:32 donncha
5059
-
5060
- * Changelog.txt: Updated changelog
5061
-
5062
- 2008-08-27 19:31 donncha
5063
-
5064
- * readme.txt, wp-cache.php: Bump to 0.7, fix activation link
5065
-
5066
- 2008-08-27 19:17 donncha
5067
-
5068
- * Changelog.txt: Updated Changelog
5069
-
5070
- 2008-08-27 19:16 donncha
5071
-
5072
- * readme.txt, wp-cache.php: Bump the version number to 0.6.8
5073
-
5074
- 2008-08-27 18:59 donncha
5075
-
5076
- * wp-cache.php: Added rules to redirect to urls ending with a "/",
5077
- props Andylav and definitelynot,
5078
- http://wordpress.org/support/topic/199542?replies=6
5079
-
5080
- 2008-08-21 16:41 donncha
5081
-
5082
- * wp-cache.php: Change menu options url
5083
-
5084
- 2008-08-20 11:47 donncha
5085
-
5086
- * Changelog.txt: Update Changelog
5087
-
5088
- 2008-08-20 10:49 donncha
5089
-
5090
- * readme.txt, wp-cache.php: Bump version number to 0.6.7
5091
-
5092
- 2008-08-20 09:38 donncha
5093
-
5094
- * wp-cache.php: Added CRs
5095
-
5096
- 2008-08-20 09:01 donncha
5097
-
5098
- * wp-cache.php: Added apache_request_headers() as suggested in
5099
- http://wordpress.org/support/topic/197053
5100
-
5101
- 2008-08-19 16:27 donncha
5102
-
5103
- * plugins/searchengine.php, wp-cache.php: Updated styling with the
5104
- help of the simple trackback validation plugin
5105
-
5106
- 2008-08-19 15:11 donncha
5107
-
5108
- * wp-cache-config-sample.php: Don't include rss files in cacheable
5109
- list
5110
-
5111
- 2008-08-19 15:05 donncha
5112
-
5113
- * wp-cache.php: Added "deactivation hook" to remove
5114
- advanced-cache.php and wp-cache-config.php and cached files.
5115
-
5116
- 2008-08-14 10:39 donncha
5117
-
5118
- * wp-cache-phase1.php: Only include once
5119
-
5120
- 2008-08-14 09:14 donncha
5121
-
5122
- * wp-cache-phase1.php, wp-cache-phase2.php: Cron fixed from Mike
5123
-
5124
- 2008-08-13 12:52 donncha
5125
-
5126
- * wp-cache-phase2.php, wp-cache.php: Fixes from Mike Beggs:
5127
- Use custom is_writeable() that works in Win32 NTFS
5128
- Update "Vary" header
5129
- Let WP Cron handle cache cleaning.
5130
- Don't let mod_deflate try to compress gzipped cached files
5131
-
5132
- 2008-08-09 10:13 donncha
5133
-
5134
- * wp-cache-phase2.php: Use get_comment(), props Lazy @
5135
- http://www.lazybrain.de/
5136
-
5137
- 2008-07-31 15:53 donncha
5138
-
5139
- * Changelog.txt: Updated changelog
5140
-
5141
- 2008-07-31 10:47 donncha
5142
-
5143
- * readme.txt, wp-cache.php: Bump version numbers
5144
-
5145
- 2008-07-29 19:52 donncha
5146
-
5147
- * wp-cache-config-sample.php, wp-cache-phase1.php, wp-cache.php: WP
5148
- 2.6 fixes. Use WP_CONTENT_DIR. Have not added to .htaccess rules
5149
- yet
5150
-
5151
- 2008-07-28 09:37 donncha
5152
-
5153
- * readme.txt, wp-cache.php: Change wp-super-cache expiry to 3600
5154
- seconds.
5155
- Avoid foreach error on empty directories
5156
- Minor change to status message
5157
-
5158
- 2008-07-24 16:26 donncha
5159
-
5160
- * wp-cache-phase2.php, wp-cache.php: Removed debug error log
5161
- Catch 404 file not found requests when themes use query_posts()
5162
-
5163
- 2008-07-24 13:17 donncha
5164
-
5165
- * wp-cache-phase2.php: If we can't get a file lock, warn user.
5166
-
5167
- 2008-07-23 18:30 donncha
5168
-
5169
- * readme.txt: Update FAQ on cache times.
5170
-
5171
- 2008-07-23 18:27 donncha
5172
-
5173
- * readme.txt, wp-cache.php: Added p= parameter to htacess rules so
5174
- they'll be served by wp-cache only,
5175
- http://wordpress.org/support/topic/191275?replies=3
5176
-
5177
- 2008-07-17 09:48 donncha
5178
-
5179
- * wp-cache.php: Handle if wp-config.php has been moved ../ in
5180
- WordPress 2.6
5181
-
5182
- 2008-07-16 11:12 donncha
5183
-
5184
- * wp-cache.php: Don't warn the user wp-content is writable if
5185
- webserver is running as user.
5186
- Create correct .htaccess rules when WordPress is installed in a
5187
- different location. Both fixes props Allan Bazinet @
5188
- http://sneezingfrog.com/blog/
5189
-
5190
- 2008-07-15 10:17 donncha
5191
-
5192
- * Changelog.txt: Update changelog
5193
-
5194
- 2008-07-15 10:15 donncha
5195
-
5196
- * readme.txt, wp-cache.php: Bump the version number to 0.6.5
5197
-
5198
- 2008-07-15 10:14 donncha
5199
-
5200
- * readme.txt: Add "Subscribe to comments" rule to readme
5201
-
5202
- 2008-07-15 10:11 donncha
5203
-
5204
- * wp-cache-phase1.php: Use comment_author instead of email in case
5205
- email isn't mandatory. props rhapsodyv @
5206
- http://wordpress.org/support/topic/188775
5207
-
5208
- 2008-07-14 10:42 donncha
5209
-
5210
- * wp-cache-phase2.php, wp-cache.php: Added "wp_cache_gc" option
5211
- Allow chance of garbage collection to be configurable.
5212
-
5213
- 2008-07-14 10:06 donncha
5214
-
5215
- * readme.txt: If caching doesn't work, it could be
5216
- advanced-cache.php
5217
-
5218
- 2008-07-14 09:53 donncha
5219
-
5220
- * wp-cache.php: Added Subscribe To Comments exclusion rewrite rule
5221
-
5222
- 2008-07-14 09:52 donncha
5223
-
5224
- * wp-cache.php: Warn if wp-content is writable, props alexleonard,
5225
- http://wordpress.org/support/topic/188530
5226
-
5227
- 2008-07-08 10:41 donncha
5228
-
5229
- * wp-cache-phase2.php: Remove extra pages generated at the current
5230
- permalink. ie. paged comments.
5231
-
5232
- 2008-06-20 16:16 donncha
5233
-
5234
- * wp-cache.php: Only need the config file writable to change it
5235
-
5236
- 2008-06-16 09:08 donncha
5237
-
5238
- * wp-cache-phase2.php: Increase the chance of expired file cleanup
5239
-
5240
- 2008-06-16 09:07 donncha
5241
-
5242
- * wp-cache-phase2.php: Warn if page is a 404 or not complete and
5243
- won't be cached
5244
-
5245
- 2008-06-12 09:53 donncha
5246
-
5247
- * readme.txt: Add troubleshooting message for Dreamhost users
5248
-
5249
- 2008-05-26 09:12 donncha
5250
-
5251
- * wp-cache-phase2.php: Use [] instead of {} for array indexes
5252
- Fix warning notices
5253
-
5254
- 2008-05-14 16:22 donncha
5255
-
5256
- * Changelog.txt: Updated changelog
5257
-
5258
- 2008-05-14 16:19 donncha
5259
-
5260
- * readme.txt, wp-cache-phase2.php, wp-cache.php: Remove comment.
5261
- Bump version number
5262
-
5263
- 2008-05-14 12:21 donncha
5264
-
5265
- * wp-cache-phase2.php: Clean up the supercache if no post_id is
5266
- defined
5267
-
5268
- 2008-05-14 12:11 donncha
5269
-
5270
- * wp-cache.php: Move menu code up
5271
-
5272
- 2008-05-13 14:57 donncha
5273
-
5274
- * wp-cache-phase2.php: Only prune files in the supercache directory
5275
- Remove expired files 1/500's of the time
5276
-
5277
- 2008-05-11 08:51 donncha
5278
-
5279
- * wp-cache.php: Allow the "digg proof" message to be styled
5280
- Removed whitespace
5281
-
5282
- 2008-05-05 09:49 donncha
5283
-
5284
- * wp-cache-phase1.php: Removed Last-Modified header so plugin works
5285
- on godaddy servers. props Brad @
5286
- http://www.littleredrails.com/blog/2007/09/08/using-wp-cache-on-godaddy-500-error/
5287
-
5288
- 2008-05-05 09:44 donncha
5289
-
5290
- * readme.txt, wp-cache.php: Added rewrite rules to stop POST
5291
- requests to html static files. props eharris @
5292
- http://wordpress.org/support/topic/173972?replies=2
5293
-
5294
- 2008-04-24 19:14 donncha
5295
-
5296
- * Changelog.txt: Update Changelog
5297
-
5298
- 2008-04-24 19:14 donncha
5299
-
5300
- * readme.txt: Added changelog link
5301
- Added attachment_id mod_rewrite rule
5302
-
5303
- 2008-04-24 19:11 donncha
5304
-
5305
- * Changelog.txt: Updated Changelog
5306
-
5307
- 2008-04-24 19:09 donncha
5308
-
5309
- * readme.txt, wp-cache.php: Bump the version number
5310
-
5311
- 2008-04-24 15:45 donncha
5312
-
5313
- * wp-cache-phase2.php: Put "could not write" message in a HTML
5314
- comment at the end of the current page.
5315
-
5316
- 2008-04-20 07:48 donncha
5317
-
5318
- * wp-cache.php: Use blog charset for encoding.
5319
- Don't supercache attachment pages, props Callum
5320
-
5321
- 2008-04-17 09:23 donncha
5322
-
5323
- * wp-cache.php: Make sure files are served as UTF-8, props
5324
- tanguillo and nikolayb
5325
- http://wordpress.org/support/topic/169540?replies=3
5326
-
5327
- 2008-04-12 07:06 donncha
5328
-
5329
- * Changelog.txt: Updated changelog
5330
-
5331
- 2008-04-12 07:05 donncha
5332
-
5333
- * readme.txt, wp-cache.php: Bump version number and update
5334
- .htaccess example code
5335
-
5336
- 2008-04-11 23:30 donncha
5337
-
5338
- * wp-cache-phase1.php, wp-cache-phase2.php: Remove "index.php" from
5339
- cached file paths
5340
-
5341
- 2008-04-11 23:17 donncha
5342
-
5343
- * wp-cache-config-sample.php, wp-cache.php: Add index.php to list
5344
- of not to be cached pages
5345
- Minor typo fix
5346
-
5347
- 2008-04-08 09:51 donncha
5348
-
5349
- * wp-cache.php: Delete all contents of cache dir, not just
5350
- supercachedir when caching disabled.
5351
-
5352
- 2008-04-04 11:59 donncha
5353
-
5354
- * wp-cache.php: wp_specialchars the rules
5355
-
5356
- 2008-04-01 11:31 donncha
5357
-
5358
- * wp-cache.php: Added wpsc_remove_marker() to remove WordPress
5359
- rewrite rules
5360
- Super Cache rules now go in the WPSuperCache marker
5361
- Check for comment cookie in one line, props askapache
5362
-
5363
- 2008-03-31 08:42 donncha
5364
-
5365
- * wp-cache.php: wp_specialchars() the mod_rewrite rules, props
5366
- Viper007Bond
5367
-
5368
- 2008-03-30 10:42 donncha
5369
-
5370
- * readme.txt, wp-cache.php: Bump the version numbers
5371
-
5372
- 2008-03-30 10:41 donncha
5373
-
5374
- * Changelog.txt: Updated changelog
5375
 
5376
- 2008-03-30 10:41 donncha
5377
 
5378
- * wp-cache.php: Warn if mod_rewrite rules are out of date and
5379
- encourage user to remove or update them manually
5380
 
5381
- 2008-03-30 10:26 donncha
5382
 
5383
  * Changelog.txt: Updated changelog
5384
 
5385
- 2008-03-28 17:37 donncha
5386
-
5387
- * wp-cache.php: Login cookie got shortened to "wordpress" in 2.5,
5388
- still backwards compatible
5389
-
5390
- 2008-03-28 17:22 donncha
5391
-
5392
- * wp-cache.php: Move toggleLayer js around
5393
-
5394
- 2008-03-13 11:37 donncha
5395
-
5396
- * readme.txt, wp-cache.php: Bump to 0.6
5397
-
5398
- 2008-03-13 11:34 donncha
5399
-
5400
- * readme.txt: Added compression FAQ
5401
-
5402
- 2008-03-13 11:28 donncha
5403
-
5404
- * wp-cache.php: Only require mod_rewrite if super cache is enabled
5405
- Hide super cache parts of page when not activated
5406
- Add "/" to mod_rewrite rules for URLs not ending in a /, props
5407
- Michael R Aulia @ http://www.michaelaulia.com/blogs/
5408
-
5409
- 2008-03-13 11:25 donncha
5410
-
5411
- * readme.txt: Updated documentation
5412
 
5413
- 2008-03-12 18:55 donncha
5414
-
5415
- * wp-cache-phase2.php: This somehow stops PHP creating directories
5416
- in the root folder, thanks to Cherie and Jennifer for their
5417
- invaluable help!
5418
-
5419
- 2008-03-12 17:00 donncha
5420
-
5421
- * wp-cache.php: No need for this message any more
5422
-
5423
- 2008-03-11 13:04 donncha
5424
-
5425
- * wp-cache.php: Don't auto update .htaccess until user wants to.
5426
- Hide listing of cached files, it's wrong anyway.
5427
- Move advanced features to the end of backend page.
5428
-
5429
- 2008-02-11 20:52 donncha
5430
-
5431
- * readme.txt, wp-cache.php: You must define things before loading
5432
- WordPress! (props s2j @
5433
- http://wordpress.org/support/topic/154996?replies=12#post-691402
5434
- )
5435
-
5436
- 2008-02-08 10:27 donncha
5437
-
5438
- * wp-cache.php: Remember to delete compressed files from directly
5439
- cached folders, props John Pozadzides
5440
-
5441
- 2008-01-16 12:14 donncha
5442
-
5443
- * Changelog.txt: Update changelog
5444
-
5445
- 2008-01-16 12:13 donncha
5446
-
5447
- * readme.txt, wp-cache.php: Bump version number
5448
- Make admin page readonly if configuration page cannot be written
5449
- to
5450
-
5451
- 2008-01-04 11:23 donncha
5452
-
5453
- * Changelog.txt, readme.txt, wp-cache.php: Bump version and update
5454
  changelog
5455
 
5456
- 2008-01-04 11:22 donncha
5457
-
5458
- * wp-cache.php: Only update the hello_world option when updating
5459
- the right form
5460
 
5461
- 2008-01-04 10:41 donncha
 
 
 
5462
 
5463
- * readme.txt, wp-cache.php: Bump version number
5464
-
5465
- 2008-01-04 10:40 donncha
5466
-
5467
- * wp-cache.php: Rearrange .htaccess generator.
5468
- Allow mod_rewrite rules to be viewed later
5469
- Only create wp-content/cache/.htaccess if it doesn't exist
5470
-
5471
- 2008-01-04 10:16 donncha
5472
-
5473
- * wp-cache.php: Added Super Cache footer message
5474
-
5475
- 2008-01-03 22:29 donncha
5476
-
5477
- * wp-cache.php: More fixes for sub directory blogs, props Otto42 -
5478
- http://wordpress.org/support/topic/146443?replies=9#post-664254
5479
-
5480
- 2007-12-16 11:07 donncha
5481
-
5482
- * wp-cache.php: Warn if ABSPATH is writeable
5483
- Add $home_root to cached files path in rewrite rules
5484
- make mod_rewrite module warning more verbose
5485
-
5486
- 2007-12-09 07:39 donncha
5487
-
5488
- * wp-cache-phase2.php: Hide unlink errors
5489
-
5490
- 2007-12-04 10:18 donncha
5491
-
5492
- * wp-cache-phase2.php: Check that mutex is set,
5493
- http://wordpress.org/support/topic/146052?replies=4
5494
-
5495
- 2007-11-28 11:29 donncha
5496
-
5497
- * wp-cache-phase2.php, wp-cache.php: Check that $entries is not
5498
- empty
5499
- Don't ever recurse from ABSPATH up
5500
-
5501
- 2007-11-26 11:33 donncha
5502
 
5503
  * Changelog.txt: Updated changelog
5504
 
5505
- 2007-11-26 11:32 donncha
5506
-
5507
- * wp-cache.php: It's WPLOCKDOWN
5508
 
5509
- 2007-11-26 11:31 donncha
 
5510
 
5511
- * Changelog.txt: Updated Changelog
5512
 
5513
- 2007-11-26 11:30 donncha
 
5514
 
5515
- * readme.txt, wp-cache.php: Bump the version number
5516
- Docs for lockdown
5517
 
5518
- 2007-11-26 11:17 donncha
5519
 
5520
- * wp-cache.php: Bumpy bumpy
5521
 
5522
- 2007-11-26 11:12 donncha
 
 
 
5523
 
5524
- * Changelog.txt: Updated Changelog
5525
 
5526
- 2007-11-26 11:11 donncha
5527
 
5528
- * readme.txt: Bump version
5529
 
5530
- 2007-11-26 11:07 donncha
5531
 
5532
- * readme.txt: Warn about safe mode
5533
 
5534
- 2007-11-26 10:56 donncha
5535
 
5536
- * wp-cache.php: Print a warning message if PHP safe mode is
5537
- enabled.
5538
- Super Cache plugins will fail silently if advanced-cache.php is
5539
- not loaded
5540
- Updated "Directly Cached Files" text
5541
 
5542
- 2007-11-16 21:56 donncha
 
5543
 
5544
- * plugins/searchengine.php, wp-cache-phase1.php,
5545
- wp-cache-phase2.php, wp-cache.php: Added &raquo;
5546
- Updated formatting of admin backend
5547
- Added "direct caching" of pages.
5548
 
5549
- 2007-11-12 21:23 donncha
5550
 
5551
- * wp-cache-phase2.php, wp-cache.php: PHP 5's mkdir() doesn't like
5552
- slashes, http://ie2.php.net/manual/en/function.mkdir.php#73848 -
5553
- props Tummmbler
5554
 
5555
- 2007-11-12 15:26 donncha
 
5556
 
5557
- * Changelog.txt: Updated changelog
5558
-
5559
- 2007-11-12 15:23 donncha
5560
-
5561
- * readme.txt, wp-cache.php: Bump version
5562
- Update readme docs
5563
- Add options page for wpmu site admins
5564
-
5565
- 2007-11-12 11:32 donncha
5566
-
5567
- * wp-cache.php: Check if cache config file is out of date
5568
-
5569
- 2007-11-12 11:14 donncha
5570
-
5571
- * wp-cache-phase2.php, wp-cache.php: Hide some warning messages
5572
- Don't super cache $_GET requests
5573
- Use wp_mkdir_p() instead of mkpath()
5574
- Don't delete meta, supercache or .htaccess
5575
-
5576
- 2007-11-11 10:05 donncha
5577
 
5578
- * wp-cache.php: Don't want to check for .gz files twice!
 
5579
 
5580
- 2007-11-11 08:06 donncha
5581
 
5582
- * wp-cache.php: Added 'comment moderation' message when blog locked
5583
- down.
5584
- Formatting changes
5585
- Use 'manage_options' instead of administrator because viper
5586
- changed his role names :)
5587
 
5588
- 2007-11-11 01:13 donncha
5589
 
5590
- * wp-cache.php: If .htaccess updating fails, inform the user
 
5591
 
5592
- 2007-11-11 00:20 donncha
5593
 
5594
- * wp-cache-phase2.php, wp-cache.php: Added "Lockdown" function so
5595
- static files won't be deleted by comments
5596
- Minor changes to admin page formatting
5597
- get_settings to get_option
5598
 
5599
- 2007-11-10 21:06 donncha
5600
 
5601
- * wp-cache.php: Spell out radio boxes a bit more.
5602
- Modified .htaccess rules so search pages aren't served from super
5603
- cache
5604
- Actually insert_with_markers instead of echoing the command!
5605
- Tell user rules have been updated
5606
- Disable super cache *before* renaming directory. Sleep for a
5607
- second before
5608
- deleting to allow other processes to finish
5609
 
5610
- 2007-11-10 20:03 donncha
5611
 
5612
- * wp-cache-phase2.php: Make sure the .htaccess isn't deleted
 
5613
 
5614
- 2007-11-10 09:28 donncha
5615
 
5616
- * wp-cache-phase2.php: Don't remove super-cache file until comment
5617
- is approved
5618
 
5619
- 2007-11-10 07:19 donncha
5620
 
5621
- * wp-cache.php: Check that WP_CACHE is defined before checking for
5622
- do_cacheaction.
5623
- Better instructions for verifying a new install
5624
-
5625
- 2007-11-09 21:33 donncha
5626
-
5627
- * wp-cache.php: Define WPCACHEHOME properly, thanks tummbler for
5628
- testing!
5629
-
5630
- 2007-11-09 17:09 donncha
5631
-
5632
- * wp-cache-phase2.php: Don't super-cache WordPress searches. May
5633
- need to extend that to any GET activity
5634
-
5635
- 2007-11-09 15:01 donncha
5636
 
5637
- * wp-cache-phase2.php: Change preg_match delimiter so slashes work
5638
- again
5639
 
5640
- 2007-11-09 14:41 donncha
5641
 
5642
- * readme.txt: Updated documentation
5643
 
5644
- 2007-11-09 14:27 donncha
5645
 
5646
- * wp-cache.php: Use get_mod_rewrite() to detect if that module is
5647
- loaded
5648
- Automatically populate the .htaccess file if it's writable
5649
- Add gzip encoding rules to the cache dir, props Dennis @
5650
- http://allmybrain.com/2007/11/08/making-wp-super-cache-gzip-compression-work/
5651
- Replace Windows folder deliminator, "\" with "/" in WPCACHEHOME,
5652
- props Computer Guru @
5653
- http://neosmart.net/blog/2007/getting-wordpress-super-cache-to-run-on-a-windows-iis-or-apache-server/
5654
 
5655
- 2007-11-09 01:19 donncha
5656
 
5657
- * wp-cache-phase2.php: Move is_feed() check earlier.
5658
- Check that mkpath() path is in $cache_path
5659
 
5660
- 2007-11-08 21:57 donncha
 
5661
 
5662
- * wp-cache.php: Single quote ABSPATH
5663
- Check advanced-cache.php for version, remove if necessary, fixed
5664
- create conditions
5665
 
5666
- 2007-11-08 21:55 donncha
 
5667
 
5668
- * wp-cache-phase1.php: realpath() two filenames
5669
 
5670
- 2007-11-08 21:53 donncha
 
5671
 
5672
- * readme.txt: Fix subdirectory .htaccess rules, props Computer Guru
5673
 
5674
- 2007-11-08 21:51 donncha
5675
 
5676
- * plugins/searchengine.php: Hide setcookie errors
5677
- Return correct string
5678
 
5679
- 2007-11-07 15:38 donncha
5680
 
5681
- * Changelog.txt: Added Changelog.txt
5682
 
5683
- 2007-11-07 15:27 donncha
 
5684
 
5685
- * readme.txt: Bump version to 0.3.1 (getting to 1.0 far too
5686
- quickly!)
5687
- Change formatting again
5688
 
5689
- 2007-11-07 15:26 donncha
 
 
 
5690
 
5691
- * wp-cache.php: Bump version to 0.3.1
5692
 
5693
- 2007-11-07 15:26 donncha
 
5694
 
5695
- * wp-cache-config-sample.php, wp-cache-phase2.php: Use preg_match()
5696
- to match rejected URIs.
5697
- Change "wp-" to "wp-.*.php" to match files and paths starting
5698
- with "wp-" and ending in "php"
5699
 
5700
- 2007-11-07 11:56 donncha
 
5701
 
5702
- * wp-cache.php: Bump the version number
5703
 
5704
- 2007-11-06 22:50 donncha
 
 
5705
 
5706
- * readme.txt: Bump version
5707
 
5708
- 2007-11-06 22:18 donncha
5709
 
5710
- * wp-cache-phase2.php: Fix feed content-type, props Dougal,
5711
- (http://dougal.gunters.org/blog/2007/06/19/wp-cache-fix-for-content-type-in-feeds)
5712
 
5713
- 2007-11-06 22:15 donncha
 
5714
 
5715
- * wp-cache.php: Check the do_cacheaction() exists
5716
- Copy file if symlink is not found
5717
 
5718
- 2007-11-06 21:44 donncha
 
5719
 
5720
- * wp-cache.php: Move WP Super Cache to "Site Admin" menu on
5721
- WordPress MU,
5722
- http://www.darcynorman.net/2007/11/06/wordpress-super-cache/
5723
 
5724
- 2007-11-06 21:19 donncha
 
 
5725
 
5726
- * wp-cache-phase1.php: Don't compress WP-Cache data files is PHP is
5727
- already doing it
5728
 
5729
- 2007-11-06 10:29 donncha
 
 
5730
 
5731
- * readme.txt: Minor typo in tag
5732
 
5733
- 2007-11-06 10:06 donncha
 
 
 
5734
 
5735
- * readme.txt, wp-cache-phase1.php, wp-cache-phase2.php,
5736
- wp-cache.php: Bump the version to 0.2
5737
- Enable gzip support in WP-Cache data files, fix feed content
5738
- type, props tummbler:
5739
- http://www.tummblr.com/wordpress/improving-wp-super-cache-gzip-for-logged-in-users/
5740
- http://elliottback.com/wp/archives/2005/07/12/getting-wp-cache-to-work/
5741
- http://blog.saddey.net/2007/02/18/how-to-prevent-wpcache-from-changing-a-feeds-content-type-to-text-html/
5742
- When Super Cache is disabled, still write to WP-Cache files
5743
- Check that prune_super_cache() exists before calling it in
5744
- wp-cache.php, props Dougal
5745
 
5746
- 2007-11-06 09:06 donncha
 
5747
 
5748
- * readme.txt: Fix line endings
5749
 
5750
- 2007-11-05 18:41 donncha
 
5751
 
5752
- * wp-cache.php: Fixed display of "compression changed" message
5753
 
5754
- 2007-11-05 18:06 donncha
5755
 
5756
- * readme.txt: Convert to DOS mode
5757
- reformat lists for display on wporg
5758
 
5759
- 2007-11-05 17:25 donncha
 
 
5760
 
5761
- * readme.txt: Minor updates to the readme
5762
 
5763
- 2007-11-05 15:21 donncha
 
 
5764
 
5765
- * wp-cache.php: When disabling or enabling compression make sure
5766
- the user knows about .htaccess
5767
 
5768
- 2007-11-05 15:11 donncha
 
 
 
5769
 
5770
- * wp-cache-phase2.php: Rejected URIs must have .php in them now so
5771
- pages starting with "wp-" will be cached
5772
 
5773
- 2007-11-05 15:10 donncha
 
5774
 
5775
- * wp-cache.php: When disabling supercache, make sure wpcache is
5776
- enabled.
5777
- Avoid resetting cache_compression when submitting other forms
5778
- Reset supercache meta cache when compression modified
5779
 
5780
- 2007-11-05 14:54 donncha
 
 
5781
 
5782
- * wp-cache-config-sample.php, wp-cache.php: Fix weirdness with
5783
- radio buttons on admin page
5784
 
5785
- 2007-11-05 11:35 donncha
 
 
5786
 
5787
- * plugins, plugins/searchengine.php, readme.txt, wp-cache-base.php,
5788
- wp-cache-config-sample.php, wp-cache-phase1.php,
5789
- wp-cache-phase2.php, wp-cache.php: Initial import of WP Super
5790
- Cache
5791
 
5792
- 2007-10-23 20:02 plugin-master
 
5793
 
5794
- * .: adding wp-super-cache by donncha
5795
 
1
+ 2015-04-04 12:13 donncha
2
 
3
+ * readme.txt: Updated changelog
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
+ 2015-04-04 12:12 donncha
6
 
7
+ * wp-cache-phase1.php: Make sure we log the actual message in the
8
+ debug log.
9
 
10
+ 2015-04-04 12:00 donncha
11
 
12
  * Changelog.txt: Updated changelog
13
 
14
+ 2015-04-04 11:55 donncha
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
+ * readme.txt, wp-cache.php: Bump version to 1.4.4 and update
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  changelog
18
 
19
+ 2015-04-04 11:47 donncha
 
 
 
20
 
21
+ * wp-cache-phase1.php, wp-cache-phase2.php: Don't use print_r to
22
+ view GET variables as it causes a fatal PHP error in the output
23
+ buffer handler. Props webaware
24
+ https://wordpress.org/support/topic/print_r-debug-messages-break-pages-with-query-args?replies=2
25
 
26
+ 2015-04-03 16:51 donncha
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  * Changelog.txt: Updated changelog
29
 
30
+ 2015-04-03 16:44 donncha
 
 
31
 
32
+ * readme.txt, wp-cache.php: Bump version to 1.4.3, update
33
+ changelog, and add link to GIT repo.
34
 
35
+ 2015-04-03 15:37 donncha
36
 
37
+ * wp-cache.php: Escape the contents of the cache list to avoid
38
+ surprises. Props Marc Montpas from Sucuri.
39
 
40
+ 2014-12-18 10:55 jeherve
 
41
 
42
+ * readme.txt: Bump testing to 4.1
43
 
44
+ 2014-10-10 14:07 kraftbj
45
 
46
+ * plugins/jetpack.php, wp-cache-phase1.php, wp-cache-phase2.php,
47
+ wp-cache.php: Removing variable checks since wp_cache_debug does
48
+ it already. Ref:
49
+ https://github.com/Automattic/wp-super-cache/pull/15
50
 
51
+ 2014-10-10 14:06 kraftbj
52
 
53
+ * readme.txt: Catch up to SVN
54
 
55
+ 2014-10-10 14:06 kraftbj
56
 
57
+ * readme.txt: Add Jetpack to mobile FAQ.
58
 
59
+ 2014-09-04 14:16 kraftbj
60
 
61
+ * readme.txt: Bumped testing to 4.0
62
 
63
+ 2014-08-11 19:06 donncha
 
 
 
 
64
 
65
+ * plugins/dynamic-cache-test.php: Because without a h we'd have
66
+ time keeping. Fixed a typo.
67
 
68
+ 2014-08-11 18:44 donncha
 
 
 
69
 
70
+ * plugins/dynamic-cache-test.php: Added cronology of a request
71
 
72
+ 2014-08-11 18:22 donncha
 
 
73
 
74
+ * plugins/dynamic-cache-test.php: Fixed the safety function in the
75
+ first example test function
76
 
77
+ 2014-08-08 16:27 donncha
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
 
79
+ * Changelog.txt, readme.txt, wp-cache.php: Bump version to 1.4.2
80
+ and update changelog
81
 
82
+ 2014-08-08 13:07 donncha
83
 
84
+ * wp-cache-phase1.php: Just in case the local modified time of a
85
+ file is 0, disable the "last modified time" check.
 
 
 
86
 
87
+ 2014-08-08 11:32 donncha
88
 
89
+ * plugins/domain-mapping.php: Check if HTTPS exists before checking
90
+ it's value to avoid warnings
91
 
92
+ 2014-08-08 11:24 donncha
93
 
94
+ * wp-cache.php: Replace wpdb->escape with esc_sql() as it's
95
+ deprecated.
 
 
96
 
97
+ 2014-08-08 11:21 donncha
98
 
99
+ * wp-cache-phase2.php: Make sure $wp_cache_no_cache_for_get,
100
+ $wp_cache_object_cache, $wp_cache_request_uri are visible to the
101
+ OB callback to avoid warnings and fix functionality
 
 
 
 
 
102
 
103
+ 2014-08-07 14:00 donncha
104
 
105
+ * Changelog.txt, readme.txt, wp-cache.php: Updated changelog,
106
+ documentation, bumped version number to 1.4.1 and tested version.
107
 
108
+ 2014-08-07 12:45 donncha
109
 
110
+ * wp-cache.php: Removed author information
 
111
 
112
+ 2014-08-06 12:41 kraftbj
113
 
114
+ * plugins/awaitingmoderation.php, plugins/badbehaviour.php,
115
+ plugins/domain-mapping.php, plugins/jetpack.php,
116
+ plugins/searchengine.php, plugins/wptouch.php, wp-cache.php: PR
117
+ #13: Added .button-primary and .button-secondary classes to and
118
+ removed &raquo's from buttons throughout the admin for
119
+ consistency. Ref:
120
+ https://github.com/Automattic/wp-super-cache/pull/13 Props:
121
+ rcowles
 
 
 
 
 
 
 
122
 
123
+ 2014-08-05 20:00 kraftbj
 
124
 
125
+ * ossdl-cdn.php, readme.txt, wp-cache.php: Fix bad merge.
126
 
127
+ 2014-08-05 19:56 kraftbj
128
 
129
+ * readme.txt: Add Jetpack to mobile FAQ.
130
 
131
+ 2014-08-05 19:56 kraftbj
 
 
 
 
 
 
 
132
 
133
+ * wp-cache.php: Remove CDN Sync Tools. No longer in WP.org repo
134
 
135
+ 2014-08-05 19:55 kraftbj
 
136
 
137
+ * ossdl-cdn.php, readme.txt, wp-cache.php: Update
138
+ wordpress.org/extend URLs
139
 
140
+ 2014-08-05 12:42 donncha
 
 
141
 
142
+ * wp-cache.php: Fix to avoid an XSS in the settings page. Props
143
+ Simon Waters, Surevine Limited.
144
 
145
+ 2014-08-04 22:04 kraftbj
146
 
147
+ * ossdl-cdn.php: Remove reference to CDN Sync. Plugin no longer in
148
+ repo.
149
 
150
+ 2014-07-31 21:09 kraftbj
151
 
152
+ * readme.txt: Add Jetpack to mobile FAQ.
153
 
154
+ 2014-07-31 21:09 kraftbj
 
155
 
156
+ * wp-cache.php: Remove CDN Sync Tools. No longer in WP.org repo
157
 
158
+ 2014-07-31 21:08 kraftbj
159
 
160
+ * ossdl-cdn.php, readme.txt, wp-cache-phase1.php, wp-cache.php:
161
+ Update wordpress.org/extend URLs
162
 
163
+ 2014-07-31 21:08 kraftbj
 
 
164
 
165
+ * plugins/awaitingmoderation.php, plugins/badbehaviour.php,
166
+ plugins/domain-mapping.php, plugins/dynamic-cache-test.php,
167
+ plugins/jetpack.php, plugins/searchengine.php,
168
+ plugins/wptouch.php: Trim whitespace
169
 
170
+ 2014-07-31 21:07 kraftbj
171
 
172
+ * wp-cache-config-sample.php, wp-cache-phase1.php, wp-cache.php:
173
+ Trim whitespace
174
 
175
+ 2014-07-31 21:06 kraftbj
 
 
 
176
 
177
+ * wp-cache.php: Admin: Add clear to h3 to pretify Recommended Links
178
+ title
179
 
180
+ 2014-07-31 20:51 donncha
181
 
182
+ * wp-cache-phase2.php: Make sure these are global so the function
183
+ knows about them. Props JoHenton and richardmtl
184
+ http://wordpress.org/support/topic/notices-appearing-above-site-pages-how-do-i-get-rid-of-them?replies=2
185
 
186
+ 2014-04-17 16:21 donncha
187
 
188
+ * readme.txt: Bump tested version to 3.9
189
 
190
+ 2014-03-11 17:58 donncha
 
191
 
192
+ * wp-cache.php: Fix undefined variables warnings. Ref:
193
+ http://wordpress.org/support/topic/plugin-wp-super-cache-lot-of-undefined-variables-and-couple-of-warnings?replies=4
194
 
195
+ 2014-03-07 18:00 donncha
 
196
 
197
+ * plugins/dynamic-cache-test.php: Better comments and rearrange
198
+ example scripts
199
 
200
+ 2014-03-05 12:37 donncha
 
 
201
 
202
+ * wp-cache-phase1.php: HTTP_IF_MODIFIED_SINCE isn't always defined,
203
+ so check first.
204
+ http://wordpress.org/support/topic/undefined-index-http_if_modified_since?replies=1
205
 
206
+ 2014-03-05 11:54 donncha
 
207
 
208
+ * wp-cache-phase1.php, wp-cache-phase2.php: Don't check "do not
209
+ cache" conditions until after page buffer has been filled. Ref:
210
+ http://wordpress.org/support/topic/bug-dynamic-cache-tags-are-not-replaced-because-of-wp_cache_phase2-conditions
211
 
212
+ 2014-03-04 17:26 donncha
213
 
214
+ * wp-cache-phase2.php: Added the function wp_cache_maybe_dynamic()
215
+ to run buffer through the dynamic cache filter if callback
216
+ returned early. Ref:
217
+ http://wordpress.org/support/topic/bug-dynamic-cache-tags-are-not-replaced-because-of-wp_cache_phase2-conditions?replies=1
218
 
219
+ 2014-03-04 16:27 donncha
 
 
 
 
 
 
 
 
 
220
 
221
+ * wp-cache-phase1.php: Hide any warnings from this opendir() as it
222
+ somehow fails occasionally.
223
 
224
+ 2014-02-25 17:48 donncha
225
 
226
+ * wp-cache.php: Clear the cache for the current blog only, don't
227
+ want to mess with other multisite blogs
228
 
229
+ 2014-02-25 16:24 donncha
230
 
231
+ * readme.txt: Bump tested version to current WP version
232
 
233
+ 2013-11-29 15:34 donncha
 
234
 
235
+ * wp-cache-phase2.php: Check that $post is an object as this
236
+ function is used for more than just post changes.
237
+ http://wordpress.org/support/topic/error-switching-themes?replies=2
238
 
239
+ 2013-11-12 09:55 donncha
240
 
241
+ * advanced-cache.php: Don't show the "advanced-cache.php warning"
242
+ when the plugin isn't loaded, props RobertHarm,
243
+ http://wordpress.org/support/topic/wp-super-cache-breaks-leaflet-maps-marker-plugin
244
 
245
+ 2013-10-25 14:37 donncha
 
246
 
247
+ * wp-cache.php: Define $disable_supercache_htaccess_warning if not
248
+ set to avoid PHP warnings, ref:
249
+ http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1,
250
+ props @mattV
251
 
252
+ 2013-10-25 14:33 donncha
 
253
 
254
+ * wp-cache-base.php: Avoid a PHP warning if $base is not set. Ref:
255
+ http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1
256
 
257
+ 2013-10-25 09:29 donncha
 
 
 
258
 
259
+ * wp-cache.php: Only display the WPCACHEHOME warning if WP_CACHE is
260
+ defined and true. Warning won't show until settings page loaded
261
+ that WP_CACHE added to wp-config.php
262
 
263
+ 2013-10-24 11:23 donncha
 
264
 
265
+ * wp-cache.php: Add trailing slashes to the admin bar path, to fix
266
+ the path when no trailing slash is used. Props @gonperesgmailcom
267
+ http://wordpress.org/support/topic/fixed-delete-individual-pages-from-cache?replies=2
268
 
269
+ 2013-10-23 10:56 donncha
 
 
 
270
 
271
+ * readme.txt, wp-cache.php: Bump version to 1.4 and tested version
272
+ to 3.6.1
273
 
 
274
 
advanced-cache.php CHANGED
@@ -1,6 +1,10 @@
1
  <?php
2
  # WP SUPER CACHE 1.2
3
  function wpcache_broken_message() {
 
 
 
 
4
  if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
5
  echo "<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->";
6
  }
1
  <?php
2
  # WP SUPER CACHE 1.2
3
  function wpcache_broken_message() {
4
+ global $wp_cache_config_file;
5
+ if ( isset( $wp_cache_config_file ) == false )
6
+ return '';
7
+
8
  if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
9
  echo "<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->";
10
  }
languages/wp-super-cache-sr_RS.mo ADDED
Binary file
languages/wp-super-cache-sr_RS.po ADDED
@@ -0,0 +1,2686 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WP super cache plugin\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
7
+ "POT-Creation-Date: 2013-04-16 12:02:02+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: 2013-05-07 19:00+0100\n"
12
+ "Last-Translator: Anja Skrba <anjas@webhostinggeeks.com>\n"
13
+ "Language-Team: Anja Skrba <anjas@webhostinggeeks.com>\n"
14
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
16
+ "Language: Srpski / Serbian\n"
17
+ "X-Generator: Poedit 1.5.5\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+
20
+ #: ossdl-cdn.php:151
21
+ msgid ""
22
+ "Your website probably uses lots of static files. Image, Javascript and CSS "
23
+ "files are usually static files that could just as easily be served from "
24
+ "another site or CDN. Therefore this plugin replaces any links in the "
25
+ "<code>wp-content</code> and <code>wp-includes</code> directories (except for "
26
+ "PHP files) on your site with the URL you provide below. That way you can "
27
+ "either copy all the static content to a dedicated host or mirror the files "
28
+ "to a CDN by <a href=\"http://knowledgelayer.softlayer.com/questions/365/How"
29
+ "+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
30
+ msgstr ""
31
+ "Vaš web sajt verovatno koristi dosta statičnih fajlova. Slikovni, Javascript "
32
+ "i CSS fajlovi su obično statični fajlovi koji lako mogu da se &#34;"
33
+ "povlače&#34; sa drugog sajta, ili CDN-a. Iz tog razloga ovaj WordPress "
34
+ "dodatak zamenjuje sve linkove u <code>wp-content</code> i <code>wp-includes</"
35
+ "code> direktorijumima (izuzev PHP fajlova) vašeg sajta, URL-om koji dajete "
36
+ "dole. Na taj način možete, ili kopirati sav statičan sadržaj na poseban "
37
+ "hosting server, ili &#34;preslikati&#34; (mirror) fajlove na CDN, pomoću <a "
38
+ "href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull"
39
+ "+work%3F\" target=\"_blank\">origin pull</a>-a."
40
+
41
+ #: ossdl-cdn.php:152 wp-cache.php:1167
42
+ msgid ""
43
+ "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to "
44
+ "Amazon S3/Cloudfront if you would rather not depend on origin pull. See the "
45
+ "<a href=\"%2$s\">plugin support forum</a> if you have any queries about this "
46
+ "plugin."
47
+ msgstr ""
48
+ "Dodatak <a href=\"%1$s\">CDN Sync Tool</a> će vam pomoći da prenesete "
49
+ "fajlove na Amazon S3/Cloudfront, ako radije ne biste da zavisite od origin "
50
+ "pull-a. Pogledajte <a href=\"%2$s\">forum za podršku dodatku</a>, ako imate "
51
+ "bilo kakvih pitanja u vezi sa ovim dodatkom."
52
+
53
+ #: ossdl-cdn.php:153
54
+ msgid ""
55
+ "<strong style=\"color: red\">WARNING:</strong> Test some static urls e.g., "
56
+ "%s to ensure your CDN service is fully working before saving changes."
57
+ msgstr ""
58
+ "<strong style=\"color: red\">UPOZORENJE:</strong> Pre nego snimite izmene, "
59
+ "isprobajte nekoliko statičnih url-ova, npr. %s , da budete sigurni da vaš "
60
+ "CDN servis radi u potpunosti."
61
+
62
+ #: ossdl-cdn.php:154
63
+ msgid "You can define different CDN URLs for each site on a multsite network."
64
+ msgstr ""
65
+ "Možete definisati različite CDN URL-ove za svaki sajt iz mreže višestrukih "
66
+ "sajtova."
67
+
68
+ #: ossdl-cdn.php:162
69
+ msgid "Enable CDN Support"
70
+ msgstr "Uključiti CDN podršku"
71
+
72
+ #: ossdl-cdn.php:165
73
+ msgid "Off-site URL"
74
+ msgstr "Spoljašnji URL"
75
+
76
+ #: ossdl-cdn.php:168
77
+ msgid ""
78
+ "The new URL to be used in place of %1$s for rewriting. No trailing <code>/</"
79
+ "code> please.<br />Example: <code>%2$s</code>."
80
+ msgstr ""
81
+ "Novi URL koji će se koristiti umesto %1$s, za ponovno upisivanje. Bez "
82
+ "prateće <code>/</code>, molim vas. Primer: <code>%2$s</code>."
83
+
84
+ #: ossdl-cdn.php:172
85
+ msgid "Include directories"
86
+ msgstr "Uključiti direktorijume"
87
+
88
+ #: ossdl-cdn.php:175
89
+ msgid ""
90
+ "Directories to include in static file matching. Use a comma as the "
91
+ "delimiter. Default is <code>wp-content, wp-includes</code>, which will be "
92
+ "enforced if this field is left empty."
93
+ msgstr ""
94
+ "Direktorijumi koje treba uključiti pri statičkom upoređivanju fajlova. "
95
+ "Koristite zapetu kao razdvajač. Podrazumevani su <code>wp-content, wp-"
96
+ "includes</code>, koji će se uključiti ako se ovo polje ostavi prazno."
97
+
98
+ #: ossdl-cdn.php:179
99
+ msgid "Exclude if substring"
100
+ msgstr "Isključiti ako je pod-niz"
101
+
102
+ #: ossdl-cdn.php:182
103
+ msgid ""
104
+ "Excludes something from being rewritten if one of the above strings is found "
105
+ "in the match. Use a comma as the delimiter like this, <code>.php, .flv, .do</"
106
+ "code>, and always include <code>.php</code> (default)."
107
+ msgstr ""
108
+ "Isključuje nešto da ne bude presnimljeno, ako se jedan od gornjih stringova "
109
+ "pronađe među rezultatima koji se podudaraju. Upotrebite zapetu kao "
110
+ "razdvajač, ovako: <code>.php, .flv, .do</code>, i uvek uključite <code>.php</"
111
+ "code> (podrazumevano)."
112
+
113
+ #: ossdl-cdn.php:186
114
+ msgid "Additional CNAMES"
115
+ msgstr "Dodatni CNAME zapisi"
116
+
117
+ #: ossdl-cdn.php:189
118
+ msgid ""
119
+ "These <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAMES</a> will "
120
+ "be used in place of %1$s for rewriting (in addition to the off-site URL "
121
+ "above). Use a comma as the delimiter. For pages with a large number of "
122
+ "static files, this can improve browser performance. CNAMEs may also need to "
123
+ "be configured on your CDN.<br />Example: %2$s"
124
+ msgstr ""
125
+ "Ovi <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAME zapisi</a> "
126
+ "će se koristiti umesto %1$s, za ponovno upisivanje (uz gornji spoljašnji "
127
+ "URL). Koristite zapetu kao razdvajač. Za strane sa velikim brojem statičkih "
128
+ "fajlova, ovo može poboljšati performanse pregledača. Takođe, možda treba "
129
+ "konfigurisati CNAME zapise na vašem CDN-u.<br/>Primer: %2$s"
130
+
131
+ #: ossdl-cdn.php:193
132
+ msgid "Skip https URLs to avoid \"mixed content\" errors"
133
+ msgstr ""
134
+ "Preskočiti https URL-ove, da se izbegnu \"pomešani sadržaj (mixed content)\" "
135
+ "greške"
136
+
137
+ #: ossdl-cdn.php:197
138
+ msgid "Save Changes"
139
+ msgstr "Snimiti izmene"
140
+
141
+ #: ossdl-cdn.php:199
142
+ msgid ""
143
+ "CDN functionality provided by <a href=\"http://wordpress.org/extend/plugins/"
144
+ "ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> by <a href=\"http://mark."
145
+ "ossdl.de/\">Mark Kubacki</a>"
146
+ msgstr ""
147
+ "CDN funkcionalnost koju daje <a href=\"http://wordpress.org/extend/plugins/"
148
+ "ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> od <a href=\"http://mark."
149
+ "ossdl.de/\">Mark Kubacki</a>-a"
150
+
151
+ #: plugins/awaitingmoderation.php:4
152
+ msgid "Your comment is awaiting moderation."
153
+ msgstr "Vaš komentar čeka moderaciju."
154
+
155
+ #: plugins/awaitingmoderation.php:32
156
+ msgid "Awaiting Moderation"
157
+ msgstr "Čekanje na moderaciju"
158
+
159
+ #: plugins/awaitingmoderation.php:34 plugins/badbehaviour.php:65
160
+ #: plugins/domain-mapping.php:75 plugins/jetpack.php:27
161
+ #: plugins/searchengine.php:69 plugins/wptouch.php:22 wp-cache.php:1405
162
+ msgid "Enabled"
163
+ msgstr "Uključeno"
164
+
165
+ #: plugins/awaitingmoderation.php:35 plugins/badbehaviour.php:66
166
+ #: plugins/domain-mapping.php:76 plugins/jetpack.php:28
167
+ #: plugins/searchengine.php:70 plugins/wptouch.php:23 wp-cache.php:1405
168
+ msgid "Disabled"
169
+ msgstr "Isključeno"
170
+
171
+ #: plugins/awaitingmoderation.php:36
172
+ msgid ""
173
+ "Enables or disables plugin to Remove the text \"Your comment is awaiting "
174
+ "moderation.\" when someone leaves a moderated comment."
175
+ msgstr ""
176
+ "Uključuje ili isključuje dodatak za uklanjanje teksta \"Vaš komentar čeka "
177
+ "moderaciju (Your comment is awaiting moderation).\", kada neko ostavi "
178
+ "moderisani komentar."
179
+
180
+ #: plugins/awaitingmoderation.php:40 plugins/badbehaviour.php:71
181
+ #: plugins/domain-mapping.php:81 plugins/jetpack.php:33
182
+ #: plugins/searchengine.php:75 plugins/wptouch.php:28 wp-cache.php:1866
183
+ #: wp-cache.php:1868
184
+ msgid "enabled"
185
+ msgstr "uključeno"
186
+
187
+ #: plugins/awaitingmoderation.php:42 plugins/badbehaviour.php:73
188
+ #: plugins/domain-mapping.php:83 plugins/jetpack.php:35
189
+ #: plugins/searchengine.php:77 plugins/wptouch.php:30
190
+ msgid "disabled"
191
+ msgstr "isključeno"
192
+
193
+ #: plugins/awaitingmoderation.php:43
194
+ msgid "Awaiting Moderation is now %s"
195
+ msgstr "Čekanje na moderaciju je sada %s"
196
+
197
+ #: plugins/awaitingmoderation.php:45 plugins/badbehaviour.php:76
198
+ #: plugins/domain-mapping.php:86 plugins/jetpack.php:38
199
+ #: plugins/searchengine.php:80 plugins/wptouch.php:33
200
+ msgid "Update"
201
+ msgstr "Ažurirati"
202
+
203
+ #: plugins/badbehaviour.php:47
204
+ msgid "Bad Behaviour not found. Please check your install."
205
+ msgstr "Bad Behaviour nije pronađen. Molim vas, proverite vašu instalaciju."
206
+
207
+ #: plugins/badbehaviour.php:63
208
+ msgid "Bad Behavior"
209
+ msgstr "Bad Behaviour (nepristojno ponašanje)"
210
+
211
+ #: plugins/badbehaviour.php:68
212
+ msgid ""
213
+ "(Only legacy caching supported, disabled compression and requires <a href="
214
+ "\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-"
215
+ "behavior/\") "
216
+ msgstr ""
217
+ "(Podržano je samo nasleđeno keširanje, kompresija je isključena, i traži se "
218
+ "<a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behaviour</a> u "
219
+ "direktorijumu \"%s/plugins/bad-behavior/\") "
220
+
221
+ #: plugins/badbehaviour.php:74
222
+ msgid "Bad Behavior support is now %s"
223
+ msgstr "Podrška za Bad Behaviour je sada %s"
224
+
225
+ #: plugins/badbehaviour.php:83 wp-cache.php:1495 wp-cache.php:1500
226
+ msgid "Warning!"
227
+ msgstr "Upozorenje!"
228
+
229
+ #: plugins/domain-mapping.php:73
230
+ msgid "Domain Mapping"
231
+ msgstr "Domain Mapping (mapiranje domena)"
232
+
233
+ #: plugins/domain-mapping.php:78
234
+ msgid ""
235
+ "Provides support for <a href=\"http://wordpress.org/extend/plugins/wordpress-"
236
+ "mu-domain-mapping/\">Domain Mapping</a> plugin to map multiple domains to a "
237
+ "blog."
238
+ msgstr ""
239
+ "Obezbeđuje podršku za <a href=\"http://wordpress.org/extend/plugins/"
240
+ "wordpress-mu-domain-mapping/\">Domain Mapping</a> dodatak, za uparivanje "
241
+ "(mapiranje) više domena sa blogom."
242
+
243
+ #: plugins/domain-mapping.php:84
244
+ msgid "Domain Mapping support is now %s"
245
+ msgstr "Podrška za Domain Mapping je sada %s"
246
+
247
+ #: plugins/domain-mapping.php:98
248
+ msgid ""
249
+ "Domain Mapping plugin detected! Please go to the Supercache plugins page and "
250
+ "enable the domain mapping helper plugin."
251
+ msgstr ""
252
+ "Pronađen je dodatak Domain Mapping! Molim vas, idite na stranu Supercache "
253
+ "dodataka i uključite pomoćni dodatak za mapiranje domena."
254
+
255
+ #: plugins/jetpack.php:25
256
+ msgid "Jetpack Mobile Theme"
257
+ msgstr "Jetpack tema za mobilne uređaje"
258
+
259
+ #: plugins/jetpack.php:30
260
+ msgid ""
261
+ "Provides support for the <a href=\"http://wordpress.org/extend/plugins/"
262
+ "jetpack/\">Jetpack</a> mobile theme and plugin. PHP caching mode and mobile "
263
+ "support will be enabled too."
264
+ msgstr ""
265
+ "Obezbeđuje podršku za <a href=\"http://wordpress.org/extend/plugins/jetpack/"
266
+ "\">Jetpack</a> temu, i dodatak, za mobilne uređaje."
267
+
268
+ #: plugins/jetpack.php:36
269
+ msgid "Jetpack Mobile Theme support is now %s"
270
+ msgstr "Podrška za Jetpack temu za mobilne uređaje je sada %s"
271
+
272
+ #: plugins/multisite.php:13
273
+ msgid "Cached"
274
+ msgstr "Keširano"
275
+
276
+ #: plugins/multisite.php:31 wp-cache.php:1418
277
+ msgid "Enable"
278
+ msgstr "Uključiti"
279
+
280
+ #: plugins/multisite.php:33 plugins/searchengine.php:61 wp-cache.php:1418
281
+ msgid "Disable"
282
+ msgstr "Isključiti"
283
+
284
+ #: plugins/multisite.php:39
285
+ msgid "Caching has been disabled on this blog on the Network Admin Sites page."
286
+ msgstr ""
287
+ "Keširanje na ovom blogu je isključeno na strani za mrežnu administraciju "
288
+ "sajtova (Network Admin Sites)"
289
+
290
+ #: plugins/searchengine.php:67
291
+ msgid "No Adverts for Friends"
292
+ msgstr "No Adverts for Friends (bez reklama za prijatelje)"
293
+
294
+ #: plugins/searchengine.php:72
295
+ msgid ""
296
+ "Provides support for <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
297
+ "\">No Adverts for Friends</a>."
298
+ msgstr ""
299
+ "Obezbeđuje podršku za <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
300
+ "\">No Adverts for Friends</a>."
301
+
302
+ #: plugins/searchengine.php:78
303
+ msgid "No Adverts for Friends support is now %s"
304
+ msgstr "Podrška za No Adverts for Friends je sada %s"
305
+
306
+ #: plugins/wptouch.php:20
307
+ msgid "WPTouch"
308
+ msgstr "WPTouch"
309
+
310
+ #: plugins/wptouch.php:25
311
+ msgid ""
312
+ "Provides support for <a href=\"http://wordpress.org/extend/plugins/wptouch/"
313
+ "\">WPTouch</a> mobile theme and plugin."
314
+ msgstr ""
315
+ "Obezbeđuje podršku za <a href=\"http://wordpress.org/extend/plugins/wptouch/"
316
+ "\">WPTouch</a> temu, i dodatak, za mobilne uređaje"
317
+
318
+ #: plugins/wptouch.php:31
319
+ msgid "WPTouch support is now %s"
320
+ msgstr "Podrška za WPTouch je sada %s"
321
+
322
+ #: plugins/wptouch.php:45
323
+ msgid ""
324
+ "WPTouch plugin detected! Please go to the Supercache plugins page and enable "
325
+ "the WPTouch helper plugin."
326
+ msgstr ""
327
+ "Pronađen je dodatak WPTouch! Molim vas, idite na stranu Supercache dodataka "
328
+ "i uključite pomoćni dodatak za WPTouch."
329
+
330
+ #: wp-cache-phase2.php:1257
331
+ msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
332
+ msgstr ""
333
+ "Cron zadatak za istek keša nije uspeo. Zadatak će se ponovo pokrenuti za 10 "
334
+ "sekundi."
335
+
336
+ #: wp-cache-phase2.php:1261
337
+ msgid ""
338
+ "Cache expiry cron job took more than 30 seconds. You should probably run the "
339
+ "garbage collector more often."
340
+ msgstr ""
341
+ "Cron zadatku za istek keša je trebalo više od 30 sekundi. Verovatno bi "
342
+ "trebalo da češće pokrećete sakupljač smeća."
343
+
344
+ #: wp-cache-phase2.php:1270
345
+ msgid "[%1$s] WP Super Cache GC Report"
346
+ msgstr "[%1$s] WP Super Cache izveštaj o sakupljanju smeća (GC Report)"
347
+
348
+ #: wp-cache.php:99
349
+ msgid ""
350
+ "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-"
351
+ "sample.php"
352
+ msgstr ""
353
+ "Molim vas, napravite fajl %s /wp-cache-config.php iz fajla wp-super-cache/wp-"
354
+ "cache-config-sample.php"
355
+
356
+ #: wp-cache.php:165
357
+ msgid "Warning! PHP Safe Mode Enabled!"
358
+ msgstr "Upozorenje! Uključen je PHP siguran način rada (safe mode)!"
359
+
360
+ #: wp-cache.php:166
361
+ msgid ""
362
+ "You may experience problems running this plugin because SAFE MODE is enabled."
363
+ msgstr ""
364
+ "Možete imati problema pri radu sa ovim dodatkom, jer je uključen SIGURAN MOD "
365
+ "(safe mode)."
366
+
367
+ #: wp-cache.php:170
368
+ msgid ""
369
+ "Your server is set up to check the owner of PHP scripts before allowing them "
370
+ "to read and write files."
371
+ msgstr ""
372
+ "Vaš server je podešen tako da proverava vlasnika PHP skripti, pre nego im "
373
+ "dozvoli da čitaju i upisuju podatke u fajlove."
374
+
375
+ #: wp-cache.php:171
376
+ msgid ""
377
+ "You or an administrator may be able to make it work by changing the group "
378
+ "owner of the plugin scripts to match that of the web server user. The group "
379
+ "owner of the %s/cache/ directory must also be changed. See the <a href="
380
+ "\"http://php.net/features.safe-mode\">safe mode manual page</a> for further "
381
+ "details."
382
+ msgstr ""
383
+ "Vi, ili administrator, možda možete učiniti da proradi, menjanjući grupnog "
384
+ "vlasnika skripti tako da se poklopi sa korisnikom web servera. Grupni "
385
+ "vlasnik direktorijuma %s/cache/ takođe mora da se promeni. Za još detalja "
386
+ "pogledajte <a href=\"http://php.net/features.safe-mode\">stranu sa uputstvom "
387
+ "za siguran mod</a>."
388
+
389
+ #: wp-cache.php:173
390
+ msgid ""
391
+ "You or an administrator must disable this. See the <a href=\"http://php.net/"
392
+ "features.safe-mode\">safe mode manual page</a> for further details. This "
393
+ "cannot be disabled in a .htaccess file unfortunately. It must be done in the "
394
+ "php.ini config file."
395
+ msgstr ""
396
+ "Vi, ili administrator, morate isključiti ovo. Za dalje informacije "
397
+ "pogledajte <a href=\"http://php.net/features.safe-mode\">stranu sa uputstvom "
398
+ "za siguran mod</a>. Na žalost, ovo se ne može isključiti u fajlu .htaccess. "
399
+ "To se mora uraditi u konfiguracionom fajlu php.ini."
400
+
401
+ #: wp-cache.php:179
402
+ msgid "Permlink Structure Error"
403
+ msgstr "Greška permalink strukture"
404
+
405
+ #: wp-cache.php:180
406
+ msgid ""
407
+ "A custom url or permalink structure is required for this plugin to work "
408
+ "correctly. Please go to the <a href=\"options-permalink.php\">Permalinks "
409
+ "Options Page</a> to configure your permalinks."
410
+ msgstr ""
411
+ "Da bi ovaj dodatak pravilno radio, potreban je prilagođeni url, ili "
412
+ "prilagođena permalink struktura. Molim vas, idite na <a href=\"options-"
413
+ "permalink.php\">Stranu sa opcijama vezanim za permalinkove (Permalinks "
414
+ "Options Page)</a>, da konfigurišete vaše permalinkove."
415
+
416
+ #: wp-cache.php:192
417
+ msgid "Warning! Your hostname \"%s\" resolves to %s"
418
+ msgstr "Upozorenje! Vaše host ime \"%s\" ukazuje na %s"
419
+
420
+ #: wp-cache.php:193
421
+ msgid ""
422
+ "Your server thinks your hostname resolves to %s. Some services such as "
423
+ "garbage collection by this plugin, and WordPress scheduled posts may not "
424
+ "operate correctly."
425
+ msgstr ""
426
+ "Vaš server \"misli\" da vaše host ime ukazuje na %s. Neki servisi, poput "
427
+ "sakupljanja smeća od strane ovog dodatka, i WordPress zakazanih objava, "
428
+ "možda ne funkcionišu ispravno."
429
+
430
+ #: wp-cache.php:194 wp-cache.php:208
431
+ msgid ""
432
+ "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the "
433
+ "readme.txt"
434
+ msgstr ""
435
+ "Molim vas, pogledajte stavku 16 u <a href=\"%s\">Troubleshooting section "
436
+ "(Sekciji o otklanjanju problema)</a> readme.txt fajla"
437
+
438
+ #: wp-cache.php:207
439
+ msgid ""
440
+ "Unfortunately WordPress cannot find the file wp-cron.php. This script is "
441
+ "required for the the correct operation of garbage collection by this plugin, "
442
+ "WordPress scheduled posts as well as other critical activities."
443
+ msgstr ""
444
+ "Na žalost, WordPress ne može da pronađe fajl wp-cron.php. Ova skripta je "
445
+ "potrebna za pravilno funkcionisanje sakupljanja smeća od strane ovog "
446
+ "dodatka, WordPress zakazanih objava, i drugih kritičnih aktivnosti."
447
+
448
+ #: wp-cache.php:221
449
+ msgid "Cannot continue... fix previous problems and retry."
450
+ msgstr ""
451
+ "Nije moguće nastaviti... otklonite prethodne probleme i pokušajte ponovo."
452
+
453
+ #: wp-cache.php:230
454
+ msgid "Zlib Output Compression Enabled!"
455
+ msgstr "Zlib izlazna kompresija je uključena!"
456
+
457
+ #: wp-cache.php:231
458
+ msgid ""
459
+ "PHP is compressing the data sent to the visitors of your site. Disabling "
460
+ "this is recommended as the plugin caches the compressed output once instead "
461
+ "of compressing the same page over and over again. Also see #21 in the "
462
+ "Troubleshooting section. See <a href=\"http://php.net/manual/en/zlib."
463
+ "configuration.php\">this page</a> for instructions on modifying your php.ini."
464
+ msgstr ""
465
+ "PHP komprimuje podatke koji se šalju posetiocima vašeg sajta. Isključivanje "
466
+ "ovoga se preporučuje, jer dodatak kešira komprimovani izlaz jednom, umesto "
467
+ "komprimovanja iste strane iznova i iznova. Takođe pogledajte #21 u sekciji o "
468
+ "otklanjanju problema (Troubleshooting section). Pogledajte <a href=\"http://"
469
+ "php.net/manual/en/zlib.configuration.php\">ovu stranu</a> za instrukcije o "
470
+ "modifikovanju vašeg php.ini fajla."
471
+
472
+ #: wp-cache.php:235
473
+ msgid "Mod rewrite may not be installed!"
474
+ msgstr "Mod rewrite možda nije instaliran!"
475
+
476
+ #: wp-cache.php:236
477
+ msgid ""
478
+ "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;"
479
+ "t 100% reliable, especially if you are not using Apache. Please verify that "
480
+ "the mod_rewrite module is loaded. It is required for serving Super Cache "
481
+ "static files. You will still be able to use legacy or PHP modes."
482
+ msgstr ""
483
+ "Izgleda da mod_rewrite nije instaliran. Ponekad ova provera nije 100% "
484
+ "pouzdana, posebno ako ne koristite Apache. Molim vas, potvrdite da je učitan "
485
+ "modul mod_rewrite. On je potreban za serviranje Super Cache statičnih "
486
+ "fajlova. I dalje ćete moći da koristite zastarele ili PHP modove."
487
+
488
+ #: wp-cache.php:242
489
+ msgid "Read Only Mode. Configuration cannot be changed."
490
+ msgstr "Mod u kome je moguć samo pregled. Konfiguracija ne može da se menja."
491
+
492
+ #: wp-cache.php:243
493
+ msgid ""
494
+ "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> "
495
+ "and cannot be modified. That file must be writeable by the webserver to make "
496
+ "any changes."
497
+ msgstr ""
498
+ "WP Super Cache konfiguracioni fajl je <code>%s/wp-cache-config.php</code>, i "
499
+ "ne može se menjati. U taj fajl mora da bude omogućen upis podataka od strane "
500
+ "web servera, da bi se pravile bilo kakve izmene."
501
+
502
+ #: wp-cache.php:244
503
+ msgid ""
504
+ "A simple way of doing that is by changing the permissions temporarily using "
505
+ "the CHMOD command or through your ftp client. Make sure it&#8217;s globally "
506
+ "writeable and it should be fine."
507
+ msgstr ""
508
+ "Jednostavan način da se to uradi je privremeno menjanje dozvola, koristeći "
509
+ "naredbu CHMOD, ili preko vašeg ftp klijenta. Postarajte se da u njega "
510
+ "globalno bude omogućen upis podataka, i trebalo bi sve da bude u redu."
511
+
512
+ #: wp-cache.php:245 wp-cache.php:294
513
+ msgid ""
514
+ "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">This page</"
515
+ "a> explains how to change file permissions."
516
+ msgstr ""
517
+ "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">Ova strana</"
518
+ "a> objašnjava kako promeniti dozvole za fajlove."
519
+
520
+ #: wp-cache.php:246
521
+ msgid "Writeable:"
522
+ msgstr "Moguć upis podataka:"
523
+
524
+ #: wp-cache.php:247
525
+ msgid "Readonly:"
526
+ msgstr "Moguć samo pregled:"
527
+
528
+ #: wp-cache.php:265
529
+ msgid "Warning! Garbage collection is not scheduled!"
530
+ msgstr "Upozorenje! Sakupljanje smeća nije zakazano!"
531
+
532
+ #: wp-cache.php:266
533
+ msgid ""
534
+ "Garbage collection by this plugin clears out expired and old cached pages on "
535
+ "a regular basis. Use <a href=\"#expirytime\">this form</a> to enable it."
536
+ msgstr ""
537
+ "Sakupljanje smeća od strane ovog dodatka redovno briše istekle i stare "
538
+ "keširane strane. Upotrebite <a href=\"#expirytime\">ovaj obrazac</a> da ga "
539
+ "uključite."
540
+
541
+ #: wp-cache.php:271 wp-cache.php:299 wp-cache.php:369
542
+ msgid "Dismiss"
543
+ msgstr "Odbaciti"
544
+
545
+ #: wp-cache.php:292
546
+ msgid "Warning! %s is writeable!"
547
+ msgstr "Pažnja! u %s je moguć upis podataka!"
548
+
549
+ #: wp-cache.php:293
550
+ msgid ""
551
+ "You should change the permissions on %s and make it more restrictive. Use "
552
+ "your ftp client, or the following command to fix things:"
553
+ msgstr ""
554
+ "Trebalo bi da na %s promenite dozvole, i učinite ih restriktivnijim. Da "
555
+ "popravite stvari, upotrebite vaš ftp klijent, ili sledeću naredbu:"
556
+
557
+ #: wp-cache.php:311
558
+ msgid "Mobile rewrite rules detected"
559
+ msgstr "Otkrivena su mobilna pravila za ponovni upis"
560
+
561
+ #: wp-cache.php:312
562
+ msgid ""
563
+ "For best performance you should enable \"Mobile device support\" or delete "
564
+ "the mobile rewrite rules in your .htaccess. Look for the 2 lines with the "
565
+ "text \"2.0\\ MMP|240x320\" and delete those."
566
+ msgstr ""
567
+ "Za najbolje performanse treba da uključite \"Podršku za mobilne uređaje "
568
+ "(Mobile device support)\", ili da obrišete mobilna pravila za ponovni upis u "
569
+ "vašem fajlu .htaccess. Potražite 2 linije sa tekstom \"2.0\\ MMP|240x320\", "
570
+ "i obrišite ih."
571
+
572
+ #: wp-cache.php:312
573
+ msgid ""
574
+ "This will have no affect on ordinary users but mobile users will see "
575
+ "uncached pages."
576
+ msgstr ""
577
+ "Ovo se neće odraziti na obične korisnike, ali mobilni korisnici će videti "
578
+ "nekeširane strane."
579
+
580
+ #: wp-cache.php:318 wp-cache.php:329
581
+ msgid "Rewrite rules must be updated"
582
+ msgstr "Pravila za ponovni upis moraju da se ažuriraju"
583
+
584
+ #: wp-cache.php:319 wp-cache.php:330
585
+ msgid "The rewrite rules required by this plugin have changed or are missing. "
586
+ msgstr ""
587
+ "Pravila za ponovni upis, koja zahteva ovaj dodatak, su izmenjena, ili "
588
+ "nedostaju."
589
+
590
+ #: wp-cache.php:320
591
+ msgid ""
592
+ "Mobile support requires extra rules in your .htaccess file, or you can set "
593
+ "the plugin to legacy mode. Here are your options (in order of difficulty):"
594
+ msgstr ""
595
+ "Podrška za mobilne uređaje zahteva dodatna pravila u vašem fajlu .htaccess, "
596
+ "ili možete podesiti dodatak na zastareli mod (legacy mode). Evo vaših opcija "
597
+ "(poređanih po težini):"
598
+
599
+ #: wp-cache.php:321
600
+ msgid "Set the plugin to legacy mode and enable mobile support."
601
+ msgstr ""
602
+ "Podesite dodatak na zastareli mod i uključite podršku za mobilne uređaje."
603
+
604
+ #: wp-cache.php:322 wp-cache.php:331
605
+ msgid ""
606
+ "Scroll down the Advanced Settings page and click the <strong>Update "
607
+ "Mod_Rewrite Rules</strong> button."
608
+ msgstr ""
609
+ "Skrolujte na dole, na strani sa naprednim podešenjima (Advanced Settings), i "
610
+ "kliknite na dugme <strong>Ažurirati mod_rewrite pravila (Update Mod_Rewrite "
611
+ "Rules)</strong>."
612
+
613
+ #: wp-cache.php:323
614
+ msgid ""
615
+ "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN "
616
+ "WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin "
617
+ "regenerate them by reloading this page."
618
+ msgstr ""
619
+ "U %s.htaccess fajlu obrišite mod_rewrite pravila dodatka, smeštena između "
620
+ "<code># BEGIN WPSuperCache</code> i <code># END WPSuperCache</code>, i "
621
+ "pustite da ih dodatak opet generiše, učitavajući ponovo ovu stranu."
622
+
623
+ #: wp-cache.php:324
624
+ msgid ""
625
+ "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed "
626
+ "by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</"
627
+ "code>. There are two sections that look very similar. Just below the line "
628
+ "<code>%%{HTTP:Cookie} !^.*(comment_author_|%s|wp-postpass_).*$</code> add "
629
+ "these lines: (do it twice, once for each section)"
630
+ msgstr ""
631
+ "Sami dodajte pravila. Otvorite fajl %s.htaccess u uređivaču, i pronađite "
632
+ "blok koda koji se nalazi između linija <code># BEGIN WPSuperCache</code> i "
633
+ "<code># END WPSuperCache</code>. Tu se nalaze dve sekcije koje izgledaju "
634
+ "vrlo slično. Odmah ispod linije <code>%%{HTTP:Cookie} !^.*(comment_author_|"
635
+ "%s|wp-postpass_).*$</code> dodajte ove linije: (uradite to dva puta - za "
636
+ "svaku sekciju)"
637
+
638
+ #: wp-cache.php:337
639
+ msgid "Required to serve compressed supercache files properly."
640
+ msgstr "Potrebno da se pravilno serviraju komprimovani supercache fajlovi."
641
+
642
+ #: wp-cache.php:337
643
+ msgid ""
644
+ "Required to set caching information on supercache pages. IE7 users will see "
645
+ "old pages without this module."
646
+ msgstr ""
647
+ "Potrebno da bi se na supercache stranama postavile informacije o keširanju. "
648
+ "Korisnici IE7 će videti stare strane, bez ovog modula."
649
+
650
+ #: wp-cache.php:337
651
+ msgid ""
652
+ "Set the expiry date on supercached pages. Visitors may not see new pages "
653
+ "when they refresh or leave comments without this module."
654
+ msgstr ""
655
+ "odešavanje datuma isteka na superkeširanim stranama. Posetioci mogu da ne "
656
+ "vide nove strane kada osvežavaju sadržaj u pregledaču ili ostavljaju "
657
+ "komentare, bez ovog modula."
658
+
659
+ #: wp-cache.php:344
660
+ msgid "Missing Apache Modules"
661
+ msgstr "Nedostaju Apache moduli "
662
+
663
+ #: wp-cache.php:345
664
+ msgid ""
665
+ "The following Apache modules are missing. The plugin will work in legacy "
666
+ "mode without them. In full Supercache mode, your visitors may see corrupted "
667
+ "pages or out of date content however."
668
+ msgstr ""
669
+ "Nedostaju sledeći Apache moduli. Bez njih će ovaj dodatak raditi u "
670
+ "zastarelom modu. Međutim, u punom Supercache modu, vaši posetioci mogu da "
671
+ "vide nepotpune strane, ili sadržaj koji više nije važeći."
672
+
673
+ #: wp-cache.php:363
674
+ msgid ".htaccess file may need to be moved"
675
+ msgstr ".htaccess fajl možda treba da se premesti"
676
+
677
+ #: wp-cache.php:364
678
+ msgid ""
679
+ "It appears you have WordPress installed in a sub directory as described <a "
680
+ "href=\"http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\">here</"
681
+ "a>. Unfortunately WordPress writes to the .htaccess in the install "
682
+ "directory, not where your site is served from.<br />When you update the "
683
+ "rewrite rules in this plugin you will have to copy the file to where your "
684
+ "site is hosted. This will be fixed in the future."
685
+ msgstr ""
686
+ "Izgleda da vam je WordPress instaliran u pod-folderu, kao što je opisano <a "
687
+ "href=\"http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\">ovde</"
688
+ "a>. Na žalost, WordPress upisuje podatke u .htaccess fajl u instalacionom "
689
+ "direktorijumu, a ne tamo odakle se vaš sajt servira.<br />Kada ažurirate "
690
+ "pravila za ponovni upis u ovom dodatku, moraćete da kopirate ovaj fajl na "
691
+ "lokaciju na kojoj se hostuje vaš sajt. Ovo će u budućnosti biti rešeno."
692
+
693
+ #: wp-cache.php:597
694
+ msgid ""
695
+ "<strong>Warning!</strong> You attempted to enable compression but <code>zlib."
696
+ "output_compression</code> is enabled. See #21 in the Troubleshooting section "
697
+ "of the readme file."
698
+ msgstr ""
699
+ "<strong>Upozorenje!</strong> Pokušali ste da uključite kompresiju, ali je "
700
+ "<code>zlib.output_compression</code> uključeno. Pogledajte #21 u sekciji o "
701
+ "otklanjanju problema (Troubleshooting section), readme fajla."
702
+
703
+ #: wp-cache.php:693
704
+ msgid "WP Super Cache Settings"
705
+ msgstr "WP Super Cache podešenja"
706
+
707
+ #: wp-cache.php:707
708
+ msgid ""
709
+ "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced "
710
+ "Settings Page by default."
711
+ msgstr ""
712
+ "Obratite pažnju: <em>Uključeni su Mod_rewrite, ili zastarelo keširanje "
713
+ "(Legacy caching)</em>. Podrazumevano je prikazivanje strane sa naprednim "
714
+ "podešenjima (Advanced Settings)."
715
+
716
+ #: wp-cache.php:718
717
+ msgid ""
718
+ "Configuration file changed, some values might be wrong. Load the page again "
719
+ "from the \"Settings\" menu to reset them."
720
+ msgstr ""
721
+ "Konfiguracioni fajl je izmenjen, neke vrednosti bi mogle biti pogrešne. "
722
+ "Učitajte stranu ponovo, iz menija \"Podešenja (Settings\", da ih resetujete."
723
+
724
+ #: wp-cache.php:750
725
+ msgid "Caching must be enabled to use this feature"
726
+ msgstr "Da bi se koristilo ovo svojstvo, keširanje mora da bude uključeno"
727
+
728
+ #: wp-cache.php:768 wp-cache.php:908
729
+ msgid "Cancel Cache Preload"
730
+ msgstr "Otkazati učitavanje keša unapred"
731
+
732
+ #: wp-cache.php:776
733
+ msgid ""
734
+ "Scheduled preloading of cache almost cancelled. It may take up to a minute "
735
+ "for it to cancel completely."
736
+ msgstr ""
737
+ "Zakazano učitavanje keša unapred je skoro otkazano. Može potrajati još "
738
+ "najviše minut dok se ono potpuno otkaže."
739
+
740
+ #: wp-cache.php:787
741
+ msgid "Scheduled preloading of cache cancelled."
742
+ msgstr "Zakazano učitavanje keša unapred je otkazano."
743
+
744
+ #: wp-cache.php:819 wp-cache.php:906
745
+ msgid "Preload Cache Now"
746
+ msgstr "Učitati keš unapred sada"
747
+
748
+ #: wp-cache.php:823
749
+ msgid "Scheduled preloading of cache in 10 seconds."
750
+ msgstr "Zakazano učitavanje keša unapred za 10 sekundi."
751
+
752
+ #: wp-cache.php:828
753
+ msgid "Scheduled preloading of cache in %d minutes"
754
+ msgstr "Zakazano učitavanje keša unapred za %d minuta"
755
+
756
+ #: wp-cache.php:832
757
+ msgid ""
758
+ "This will cache every published post and page on your site. It will create "
759
+ "supercache static files so unknown visitors (including bots) will hit a "
760
+ "cached page. This will probably help your Google ranking as they are using "
761
+ "speed as a metric when judging websites now."
762
+ msgstr ""
763
+ "Ovo će keširati svaku objavljenu objavu, ili stranu, na vašem sajtu. "
764
+ "Napraviće superkeš statične fajlove, tako da će nepoznati posetioci "
765
+ "(uključujući i botove) pogoditi keširanu stranu. Ovo će vam verovatno pomoći "
766
+ "kod Google rangiranja, pošto oni sada koriste brzinu kao meru, kada sude o "
767
+ "web sajtovima."
768
+
769
+ #: wp-cache.php:833
770
+ msgid ""
771
+ "Preloading creates lots of files however. Caching is done from the newest "
772
+ "post to the oldest so please consider only caching the newest if you have "
773
+ "lots (10,000+) of posts. This is especially important on shared hosting."
774
+ msgstr ""
775
+ "Međutim, učitavanje unapred kreira dosta fajlova. Keširanje se radi od "
776
+ "najnovije do najstarije objave, tako da, molim vas, ako imate mnogo "
777
+ "(10,000+) objava, razmislite o tome da keširate samo one najnovije. Ovo je "
778
+ "naročito važno kod deljenog hostinga."
779
+
780
+ #: wp-cache.php:834
781
+ msgid ""
782
+ "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out "
783
+ "old legacy files for known users, not the preloaded supercache files. This "
784
+ "is a recommended setting when the cache is preloaded."
785
+ msgstr ""
786
+ "U &#8217;Modu za učitavanje unapred (Preload Mode&)#8217; redovno "
787
+ "sakupljanje smeća će očistiti samo stare zaostale (legacy) fajlove, za "
788
+ "poznate korisnike., a ne unapred učitane superkeš fajlove. Ovo je "
789
+ "podrazumevano podešenje, onda kada se keš učitava unapred."
790
+
791
+ #: wp-cache.php:838
792
+ msgid ""
793
+ "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d "
794
+ "minutes.)"
795
+ msgstr ""
796
+ "Osvežavati unapred učitane keš fajlove svakih %s minuta. (0 za "
797
+ "isključivanje, najmanje %d minuta.)"
798
+
799
+ #: wp-cache.php:851
800
+ msgid "all"
801
+ msgstr "sve"
802
+
803
+ #: wp-cache.php:864
804
+ msgid "Preload %s posts."
805
+ msgstr "Unapred učitati %s objava."
806
+
807
+ #: wp-cache.php:871
808
+ msgid ""
809
+ "Preload mode (garbage collection only on legacy cache files. Recommended.)"
810
+ msgstr ""
811
+ "Mod za učitavanje unapred (Preload mode) (sakupljanje smeća samo nad "
812
+ "zastarelim keš fajlovima. Preporučeno.)"
813
+
814
+ #: wp-cache.php:874
815
+ msgid "Preload tags, categories and other taxonomies."
816
+ msgstr "Unapred učitati oznake (tags), kategorije i druge taksonomije."
817
+
818
+ #: wp-cache.php:877
819
+ msgid "Send me status emails when files are refreshed."
820
+ msgstr "Slati mi e-mailove kada se fajlovi osvežavaju."
821
+
822
+ #: wp-cache.php:882
823
+ msgid "Many emails, 2 emails per 100 posts."
824
+ msgstr "Mnogo e-mailova, 2 e-maila na 100 objava."
825
+
826
+ #: wp-cache.php:885
827
+ msgid "Medium, 1 email per 100 posts."
828
+ msgstr "Srednje, 1 e-mail na 100 objava."
829
+
830
+ #: wp-cache.php:888
831
+ msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
832
+ msgstr ""
833
+ "Manje e-mailova, 1 na početku i 1 na kraju prethodnog učitavanja svih objava."
834
+
835
+ #: wp-cache.php:892
836
+ msgid "Refresh of cache in %d hours %d minutes and %d seconds."
837
+ msgstr "Osvežavanje keša za %d časova, %d minuta i %d sekundi."
838
+
839
+ #: wp-cache.php:893
840
+ msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
841
+ msgstr "Potpuno osvežavanje keša za %d časova, %d minuta i %d sekundi."
842
+
843
+ #: wp-cache.php:899
844
+ msgid "Currently caching from post %d to %d."
845
+ msgstr "Trenutno se keširaju objave od %d do %d."
846
+
847
+ #: wp-cache.php:903
848
+ msgid "<strong>Page last cached:</strong> %s"
849
+ msgstr "<strong>Poslednja keširana strana:</strong> %s"
850
+
851
+ #: wp-cache.php:906
852
+ msgid "Update Settings"
853
+ msgstr "Ažurirati podešenja"
854
+
855
+ #: wp-cache.php:914
856
+ msgid ""
857
+ "Preloading of cache disabled. Please disable legacy page caching or talk to "
858
+ "your host administrator."
859
+ msgstr ""
860
+ "Isključeno je učitavanje keša unapred. Molim vas, isključite keširanje "
861
+ "zastarelih strana, ili razgovarajte sa vašim hosting administratorom."
862
+
863
+ #: wp-cache.php:931 wp-cache.php:1043
864
+ msgid "Caching"
865
+ msgstr "Keširanje"
866
+
867
+ #: wp-cache.php:935
868
+ msgid "Cache hits to this website for quick access."
869
+ msgstr "Keš pogoci na ovom web sajtu, za brzi pristup."
870
+
871
+ #: wp-cache.php:935 wp-cache.php:936 wp-cache.php:953 wp-cache.php:962
872
+ #: wp-cache.php:969 wp-cache.php:972 wp-cache.php:990 wp-cache.php:1046
873
+ msgid "Recommended"
874
+ msgstr "Preporučeno"
875
+
876
+ #: wp-cache.php:936
877
+ msgid "Use mod_rewrite to serve cache files."
878
+ msgstr "Koristiti mod_rewrite za serviranje keš fajlova."
879
+
880
+ #: wp-cache.php:937
881
+ msgid "Use PHP to serve cache files."
882
+ msgstr "Koristiti PHP za serviranje keš fajlova."
883
+
884
+ #: wp-cache.php:938
885
+ msgid "Legacy page caching."
886
+ msgstr "Staro keširanje strana (legacy page caching)."
887
+
888
+ #: wp-cache.php:939
889
+ msgid ""
890
+ "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, "
891
+ "while legacy caching is slower again, but more flexible and also easy to get "
892
+ "working. New users should use PHP caching."
893
+ msgstr ""
894
+ "Mod_rewrite je najbrži, PHP je skoro isto tako brz, a jednostavniji za "
895
+ "stavljanje u rad, dok je, opet, staro keširanje (legacy caching) sporije, "
896
+ "ali je fleksibilnije i, takođe, jednostavnije za stavljanje u rad. Novi "
897
+ "korisnici bi trebalo da koriste PHP keširanje."
898
+
899
+ #: wp-cache.php:945
900
+ msgid "Miscellaneous"
901
+ msgstr "Razno"
902
+
903
+ #: wp-cache.php:951
904
+ msgid "Warning! Compression is disabled as gzencode() function not found."
905
+ msgstr ""
906
+ "Upozorenje! Kompresija je isključena, jer nije pronađena funkcija gzencode()."
907
+
908
+ #: wp-cache.php:953
909
+ msgid "Compress pages so they&#8217;re served more quickly to visitors."
910
+ msgstr "Komprimovati strane, tako da se brže serviraju posetiocima."
911
+
912
+ #: wp-cache.php:954
913
+ msgid ""
914
+ "Compression is disabled by default because some hosts have problems with "
915
+ "compressed files. Switching it on and off clears the cache."
916
+ msgstr ""
917
+ "Kompresija je u startu isključena, jer neki hostinzi imaju problema sa "
918
+ "komprimovanim fajlovima. Njeno uključivanje i isključivanje brišu keš."
919
+
920
+ #: wp-cache.php:962
921
+ msgid ""
922
+ "304 Not Modified browser caching. Indicate when a page has not been modified "
923
+ "since last requested."
924
+ msgstr ""
925
+ "304 Ne modifikovano (Not Modified) keširanje od strane pregledača. Ukazuje "
926
+ "kada strana nije izmenjena od poslednjeg zahteva."
927
+
928
+ #: wp-cache.php:965
929
+ msgid ""
930
+ "Warning! 304 browser caching is only supported when not using mod_rewrite "
931
+ "caching."
932
+ msgstr ""
933
+ "Upozorenje! 304 keširanje od strane pregledača je podržano samo kada se ne "
934
+ "koristi mod_rewrite keširanje."
935
+
936
+ #: wp-cache.php:967
937
+ msgid ""
938
+ "304 support is disabled by default because some hosts have had problems with "
939
+ "the headers used in the past."
940
+ msgstr ""
941
+ "Podrška za 304 je u startu isključena, jer neki hostinzi imaju problema sa "
942
+ "zaglavljima korišćenim u prošlosti."
943
+
944
+ #: wp-cache.php:969
945
+ msgid ""
946
+ "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that "
947
+ "comment\">known users</acronym>."
948
+ msgstr ""
949
+ "Ne keširati strane za <acronym title=\"Logged in users and those that comment"
950
+ "\">poznate korisnike</acronym>."
951
+
952
+ #: wp-cache.php:970
953
+ msgid "Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)"
954
+ msgstr "Ne keširati strane sa GETparametrima. (?x=y, na kraju url-a)"
955
+
956
+ #: wp-cache.php:971
957
+ msgid ""
958
+ "Make known users anonymous so they&#8217;re served supercached static files."
959
+ msgstr ""
960
+ "Učiniti poznate korisnike anonimnim, tako da im se serviraju superkeširani "
961
+ "statički fajlovi."
962
+
963
+ #: wp-cache.php:972
964
+ msgid ""
965
+ "Cache rebuild. Serve a supercache file to anonymous users while a new file "
966
+ "is being generated."
967
+ msgstr ""
968
+ "Ponovna izgradnja keša. Servirati anonimnim korisnicima superkeširani fajl, "
969
+ "dok se generiše novi fajl."
970
+
971
+ #: wp-cache.php:973
972
+ msgid ""
973
+ "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! "
974
+ "(places a message in your blog&#8217;s footer)"
975
+ msgstr ""
976
+ "Ponosno recite svetu da je vaš server <a href=\"%s\">Stephen Fry proof</a>! "
977
+ "(postavlja poruku u podnožju vašeg bloga)"
978
+
979
+ #: wp-cache.php:979 wp-cache.php:1256 wp-cache.php:1875
980
+ msgid "Advanced"
981
+ msgstr "Napredno"
982
+
983
+ #: wp-cache.php:983
984
+ msgid ""
985
+ "Enable dynamic caching (mfunc, mclude, dynamic-cached-content). See the <a "
986
+ "href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
987
+ "further details.)"
988
+ msgstr ""
989
+ "Uključiti dinamičko keširanje (mfunc, mclude, dynamic-cached-content). "
990
+ "Pogledajte <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/"
991
+ "\">često postavljana pitanja (FAQ)</a> za više detalja.)"
992
+
993
+ #: wp-cache.php:984
994
+ msgid ""
995
+ "Mobile device support. (External plugin or theme required. See the <a href="
996
+ "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
997
+ "further details.)"
998
+ msgstr ""
999
+ "Podrška za mobilne uređaje. (Potreban je spoljni dodatak, ili tema. "
1000
+ "Pogledajte <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/"
1001
+ "\">često postavljana pitanja (FAQ)</a> za više detalja.)"
1002
+
1003
+ #: wp-cache.php:986
1004
+ msgid "Mobile Browsers"
1005
+ msgstr "Mobilni pregledači"
1006
+
1007
+ #: wp-cache.php:986
1008
+ msgid "Mobile Prefixes"
1009
+ msgstr "Mobilni prefiksi"
1010
+
1011
+ #: wp-cache.php:988
1012
+ msgid ""
1013
+ "Remove UTF8/blog charset support from .htaccess file. Only necessary if you "
1014
+ "see odd characters or punctuation looks incorrect. Requires rewrite rules "
1015
+ "update."
1016
+ msgstr ""
1017
+ "Ukloniti UTF8/blog karakter-set podršku iz .htaccess fajla. Potrebno je samo "
1018
+ "ako vidite neobične karaktere, ili interpunkcija izgleda nepravilno. Zahteva "
1019
+ "ažuriranje pravila ponovnog upisa (rewrite rules)."
1020
+
1021
+ #: wp-cache.php:989
1022
+ msgid "Clear all cache files when a post or page is published or updated."
1023
+ msgstr ""
1024
+ "Obrisati sve keš fajlove, onda kada se objava ili strana objavi ili ažurira."
1025
+
1026
+ #: wp-cache.php:990
1027
+ msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
1028
+ msgstr ""
1029
+ "Dodatne provere početne strane. (Veoma retko zaustavlja keširanje početne "
1030
+ "strane)"
1031
+
1032
+ #: wp-cache.php:991
1033
+ msgid "Only refresh current page when comments made."
1034
+ msgstr "Osvežiti aktuelnu stranu samo kada se ostave komentari."
1035
+
1036
+ #: wp-cache.php:992
1037
+ msgid "List the newest cached pages on this page."
1038
+ msgstr "Prikazati listu poslednjih keširanih strana na ovoj strani."
1039
+
1040
+ #: wp-cache.php:994
1041
+ msgid ""
1042
+ "Coarse file locking. You probably don&#8217;t need this but it may help if "
1043
+ "your server is underpowered. Warning! <em>May cause your server to lock up "
1044
+ "in very rare cases!</em>"
1045
+ msgstr ""
1046
+ "Grubo zaključavanje fajlova. Ovo vam verovatno ne treba, ali može pomoći ako "
1047
+ "je vaš server slabijih mogućnosti. Upozorenje! <em>U vrlo retkim slučajevima "
1048
+ "može izazvati zaključavanje servera!</em>"
1049
+
1050
+ #: wp-cache.php:996
1051
+ msgid ""
1052
+ "Late init. Display cached files after WordPress has loaded. Most useful in "
1053
+ "legacy mode."
1054
+ msgstr ""
1055
+ "Kasna inicijalizacija. Prikazuje keširane fajlove nakon što se učita "
1056
+ "WordPress. Najkorisnije u starom modu (legacy mode)."
1057
+
1058
+ #: wp-cache.php:998
1059
+ msgid "Use object cache to store cached files."
1060
+ msgstr "Koristiti objektni keš (object cache) za čuvaje keširanih fajlova."
1061
+
1062
+ #: wp-cache.php:998
1063
+ msgid "(Experimental)"
1064
+ msgstr "(Eksperimentalno)"
1065
+
1066
+ #: wp-cache.php:1000
1067
+ msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
1068
+ msgstr "<strong>NE KEŠIRATI STRANU</strong> tajni ključ: <a href=\"%s\">%s</a>"
1069
+
1070
+ #: wp-cache.php:1006
1071
+ msgid "Note:"
1072
+ msgstr "Napomena:"
1073
+
1074
+ #: wp-cache.php:1008
1075
+ msgid ""
1076
+ "Uninstall this plugin on the plugins page. It will automatically clean up "
1077
+ "after itself. If manual intervention is required then simple instructions "
1078
+ "are provided."
1079
+ msgstr ""
1080
+ "De-instalirati ovaj dodatak na strani sa dodacima (plugins). On će "
1081
+ "automatski počistiti za sobom. Ako je potrebna manuelna intervencija, "
1082
+ "obezbedeđene su jednostavne instrukcije."
1083
+
1084
+ #: wp-cache.php:1009
1085
+ msgid ""
1086
+ "If uninstalling this plugin, make sure the directory <em>%s</em> is "
1087
+ "writeable by the webserver so the files <em>advanced-cache.php</em> and "
1088
+ "<em>cache-config.php</em> can be deleted automatically. (Making sure those "
1089
+ "files are writeable too is probably a good idea!)"
1090
+ msgstr ""
1091
+ "Ako de-instalirate ovaj dodatak, postarajte se da u direktorijum <em>%s</em> "
1092
+ "bude omogućen upis od strane web servera, tako da fajlovi <em>advanced-cache."
1093
+ "php</em> i <em>cache-config.php</em> mogu automatski da budu obrisani. "
1094
+ "(Osiguravanje da i u ove fajlove bude moguć upis je verovatno dobra ideja!)"
1095
+
1096
+ #: wp-cache.php:1010
1097
+ msgid ""
1098
+ "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for "
1099
+ "instructions on uninstalling this script. Look for the heading, \"How to "
1100
+ "uninstall WP Super Cache\"."
1101
+ msgstr ""
1102
+ "Molim vas, pogledajte <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</"
1103
+ "a> fajl, za instrukcije o de-instaliranju ove skripte. otražite naslov \"How "
1104
+ "to uninstall WP Super Cache (Kako de-instalirati WP Super Cache)\"."
1105
+
1106
+ #: wp-cache.php:1011
1107
+ msgid ""
1108
+ "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It "
1109
+ "includes installation documentation, a FAQ and Troubleshooting tips. The <a "
1110
+ "href=\"%2$s\">support forum</a> is also available. Your question may already "
1111
+ "have been answered."
1112
+ msgstr ""
1113
+ "Treba vam pomoć? Pogledajte <a href=\"%1$s\">Super Cache readme fajl</a>. On "
1114
+ "uključuje instalacionu dokumentaciju, često postavljana pitanja (FAQ) i "
1115
+ "savete za otklanjanje problema. Takođe je dostupan i <a href=\"%2$s\">forum "
1116
+ "za podršku</a>. Na vaše pitanje je možda već odgovoreno."
1117
+
1118
+ #: wp-cache.php:1014 wp-cache.php:1061
1119
+ msgid "Update Status"
1120
+ msgstr "Ažurirati status"
1121
+
1122
+ #: wp-cache.php:1021
1123
+ msgid "Accepted Filenames &amp; Rejected URIs"
1124
+ msgstr "Prihvaćena imena fajlova i odbačeni URI-ji"
1125
+
1126
+ #: wp-cache.php:1046
1127
+ msgid "Caching On"
1128
+ msgstr "Keširanje uključeno"
1129
+
1130
+ #: wp-cache.php:1047
1131
+ msgid "Caching Off"
1132
+ msgstr "Keširanje isključeno"
1133
+
1134
+ #: wp-cache.php:1048
1135
+ msgid "Note: enables PHP caching, cache rebuild, and mobile support"
1136
+ msgstr ""
1137
+ "Napomena: uključuje PHP keširanje, ponovnu izgradnju keša i podršku za "
1138
+ "mobilne uređaje"
1139
+
1140
+ #: wp-cache.php:1058
1141
+ msgid ""
1142
+ "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. "
1143
+ "Cached files will be served using those rules. If your site is working ok "
1144
+ "please ignore this message or you can edit the .htaccess file in the root of "
1145
+ "your install and remove the SuperCache rules."
1146
+ msgstr ""
1147
+ "Obratite pažnju: Uključeno je PHP keširanje, ali su pronađena Supercache "
1148
+ "mod_rewrite pravila za ponovni upis. Keširani fajlovi će biti servirani "
1149
+ "koristeći ta pravila. Ako vaš sajt dobro funkcioniše, molim vas, ignorišite "
1150
+ "ovu poruku, ili možete urediti .htaccess fajl u osnovnom direktorijumu vaše "
1151
+ "instalacije i ukloniti SuperCache pravila."
1152
+
1153
+ #: wp-cache.php:1063
1154
+ msgid "Cache Tester"
1155
+ msgstr "Proverivač keša"
1156
+
1157
+ #: wp-cache.php:1064
1158
+ msgid "Test your cached website by clicking the test button below."
1159
+ msgstr "Proverite svoj keširani web sajt, klikom na donje dugme za proveru."
1160
+
1161
+ #: wp-cache.php:1070
1162
+ msgid "Fetching %s to prime cache: "
1163
+ msgstr "Preuzimanje %s u primarni keš:"
1164
+
1165
+ #: wp-cache.php:1072 wp-cache.php:1081 wp-cache.php:1093
1166
+ msgid "OK"
1167
+ msgstr "U redu"
1168
+
1169
+ #: wp-cache.php:1075
1170
+ msgid "Fetching first copy of %s: "
1171
+ msgstr "Preuzimanje prve kopije %s:"
1172
+
1173
+ #: wp-cache.php:1084 wp-cache.php:1095
1174
+ msgid "FAILED"
1175
+ msgstr "NIJE USPELO"
1176
+
1177
+ #: wp-cache.php:1087
1178
+ msgid "Fetching second copy of %s: "
1179
+ msgstr "Preuzimanje druge kopije %s:"
1180
+
1181
+ #: wp-cache.php:1099
1182
+ msgid "One or more page requests failed:"
1183
+ msgstr "Jedan ili više zahteva za stranu nije uspelo:"
1184
+
1185
+ #: wp-cache.php:1118 wp-cache.php:1119
1186
+ msgid "Page %d: %d (%s)"
1187
+ msgstr "Strana %d: %d (%s)"
1188
+
1189
+ #: wp-cache.php:1125
1190
+ msgid "Page 1: %s"
1191
+ msgstr "Strana 1: %s"
1192
+
1193
+ #: wp-cache.php:1126
1194
+ msgid "Page 2: %s"
1195
+ msgstr "Strana 2: %s"
1196
+
1197
+ #: wp-cache.php:1127
1198
+ msgid "The timestamps on both pages match!"
1199
+ msgstr "Vremenske oznake (timestamps) na obe strane se podudaraju!"
1200
+
1201
+ #: wp-cache.php:1129
1202
+ msgid "The pages do not match! Timestamps differ or were not found!"
1203
+ msgstr ""
1204
+ "Strane se ne podudaraju! Vremenske oznake (timestamps) se razlikuju, ili "
1205
+ "nisu pronađene!"
1206
+
1207
+ #: wp-cache.php:1130
1208
+ msgid "Things you can do:"
1209
+ msgstr "Stvari koje možete uraditi:"
1210
+
1211
+ #: wp-cache.php:1131
1212
+ msgid ""
1213
+ "Load your homepage in a logged out browser, check the timestamp at the end "
1214
+ "of the html source. Load the page again and compare the timestamp. Caching "
1215
+ "is working if the timestamps match."
1216
+ msgstr ""
1217
+ "Učitajte vašu početnu stranu u odjavljen pregledač i proverite vremensku "
1218
+ "oznaku na kraju html izvornog koda. Učitajte istu stranu ponovo, i uporedite "
1219
+ "vremensku oznaku. Keširanje funkcioniše ako se vremenske oznake podudaraju."
1220
+
1221
+ #: wp-cache.php:1132
1222
+ msgid ""
1223
+ "Enable logging on the Debug page here. That should help you track down the "
1224
+ "problem."
1225
+ msgstr ""
1226
+ "Omogućiti prijavu na strani za otklanjanje programskih grešaka (Debugging "
1227
+ "page), ovde. To bi trebalo da vam pomogne da pronađete problem."
1228
+
1229
+ #: wp-cache.php:1133
1230
+ msgid ""
1231
+ "You should check Page 1 and Page 2 above for errors. Your local server "
1232
+ "configuration may not allow your website to access itself."
1233
+ msgstr ""
1234
+ "Trebalo bi da proverite ima li grešaka na strani 1 i strani 2, gore. "
1235
+ "Konfiguracija vašeg lokalnog servera možda ne dozvoljava vašem web sajtu da "
1236
+ "pristupa sam sebi."
1237
+
1238
+ #: wp-cache.php:1141
1239
+ msgid "Send non-secure (non https) request for homepage"
1240
+ msgstr "Slati neobezbeđene (koji nisu https) zahteve za početnu stranu"
1241
+
1242
+ #: wp-cache.php:1142
1243
+ msgid "Test Cache"
1244
+ msgstr "Proveriti keš"
1245
+
1246
+ #: wp-cache.php:1146
1247
+ msgid "Delete Cached Pages"
1248
+ msgstr "Obrisati keširane strane"
1249
+
1250
+ #: wp-cache.php:1147
1251
+ msgid ""
1252
+ "Cached pages are stored on your server as html and PHP files. If you need to "
1253
+ "delete them use the button below."
1254
+ msgstr ""
1255
+ "Keširane strane se čuvaju na vašem serveru, kao html i PHP fajlovi. Ako "
1256
+ "morate da ih obrišete, upotrebite donje dugme."
1257
+
1258
+ #: wp-cache.php:1150 wp-cache.php:2416 wp-cache.php:2435 wp-cache.php:2606
1259
+ #: wp-cache.php:3141
1260
+ msgid "Delete Cache"
1261
+ msgstr "Obrisati keš"
1262
+
1263
+ #: wp-cache.php:1157 wp-cache.php:2422
1264
+ msgid "Delete Cache On All Blogs"
1265
+ msgstr "Obrisati keš na svim blogovima"
1266
+
1267
+ #: wp-cache.php:1162
1268
+ msgid "Recommended Links and Plugins"
1269
+ msgstr "Preporučeni linkovi i dodaci"
1270
+
1271
+ #: wp-cache.php:1163
1272
+ msgid ""
1273
+ "Caching is only one part of making a website faster. Here are some other "
1274
+ "plugins that will help:"
1275
+ msgstr ""
1276
+ "Keširanje je samo jedan deo ubrzavanja web sajta. Evo i nekih drugih "
1277
+ "dodataka koji će pomoći:"
1278
+
1279
+ #: wp-cache.php:1164
1280
+ msgid ""
1281
+ "<a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages "
1282
+ "by removing whitespaces and extra characters "
1283
+ msgstr ""
1284
+ "<a href=\"%s\">WPSCMin</a>, Supercache dodatak koji minimizira keširane "
1285
+ "strane, uklanjajući prazan prostor i višak karaktera"
1286
+
1287
+ #: wp-cache.php:1165
1288
+ msgid ""
1289
+ "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on "
1290
+ "Firebug. It analyzes web pages and suggests ways to improve their "
1291
+ "performance based on a set of rules for high performance web pages. Also try "
1292
+ "the performance tools online at <a href=\"%s\">GTMetrix</a>."
1293
+ msgstr ""
1294
+ "<a href=\"%s\">Yahoo! Yslow</a> je proširenje za Firefox nadgradnju, "
1295
+ "Firebug. Ono analizira web strane i predlaže načine za unapređivanje "
1296
+ "njihovih performansi, prema pravilima za web strane visokih performansi. "
1297
+ "Takođe probajte onlajn alate za performanse, na <a href=\"%s\">GTMetrix</a>."
1298
+
1299
+ #: wp-cache.php:1166
1300
+ msgid ""
1301
+ "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly "
1302
+ "used Javascript libraries from Google webservers. Ironically it may reduce "
1303
+ "your Yslow score."
1304
+ msgstr ""
1305
+ "<a href=\"%s\">Use Google Libraries</a> vam omogućava da učitate neke često "
1306
+ "korišćene Javascript biblioteke sa Google web servera. Ironija je što to "
1307
+ "može umanjiti vaš Yslow rezultat."
1308
+
1309
+ #: wp-cache.php:1168
1310
+ msgid ""
1311
+ "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with "
1312
+ "Caching and cache-control</a> explains how to make your site more cacheable "
1313
+ "with .htaccess rules."
1314
+ msgstr ""
1315
+ "<strong>Samo za napredne korisnike:</strong> <a href=\"%s\">Speed up your "
1316
+ "site with Caching and cache-control (Ubrzajte vaš sajt pomoću keširanja i "
1317
+ "kontrole keša)</a> objašnjava kako da vaš sajt učinite pogodnijim za "
1318
+ "keširanje, pomoću .htaccess pravila."
1319
+
1320
+ #: wp-cache.php:1169
1321
+ msgid ""
1322
+ "<strong>Advanced users only:</strong> Install an object cache. Choose from "
1323
+ "<a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s"
1324
+ "\">eAcccelerator</a> and others."
1325
+ msgstr ""
1326
+ "<strong>Samo za napredne korisnike:</strong> Instalirajte neki objektni keš. "
1327
+ "Odaberite između <a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a "
1328
+ "href=\"%s\">eAcccelerator</a> i drugih."
1329
+
1330
+ #: wp-cache.php:1170
1331
+ msgid ""
1332
+ "<a href=\"%s\">Cron View</a> is a useful plugin to use when trying to debug "
1333
+ "garbage collection and preload problems."
1334
+ msgstr ""
1335
+ "<a href=\"%s\">Cron View</a> je koristan dodatak, za korišćenje onda kada "
1336
+ "pokušavate da otklonite programske greške koje prave probleme sa uklanjanjem "
1337
+ "smeća i učitavanjem unapred."
1338
+
1339
+ #: wp-cache.php:1181
1340
+ msgid "Make WordPress Faster"
1341
+ msgstr "Učinite WordPress bržim"
1342
+
1343
+ #: wp-cache.php:1182
1344
+ msgid ""
1345
+ "%1$s is maintained and developed by %2$s with contributions from many others."
1346
+ msgstr "%1$s je održavan i razvijen od strane %2$s, uz doprinos mnogih drugih."
1347
+
1348
+ #: wp-cache.php:1183
1349
+ msgid "He blogs at %1$s and posts photos at %2$s."
1350
+ msgstr "On bloguje na %1$s i objavljuje fotografije na %2$s."
1351
+
1352
+ #: wp-cache.php:1184
1353
+ msgid "Please say hi to him on %s too!"
1354
+ msgstr "Molim vas, pozdravite i njega, na %s!"
1355
+
1356
+ #: wp-cache.php:1185
1357
+ msgid "Need Help?"
1358
+ msgstr "Treba vam pomoć?"
1359
+
1360
+ #: wp-cache.php:1187
1361
+ msgid ""
1362
+ "Use the debug system in the Debug tab above. It will tell you what the "
1363
+ "plugin is doing."
1364
+ msgstr ""
1365
+ "Koristite sistem za otklanjanje grešaka u gornjoj kartici Otklanjanje "
1366
+ "grešaka (Debug). On će vam reći šta dodatak radi."
1367
+
1368
+ #: wp-cache.php:1188
1369
+ msgid "<a href=\"%1$s\">Installation Help</a>"
1370
+ msgstr "<a href=\"%1$s\">Pomoć oko instalacije</a>"
1371
+
1372
+ #: wp-cache.php:1189
1373
+ msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
1374
+ msgstr "<a href=\"%1$s\">Često postavljana pitanja (FAQ)</a>"
1375
+
1376
+ #: wp-cache.php:1190
1377
+ msgid "<a href=\"%1$s\">Support Forum</a>"
1378
+ msgstr "<a href=\"%1$s\">forum za podršku</a>"
1379
+
1380
+ #: wp-cache.php:1191
1381
+ msgid "<a href=\"%1$s\">Development Version</a>"
1382
+ msgstr "<a href=\"%1$s\">razvojna verzija</a>"
1383
+
1384
+ #: wp-cache.php:1193
1385
+ msgid "Rate This Plugin!"
1386
+ msgstr "Ocenite ovaj dodatak!"
1387
+
1388
+ #: wp-cache.php:1194
1389
+ msgid ""
1390
+ "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you "
1391
+ "or not. It really helps development."
1392
+ msgstr ""
1393
+ "Molim vas, <a href=\"%s\">ocenite</a> ovaj dodatak i recite mi da li, u "
1394
+ "vašem slučaju, funkcioniše, ili ne. Ovo stvarno pomaže razvoju."
1395
+
1396
+ #: wp-cache.php:1203
1397
+ msgid "Cached pages since %1$s : <strong>%2$s</strong>"
1398
+ msgstr "Keširano strana, od %1$s : <strong>%2$s</strong>"
1399
+
1400
+ #: wp-cache.php:1204
1401
+ msgid "Newest Cached Pages:"
1402
+ msgstr "Najnovije keširane strane:"
1403
+
1404
+ #: wp-cache.php:1208
1405
+ msgid "Cached %s seconds ago"
1406
+ msgstr "Keširano pre %s sekundi"
1407
+
1408
+ #: wp-cache.php:1211
1409
+ msgid "(may not always be accurate on busy sites)"
1410
+ msgstr "(može biti neprecizno kod opterećenih sajtova)"
1411
+
1412
+ #: wp-cache.php:1227
1413
+ msgid ""
1414
+ "Cache plugins are PHP scripts that live in a plugins folder inside the wp-"
1415
+ "super-cache folder. They are loaded when Supercache loads, much sooner than "
1416
+ "regular WordPress plugins."
1417
+ msgstr ""
1418
+ "Keš dodaci su PHP skripte koje se nalaze u folderu sa dodacima (plugins), "
1419
+ "unutar wp-super-cache foldera. One se učitavaju kada se učitava Supercache, "
1420
+ "mnogo pre nego obični WordPress dodaci."
1421
+
1422
+ #: wp-cache.php:1228
1423
+ msgid ""
1424
+ "This is strictly an advanced feature only and knowledge of both PHP and "
1425
+ "WordPress actions is required to create them."
1426
+ msgstr ""
1427
+ "Ovo je, striktno, samo jedno napredno svojstvo, i potrebno je poznavanje i "
1428
+ "PHP i WordPress akcija, da bi se ona kreirala."
1429
+
1430
+ #: wp-cache.php:1229
1431
+ msgid ""
1432
+ "<strong>Warning</strong>! Due to the way WordPress upgrades plugins the "
1433
+ "plugins you upload to wp-super-cache/plugins/ will be deleted when you "
1434
+ "upgrade WP Super Cache. You can avoid this by loading the plugins from "
1435
+ "elsewhere. Set <strong>$wp_cache_plugins_dir</strong> to the new location in "
1436
+ "wp-config.php and WP Super Cache will look there instead.<br />More info "
1437
+ "available in the <a href=\"http://ocaoimh.ie/wp-super-cache-developers/"
1438
+ "\">developer documentation</a>."
1439
+ msgstr ""
1440
+ "<strong>Upozorenje!</strong> Zbog načina na koji WordPress unapređuje "
1441
+ "dodatke, dodaci koje prenesete u wp-super-cache/plugins/ će biti obrisani "
1442
+ "kada unapredite WP Super Cache. Ovo možete izbeći učitavanjem dodataka sa "
1443
+ "neke druge lokacije. U fajlu wp-config.php podesite <strong>"
1444
+ "$wp_cache_plugins_dir</strong> na novu lokaciju, i WP Super Cache će tražiti "
1445
+ "tu, umesto na staroj lokaciji.<br />Više informacija je dostupno u <a href="
1446
+ "\"http://ocaoimh.ie/wp-super-cache-developers/\">dokumentaciji za "
1447
+ "programere</a>."
1448
+
1449
+ #: wp-cache.php:1239
1450
+ msgid "Available Plugins"
1451
+ msgstr "Raspoloživi dodaci"
1452
+
1453
+ #: wp-cache.php:1256
1454
+ msgid "Easy"
1455
+ msgstr "Jednostavno"
1456
+
1457
+ #: wp-cache.php:1256
1458
+ msgid "CDN"
1459
+ msgstr "CDN"
1460
+
1461
+ #: wp-cache.php:1256
1462
+ msgid "Contents"
1463
+ msgstr "Sadržaji"
1464
+
1465
+ #: wp-cache.php:1256
1466
+ msgid "Preload"
1467
+ msgstr "Učitavanje unapred"
1468
+
1469
+ #: wp-cache.php:1256
1470
+ msgid "Plugins"
1471
+ msgstr "Dodaci"
1472
+
1473
+ #: wp-cache.php:1256
1474
+ msgid "Debug"
1475
+ msgstr "Otklanjanje programskih grešaka"
1476
+
1477
+ #: wp-cache.php:1291
1478
+ msgid ""
1479
+ "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a "
1480
+ "href=\"%s\">the main site</a> of this network."
1481
+ msgstr ""
1482
+ "Obratite pažnju: Provere WP Super Cache mod_rewrite pravila su iksljučene, "
1483
+ "osim ako vam <a href=\"%s\">glavni sajt</a> radi na ovoj mreži."
1484
+
1485
+ #: wp-cache.php:1300
1486
+ msgid "Mod Rewrite Rules"
1487
+ msgstr "Mod Rewrite pravila"
1488
+
1489
+ #: wp-cache.php:1306
1490
+ msgid "WordPress MU Detected"
1491
+ msgstr "Pronađen je WordPress MU"
1492
+
1493
+ #: wp-cache.php:1306
1494
+ msgid ""
1495
+ "Unfortunately the rewrite rules cannot be updated automatically when running "
1496
+ "WordPress MU. Please open your .htaccess and add the following mod_rewrite "
1497
+ "rules above any other rules in that file."
1498
+ msgstr ""
1499
+ "Na žalost, pravila za ponovni upis ne mogu da se ažuriraju automatski, kada "
1500
+ "se koristi WordPress MU. Molim vas, otvorite .htaccess i dodajte sledeća "
1501
+ "mod_rewrite pravila, iznad svih drugih pravila u tom fajlu."
1502
+
1503
+ #: wp-cache.php:1308
1504
+ msgid "Mod Rewrite rules cannot be updated!"
1505
+ msgstr "Mod Rewrite pravila ne mogu da se ažuriraju!"
1506
+
1507
+ #: wp-cache.php:1309
1508
+ msgid ""
1509
+ "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s."
1510
+ "htaccess for the auto update to work. They look like this and surround the "
1511
+ "main WordPress mod_rewrite rules:"
1512
+ msgstr ""
1513
+ "Da bi automatsko ažuriranje funkcionisalo, morate imati <strong>BEGIN</"
1514
+ "strong> i <strong>END</strong> markere u %s.htaccess fajlu. Oni izgledaju "
1515
+ "ovako, i okružuju glavna WordPress mod_rewrite pravila:"
1516
+
1517
+ #: wp-cache.php:1311
1518
+ msgid "Refresh this page when you have updated your .htaccess file."
1519
+ msgstr "Kada ažurirate vaš .htaccess fajl, osvežite ovu stranu."
1520
+
1521
+ #: wp-cache.php:1315
1522
+ msgid "Thank you for upgrading."
1523
+ msgstr "Hvala vam za unapređivanje."
1524
+
1525
+ #: wp-cache.php:1315
1526
+ msgid ""
1527
+ "The mod_rewrite rules changed since you last installed this plugin. "
1528
+ "Unfortunately you must remove the old supercache rules before the new ones "
1529
+ "are updated. Refresh this page when you have edited your .htaccess file. If "
1530
+ "you wish to manually upgrade, change the following line: %1$s so it looks "
1531
+ "like this: %2$s The only changes are \"HTTP_COOKIE\" becomes \"HTTP:Cookie\" "
1532
+ "and \"wordpressuser\" becomes \"wordpress\". This is a WordPress 2.5 change "
1533
+ "but it&#8217;s backwards compatible with older versions if you&#8217;re "
1534
+ "brave enough to use them."
1535
+ msgstr ""
1536
+ "Mod_rewrite pravila su se promenila od kada ste poslednji put instalirali "
1537
+ "ovaj dodatak. Na žalost, morate ukloniti stara superkeš pravila pre nego se "
1538
+ "nova ažuriraju. Kada završite uređivanje vašeg .htaccess fajla, osvežite ovu "
1539
+ "stranu. Ako želite da uradite manuelno unapređivanje, izmenite sledeću "
1540
+ "liniju: %1$s, da izgleda ovako: %2$s Jedine izmene su to što \"HTTP_COOKIE\" "
1541
+ "postaje \"HTTP:Cookie\" i \"wordpressuser\" postaje \"wordpress\". Ovo je "
1542
+ "WordPress 2.5 izmena, ali ona je komaptibilna unazad sa starijim verzijama, "
1543
+ "ako ste dovoljno hrabri da ih koristite."
1544
+
1545
+ #: wp-cache.php:1319
1546
+ msgid "Trailing slash check required."
1547
+ msgstr "Potrebna je provera prateće kose crte."
1548
+
1549
+ #: wp-cache.php:1319
1550
+ msgid ""
1551
+ "It looks like your blog has URLs that end with a \"/\". Unfortunately since "
1552
+ "you installed this plugin a duplicate content bug has been found where URLs "
1553
+ "not ending in a \"/\" end serve the same content as those with the \"/\" and "
1554
+ "do not redirect to the proper URL. To fix, you must edit your .htaccess file "
1555
+ "and add these two rules to the two groups of Super Cache rules:"
1556
+ msgstr ""
1557
+ "Izgleda da vaš blog ima URL-ove koji završavaju sa \"/\". Na žalost, pošto "
1558
+ "ste instalirali ovaj dodatak, programska greška sa dupliranim sadržajem se "
1559
+ "pojavljuje tamo gde URL-ovi ne završavaju sa \"/\", i servira se isti "
1560
+ "sadržaj kao za one sa \"/\", a ne vrši se usmeravanje na odgovarajući URL. "
1561
+ "Da popravite ovo, morate urediti vaš .htaccess fajl, i dodati ova pravila "
1562
+ "dvema grupama Super Cache pravila:"
1563
+
1564
+ #: wp-cache.php:1321
1565
+ msgid ""
1566
+ "You can see where the rules go and examine the complete rules by clicking "
1567
+ "the \"View mod_rewrite rules\" link below."
1568
+ msgstr ""
1569
+ "Možete videti gde pravila idu, i ispitati kompletna pravila, klikom na donji "
1570
+ "link \"Pregledati mod_rewrite pravila (View mod_rewrite rules)\"."
1571
+
1572
+ #: wp-cache.php:1335
1573
+ msgid "Mod Rewrite rules updated!"
1574
+ msgstr "Mod Rewrite pravila su ažurirana!"
1575
+
1576
+ #: wp-cache.php:1336
1577
+ msgid ""
1578
+ "%s.htaccess has been updated with the necessary mod_rewrite rules. Please "
1579
+ "verify they are correct. They should look like this:"
1580
+ msgstr ""
1581
+ "%s.htaccess je dopunjen sa neophodnim mod_rewrite pravilima. Molim vas, "
1582
+ "potvrdite da su ona ispravna. Trebalo bi da ovako izgledaju:"
1583
+
1584
+ #: wp-cache.php:1338
1585
+ msgid "Mod Rewrite rules must be updated!"
1586
+ msgstr "Mod Rewrite pravila moraju da budu ažurirana!"
1587
+
1588
+ #: wp-cache.php:1339
1589
+ msgid ""
1590
+ "Your %s.htaccess is not writable by the webserver and must be updated with "
1591
+ "the necessary mod_rewrite rules. The new rules go above the regular "
1592
+ "WordPress rules as shown in the code below:"
1593
+ msgstr ""
1594
+ "U vaš %s.htaccess fajl nije omogućen upis podataka od strane web servera, a "
1595
+ "on se mora ažurirati sa neophodnim mod_rewrite pravilima. Nova pravila "
1596
+ "dolaze iznad uobičajenih WordPress pravila, kao što je prikazano u donjem "
1597
+ "kodu:"
1598
+
1599
+ #: wp-cache.php:1344
1600
+ msgid ""
1601
+ "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /"
1602
+ "> Click the following link to see the lines added to that file. If you have "
1603
+ "upgraded the plugin make sure these rules match."
1604
+ msgstr ""
1605
+ "U vašem %s.htaccess fajlu su pronađena WP Super Cache mod rewrite pravila."
1606
+ "<br/> Kliknite na sledeći link da vidite linije koje su dodate u taj fajl. "
1607
+ "Ako ste unapredili dodatak, postarajte se da se ova pravila poklapaju."
1608
+
1609
+ #: wp-cache.php:1347
1610
+ msgid ""
1611
+ "A difference between the rules in your .htaccess file and the plugin rewrite "
1612
+ "rules has been found. This could be simple whitespace differences but you "
1613
+ "should compare the rules in the file with those below as soon as possible. "
1614
+ "Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
1615
+ msgstr ""
1616
+ "Pronađena je razlika između pravila u vašem .htaccess fajlu i pravila "
1617
+ "dodatka, za ponovni upis. Ovo može biti jednostavno razlika u praznom "
1618
+ "prostoru, ali bi što pre trebalo da uporedite pravila u fajlu sa ovim "
1619
+ "donjim. Da ažurirate pravila, kliknite na dugme &#8217;Ažurirati Mod_Rewrite "
1620
+ "pravila (Update Mod_Rewrite Rules)&#8217;."
1621
+
1622
+ #: wp-cache.php:1349
1623
+ msgid "View Mod_Rewrite Rules"
1624
+ msgstr "Pregledati Mod_Rewrite pravila"
1625
+
1626
+ #: wp-cache.php:1355 wp-cache.php:2722
1627
+ msgid "Rules must be added to %s too:"
1628
+ msgstr "Pravila se takođe moraju dodati u %s:"
1629
+
1630
+ #: wp-cache.php:1362
1631
+ msgid "Gzip encoding rules in %s.htaccess created."
1632
+ msgstr "U %s.htaccess fajlu su kreirana pravila za Gzip kodiranje."
1633
+
1634
+ #: wp-cache.php:1369
1635
+ msgid "Fix Configuration"
1636
+ msgstr "Popraviti konfiguraciju"
1637
+
1638
+ #: wp-cache.php:1372
1639
+ msgid "Restore Default Configuration"
1640
+ msgstr "Vratiti podrazumevanu konfiguraciju"
1641
+
1642
+ #: wp-cache.php:1380
1643
+ msgid ""
1644
+ "Comment moderation is enabled. Your comment may take some time to appear."
1645
+ msgstr ""
1646
+ "Uključena je moderacija komentara. Vašem komentaru može biti potrebno "
1647
+ "određeno vreme da se pojavi."
1648
+
1649
+ #: wp-cache.php:1405
1650
+ msgid "Lock Down:"
1651
+ msgstr "Zaključati:"
1652
+
1653
+ #: wp-cache.php:1406
1654
+ msgid ""
1655
+ "Prepare your server for an expected spike in traffic by enabling the lock "
1656
+ "down. When this is enabled, new comments on a post will not refresh the "
1657
+ "cached static files."
1658
+ msgstr ""
1659
+ "Pripremite vaš server za neočekivani saobraćajni špic, omogućivši "
1660
+ "zaključavanje. Kada je ono uključeno, novi komentari na objave neće "
1661
+ "osvežavati keširane statičke fajlove."
1662
+
1663
+ #: wp-cache.php:1407
1664
+ msgid ""
1665
+ "Developers: Make your plugin lock down compatible by checking the "
1666
+ "\"WPLOCKDOWN\" constant. The following code will make sure your plugin "
1667
+ "respects the WPLOCKDOWN setting."
1668
+ msgstr ""
1669
+ "Programeri: Učinite vaš dodatak kompatibilnim sa zaključavanjem, čekiravši "
1670
+ "\"WPLOCKDOWN\" konstantu. Sledeći kod će se postarati da vaš dodatak poštuje "
1671
+ "WPLOCKDOWN podešenje."
1672
+
1673
+ #: wp-cache.php:1409
1674
+ msgid "Sorry. My blog is locked down. Updates will appear shortly"
1675
+ msgstr ""
1676
+ "Žao mi je. Moj blog je zaključan. Ispravke/dopune će se pojaviti uskoro"
1677
+
1678
+ #: wp-cache.php:1413
1679
+ msgid ""
1680
+ "WordPress is locked down. Super Cache static files will not be deleted when "
1681
+ "new comments are made."
1682
+ msgstr ""
1683
+ "WordPress je zaključan. Super Cache statički fajlovi se neće brisati kada se "
1684
+ "postave novi komentari."
1685
+
1686
+ #: wp-cache.php:1415
1687
+ msgid ""
1688
+ "WordPress is not locked down. New comments will refresh Super Cache static "
1689
+ "files as normal."
1690
+ msgstr ""
1691
+ "WordPress nije zaključan. Novi komentari će osvežavati Super Cache statičke "
1692
+ "fajlove, kao i obično."
1693
+
1694
+ #: wp-cache.php:1421
1695
+ msgid "Lock Down"
1696
+ msgstr "Zaključati"
1697
+
1698
+ #: wp-cache.php:1429
1699
+ msgid "Directly Cached Files"
1700
+ msgstr "Direktno keširani fajlovi"
1701
+
1702
+ #: wp-cache.php:1487
1703
+ msgid "%s removed!"
1704
+ msgstr "%s uklonjeno!"
1705
+
1706
+ #: wp-cache.php:1495
1707
+ msgid ""
1708
+ "You must make %s writable to enable this feature. As this is a security risk "
1709
+ "please make it readonly after your page is generated."
1710
+ msgstr ""
1711
+ "Morate omogućiti upis podataka u %s, da biste omogućili ovo svojstvo. Pošto "
1712
+ "je to sigurnosni rizik, molim vas da ponovo onemogućite upis podataka u "
1713
+ "fajl, nakon što se vaša strana generiše."
1714
+
1715
+ #: wp-cache.php:1500
1716
+ msgid ""
1717
+ "%s is writable. Please make it readonly after your page is generated as this "
1718
+ "is a security risk."
1719
+ msgstr ""
1720
+ "U %s je moguć upis podataka. Molim vas, onemogućite upis podataka u ovaj "
1721
+ "fajl, nakon što se generiše vaša strana, jer je to sigurnosni rizik."
1722
+
1723
+ #: wp-cache.php:1515
1724
+ msgid "Existing direct page"
1725
+ msgstr "Postojeća direktna strana"
1726
+
1727
+ #: wp-cache.php:1515
1728
+ msgid "Delete cached file"
1729
+ msgstr "Obrisati keširani fajl"
1730
+
1731
+ #: wp-cache.php:1520
1732
+ msgid "Add direct page:"
1733
+ msgstr "Dodati direktnu stranu:"
1734
+
1735
+ #: wp-cache.php:1522
1736
+ msgid ""
1737
+ "Directly cached files are files created directly off %s where your blog "
1738
+ "lives. This feature is only useful if you are expecting a major Digg or "
1739
+ "Slashdot level of traffic to one post or page."
1740
+ msgstr ""
1741
+ "Direktno keširani fajlovi se kreiraju direktno iz %s, gde se nalazi vaš "
1742
+ "blog. Ovo svojstvo je korisno samo ako očekujete značajan nivo Digg ili "
1743
+ "Slashdot saobraćaja ka jednoj objavi, ili strani."
1744
+
1745
+ #: wp-cache.php:1524
1746
+ msgid ""
1747
+ "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /"
1748
+ "about/. The cached file will be generated the next time an anonymous user "
1749
+ "visits that page."
1750
+ msgstr ""
1751
+ "Na primer: da keširate <em>%1$sabout/</em>, unećete %1$sabout/ ili /about/. "
1752
+ "Keširani fajl će se generisati sledeći put kada anonimni posetilac poseti tu "
1753
+ "stranu."
1754
+
1755
+ #: wp-cache.php:1525
1756
+ msgid ""
1757
+ "Make the textbox blank to remove it from the list of direct pages and delete "
1758
+ "the cached file."
1759
+ msgstr ""
1760
+ "Ispraznite tekstualno polje, da ga uklonite sa liste direktnih strana, i "
1761
+ "obrišete keširani fajl."
1762
+
1763
+ #: wp-cache.php:1530
1764
+ msgid "Update Direct Pages"
1765
+ msgstr "Ažurirati direktne strane"
1766
+
1767
+ #: wp-cache.php:1558
1768
+ msgctxt "timezone date format"
1769
+ msgid "Y-m-d G:i:s"
1770
+ msgstr "Y-m-d (G-m-d) G:i:s"
1771
+
1772
+ #: wp-cache.php:1620
1773
+ msgid "Expiry Time &amp; Garbage Collection"
1774
+ msgstr "Vreme isteka i sakupljanje smeća"
1775
+
1776
+ #: wp-cache.php:1622
1777
+ msgid ""
1778
+ "<abbr title=\"Coordinated Universal Time\">UTC</abbr> time is <code>%s</code>"
1779
+ msgstr ""
1780
+ "<abbr title=\"Coordinated Universal Time\">UTC (usklađeno univerzalno vreme)"
1781
+ "</abbr> vreme je <code>%s</code>"
1782
+
1783
+ #: wp-cache.php:1625
1784
+ msgid "Local time is <code>%1$s</code>"
1785
+ msgstr "Lokalno vreme je <code>%1$s</code>"
1786
+
1787
+ #: wp-cache.php:1629
1788
+ msgid "Next scheduled garbage collection will be at <strong>%s UTC</strong>"
1789
+ msgstr "Sledeće zakazano sakupljanje smeća će biti u <strong>%s UTC</strong>"
1790
+
1791
+ #: wp-cache.php:1633
1792
+ msgid ""
1793
+ "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not "
1794
+ "be deleted regardless of age."
1795
+ msgstr ""
1796
+ "Upozorenje! <strong>PRELOAD MODE (mod za učitavanje unapred)</strong> je "
1797
+ "aktiviran. Superkeš fajlovi se neće brisati, nevezano za starost."
1798
+
1799
+ #: wp-cache.php:1650
1800
+ msgid "Cache Timeout"
1801
+ msgstr "Vreme isteka keša"
1802
+
1803
+ #: wp-cache.php:1651 wp-cache.php:1654
1804
+ msgid "seconds"
1805
+ msgstr "sekundi"
1806
+
1807
+ #: wp-cache.php:1652
1808
+ msgid ""
1809
+ "How long should cached pages remain fresh? Set to 0 to disable garbage "
1810
+ "collection. A good starting point is 3600 seconds."
1811
+ msgstr ""
1812
+ "Koliko dugo keširane strane treba da ostanu sveže? Da isključite sakupljanje "
1813
+ "smeća, postavite vrednost 0. Dobra polazna tačka je 3600 sekundi."
1814
+
1815
+ #: wp-cache.php:1653
1816
+ msgid "Scheduler"
1817
+ msgstr "Planer"
1818
+
1819
+ #: wp-cache.php:1653
1820
+ msgid "Timer:"
1821
+ msgstr "Tajmer:"
1822
+
1823
+ #: wp-cache.php:1654
1824
+ msgid "Check for stale cached files every <em>interval</em> seconds."
1825
+ msgstr ""
1826
+ "Tražiti keširane fajlove koji se ne koriste, svakih <em>interval</em> "
1827
+ "sekundi."
1828
+
1829
+ #: wp-cache.php:1655
1830
+ msgid "Clock:"
1831
+ msgstr "Sat:"
1832
+
1833
+ #: wp-cache.php:1656
1834
+ msgid "HH:MM"
1835
+ msgstr "HH:MM"
1836
+
1837
+ #: wp-cache.php:1656
1838
+ msgid ""
1839
+ "Check for stale cached files at this time <strong>(UTC)</strong> or starting "
1840
+ "at this time every <em>interval</em> below."
1841
+ msgstr ""
1842
+ "Tražiti keširane fajlove koji se ne koriste u ovo vreme <strong>(UTC)</"
1843
+ "strong>, ili, počevši od ovog vremena, svakih <em>interval</em> nadalje."
1844
+
1845
+ #: wp-cache.php:1658
1846
+ msgid "Interval:"
1847
+ msgstr "Interval:"
1848
+
1849
+ #: wp-cache.php:1664
1850
+ msgid "Notification Emails"
1851
+ msgstr "E-mailovi sa obaveštenjima"
1852
+
1853
+ #: wp-cache.php:1665
1854
+ msgid "Email me when the garbage collection runs."
1855
+ msgstr "Obavestiti me e-mailom kada se pokrene sakupljanje smeća."
1856
+
1857
+ #: wp-cache.php:1667
1858
+ msgid "Garbage Collection"
1859
+ msgstr "Sakupljanje smeća"
1860
+
1861
+ #: wp-cache.php:1668
1862
+ msgid ""
1863
+ "<em>Garbage collection</em> is the simple act of throwing out your garbage. "
1864
+ "For this plugin that would be old or <em>stale</em> cached files that may be "
1865
+ "out of date. New cached files are described as <em>fresh</em>."
1866
+ msgstr ""
1867
+ "<em>Sakupljanje smeća</em> je jednostavno čin izbacivanja vašeg smeća. Za "
1868
+ "ovaj dodatak, to bi bili stari, ili <em>nekorišćeni</em> keširani fajlovi "
1869
+ "koji bi mogli biti zastareli. Novi keširani fajlovi se nazivaju <em>svežim</"
1870
+ "em>."
1871
+
1872
+ #: wp-cache.php:1669
1873
+ msgid ""
1874
+ "Cached files are fresh for a limited length of time. You can set that time "
1875
+ "in the <em>Cache Timeout</em> text box on this page."
1876
+ msgstr ""
1877
+ "Keširani fajlovi ostaju sveži ograničeno vreme. To vreme možete podesiti u "
1878
+ "tekstualnom polju <em>Vreme isteka keša (Cache Timeout)</em>, na ovoj strani."
1879
+
1880
+ #: wp-cache.php:1670
1881
+ msgid ""
1882
+ "Stale cached files are not removed as soon as they become stale. They have "
1883
+ "to be removed by the garbage collecter. That is why you have to tell the "
1884
+ "plugin when the garbage collector should run."
1885
+ msgstr ""
1886
+ "Keširani fajlovi koji se ne koriste, ne uklanjaju se čim postanu \"ustajali"
1887
+ "\". Njih mora da ukloni sakupljač smeća. Zato morate reći dodatku kada "
1888
+ "sakupljač smeća treba da se pokrene."
1889
+
1890
+ #: wp-cache.php:1671
1891
+ msgid ""
1892
+ "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the "
1893
+ "garbage collector should run."
1894
+ msgstr ""
1895
+ "Koristite planere <em>Tajmer (Timer)</em> ili <em>Sat (Clock)</em>, da "
1896
+ "definišete kada sakupljač smeća treba da se pokrene."
1897
+
1898
+ #: wp-cache.php:1672
1899
+ msgid ""
1900
+ "The <em>Timer</em> scheduler tells the plugin to run the garbage collector "
1901
+ "at regular intervals. When one garbage collection is done, the next run is "
1902
+ "scheduled."
1903
+ msgstr ""
1904
+ "<em>Tajmer (Timer)</em> planer govori dodatku da pokreće sakupljač smeća u "
1905
+ "pravilnim intervalima. Kada jedan sakupljač smeća završi sa radom, zakazuje "
1906
+ "se sledeće pokretanje."
1907
+
1908
+ #: wp-cache.php:1673
1909
+ msgid ""
1910
+ "Or, the <em>Clock</em> scheduler allows the garbage collection to run at "
1911
+ "specific times. If set to run hourly or twicedaily the garbage collector "
1912
+ "will be first scheduled for the time you enter here. It will then run again "
1913
+ "at the indicated interval. If set to run daily it will run once a day at the "
1914
+ "time specified."
1915
+ msgstr ""
1916
+ "Ili, <em>Sat (Clock)</em> planer, koji omogućava da se sakupljač smeća "
1917
+ "pokreće u određeno vreme. Ako je podešen da radi na svaki sat, ili dva puta "
1918
+ "na dan, pokretanje sakupljača smeća će prvo biti zakazano u vreme koje "
1919
+ "unesete ovde. Nakon toga će biti pokretan u navedenim intervalima. Ako je "
1920
+ "podešen da se pokreće jednom dnevno, on će se pokretati jednom dnevno - u "
1921
+ "navedeno vreme."
1922
+
1923
+ #: wp-cache.php:1675
1924
+ msgid ""
1925
+ "There are no best garbage collection settings but here are a few scenarios. "
1926
+ "Garbage collection is separate to other actions that clear our cached files "
1927
+ "like leaving a comment or publishing a post."
1928
+ msgstr ""
1929
+ "Ne postoje najbolja podešenja za sakupljanje smeća, ali evo nekoliko "
1930
+ "scenarija. Sakupljanje smeća je odvojeno od drugih akcija koje brišu "
1931
+ "keširane fajlove, kao što je ostavljanje komentara, ili objavljivanje objave."
1932
+
1933
+ #: wp-cache.php:1677
1934
+ msgid ""
1935
+ "Sites that want to serve lots of newly generated data should set the "
1936
+ "<em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 "
1937
+ "seconds."
1938
+ msgstr ""
1939
+ "Sajtovi koji žele da pruže dosta novo generisanih podataka, treba da podese "
1940
+ "<em>Vreme isteka keša (Cache Timeout)</em> na 60, i da koriste <em>Tajmer "
1941
+ "(Timer)</em>, podešen na 90 sekundi."
1942
+
1943
+ #: wp-cache.php:1678
1944
+ msgid ""
1945
+ "Sites with widgets and rss feeds in their sidebar should probably use a "
1946
+ "timeout of 3600 seconds and set the timer to 600 seconds. Stale files will "
1947
+ "be caught within 10 minutes of going stale."
1948
+ msgstr ""
1949
+ "Sajtovi sa vidžetima i sa rss tokovima u svojoj bočnoj traci, verovatno "
1950
+ "treba da koriste vreme isteka od 3600 sekundi, i da podese tajmer na 600 "
1951
+ "sekundi. Fajlovi koji se ne koriste će se uhvatiti u roku od 10 minuta, od "
1952
+ "kako postanu \"ustajali\"."
1953
+
1954
+ #: wp-cache.php:1679
1955
+ msgid ""
1956
+ "Sites with lots of static content, no widgets or rss feeds in their sidebar "
1957
+ "can use a timeout of 86400 seconds or even more and set the timer to "
1958
+ "something equally long."
1959
+ msgstr ""
1960
+ "Sajtovi sa dosta statičkog sadržaja, bez vidžeta i rss tokova u svojoj "
1961
+ "bočnoj traci, mogu da koriste vreme isteka od 86400 sekundi, pa čak i više, "
1962
+ "i da podese tajmer na neko podjednako dugo vreme."
1963
+
1964
+ #: wp-cache.php:1680
1965
+ msgid ""
1966
+ "Sites where an external data source updates at a particular time every day "
1967
+ "should set the timeout to 86400 seconds and use the Clock scheduler set "
1968
+ "appropriately."
1969
+ msgstr ""
1970
+ "Sajtovi čiji se neki spoljni izvor podataka ažurira svakog dana u isto "
1971
+ "vreme, treba da podese vreme isteka na 86400 sekundi, i da koriste Sat "
1972
+ "(Clock) planer u skladu sa tim."
1973
+
1974
+ #: wp-cache.php:1682
1975
+ msgid ""
1976
+ "Checking for and deleting expired files is expensive, but it&#8217;s "
1977
+ "expensive leaving them there too. On a very busy site you should set the "
1978
+ "expiry time to <em>600 seconds</em>. Experiment with different values and "
1979
+ "visit this page to see how many expired files remain at different times "
1980
+ "during the day. If you are using legacy caching aim to have less than 500 "
1981
+ "cached files if possible. You can have many times more cached files when "
1982
+ "using mod_rewrite or PHP caching."
1983
+ msgstr ""
1984
+ "Traženje i brisanje isteklih fajlova je skupo, ali je takođe skupo "
1985
+ "ostavljati ih gde jesu. Na veoma posećenom sajtu, trebalo bi da podesite "
1986
+ "vreme isteka na <em>600 sekundi</em>. Eksperimentišite sa različitim "
1987
+ "vrednostima i posećujte ovu stranu, da vidite koliko isteklih fajlova ostaje "
1988
+ "u različito vreme, tokom dana. Ako koristite staro keširanje (legacy "
1989
+ "caching), ciljajte na to da imate manje od 500 keširanih fajlova, ako je to "
1990
+ "moguće. Kada koristite mod_rewrite ili PHP keširanje, možete imati mnogo "
1991
+ "više keširanih fajlova."
1992
+
1993
+ #: wp-cache.php:1683
1994
+ msgid "Set the expiry time to 0 seconds to disable garbage collection."
1995
+ msgstr "Da isključite sakupljanje smeća, podesite vreme isteka na 0 sekundi."
1996
+
1997
+ #: wp-cache.php:1684
1998
+ msgid "Change Expiration"
1999
+ msgstr "Izmeniti isticanje"
2000
+
2001
+ #: wp-cache.php:1728
2002
+ msgid "Rejected User Agents"
2003
+ msgstr "Odbačeni korisnički agenti"
2004
+
2005
+ #: wp-cache.php:1729
2006
+ msgid ""
2007
+ "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache "
2008
+ "from caching bot, spiders, and crawlers&#8217; requests. Note that super "
2009
+ "cached files are still sent to these agents if they already exists."
2010
+ msgstr ""
2011
+ "Stringovi u HTTP &#8217;User Agent&#8217; zaglavlju, koji sprečavaju WP-"
2012
+ "Cache da kešira zahteve botova, tragača (spiders) i pretraživača (crawlers). "
2013
+ "Imajte na umu da se superkeširani fajlovi i dalje šalju ovim agentima, ako "
2014
+ "već postoje."
2015
+
2016
+ #: wp-cache.php:1736
2017
+ msgid "Save UA Strings"
2018
+ msgstr "Sačuvati UA stringove"
2019
+
2020
+ #: wp-cache.php:1759
2021
+ msgid ""
2022
+ "Do not cache the following page types. See the <a href=\"http://codex."
2023
+ "wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a "
2024
+ "complete discussion on each type."
2025
+ msgstr ""
2026
+ "Ne keširati sledeće tipove strana. Pogledajte dokumentaciju o <a href="
2027
+ "\"http://codex.wordpress.org/Conditional_Tags\">Uslovnim tagovima "
2028
+ "(Conditional Tags)</a>, za kompletnu diskusiju o svakom tipu."
2029
+
2030
+ #: wp-cache.php:1762
2031
+ msgid "Single Posts"
2032
+ msgstr "Pojedinačne objave"
2033
+
2034
+ #: wp-cache.php:1763
2035
+ msgid "Pages"
2036
+ msgstr "Strane"
2037
+
2038
+ #: wp-cache.php:1764
2039
+ msgid "Front Page"
2040
+ msgstr "Prva strana"
2041
+
2042
+ #: wp-cache.php:1765
2043
+ msgid "Home"
2044
+ msgstr "Početna strana"
2045
+
2046
+ #: wp-cache.php:1766
2047
+ msgid "Archives"
2048
+ msgstr "Arhive"
2049
+
2050
+ #: wp-cache.php:1767
2051
+ msgid "Tags"
2052
+ msgstr "Oznake (tags)"
2053
+
2054
+ #: wp-cache.php:1768
2055
+ msgid "Category"
2056
+ msgstr "Kategorija"
2057
+
2058
+ #: wp-cache.php:1769
2059
+ msgid "Feeds"
2060
+ msgstr "Izvori podataka (feeds)"
2061
+
2062
+ #: wp-cache.php:1770
2063
+ msgid "Search Pages"
2064
+ msgstr "Strane za pretragu"
2065
+
2066
+ #: wp-cache.php:1771
2067
+ msgid "Author Pages"
2068
+ msgstr "Strane o autorima"
2069
+
2070
+ #: wp-cache.php:1773 wp-cache.php:1885
2071
+ msgid "Save"
2072
+ msgstr "Sačuvati"
2073
+
2074
+ #: wp-cache.php:1790
2075
+ msgid ""
2076
+ "Add here strings (not a filename) that forces a page not to be cached. For "
2077
+ "example, if your URLs include year and you dont want to cache last year "
2078
+ "posts, it&#8217;s enough to specify the year, i.e. &#8217;/2004/&#8217;. WP-"
2079
+ "Cache will search if that string is part of the URI and if so, it will not "
2080
+ "cache that page."
2081
+ msgstr ""
2082
+ "Ovde dodajte stringove (ne ime fajla), koji forsiraju da strana ne bude "
2083
+ "keširana. Na primer, ako vaši URL-ovi uključuju godinu, a ne želite da "
2084
+ "keširate prošlogodišnje objave, dovoljno je navesti godinu, npr. "
2085
+ "&#8217;/2004/&#8217;. WP-Cache će tražiti da li je taj string deo URI-ja, i "
2086
+ "ako jeste, neće keširati tu stranu."
2087
+
2088
+ #: wp-cache.php:1796
2089
+ msgid "Save Strings"
2090
+ msgstr "Sačuvati stringove"
2091
+
2092
+ #: wp-cache.php:1812
2093
+ msgid ""
2094
+ "Add here those filenames that can be cached, even if they match one of the "
2095
+ "rejected substring specified above."
2096
+ msgstr ""
2097
+ "Ovde dodajte imena fajlova koji mogu da se keširaju, čak i ako sadrže neki "
2098
+ "od gornjih stringova za odbacivanje."
2099
+
2100
+ #: wp-cache.php:1818
2101
+ msgid "Save Files"
2102
+ msgstr "Sačuvati fajlove"
2103
+
2104
+ #: wp-cache.php:1859
2105
+ msgid "Currently logging to: %s"
2106
+ msgstr "Trenutno se prijavljuje na: %s"
2107
+
2108
+ #: wp-cache.php:1862
2109
+ msgid ""
2110
+ "Fix problems with the plugin by debugging it here. It can log them to a file "
2111
+ "in your cache directory."
2112
+ msgstr ""
2113
+ "Rešava probleme sa dodatkom, otklanjajući ovde programske greške. Može "
2114
+ "napraviti dnevnički zapis o njima u vašem keš direktorijumu."
2115
+
2116
+ #: wp-cache.php:1866
2117
+ msgid "Debugging"
2118
+ msgstr "Otklanjanje programskih grešaka"
2119
+
2120
+ #: wp-cache.php:1867
2121
+ msgid "IP Address"
2122
+ msgstr "IP adrese"
2123
+
2124
+ #: wp-cache.php:1867
2125
+ msgid "(only log requests from this IP address. Your IP is %s)"
2126
+ msgstr "(zahtevi za logove samo sa ove IP adrese. Vaša IP adresa je %s)"
2127
+
2128
+ #: wp-cache.php:1868
2129
+ msgid "Cache Status Messages"
2130
+ msgstr "Poruke o statusu keša"
2131
+
2132
+ #: wp-cache.php:1869
2133
+ msgid "Display comments at the end of every page like this:"
2134
+ msgstr "Prikazivati komentare na kraju svake strane, ovako:"
2135
+
2136
+ #: wp-cache.php:1875
2137
+ msgid ""
2138
+ "In very rare cases two problems may arise on some blogs:<ol><li> The front "
2139
+ "page may start downloading as a zip file.</li><li> The wrong page is "
2140
+ "occasionally cached as the front page if your blog uses a static front page "
2141
+ "and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
2142
+ msgstr ""
2143
+ "U veoma retkim slučajevima, na nekim blogovima se mogu pojaviti dva problema:"
2144
+ "<ol><li> Prva strana može da počne da se preuzima kao zip fajl.</li><li> "
2145
+ "Povremeno se kao prva strana kešira pogrešna strana, ako vaš blog koristi "
2146
+ "statičnu prvu stranu, a permalink struktura teme je <em>/%category%/%postname"
2147
+ "%/</em>.</li></ol>"
2148
+
2149
+ #: wp-cache.php:1876
2150
+ msgid ""
2151
+ "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they "
2152
+ "only happen in very rare cases but you can run a simple check once every 5 "
2153
+ "minutes to verify that your site is ok if you&#8217;re worried. You will be "
2154
+ "emailed if there is a problem."
2155
+ msgstr ""
2156
+ "99% sam siguran da to nisu programske greške u WP Super Cache-u, i do njih "
2157
+ "dolazi samo u veoma retkim slučajevima, ali možete pokrenuti jednostavnu "
2158
+ "proveru svakih 5 minuta, da potvrdite da je vaš sajt u redu, ako ste "
2159
+ "zabrinuti. Biće vam poslat e-mail ako bude problema."
2160
+
2161
+ #: wp-cache.php:1878
2162
+ msgid "Check front page every 5 minutes."
2163
+ msgstr "Proveravati prvu stranu svakih 5 minuta."
2164
+
2165
+ #: wp-cache.php:1879
2166
+ msgid "Front page text"
2167
+ msgstr "Tekst prve strane"
2168
+
2169
+ #: wp-cache.php:1879
2170
+ msgid ""
2171
+ "Text to search for on your front page. If this text is missing the cache "
2172
+ "will be cleared. Leave blank to disable."
2173
+ msgstr ""
2174
+ "Tekst za traženje na prvoj strani. Ako ovaj tekst nedostaje, keš će biti "
2175
+ "obrisa. Da isključite, ostavite prazno."
2176
+
2177
+ #: wp-cache.php:1880
2178
+ msgid "Clear cache on error."
2179
+ msgstr "Obrisati keš u slučaju greške."
2180
+
2181
+ #: wp-cache.php:1881
2182
+ msgid "Email the blog admin when checks are made. (useful for testing)"
2183
+ msgstr ""
2184
+ "Poslati e-amil administratoru bloga, kada se urade provere. (korisno za "
2185
+ "proveru)"
2186
+
2187
+ #: wp-cache.php:1895
2188
+ msgid ""
2189
+ "Error: GZIP compression is enabled, disable it if you want to enable wp-"
2190
+ "cache."
2191
+ msgstr ""
2192
+ "Greška: GZIP kompresija je uključena, isključite je ako hoćete da uključite "
2193
+ "wp-cache."
2194
+
2195
+ #: wp-cache.php:1945 wp-cache.php:2086 wp-cache.php:2122
2196
+ msgid "Warning"
2197
+ msgstr "Upozorenje"
2198
+
2199
+ #: wp-cache.php:1945
2200
+ msgid ""
2201
+ "GZIP compression is enabled in WordPress, wp-cache will be bypassed until "
2202
+ "you disable gzip compression."
2203
+ msgstr ""
2204
+ "GZIP kompresija je uključena u WordPress-u, wp-cache će biti zaobilažen dok "
2205
+ "ne isključite gzip kompresiju."
2206
+
2207
+ #: wp-cache.php:2007 wp-cache.php:2012 wp-cache.php:2045 wp-cache.php:2050
2208
+ #: wp-cache.php:2056
2209
+ msgid "Error"
2210
+ msgstr "Greška"
2211
+
2212
+ #: wp-cache.php:2007
2213
+ msgid ""
2214
+ "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;"
2215
+ "t be created by the web server. Check %1$s permissions."
2216
+ msgstr ""
2217
+ "Vaš keš direktorijum (<strong>%1$s</strong>) ne postoji, i nije mogao da "
2218
+ "bude kreiran od strane web servera. Proverite %1$-ove dozvole."
2219
+
2220
+ #: wp-cache.php:2012
2221
+ msgid ""
2222
+ "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need "
2223
+ "to be writable for this plugin to work. Double-check it."
2224
+ msgstr ""
2225
+ "Upis u vaš keš direktorijum (<strong>%1$s</strong>), ili <strong>%2$s</"
2226
+ "strong>, mora da bude omogućen da bi ovaj dodatak funkcionisao. Proverite ga "
2227
+ "dva puta."
2228
+
2229
+ #: wp-cache.php:2045
2230
+ msgid ""
2231
+ "Your WP-Cache config file (<strong>%s</strong>) is out of date and not "
2232
+ "writable by the Web server.Please delete it and refresh this page."
2233
+ msgstr ""
2234
+ "Vaš WP-Cache konfiguracioni fajl (<strong>%s</strong>) je star i web server "
2235
+ "ne može da vrši upis u njega. Molim vas, obrišite ga i osvežite ovu stranu."
2236
+
2237
+ #: wp-cache.php:2050
2238
+ msgid ""
2239
+ "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is "
2240
+ "not writable by the Web server.Check its permissions."
2241
+ msgstr ""
2242
+ "Konfiguracioni fajl nedostaje, a u %1$-ov direktorijum (<strong>%2$s</"
2243
+ "strong>) nije moguć upis podataka od strane web servera. Proverite njegove "
2244
+ "dozvole."
2245
+
2246
+ #: wp-cache.php:2056
2247
+ msgid ""
2248
+ "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you "
2249
+ "installation."
2250
+ msgstr ""
2251
+ "WP-Cache konfiguracioni fajl - primer (<strong>%s</strong>) ne postoji. "
2252
+ "Proverite vašu instalaciju."
2253
+
2254
+ #: wp-cache.php:2086
2255
+ msgid "Could not update %s!</em> WPCACHEHOME must be set in config file."
2256
+ msgstr ""
2257
+ "%s nije mogao da se ažurira!</em> WPCACHEHOME mora da se podesi u "
2258
+ "konfiguracionom fajlu."
2259
+
2260
+ #: wp-cache.php:2122
2261
+ msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
2262
+ msgstr "%s/advanced-cache.php</em> ne postoji i ne može da se ažurira."
2263
+
2264
+ #: wp-cache.php:2123
2265
+ msgid "1. If it already exists please delete the file first."
2266
+ msgstr "1. Ako već postoji, molim vas da ga prvo obrišete."
2267
+
2268
+ #: wp-cache.php:2124
2269
+ msgid ""
2270
+ "2. Make %1$s writable using the chmod command through your ftp or server "
2271
+ "software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a "
2272
+ "temporary measure and you&#8217;ll have to make it read only afterwards "
2273
+ "again. (Change 777 to 755 in the previous command)"
2274
+ msgstr ""
2275
+ "2. Omogućite upis podataka u %s-e, koristeći naredbu chmod, preko vašeg ftp, "
2276
+ "ili serverskog softvera. (<em>chmod 777 %1$s</em>) i osvežite ovu stranu. "
2277
+ "Ovo je samo privremena mera, i moraćete posle da opet onemogućite upis u "
2278
+ "njega. (U prethodnoj naredbi promenite 777 u 755)"
2279
+
2280
+ #: wp-cache.php:2125
2281
+ msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
2282
+ msgstr "3. Osvežite ovu stranu da ažurirate <em>%s/advanced-cache.php</em>"
2283
+
2284
+ #: wp-cache.php:2126
2285
+ msgid ""
2286
+ "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</"
2287
+ "em> doesn&#8217;t exist:"
2288
+ msgstr ""
2289
+ "Ako to ne funkcioniše, proverite da li fajl <em>%s/advanced-cache.php</em> "
2290
+ "postoji:"
2291
+
2292
+ #: wp-cache.php:2127
2293
+ msgid ""
2294
+ "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change "
2295
+ "the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and "
2296
+ "copy it to <em>%3$s</em> and refresh this page.</li>"
2297
+ msgstr ""
2298
+ "<li>1. Otvorite fajl <em>%1$s$wp_cache_file</em> u nekom uređivaču teksta.</"
2299
+ "li><li>2. Izmenite tekst <em>CACHEHOME</em> u <em>%2$s</em></li><li>3. "
2300
+ "Sačuvajte fajl i kopirajte ga u <em>%3$s</em>, a zatim osvežite ovu stranu.</"
2301
+ "li>"
2302
+
2303
+ #: wp-cache.php:2150
2304
+ msgid ""
2305
+ "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by "
2306
+ "WordPress to load the code that serves cached pages. Unfortunately it is set "
2307
+ "to false. Please edit your wp-config.php and add or edit the following line "
2308
+ "above the final require_once command:<br /><br /><code>define('WP_CACHE', "
2309
+ "true);</code></p>"
2310
+ msgstr ""
2311
+ "<h3>WP_CACHE konstanta je podešena na vrednost false</h3><p>WP_CACHE "
2312
+ "konstantu WordPress koristi da učita kod koji servira keširane strane. Na "
2313
+ "žalost, ona je podešena na vrednost false. Molim vas, uredite vaš wp-config."
2314
+ "php fajl i dodajte ili uredite sledeće linije, iznad završne naredbe "
2315
+ "require_once:<br /><br /><code>define('WP_CACHE', true);</code></p>"
2316
+
2317
+ #: wp-cache.php:2152
2318
+ msgid ""
2319
+ "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</"
2320
+ "code> file and I couldn&#8217;t modify it."
2321
+ msgstr ""
2322
+ "<strong>Greška: WP_CACHE nije uključen</strong> u vašem <code>wp-config.php</"
2323
+ "code> fajlu, i ne mogu da ga izmenim."
2324
+
2325
+ #: wp-cache.php:2153
2326
+ msgid ""
2327
+ "Edit <code>%s</code> and add the following line:<br /> <code>define"
2328
+ "('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be "
2329
+ "executed</strong> by WordPress core. "
2330
+ msgstr ""
2331
+ "Uredite <code>%s</code> i dodajte sledeću liniju:<br /> <code>define"
2332
+ "('WP_CACHE', true);</code><br />U suprotnom, <strong>WP-Cache se neće "
2333
+ "izvršiti</strong> od strane WordPress jezgra. "
2334
+
2335
+ #: wp-cache.php:2157
2336
+ msgid ""
2337
+ "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see "
2338
+ "this warning message please see point 5 of the <a href=\"http://wordpress."
2339
+ "org/extend/plugins/wp-super-cache/faq/\">Troubleshooting Guide</a>. The "
2340
+ "WP_CACHE line must be moved up."
2341
+ msgstr ""
2342
+ "<h3>WP_CACHE konstanta je dodata u wp-config.php</h3><p>Ako i dalje budete "
2343
+ "videli ovu poruku sa upozorenjem, molim vas, pogledajte tačku 5 <a href="
2344
+ "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">Vodiča za "
2345
+ "otklanjanje problema (Troubleshooting Guide)</a>. WP_CACHE linija se mora "
2346
+ "pomeriti na gore."
2347
+
2348
+ #: wp-cache.php:2185
2349
+ msgid "Cache Contents"
2350
+ msgstr "Sadržaj keša"
2351
+
2352
+ #: wp-cache.php:2188
2353
+ msgid "Object cache in use. No cache listing available."
2354
+ msgstr "U upotrebi je objektni keš. Nije dostupan listing keša."
2355
+
2356
+ #: wp-cache.php:2212
2357
+ msgid "Deleting supercache file: <strong>%s</strong><br />"
2358
+ msgstr "Brisanje superkeš fajla: <strong>%s</strong><br />"
2359
+
2360
+ #: wp-cache.php:2229
2361
+ msgid "Deleting wp-cache file: <strong>%s</strong><br />"
2362
+ msgstr "Brisanje wp-cache fajla: <strong>%s</strong><br />"
2363
+
2364
+ #: wp-cache.php:2294
2365
+ msgid ""
2366
+ "Cache stats are not automatically generated. You must click the link below "
2367
+ "to regenerate the stats on this page."
2368
+ msgstr ""
2369
+ "Statistike keša se ne generišu automatski. Morate kliknuti na donji link da "
2370
+ "na ovoj strani generišete statistike."
2371
+
2372
+ #: wp-cache.php:2295
2373
+ msgid "Regenerate cache stats"
2374
+ msgstr "Ponovo generisati statistike keša"
2375
+
2376
+ #: wp-cache.php:2297
2377
+ msgid "Cache stats last generated: %s minutes ago."
2378
+ msgstr "Poslednje generisanje statistika keša: pre %s minuta."
2379
+
2380
+ #: wp-cache.php:2303
2381
+ msgid "WP-Cache"
2382
+ msgstr "WP-Cache"
2383
+
2384
+ #: wp-cache.php:2304 wp-cache.php:2319
2385
+ msgid "%s Cached Pages"
2386
+ msgstr "%s keširanih strana"
2387
+
2388
+ #: wp-cache.php:2305 wp-cache.php:2324
2389
+ msgid "%s Expired Pages"
2390
+ msgstr "%s isteklih strana"
2391
+
2392
+ #: wp-cache.php:2318
2393
+ msgid "WP-Super-Cache"
2394
+ msgstr "WP-Super-Cache"
2395
+
2396
+ #: wp-cache.php:2328
2397
+ msgid "Fresh WP-Cached Files"
2398
+ msgstr "Sveži WP-Cache fajlovi"
2399
+
2400
+ #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
2401
+ msgid "URI"
2402
+ msgstr "URI"
2403
+
2404
+ #: wp-cache.php:2329 wp-cache.php:2345
2405
+ msgid "Key"
2406
+ msgstr "Ključ"
2407
+
2408
+ #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
2409
+ msgid "Age"
2410
+ msgstr "Starost"
2411
+
2412
+ #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
2413
+ msgid "Delete"
2414
+ msgstr "Obrisati"
2415
+
2416
+ #: wp-cache.php:2344
2417
+ msgid "Stale WP-Cached Files"
2418
+ msgstr "WP-keširani fajlovi koji se ne koriste"
2419
+
2420
+ #: wp-cache.php:2360
2421
+ msgid "Fresh Super Cached Files"
2422
+ msgstr "Sveži superkeširani fajlovi"
2423
+
2424
+ #: wp-cache.php:2376
2425
+ msgid "Stale Super Cached Files"
2426
+ msgstr "Superkeširani fajlovi koji se ne koriste"
2427
+
2428
+ #: wp-cache.php:2392
2429
+ msgid "Hide file list"
2430
+ msgstr "Sakriti listu fajlova"
2431
+
2432
+ #: wp-cache.php:2394
2433
+ msgid "Too many cached files, no listing possible."
2434
+ msgstr "Previše keširanih fajlova, nije moguć prikaz liste"
2435
+
2436
+ #: wp-cache.php:2396
2437
+ msgid "List all cached files"
2438
+ msgstr "Prikazati listu svih keširanih fajlova"
2439
+
2440
+ #: wp-cache.php:2399
2441
+ msgid ""
2442
+ "Expired files are files older than %s seconds. They are still used by the "
2443
+ "plugin and are deleted periodically."
2444
+ msgstr ""
2445
+ "Istekli fajlovi su stariji od %s sekundi. Oni se i dalje koriste od strane "
2446
+ "dodatka, i brišu se periodično."
2447
+
2448
+ #: wp-cache.php:2410
2449
+ msgid "Delete Expired"
2450
+ msgstr "Obrisati isteklo"
2451
+
2452
+ #: wp-cache.php:2435
2453
+ msgid "Delete Super Cache cached files (opens in new window)"
2454
+ msgstr "Obrisati Super Cache keširane fajlove (otvara se u novom prozoru)"
2455
+
2456
+ #: wp-cache.php:2582
2457
+ msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
2458
+ msgstr ""
2459
+ "%1$s je Stephen Fry proveren (Stephen Fry proof), zahvaljujući keširanju od "
2460
+ "strane %2$s"
2461
+
2462
+ #: wp-cache.php:2615
2463
+ msgid ""
2464
+ "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> "
2465
+ "to enable and configure the plugin."
2466
+ msgstr ""
2467
+ "WP Super Cache mora biti konfigurisan. Idite na <a href=\"%s\">stranu za "
2468
+ "administraciju</a>, da uključite i konfigurišete ovaj dodatak."
2469
+
2470
+ #: wp-cache.php:2621
2471
+ msgid "Settings"
2472
+ msgstr "Podešavanja"
2473
+
2474
+ #: wp-cache.php:2631
2475
+ msgid ""
2476
+ "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin "
2477
+ "page</a> to enable caching."
2478
+ msgstr ""
2479
+ "WP Super Cache je isključen. Molim vas, idite na <a href=\"%s\">stranu za "
2480
+ "administraciju dodataka</a>, da omogućite keširanje."
2481
+
2482
+ #: wp-cache.php:2634
2483
+ msgid ""
2484
+ "Warning! WP Super Cache caching broken! The script advanced-cache.php could "
2485
+ "not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php "
2486
+ "and make sure the path to %2$swp-cache-phase1.php is correct."
2487
+ msgstr ""
2488
+ "Upozorenje! WP Super Cache keširanje je neispravno! Skriptin fajl advanced-"
2489
+ "cache.php nije mogao da učita wp-cache-phase1.php.<br /><br />Molim vas, "
2490
+ "uredite %1$s/advanced-cache.php fajl i postarajte se da putanja ka %2$swp-"
2491
+ "cache-phase1.php fajlu bude ispravna."
2492
+
2493
+ #: wp-cache.php:2653
2494
+ msgid "[%s] Front page is gzipped! Please clear cache!"
2495
+ msgstr "[%s] Prva strana je gzip-ovana! Molim vas, obrišite keš!"
2496
+
2497
+ #: wp-cache.php:2653
2498
+ msgid ""
2499
+ "Please visit %s to clear the cache as the front page of your site is now "
2500
+ "downloading!"
2501
+ msgstr ""
2502
+ "Molim vas, posetite %s da obrišete keš, pošto se prva strana vašeg sajta "
2503
+ "sada preuzima."
2504
+
2505
+ #: wp-cache.php:2656
2506
+ msgid "[%s] Front page is gzipped! Cache Cleared!"
2507
+ msgstr "[%s] Prva strana je gzip-ovana! Keš je obrisan!"
2508
+
2509
+ #: wp-cache.php:2656
2510
+ msgid ""
2511
+ "The cache on your blog has been cleared because the front page of your site "
2512
+ "is now downloading. Please visit %s to verify the cache has been cleared."
2513
+ msgstr ""
2514
+ "Keš na vašem blogu je obrisan, pošto se prva strana vašeg sajta sada "
2515
+ "preuzima. Molim vas, posetite %s, da potvrdite da je keš obrisan."
2516
+
2517
+ #: wp-cache.php:2663
2518
+ msgid "[%s] Front page is not correct! Please clear cache!"
2519
+ msgstr "[%s] Prva strana nije ispravna! Molim vas, obrišite keš!"
2520
+
2521
+ #: wp-cache.php:2663
2522
+ msgid ""
2523
+ "Please visit %1$s to clear the cache as the front page of your site is not "
2524
+ "correct and missing the text, \"%2$s\"!"
2525
+ msgstr ""
2526
+ "Molim vas, posetite %1$s da obrišete keš, pošto prva strana vašeg sajta nije "
2527
+ "ispravna, i nedostaje joj tekst, \"%2$s\"!"
2528
+
2529
+ #: wp-cache.php:2666
2530
+ msgid "[%s] Front page is not correct! Cache Cleared!"
2531
+ msgstr "[%s] Prva strana nije ispravna! Keš je obrisan!"
2532
+
2533
+ #: wp-cache.php:2666
2534
+ msgid ""
2535
+ "The cache on your blog has been cleared because the front page of your site "
2536
+ "is missing the text \"%2$s\". Please visit %1$s to verify the cache has been "
2537
+ "cleared."
2538
+ msgstr ""
2539
+ "Keš na vašem blogu je obrisan, pošto na prvoj strani vašeg sajta nedostaje "
2540
+ "tekst \"%2$s\". Molim vas, posetite %1$s, da potvrdite da je keš obrisan."
2541
+
2542
+ #: wp-cache.php:2671
2543
+ msgid "[%s] Front page check!"
2544
+ msgstr "[%s] Provera prve strane!"
2545
+
2546
+ #: wp-cache.php:2671
2547
+ msgid ""
2548
+ "WP Super Cache has checked the front page of your blog. Please visit %s if "
2549
+ "you would like to disable this."
2550
+ msgstr ""
2551
+ "WP Super Cache je proverio prvu stranu vašeg bloga. Molim vas, posetite %s, "
2552
+ "ako želite da ovo isključite."
2553
+
2554
+ #: wp-cache.php:2714
2555
+ msgid "Cannot update .htaccess"
2556
+ msgstr "Fajl .htaccess ne može da se ažurira"
2557
+
2558
+ #: wp-cache.php:2714
2559
+ msgid ""
2560
+ "The file <code>%s.htaccess</code> cannot be modified by the web server. "
2561
+ "Please correct this using the chmod command or your ftp client."
2562
+ msgstr ""
2563
+ "Fajl <code>%s.htaccess</code> nije mogao da bude izmenjen od strane web "
2564
+ "servera. Molim vas, ispravite ovo, koristeći naredbu chmod, ili vaš ftp "
2565
+ "klijent."
2566
+
2567
+ #: wp-cache.php:2714
2568
+ msgid "Refresh this page when the file permissions have been modified."
2569
+ msgstr "Osvežiti ovu stranu kada se dozvole fajla izmene."
2570
+
2571
+ #: wp-cache.php:2714
2572
+ msgid ""
2573
+ "Alternatively, you can edit your <code>%s.htaccess</code> file manually and "
2574
+ "add the following code (before any WordPress rules):"
2575
+ msgstr ""
2576
+ "Alternativno, možete manuelno urediti vaš fajl <code>%s.htaccess</code>, i "
2577
+ "dodati sledeći kod (pre bilo kakvih WordPress pravila):"
2578
+
2579
+ #: wp-cache.php:2718
2580
+ msgid ""
2581
+ "To serve static html files your server must have the correct mod_rewrite "
2582
+ "rules added to a file called <code>%s.htaccess</code>"
2583
+ msgstr ""
2584
+ "Da bi servirao statičke html fajlove, vaš server mora imati ispravna "
2585
+ "mod_rewrite pravila, dodata u fajl pod nazivom <code>%s.htaccess</code>"
2586
+
2587
+ #: wp-cache.php:2719
2588
+ msgid "You can edit the file yourself add the following rules."
2589
+ msgstr "Možete sami urediti fajl, dodajte sledeća pravila."
2590
+
2591
+ #: wp-cache.php:2720
2592
+ msgid " Make sure they appear before any existing WordPress rules. "
2593
+ msgstr ""
2594
+ "Postarajte se da se ona pojave pre bilo kakvih postojećih WordPress pravila."
2595
+
2596
+ #: wp-cache.php:2728
2597
+ msgid "Update Mod_Rewrite Rules"
2598
+ msgstr "Ažurirati Mod_Rewrite pravila"
2599
+
2600
+ #: wp-cache.php:2891
2601
+ msgid "[%1$s] Cache Preload Started"
2602
+ msgstr "[%1$s] Učitavanje keša unapred je počelo"
2603
+
2604
+ #: wp-cache.php:2921
2605
+ msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
2606
+ msgstr "[%1$s] Osvežavanje %2$s taksonomije od %3$d do %4$d"
2607
+
2608
+ #: wp-cache.php:2967
2609
+ msgid "[%1$s] Refreshing posts from %2$d to %3$d"
2610
+ msgstr "[%1$s] Osvežavanje objava od %2$d do %3$d"
2611
+
2612
+ #: wp-cache.php:2988
2613
+ msgid "[%1$s] Cache Preload Stopped"
2614
+ msgstr "[%1$s] Učitavanje keša unapred je zaustavljeno"
2615
+
2616
+ #: wp-cache.php:2998
2617
+ msgid "[%1$s] %2$d posts refreshed"
2618
+ msgstr "[%1$s] %2$d objava je osveženo"
2619
+
2620
+ #: wp-cache.php:2998
2621
+ msgid "Refreshed the following posts:"
2622
+ msgstr "Osvežene su sledeće objave:"
2623
+
2624
+ #: wp-cache.php:3008
2625
+ msgid "Scheduling next preload refresh in %d minutes."
2626
+ msgstr "Sledeće osvežavanje učitavanja unapred se zakazuje za %d minuta"
2627
+
2628
+ #: wp-cache.php:3019
2629
+ msgid "[%s] Cache Preload Completed"
2630
+ msgstr "[%s] Učitavanje keša unapred je završeno"
2631
+
2632
+ #: wp-cache.php:3019
2633
+ msgid "Cleaning up old supercache files."
2634
+ msgstr "Brisanje starih superkeš fajlova."
2635
+
2636
+ #: wp-cache.php:3062
2637
+ msgid "[%s] Preload may have stalled."
2638
+ msgstr "[%s] Učitavanje unapred je možda zastalo."
2639
+
2640
+ #: wp-cache.php:3062
2641
+ msgid ""
2642
+ "Preload has been restarted.\n"
2643
+ "%s"
2644
+ msgstr ""
2645
+ "Učitavanje unapred je ponovo započeto.\n"
2646
+ "%s"
2647
+
2648
+ #: wp-cache.php:3105
2649
+ msgid "Supercache Uninstall Problems"
2650
+ msgstr "Problemi sa de-instaliranjem Supercache-a"
2651
+
2652
+ #: wp-cache.php:3105
2653
+ msgid ""
2654
+ "Dear User,\n"
2655
+ "\n"
2656
+ "WP Super Cache was removed from your blog but the mod_rewrite rules\n"
2657
+ "in your .htaccess were not.\n"
2658
+ "\n"
2659
+ "Please edit the following file and remove the code\n"
2660
+ "between 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file "
2661
+ "first!\n"
2662
+ "\n"
2663
+ "%s\n"
2664
+ "\n"
2665
+ "Regards,\n"
2666
+ "WP Super Cache Plugin\n"
2667
+ "http://wordpress.org/extend/plugins/wp-super-cache/"
2668
+ msgstr ""
2669
+ "Dragi korisniče,\n"
2670
+ "\n"
2671
+ "WP Super Cache je uklonjen sa vašeg bloga, ali mod_rewrite pravila\n"
2672
+ "u vašem .htaccess nisu.\n"
2673
+ "\n"
2674
+ "Molim vas, uredite sledeći fajl i uklonite kod\n"
2675
+ "između 'BEGIN WPSuperCache' i 'END WPSuperCache'. Molim vas, prvo napravite "
2676
+ "backup kopiju fajla!\n"
2677
+ "\n"
2678
+ "%s\n"
2679
+ "\n"
2680
+ "Sa poštovanjem,\n"
2681
+ "WP Super Cache dodatak\n"
2682
+ "http://wordpress.org/extend/plugins/wp-super-cache/"
2683
+
2684
+ #: wp-cache.php:3142
2685
+ msgid "Delete cache of the current page"
2686
+ msgstr "Obrisati keš aktuelne strane"
ossdl-cdn.php CHANGED
@@ -149,7 +149,6 @@ function scossdl_off_options() {
149
  $example_cdn_uri .= '/wp-includes/js/prototype.js';
150
  ?>
151
  <p><?php _e( 'Your website probably uses lots of static files. Image, Javascript and CSS files are usually static files that could just as easily be served from another site or CDN. Therefore this plugin replaces any links in the <code>wp-content</code> and <code>wp-includes</code> directories (except for PHP files) on your site with the URL you provide below. That way you can either copy all the static content to a dedicated host or mirror the files to a CDN by <a href="http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F" target="_blank">origin pull</a>.', 'wp-super-cache' ); ?></p>
152
- <p><?php printf( __( 'The <a href="%1$s">CDN Sync Tool</a> plugin will help upload files to Amazon S3/Cloudfront if you would rather not depend on origin pull. See the <a href="%2$s">plugin support forum</a> if you have any queries about this plugin.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/cdn-sync-tool/', 'http://wordpress.org/tags/cdn-sync-tool?forum_id=10' ); ?></p>
153
  <p><?php printf( __( '<strong style="color: red">WARNING:</strong> Test some static urls e.g., %s to ensure your CDN service is fully working before saving changes.', 'wp-super-cache' ), '<code>' . $example_cdn_uri . '</code>' ); ?></p>
154
  <p><?php _e( 'You can define different CDN URLs for each site on a multsite network.', 'wp-super-cache' ); ?></p>
155
  <p><form method="post" action="">
@@ -196,7 +195,7 @@ function scossdl_off_options() {
196
  <input type="hidden" name="action" value="update_ossdl_off" />
197
  <p class="submit"><input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /></p>
198
  </form></p>
199
- <p><?php _e( 'CDN functionality provided by <a href="http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/">OSSDL CDN Off Linker</a> by <a href="http://mark.ossdl.de/">Mark Kubacki</a>', 'wp-super-cache' ); ?></p>
200
  <?php
201
  }
202
  ?>
149
  $example_cdn_uri .= '/wp-includes/js/prototype.js';
150
  ?>
151
  <p><?php _e( 'Your website probably uses lots of static files. Image, Javascript and CSS files are usually static files that could just as easily be served from another site or CDN. Therefore this plugin replaces any links in the <code>wp-content</code> and <code>wp-includes</code> directories (except for PHP files) on your site with the URL you provide below. That way you can either copy all the static content to a dedicated host or mirror the files to a CDN by <a href="http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F" target="_blank">origin pull</a>.', 'wp-super-cache' ); ?></p>
 
152
  <p><?php printf( __( '<strong style="color: red">WARNING:</strong> Test some static urls e.g., %s to ensure your CDN service is fully working before saving changes.', 'wp-super-cache' ), '<code>' . $example_cdn_uri . '</code>' ); ?></p>
153
  <p><?php _e( 'You can define different CDN URLs for each site on a multsite network.', 'wp-super-cache' ); ?></p>
154
  <p><form method="post" action="">
195
  <input type="hidden" name="action" value="update_ossdl_off" />
196
  <p class="submit"><input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /></p>
197
  </form></p>
198
+ <p><?php _e( 'CDN functionality provided by <a href="http://wordpress.org/plugins/ossdl-cdn-off-linker/">OSSDL CDN Off Linker</a> by <a href="http://mark.ossdl.de/">Mark Kubacki</a>', 'wp-super-cache' ); ?></p>
199
  <?php
200
  }
201
  ?>
plugins/awaitingmoderation.php CHANGED
@@ -16,7 +16,7 @@ add_cacheaction( 'add_cacheaction', 'awaitingmoderation_actions' );
16
  //Your comment is awaiting moderation.
17
  function wp_supercache_awaitingmoderation_admin() {
18
  global $cache_awaitingmoderation, $wp_cache_config_file, $valid_nonce;
19
-
20
  $cache_awaitingmoderation = $cache_awaitingmoderation == '' ? '0' : $cache_awaitingmoderation;
21
 
22
  if(isset($_POST['cache_awaitingmoderation']) && $valid_nonce) {
@@ -28,7 +28,7 @@ function wp_supercache_awaitingmoderation_admin() {
28
  }
29
  $id = 'awaitingmoderation-section';
30
  ?>
31
- <fieldset id="<?php echo $id; ?>" class="options">
32
  <h4><?php _e( 'Awaiting Moderation', 'wp-super-cache' ); ?></h4>
33
  <form name="wp_manager" action="" method="post">
34
  <label><input type="radio" name="cache_awaitingmoderation" value="1" <?php if( $cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
@@ -42,7 +42,7 @@ function wp_supercache_awaitingmoderation_admin() {
42
  $status = __( "disabled" );
43
  echo "<p><strong>" . sprintf( __( "Awaiting Moderation is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
44
  }
45
- echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
46
  wp_nonce_field('wp-cache');
47
  ?>
48
  </form>
16
  //Your comment is awaiting moderation.
17
  function wp_supercache_awaitingmoderation_admin() {
18
  global $cache_awaitingmoderation, $wp_cache_config_file, $valid_nonce;
19
+
20
  $cache_awaitingmoderation = $cache_awaitingmoderation == '' ? '0' : $cache_awaitingmoderation;
21
 
22
  if(isset($_POST['cache_awaitingmoderation']) && $valid_nonce) {
28
  }
29
  $id = 'awaitingmoderation-section';
30
  ?>
31
+ <fieldset id="<?php echo $id; ?>" class="options">
32
  <h4><?php _e( 'Awaiting Moderation', 'wp-super-cache' ); ?></h4>
33
  <form name="wp_manager" action="" method="post">
34
  <label><input type="radio" name="cache_awaitingmoderation" value="1" <?php if( $cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
42
  $status = __( "disabled" );
43
  echo "<p><strong>" . sprintf( __( "Awaiting Moderation is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
44
  }
45
+ echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
46
  wp_nonce_field('wp-cache');
47
  ?>
48
  </form>
plugins/badbehaviour.php CHANGED
@@ -33,7 +33,7 @@ function get_bb_file_loc() {
33
 
34
  function wp_supercache_badbehaviour_admin() {
35
  global $cache_badbehaviour, $wp_cache_config_file, $valid_nonce;
36
-
37
  $cache_badbehaviour = $cache_badbehaviour == '' ? 0 : $cache_badbehaviour;
38
  if ( $cache_badbehaviour == 'no' )
39
  $cache_badbehaviour = 0;
@@ -59,7 +59,7 @@ function wp_supercache_badbehaviour_admin() {
59
  }
60
  $id = 'badbehavior-section';
61
  ?>
62
- <fieldset id="<?php echo $id; ?>" class="options">
63
  <h4><?php _e( 'Bad Behavior', 'wp-super-cache' ); ?></h4>
64
  <form name="wp_manager" action="" method="post">
65
  <label><input type="radio" name="cache_badbehaviour" value="1" <?php if( $cache_badbehaviour ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
@@ -73,7 +73,7 @@ function wp_supercache_badbehaviour_admin() {
73
  $status = __( "disabled" );
74
  echo "<p><strong>" . sprintf( __( "Bad Behavior support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
75
  }
76
- echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
77
  wp_nonce_field('wp-cache');
78
  ?>
79
  </form>
33
 
34
  function wp_supercache_badbehaviour_admin() {
35
  global $cache_badbehaviour, $wp_cache_config_file, $valid_nonce;
36
+
37
  $cache_badbehaviour = $cache_badbehaviour == '' ? 0 : $cache_badbehaviour;
38
  if ( $cache_badbehaviour == 'no' )
39
  $cache_badbehaviour = 0;
59
  }
60
  $id = 'badbehavior-section';
61
  ?>
62
+ <fieldset id="<?php echo $id; ?>" class="options">
63
  <h4><?php _e( 'Bad Behavior', 'wp-super-cache' ); ?></h4>
64
  <form name="wp_manager" action="" method="post">
65
  <label><input type="radio" name="cache_badbehaviour" value="1" <?php if( $cache_badbehaviour ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
73
  $status = __( "disabled" );
74
  echo "<p><strong>" . sprintf( __( "Bad Behavior support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
75
  }
76
+ echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
77
  wp_nonce_field('wp-cache');
78
  ?>
79
  </form>
plugins/domain-mapping.php CHANGED
@@ -10,7 +10,7 @@ function domain_mapping_gc_cache( $function, $directory ) {
10
  if ( !$siteurl )
11
  return false;
12
 
13
- $protocol = ( 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
14
  $siteurl = trailingslashit( str_replace( $protocol, '', $siteurl ) );
15
 
16
  if ( $directory == 'homepage' )
@@ -22,8 +22,8 @@ function domain_mapping_gc_cache( $function, $directory ) {
22
  @wp_cache_rebuild_or_delete( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz' );
23
  break;
24
  case "prune":
25
- prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html', true, true );
26
- prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz', true, true );
27
  break;
28
  }
29
 
@@ -39,7 +39,7 @@ function domain_mapping_supercachedir( $dir ) {
39
  if ( !$siteurl )
40
  return $dir;
41
 
42
- $protocol = ( 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
43
  $siteurl = str_replace( $protocol, '', $siteurl );
44
  return $cache_path . 'supercache/' . $siteurl;
45
  }
@@ -55,7 +55,7 @@ add_cacheaction( 'add_cacheaction', 'domain_mapping_actions' );
55
 
56
  function wp_supercache_domain_mapping_admin() {
57
  global $cache_domain_mapping, $wp_cache_config_file, $valid_nonce;
58
-
59
  $cache_domain_mapping = $cache_domain_mapping == '' ? '0' : $cache_domain_mapping;
60
 
61
  if(isset($_POST['cache_domain_mapping']) && $valid_nonce) {
@@ -69,7 +69,7 @@ function wp_supercache_domain_mapping_admin() {
69
  }
70
  $id = 'domain_mapping-section';
71
  ?>
72
- <fieldset id="<?php echo $id; ?>" class="options">
73
  <h4><?php _e( 'Domain Mapping', 'wp-super-cache' ); ?></h4>
74
  <form name="wp_manager" action="" method="post">
75
  <label><input type="radio" name="cache_domain_mapping" value="1" <?php if( $cache_domain_mapping ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
@@ -83,7 +83,7 @@ function wp_supercache_domain_mapping_admin() {
83
  $status = __( "disabled" );
84
  echo "<p><strong>" . sprintf( __( "Domain Mapping support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
85
  }
86
- echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
87
  wp_nonce_field('wp-cache');
88
  ?>
89
  </form>
10
  if ( !$siteurl )
11
  return false;
12
 
13
+ $protocol = ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
14
  $siteurl = trailingslashit( str_replace( $protocol, '', $siteurl ) );
15
 
16
  if ( $directory == 'homepage' )
22
  @wp_cache_rebuild_or_delete( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz' );
23
  break;
24
  case "prune":
25
+ prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html', true, true );
26
+ prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz', true, true );
27
  break;
28
  }
29
 
39
  if ( !$siteurl )
40
  return $dir;
41
 
42
+ $protocol = ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
43
  $siteurl = str_replace( $protocol, '', $siteurl );
44
  return $cache_path . 'supercache/' . $siteurl;
45
  }
55
 
56
  function wp_supercache_domain_mapping_admin() {
57
  global $cache_domain_mapping, $wp_cache_config_file, $valid_nonce;
58
+
59
  $cache_domain_mapping = $cache_domain_mapping == '' ? '0' : $cache_domain_mapping;
60
 
61
  if(isset($_POST['cache_domain_mapping']) && $valid_nonce) {
69
  }
70
  $id = 'domain_mapping-section';
71
  ?>
72
+ <fieldset id="<?php echo $id; ?>" class="options">
73
  <h4><?php _e( 'Domain Mapping', 'wp-super-cache' ); ?></h4>
74
  <form name="wp_manager" action="" method="post">
75
  <label><input type="radio" name="cache_domain_mapping" value="1" <?php if( $cache_domain_mapping ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
83
  $status = __( "disabled" );
84
  echo "<p><strong>" . sprintf( __( "Domain Mapping support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
85
  }
86
+ echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
87
  wp_nonce_field('wp-cache');
88
  ?>
89
  </form>
plugins/dynamic-cache-test.php ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * On the Advanced Settings page enable "Enable dynamic caching" and clear
5
+ * the cache.
6
+ *
7
+ * Plugin authors: NEVER define the template tag for your users. Make them
8
+ * choose one so it will be unique to their site.
9
+ *
10
+ * There are two examples in this file. Both use template tags that must be
11
+ * kept secret.
12
+ *
13
+ * GLOSSARY:
14
+ *
15
+ * Dynamic content: the text or widget you want to show visitors to your site
16
+ * that changes every time it's viewed.
17
+ * Placeholder/template tag: the string of random characters placed in your
18
+ * theme file or printed in an action where the dynamic content will go.
19
+ * Output buffer (ob): any text that is printed by PHP to be sent to the browser
20
+ * but captured by PHP for further manipulation.
21
+ * OB Callback function: A function that is called when the output buffer is
22
+ * filled with a html page. The contents of the page are passed to the function
23
+ * for processing.
24
+ *
25
+ * **** MAKE SURE YOU KEEP THE TEMPLATE TAG SECRET ****
26
+ */
27
+
28
+ /*
29
+ * EXAMPLE 1
30
+ * http://ocaoimh.ie/2013/10/21/shiny-new-dynamic-content-wp-super-cache/
31
+ * Replace a string in your theme with the dynamic content.
32
+ *
33
+ * dynamic_cache_test_init()
34
+ * This function is the first one to be called. This function hooks
35
+ * dynamic_cache_test_template() to the WordPress action, wp_footer.
36
+ * This script is loaded before WordPress is and the add_action()
37
+ * function isn't defined at this time.
38
+ * This init function hooks onto the cache action "add_cacheaction"
39
+ * that fires after WordPress (and add_action) is loaded.
40
+ *
41
+ *
42
+ * dynamic_cache_test_template_tag()
43
+ * This function hooks on to wp_footer and displays the secret template
44
+ * tag that will be replaced by our dynamic content on each page view.
45
+ *
46
+ *
47
+ * dynamic_cache_test_filter()
48
+ * This function hooks on to the filter through which all the cached data
49
+ * sent to visitors is sent.
50
+ * In this simple example the template tag is replaced by a html comment
51
+ * containing the text "Hello world at " and the current server time.
52
+ * If you want to use the output of a WordPress plugin or command you
53
+ * must enable "late init" on the settings page. Each time you reload
54
+ * the cached page this time will change. View the page source to examine
55
+ * this text.
56
+ *
57
+ * Chronology of a request:
58
+ * 1. dynamic_cache_test_init() hooks dynamic_cache_test_template_tag() on
59
+ * to the wp_footer action. dynamic_cache_test_filter() is hooked on to
60
+ * the wpsc_cachedata filter.
61
+ * 2. An output buffer is created by WP Super Cache.
62
+ * 3. Most of the page is generated by WordPress.
63
+ * 4. The wp_footer action fires and the TAG is printed to the page.
64
+ * 5. Processing continues and the page is created.
65
+ * 6. The output buffer finishes. A WP Super Cache callback function runs
66
+ * and saves the output buffer to a cache file. The wpsc_cachedata
67
+ * filter is called.
68
+ * 7. The function dynamic_cache_test_filter() runs and replaces the TAG in
69
+ * the buffer with the "Hello world" string.
70
+ * 8. The output buffer is pushed to the browser to be displayed.
71
+ */
72
+ define( 'DYNAMIC_CACHE_TEST_TAG', '' ); // Change this to a secret placeholder tag
73
+ if ( DYNAMIC_CACHE_TEST_TAG != '' ) {
74
+ function dynamic_cache_test_safety( $safety ) {
75
+ return 1;
76
+ }
77
+ add_cacheaction( 'wpsc_cachedata_safety', 'dynamic_cache_test_safety' );
78
+
79
+ function dynamic_cache_test_filter( &$cachedata) {
80
+ return str_replace( DYNAMIC_CACHE_TEST_TAG, "<!-- Hello world at " . date( 'H:i:s' ) . " -->", $cachedata );
81
+ }
82
+ add_cacheaction( 'wpsc_cachedata', 'dynamic_cache_test_filter' );
83
+
84
+ function dynamic_cache_test_template_tag() {
85
+ echo DYNAMIC_CACHE_TEST_TAG; // This is the template tag
86
+ }
87
+
88
+ function dynamic_cache_test_init() {
89
+ add_action( 'wp_footer', 'dynamic_cache_test_template_tag' );
90
+ }
91
+ add_cacheaction( 'add_cacheaction', 'dynamic_cache_test_init' );
92
+ }
93
+
94
+ /*
95
+ * EXAMPLE 2
96
+ *
97
+ * This is going to be complicated. Hang on!
98
+ *
99
+ * When the cache file for a new page is generated the plugin uses an output
100
+ * buffer to capture the page. A callback function processes the buffer and
101
+ * writes to the cache file. The placeholder tag for any dynamic content has
102
+ * to be written to that cache file but also, it has to be replaced with
103
+ * dynamic content before the page is shown to the user.
104
+ * More on output buffers here: http://php.net/ob_start
105
+ *
106
+ * Unfortunately an extra output buffer is often required when capturing dynamic
107
+ * content such as sidebar widgets. Due to a quirk of the way PHP works it's
108
+ * not possible to have an output buffer run in an output buffer callback. That
109
+ * dynamic content has to be generated before the callback function is reached.
110
+ * The following error occurs when an output buffer is created in the
111
+ * callback function of another output buffer:
112
+ * "PHP Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in..."
113
+ *
114
+ * In this example the function add_action() isn't available when this file is
115
+ * loaded so dynamic_output_buffer_init() is hooked on to the "add_cacheaction"
116
+ * cacheaction. That function then hooks dynamic_output_buffer_test() on to the
117
+ * familiar wp_footer action.
118
+ *
119
+ * The first time dynamic_output_buffer_test() runs it generates the dynamic
120
+ * content and captures it with ob_start() in the DYNAMIC_OB_TEXT constant.
121
+ *
122
+ * When the main WP Super Cache output buffer is ready the callback is called.
123
+ * This fires the wpsc_cachedata_safety filter. If the DYNAMIC_OB_TEXT constant
124
+ * is set, which means dynamic content is ready, then it returns 1, a signal
125
+ * that everything is ok.
126
+ * Finally, the wpsc_cachedata filter is run. The function
127
+ * dynamic_output_buffer_test() is hooked on to it. Since DYNAMIC_OB_TEXT is
128
+ * set it replaces the placeholder text with that constant.
129
+ * The resulting html is then sent to the browser.
130
+ *
131
+ * Already cached pages call the safety filter, and then the wpsc_cachedata
132
+ * filter so any hooked function must be ready to generate dynamic content. The
133
+ * very last line of dynamic_output_buffer_test() replaces the placeholder tag
134
+ * with the dynamic content in the cache file.
135
+ *
136
+ *
137
+ * Use an output buffer to capture dynamic content while the page is generated
138
+ * and insert into the right place:
139
+ * Remember to add the DYNAMIC_OUTPUT_BUFFER_TAG text (as defined below) to
140
+ * your theme where the dynamic content should be.
141
+ *
142
+ * dynamic_output_buffer_test() is a function that uses the wpsc_cachedata
143
+ * filter to add a small message and the current server time to every web
144
+ * page. The time increments on every reload.
145
+ *
146
+ */
147
+
148
+ define( 'DYNAMIC_OUTPUT_BUFFER_TAG', '' ); // Change this to a secret placeholder tag
149
+
150
+ if ( DYNAMIC_OUTPUT_BUFFER_TAG != '' ) {
151
+ function dynamic_output_buffer_test( &$cachedata = 0 ) {
152
+ if ( defined( 'DYNAMIC_OB_TEXT' ) )
153
+ return str_replace( DYNAMIC_OUTPUT_BUFFER_TAG, DYNAMIC_OB_TEXT, $cachedata );
154
+
155
+ ob_start();
156
+ // call the sidebar function, do something dynamic
157
+ echo "<p>This is a test. The current time on the server is: " . date( 'H:i:s' ) . "</p>";
158
+ $text = ob_get_contents();
159
+ ob_end_clean();
160
+
161
+ if ( $cachedata === 0 ) { // called directly from the theme so store the output
162
+ define( 'DYNAMIC_OB_TEXT', $text );
163
+ } else // called via the wpsc_cachedata filter. We only get here in cached pages in wp-cache-phase1.php
164
+ return str_replace( DYNAMIC_OUTPUT_BUFFER_TAG, $text, $cachedata );
165
+
166
+ }
167
+ add_cacheaction( 'wpsc_cachedata', 'dynamic_output_buffer_test' );
168
+
169
+ function dynamic_output_buffer_init() {
170
+ add_action( 'wp_footer', 'dynamic_output_buffer_test' );
171
+ }
172
+ add_cacheaction( 'add_cacheaction', 'dynamic_output_buffer_init' );
173
+
174
+ function dynamic_output_buffer_test_safety( $safety ) {
175
+ if ( defined( 'DYNAMIC_OB_TEXT' ) ) // this is set when you call dynamic_output_buffer_test() from the theme
176
+ return 1; // ready to replace tag with dynamic content.
177
+ else
178
+ return 0; // tag cannot be replaced.
179
+ }
180
+ add_cacheaction( 'wpsc_cachedata_safety', 'dynamic_output_buffer_test_safety' );
181
+ }
182
+ ?>
plugins/jetpack.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  function wp_super_cache_jetpack_admin() {
4
  global $cache_jetpack, $wp_cache_config_file, $valid_nonce;
5
-
6
  $cache_jetpack = $cache_jetpack == '' ? '0' : $cache_jetpack;
7
 
8
  if(isset($_POST['cache_jetpack']) && $valid_nonce) {
@@ -21,7 +21,7 @@ function wp_super_cache_jetpack_admin() {
21
  }
22
  $id = 'jetpack-section';
23
  ?>
24
- <fieldset id="<?php echo $id; ?>" class="options">
25
  <h4><?php _e( 'Jetpack Mobile Theme', 'wp-super-cache' ); ?></h4>
26
  <?php
27
  if ( false == file_exists( dirname( WPCACHEHOME ) . '/jetpack/class.jetpack-user-agent.php' ) ) {
@@ -39,7 +39,7 @@ function wp_super_cache_jetpack_admin() {
39
  $status = __( "disabled" );
40
  echo "<p><strong>" . sprintf( __( "Jetpack Mobile Theme support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
41
  }
42
- echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
43
  wp_nonce_field('wp-cache');
44
  ?>
45
  </form>
@@ -59,7 +59,7 @@ function wp_super_cache_jetpack_cookie_check( $cache_key ) {
59
  else
60
  return 'normal';
61
  } else {
62
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_super_cache_jetpack_cookie_check: jetpack UA file not found." );
63
  return "normal";
64
  }
65
  }
2
 
3
  function wp_super_cache_jetpack_admin() {
4
  global $cache_jetpack, $wp_cache_config_file, $valid_nonce;
5
+
6
  $cache_jetpack = $cache_jetpack == '' ? '0' : $cache_jetpack;
7
 
8
  if(isset($_POST['cache_jetpack']) && $valid_nonce) {
21
  }
22
  $id = 'jetpack-section';
23
  ?>
24
+ <fieldset id="<?php echo $id; ?>" class="options">
25
  <h4><?php _e( 'Jetpack Mobile Theme', 'wp-super-cache' ); ?></h4>
26
  <?php
27
  if ( false == file_exists( dirname( WPCACHEHOME ) . '/jetpack/class.jetpack-user-agent.php' ) ) {
39
  $status = __( "disabled" );
40
  echo "<p><strong>" . sprintf( __( "Jetpack Mobile Theme support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
41
  }
42
+ echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
43
  wp_nonce_field('wp-cache');
44
  ?>
45
  </form>
59
  else
60
  return 'normal';
61
  } else {
62
+ wp_cache_debug( "wp_super_cache_jetpack_cookie_check: jetpack UA file not found." );
63
  return "normal";
64
  }
65
  }
plugins/searchengine.php CHANGED
@@ -8,9 +8,9 @@ function wp_supercache_searchengine( $string ) {
8
  if( $string != '' )
9
  return $string;
10
 
11
- if( $_COOKIE[ '7a1254cba80da02d5478d91cfd0a873a' ] == 1 ) {
12
  $string = 'searchengine';
13
- } elseif( $_SERVER[ 'HTTP_REFERER' ] != '' ) {
14
  if( is_array( $passingthrough ) == false )
15
  return $string;
16
 
@@ -54,7 +54,7 @@ add_cacheaction( 'add_cacheaction', 'searchengine_phase2_actions' );
54
 
55
  function wp_supercache_searchengine_admin() {
56
  global $cache_no_adverts_for_friends, $wp_cache_config_file, $valid_nonce;
57
-
58
  $cache_no_adverts_for_friends = $cache_no_adverts_for_friends == '' ? 'no' : $cache_no_adverts_for_friends;
59
 
60
  if(isset($_POST['cache_no_adverts_for_friends']) && $valid_nonce) {
@@ -63,7 +63,7 @@ function wp_supercache_searchengine_admin() {
63
  }
64
  $id = 'no_adverts_for_friends-section';
65
  ?>
66
- <fieldset id="<?php echo $id; ?>" class="options">
67
  <h4><?php _e( 'No Adverts for Friends', 'wp-super-cache' ); ?></h4>
68
  <form name="wp_manager" action="" method="post">
69
  <label><input type="radio" name="cache_no_adverts_for_friends" value="1" <?php if( $cache_no_adverts_for_friends == 'yes' ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
@@ -77,7 +77,7 @@ function wp_supercache_searchengine_admin() {
77
  $status = __( "disabled" );
78
  echo "<p><strong>" . sprintf( __( "No Adverts for Friends support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
79
  }
80
- echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
81
  wp_nonce_field('wp-cache');
82
  ?>
83
  </form>
8
  if( $string != '' )
9
  return $string;
10
 
11
+ if( isset( $_COOKIE[ '7a1254cba80da02d5478d91cfd0a873a' ] ) && $_COOKIE[ '7a1254cba80da02d5478d91cfd0a873a' ] == 1 ) {
12
  $string = 'searchengine';
13
+ } elseif( isset( $_SERVER[ 'HTTP_REFERER' ] ) && $_SERVER[ 'HTTP_REFERER' ] != '' ) {
14
  if( is_array( $passingthrough ) == false )
15
  return $string;
16
 
54
 
55
  function wp_supercache_searchengine_admin() {
56
  global $cache_no_adverts_for_friends, $wp_cache_config_file, $valid_nonce;
57
+
58
  $cache_no_adverts_for_friends = $cache_no_adverts_for_friends == '' ? 'no' : $cache_no_adverts_for_friends;
59
 
60
  if(isset($_POST['cache_no_adverts_for_friends']) && $valid_nonce) {
63
  }
64
  $id = 'no_adverts_for_friends-section';
65
  ?>
66
+ <fieldset id="<?php echo $id; ?>" class="options">
67
  <h4><?php _e( 'No Adverts for Friends', 'wp-super-cache' ); ?></h4>
68
  <form name="wp_manager" action="" method="post">
69
  <label><input type="radio" name="cache_no_adverts_for_friends" value="1" <?php if( $cache_no_adverts_for_friends == 'yes' ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
77
  $status = __( "disabled" );
78
  echo "<p><strong>" . sprintf( __( "No Adverts for Friends support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
79
  }
80
+ echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
81
  wp_nonce_field('wp-cache');
82
  ?>
83
  </form>
plugins/wptouch.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  function wp_super_cache_wptouch_admin() {
4
  global $cache_wptouch, $wp_cache_config_file, $valid_nonce;
5
-
6
  $cache_wptouch = $cache_wptouch == '' ? '0' : $cache_wptouch;
7
 
8
  if(isset($_POST['cache_wptouch']) && $valid_nonce) {
@@ -16,7 +16,7 @@ function wp_super_cache_wptouch_admin() {
16
  }
17
  $id = 'wptouch-section';
18
  ?>
19
- <fieldset id="<?php echo $id; ?>" class="options">
20
  <h4><?php _e( 'WPTouch', 'wp-super-cache' ); ?></h4>
21
  <form name="wp_manager" action="" method="post">
22
  <label><input type="radio" name="cache_wptouch" value="1" <?php if( $cache_wptouch ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
@@ -30,7 +30,7 @@ function wp_super_cache_wptouch_admin() {
30
  $status = __( "disabled" );
31
  echo "<p><strong>" . sprintf( __( "WPTouch support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
32
  }
33
- echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
34
  wp_nonce_field('wp-cache');
35
  ?>
36
  </form>
@@ -57,7 +57,7 @@ if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wpsupercache' ) {
57
  add_cacheaction( 'add_cacheaction', 'wp_super_cache_wptouch_exists' );
58
  }
59
 
60
- // disable mobile checking if
61
  function wp_super_cache_maybe_disable_wptouch( $t ) {
62
  global $cache_wptouch, $wptouch_exclude_ua;
63
  if ( $cache_wptouch != 1 )
@@ -96,7 +96,7 @@ function wp_super_cache_wptouch_browsers( $browsers ) {
96
 
97
  function wp_super_cache_wptouch_prefixes( $prefixes ) {
98
  return array(); // wptouch doesn't support UA prefixes
99
- }
100
 
101
  function wp_super_cache_wptouch_cookie_check( $cache_key ) {
102
  if ( false == isset( $_COOKIE[ 'wptouch_switch_toggle' ] ) )
2
 
3
  function wp_super_cache_wptouch_admin() {
4
  global $cache_wptouch, $wp_cache_config_file, $valid_nonce;
5
+
6
  $cache_wptouch = $cache_wptouch == '' ? '0' : $cache_wptouch;
7
 
8
  if(isset($_POST['cache_wptouch']) && $valid_nonce) {
16
  }
17
  $id = 'wptouch-section';
18
  ?>
19
+ <fieldset id="<?php echo $id; ?>" class="options">
20
  <h4><?php _e( 'WPTouch', 'wp-super-cache' ); ?></h4>
21
  <form name="wp_manager" action="" method="post">
22
  <label><input type="radio" name="cache_wptouch" value="1" <?php if( $cache_wptouch ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
30
  $status = __( "disabled" );
31
  echo "<p><strong>" . sprintf( __( "WPTouch support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
32
  }
33
+ echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
34
  wp_nonce_field('wp-cache');
35
  ?>
36
  </form>
57
  add_cacheaction( 'add_cacheaction', 'wp_super_cache_wptouch_exists' );
58
  }
59
 
60
+ // disable mobile checking if
61
  function wp_super_cache_maybe_disable_wptouch( $t ) {
62
  global $cache_wptouch, $wptouch_exclude_ua;
63
  if ( $cache_wptouch != 1 )
96
 
97
  function wp_super_cache_wptouch_prefixes( $prefixes ) {
98
  return array(); // wptouch doesn't support UA prefixes
99
+ }
100
 
101
  function wp_super_cache_wptouch_cookie_check( $cache_key ) {
102
  if ( false == isset( $_COOKIE[ 'wptouch_switch_toggle' ] ) )
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === WP Super Cache ===
2
  Contributors: donncha, automattic
3
  Tags: performance,caching,wp-cache,wp-super-cache,cache
4
- Tested up to: 3.5.1
5
- Stable tag: 1.3.3
6
  Requires at least: 3.0
7
 
8
  A very fast caching engine for WordPress that produces static html files.
@@ -48,6 +48,8 @@ With preloading on cached files will still be deleted when posts are made or edi
48
 
49
  See the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) for further information. [Developer documentation](http://ocaoimh.ie/wp-super-cache-developers/) is also available for those who need to interact with the cache or write plugins.
50
 
 
 
51
  The [changelog](http://svn.wp-plugins.org/wp-super-cache/trunk/Changelog.txt) is a good place to start if you want to know what has changed since you last downloaded the plugin.
52
 
53
  Interested in translating WP Super Cache to your language? Grab the [development version](http://downloads.wordpress.org/plugin/wp-super-cache.zip) where you will find an up to date wp-super-cache.pot. Send any translation files to donncha @ ocaoimh.ie and thank you!
@@ -56,13 +58,36 @@ The cache directory, usually wp-content/cache/ is only for temporary files. Do n
56
 
57
  == Upgrade Notice ==
58
 
59
- = 1.3.3 =
60
- Backport fix for XSS in settings page.
61
 
62
  == Changelog ==
63
-
64
- = 1.3.3 =
65
- * Backport fix for XSS in settings page.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
 
67
  = 1.3.2 =
68
  * Any mfunc/mclude/dynamic-cached-content tags in comments are now removed.
@@ -378,60 +403,27 @@ No, it will do the opposite. Super Cache files are compressed and stored that wa
378
 
379
  = How do I make certain parts of the page stay dynamic? =
380
 
381
- Note: from version 1.4 this functionality will be disabled by default. You will have to enable it on the settings page.
382
 
383
- There are 2 ways of doing this. You can use Javascript to draw the part of the page you want to keep dynamic. That's what Google Adsense and many widgets from external sites do. Or you can use a WP Super Cache tag to do the job but you can't use mod_rewrite mode caching. You have to switch to PHP or legacy caching.
384
 
385
- There are a few ways to do this, you can have functions that stay dynamic or you can include other files on every page load. To execute PHP code on every page load you can use either the "dynamic-cached-content", "mfunc", or "mclude" tags. The "dynamic-cached-content" tag is easier to use but the other tags can still be used. Make sure you duplicate the PHP code when using these tags. The first code is executed when the page is cached, while the second chunk of code is executed when the cached page is served to the next visitor.
 
 
386
  To execute WordPress functions you must enable the 'Late init' feature on the advanced settings page.
387
 
388
- = dynamic-cached-content example =
389
-
390
- This code will include the file adverts.php and will execute the functions "print_sidebar_ad()" and "do_more_stuff()". Make sure there's no space before or after the PHP tags.
391
-
392
- `<!--dynamic-cached-content--><?php
393
- include_once( ABSPATH . '/scripts/adverts.php' );
394
- print_sidebar_ad();
395
- do_more_stuff();
396
- ?><!--
397
- include_once( ABSPATH . '/scripts/adverts.php' );
398
- print_sidebar_ad();
399
- do_more_stuff();
400
- --><!--/dynamic-cached-content-->`
401
-
402
- = mfunc example =
403
-
404
- To execute the function "function_name()":
405
-
406
- `<!--mfunc function_name( 'parameter', 'another_parameter' ) -->
407
- <?php function_name( 'parameter', 'another_parameter' ) ?>
408
- <!--/mfunc-->`
409
-
410
- = mclude example =
411
- To include another file:
412
-
413
- `<!--mclude file.php-->
414
- <?php include_once( ABSPATH . 'file.php' ); ?>
415
- <!--/mclude-->`
416
-
417
- That will include file.php under the ABSPATH directory, which is the same as where your wp-config.php file is located.
418
-
419
- Example:
420
- `<!--mfunc date( 'Y-m-d H:i:s' ) -->
421
- <?php date( 'Y-m-d H:i:s' ) ?>
422
- <!--/mfunc-->`
423
-
424
  = How do I use WordPress functions in cached dynamic pages? =
425
-
426
- See the next qestion, you have to load WordPress before the cached file is served.
427
-
428
  = How do I delay serving the cache until the "init" action fires? =
429
 
430
- Cached files are served before almost all of WordPress is loaded. While that's great for performance it's a pain when you want to extend the plugin using a core part of WordPress. Set $wp_super_cache_late_init to "1" in wp-content/wp-cache-config.php and cached files will be served when "init" fires. WordPress and it's plugins will be loaded now. This is very useful when you are using the mfunc tag in your theme.
431
 
432
  = Why don't WP UserOnline, Popularity Contest, WP Postratings or plugin X not work or update on my blog now? =
433
 
434
- This plugin caches entire pages but some plugins think they can run PHP code every time a page loads. To fix this, the plugin needs to use Javascript/AJAX methods or the dynamic-cached-content/mfunc/mclude code described in the previous answer to update or display dynamic information.
 
 
 
 
435
 
436
  = What does the Cache Rebuild feature do? =
437
 
@@ -490,10 +482,11 @@ The only real limit are limits defined by your server. For example, EXT2 and EXT
490
  = How do I serve cached mobile pages to clients on small screens like phones and tablets? =
491
 
492
  You'll have to use a separate mobile plugin to render a page formatted for those visitors. The following plugins have been tested but YMMV depending on mobile client.
493
- * [WPTouch] (http://wordpress.org/extend/plugins/wptouch/)
494
- * [WordPress Mobile Edition] (http://wordpress.org/extend/plugins/wordpress-mobile-edition/)
495
- * [WordPress Mobile Pack] (http://wordpress.org/extend/plugins/wordpress-mobile-pack/) (can't have "Don't cache pages for known users." enabled)
496
 
 
 
 
 
497
 
498
  = Troubleshooting =
499
 
@@ -538,7 +531,7 @@ If that doesn't work, add this line to your wp-config.php:
538
  26. If certain characters do not appear correctly on your website your server may not be configured correctly. You need to tell visitors what character set is used. Go to Settings->Reading and copy the 'Encoding for pages and feeds' value. Edit the .htaccess file with all your Supercache and WordPress rewrite rules and add this at the top, replacing CHARSET with the copied value. (for example, 'UTF-8')
539
 
540
  `AddDefaultCharset CHARSET`
541
- 27. Use [Cron View](http://wordpress.org/extend/plugins/cron-view/) to help diagnose garbage collection and preload problems. Use the plugin to make sure jobs are scheduled and for what time. Look for the wp_cache_gc and wp_cache_full_preload_hook jobs.
542
  18. The error message, "WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory." appears at the end of every page. You can delete wp-content/advanced-cache.php and reload the plugin settings page or edit wp-config.php and look for WPCACHEHOME and make sure it points at the wp-super-cache folder. This will normally be wp-content/plugins/wp-super-cache/ but you'll likely need the full path to that file (so it's easier to let the settings page fix it). If it is not correct the caching engine will not load.
543
 
544
 
@@ -546,7 +539,7 @@ If that doesn't work, add this line to your wp-config.php:
546
 
547
  A Content Delivery Network (CDN) is usually a network of computers situated around the world that will serve the content of your website faster by using servers close to you. Static files like images, Javascript and CSS files can be served through these networks to speed up how fast your site loads. You can also create a "poor man's CDN" by using a sub domain of your domain to serve static files too.
548
 
549
- [OSSDL CDN off-linker](http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/) has been integrated into WP Super Cache to provide basic CDN support. It works by rewriting the URLs of files (excluding .php files) in wp-content and wp-includes on your server so they point at a different hostname. Many CDNs support [origin pull](http://www.google.com/search?hl=en&q=%22origin+pull%22). This means the CDN will download the file automatically from your server when it's first requested, and will continue to serve it for a configurable length of time before downloading it again from your server.
550
 
551
  Configure this on the "CDN" tab of the plugin settings page. This is an advanced technique and requires a basic understanding of how your webserver or CDNs work. Please be sure to clear the file cache after you configure the CDN.
552
 
@@ -566,7 +559,7 @@ The output of WP-Cache's wp_cache_get_cookies_values() function.
566
  See plugins/searchengine.php as an example I use for my [No Adverts for Friends](http://ocaoimh.ie/no-adverts-for-friends/) plugin.
567
 
568
  == Links ==
569
- [WP Widget Cache](http://wordpress.org/extend/plugins/wp-widget-cache/) is another caching plugin for WordPress. This plugin caches the output of widgets and may significantly speed up dynamic page generation times.
570
 
571
  == Updates ==
572
  Updates to the plugin will be posted here, to [Holy Shmoly!](http://ocaoimh.ie/) and the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) will always link to the newest version.
@@ -593,3 +586,4 @@ Translators who did a great job converting the text of the plugin to their nativ
593
  * [Nata Strazda](http://www.webhostingrating.com/) (Lithuanian)
594
  * [Alexander Alexandrov](http://www.designcontest.com/) (Belarusian)
595
  * [Michail Bogdanov](http://www.webhostinghub.com/) (Romanian)
 
1
  === WP Super Cache ===
2
  Contributors: donncha, automattic
3
  Tags: performance,caching,wp-cache,wp-super-cache,cache
4
+ Tested up to: 4.2.2
5
+ Stable tag: 1.4.4
6
  Requires at least: 3.0
7
 
8
  A very fast caching engine for WordPress that produces static html files.
48
 
49
  See the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) for further information. [Developer documentation](http://ocaoimh.ie/wp-super-cache-developers/) is also available for those who need to interact with the cache or write plugins.
50
 
51
+ There's a [GIT repository](https://github.com/Automattic/wp-super-cache) too if you want to contribute a patch.
52
+
53
  The [changelog](http://svn.wp-plugins.org/wp-super-cache/trunk/Changelog.txt) is a good place to start if you want to know what has changed since you last downloaded the plugin.
54
 
55
  Interested in translating WP Super Cache to your language? Grab the [development version](http://downloads.wordpress.org/plugin/wp-super-cache.zip) where you will find an up to date wp-super-cache.pot. Send any translation files to donncha @ ocaoimh.ie and thank you!
58
 
59
  == Upgrade Notice ==
60
 
61
+ = 1.4.4 =
62
+ Security release fixing an XSS bug in the settings page, and fix for fatal error in output handler.
63
 
64
  == Changelog ==
65
+ = 1.4.4 =
66
+ * Fixed fatal error in output handler if GET parameters present in query. Props webaware.
67
+ * Fixed debug log. It wasn't logging the right message.
68
+
69
+ = 1.4.3 =
70
+ * Security release fixing an XSS bug in the settings page. Props Marc Montpas from Sucuri.
71
+ * Added wp_debug_log(). Props Jen Heilemann.
72
+ * Minor fixes.
73
+
74
+ = 1.4.2 =
75
+ * Fixed "acceptable file list".
76
+ * Fixed "Don't cache GET requests" feature.
77
+ * Maybe fixed "304 not modified" problem for some users.
78
+ * Fixed some PHP warnings.
79
+
80
+ = 1.4.1 =
81
+ * Fixed XSS in settings page. Props Simon Waters, Surevine Limited.
82
+ * Fix to object cache so entries may now be deleted when posts updated. (object cache still experimental)
83
+ * Documentation updates and cleanup of settings page.
84
+
85
+ = 1.4 =
86
+ * Replace legacy mfunc/mnclude/dynamic-cached-content functionality with a "wpsc_cachedata" cacheaction filter.
87
+ * Added dynamic-cache-test.php plugin example wpsc_cachedata filter plugin.
88
+ * Delete post, tag and category cache when a post changes from draft to publish or vice versa. Props @Biranit.
89
+ * Update advanced-cache.php and wp-config.php if wp-cache-phase1.php doesn't load, usually happening after migrating to a new hosting service.
90
+ * Misc bugfixes.
91
 
92
  = 1.3.2 =
93
  * Any mfunc/mclude/dynamic-cached-content tags in comments are now removed.
403
 
404
  = How do I make certain parts of the page stay dynamic? =
405
 
406
+ Note: this functionality is disabled by default. You will have to enable it on the Advanced Settings page.
407
 
408
+ There are 2 ways of doing this. You can use Javascript to draw the part of the page you want to keep dynamic. That's what Google Adsense and many widgets from external sites do and is the recommended way. Or you can use a WP Super Cache filter to do the job but you can't use mod_rewrite mode caching. You have to switch to PHP or legacy caching.
409
 
410
+ WP Super Cache 1.4 introduced a cacheaction filter called wpsc_cachedata. The cached page to be displayed goes through this filter and allows modification of the page. If the page contains a placeholder tag the filter can be used to replace that tag with your dynamically generated html.
411
+ The function that hooks on to the wpsc_cachedata filter should be put in a file in the WP Super Cache plugins folder unless you use the late_init feature. An example plugin is included. Edit [dynamic-cache-test.php](http://svn.wp-plugins.org/wp-super-cache/trunk/plugins/dynamic-cache-test.php) to see the example code.
412
+ There are two example functions there. There's a simple function that replaces a string (or tag) you define when the cached page is served. The other example function uses an output buffer to generate the dynamic content. Due to a limitation in how PHP works the output buffer code MUST run before the wpsc_cachedata filter is hit, at least for when a page is cached. It doesn't matter when serving cached pages. See [this post](http://ocaoimh.ie/y/6j) for a more technical and longer explanation.
413
  To execute WordPress functions you must enable the 'Late init' feature on the advanced settings page.
414
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  = How do I use WordPress functions in cached dynamic pages? =
 
 
 
416
  = How do I delay serving the cache until the "init" action fires? =
417
 
418
+ Cached files are served before almost all of WordPress is loaded. While that's great for performance it's a pain when you want to extend the plugin using a core part of WordPress. Enable 'Late init' mode on the Advanced settings page and cached files will be served when "init" fires. WordPress and it's plugins will be loaded now.
419
 
420
  = Why don't WP UserOnline, Popularity Contest, WP Postratings or plugin X not work or update on my blog now? =
421
 
422
+ This plugin caches entire pages but some plugins think they can run PHP code every time a page loads. To fix this, the plugin needs to use Javascript/AJAX methods or the wpsc_cachedata filter described in the previous answer to update or display dynamic information.
423
+
424
+ = Why do my WP Super Cache plugin disappear when I upgrade the plugin? =
425
+
426
+ WordPress deletes the plugin folder when it updates a plugin. This is the same with WP Super Cache so any modified files in wp-super-cache/plugins/ will be deleted. You can define the variable $wp_cache_plugins_dir in wp-config.php or wp-content/wp-cache-config.php and point it at a directory outside of the wp-super-cache folder. The plugin will look there for it's plugins.
427
 
428
  = What does the Cache Rebuild feature do? =
429
 
482
  = How do I serve cached mobile pages to clients on small screens like phones and tablets? =
483
 
484
  You'll have to use a separate mobile plugin to render a page formatted for those visitors. The following plugins have been tested but YMMV depending on mobile client.
 
 
 
485
 
486
+ * [Jetpack's Mobile Theme Module](http://wordpress.org/plugins/jetpack)
487
+ * [WPTouch](http://wordpress.org/plugins/wptouch/)
488
+ * [WordPress Mobile Edition](http://wordpress.org/plugins/wordpress-mobile-edition/)
489
+ * [WordPress Mobile Pack](http://wordpress.org/plugins/wordpress-mobile-pack/) (can't have "Don't cache pages for known users." enabled)
490
 
491
  = Troubleshooting =
492
 
531
  26. If certain characters do not appear correctly on your website your server may not be configured correctly. You need to tell visitors what character set is used. Go to Settings->Reading and copy the 'Encoding for pages and feeds' value. Edit the .htaccess file with all your Supercache and WordPress rewrite rules and add this at the top, replacing CHARSET with the copied value. (for example, 'UTF-8')
532
 
533
  `AddDefaultCharset CHARSET`
534
+ 27. Use [Cron View](http://wordpress.org/plugins/cron-view/) to help diagnose garbage collection and preload problems. Use the plugin to make sure jobs are scheduled and for what time. Look for the wp_cache_gc and wp_cache_full_preload_hook jobs.
535
  18. The error message, "WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory." appears at the end of every page. You can delete wp-content/advanced-cache.php and reload the plugin settings page or edit wp-config.php and look for WPCACHEHOME and make sure it points at the wp-super-cache folder. This will normally be wp-content/plugins/wp-super-cache/ but you'll likely need the full path to that file (so it's easier to let the settings page fix it). If it is not correct the caching engine will not load.
536
 
537
 
539
 
540
  A Content Delivery Network (CDN) is usually a network of computers situated around the world that will serve the content of your website faster by using servers close to you. Static files like images, Javascript and CSS files can be served through these networks to speed up how fast your site loads. You can also create a "poor man's CDN" by using a sub domain of your domain to serve static files too.
541
 
542
+ [OSSDL CDN off-linker](http://wordpress.org/plugins/ossdl-cdn-off-linker/) has been integrated into WP Super Cache to provide basic CDN support. It works by rewriting the URLs of files (excluding .php files) in wp-content and wp-includes on your server so they point at a different hostname. Many CDNs support [origin pull](http://www.google.com/search?hl=en&q=%22origin+pull%22). This means the CDN will download the file automatically from your server when it's first requested, and will continue to serve it for a configurable length of time before downloading it again from your server.
543
 
544
  Configure this on the "CDN" tab of the plugin settings page. This is an advanced technique and requires a basic understanding of how your webserver or CDNs work. Please be sure to clear the file cache after you configure the CDN.
545
 
559
  See plugins/searchengine.php as an example I use for my [No Adverts for Friends](http://ocaoimh.ie/no-adverts-for-friends/) plugin.
560
 
561
  == Links ==
562
+ [WP Widget Cache](http://wordpress.org/plugins/wp-widget-cache/) is another caching plugin for WordPress. This plugin caches the output of widgets and may significantly speed up dynamic page generation times.
563
 
564
  == Updates ==
565
  Updates to the plugin will be posted here, to [Holy Shmoly!](http://ocaoimh.ie/) and the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) will always link to the newest version.
586
  * [Nata Strazda](http://www.webhostingrating.com/) (Lithuanian)
587
  * [Alexander Alexandrov](http://www.designcontest.com/) (Belarusian)
588
  * [Michail Bogdanov](http://www.webhostinghub.com/) (Romanian)
589
+ * [Anja Skrba](http://science.webhostinggeeks.com/wordpress-super-cache) (Serbo-Croatian)
wp-cache-base.php CHANGED
@@ -19,6 +19,8 @@ if ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_AL
19
  if( defined( 'SUBDOMAIN_INSTALL' ) && constant( 'SUBDOMAIN_INSTALL' ) == true ) {
20
  $blogcacheid = $WPSC_HTTP_HOST;
21
  } else {
 
 
22
  $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
23
  if( strpos( $request_uri, '/', 1 ) ) {
24
  if( $base == '/' ) {
19
  if( defined( 'SUBDOMAIN_INSTALL' ) && constant( 'SUBDOMAIN_INSTALL' ) == true ) {
20
  $blogcacheid = $WPSC_HTTP_HOST;
21
  } else {
22
+ if ( isset( $base ) == false )
23
+ $base = '';
24
  $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
25
  if( strpos( $request_uri, '/', 1 ) ) {
26
  if( $base == '/' ) {
wp-cache-config-sample.php CHANGED
@@ -17,7 +17,7 @@ $cache_path = WP_CONTENT_DIR . '/cache/';
17
  $file_prefix = 'wp-cache-';
18
  $ossdlcdn = 0;
19
 
20
- // Array of files that have 'wp-' but should still be cached
21
  $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
22
 
23
  $cache_rejected_uri = array('wp-.*\\.php', 'index\\.php');
@@ -44,7 +44,7 @@ $wp_cache_mobile_browsers = 'Android, 2.0 MMP, 240x320, AvantGo, BlackBerry, Bla
44
  // change to relocate the supercache plugins directory
45
  $wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
46
  // set to 1 to do garbage collection during normal process shutdown instead of wp-cron
47
- $wp_cache_shutdown_gc = 0;
48
  $wp_super_cache_late_init = 0;
49
 
50
  // uncomment the next line to enable advanced debugging features
17
  $file_prefix = 'wp-cache-';
18
  $ossdlcdn = 0;
19
 
20
+ // Array of files that have 'wp-' but should still be cached
21
  $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
22
 
23
  $cache_rejected_uri = array('wp-.*\\.php', 'index\\.php');
44
  // change to relocate the supercache plugins directory
45
  $wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
46
  // set to 1 to do garbage collection during normal process shutdown instead of wp-cron
47
+ $wp_cache_shutdown_gc = 0;
48
  $wp_super_cache_late_init = 0;
49
 
50
  // uncomment the next line to enable advanced debugging features
wp-cache-phase1.php CHANGED
@@ -19,6 +19,8 @@ if( $blogcacheid != '' ) {
19
  $blog_cache_dir = $cache_path;
20
  }
21
 
 
 
22
  $mutex_filename = 'wp_cache_mutex.lock';
23
  $new_cache = false;
24
 
@@ -45,7 +47,7 @@ if ( isset( $wp_cache_make_known_anon ) && $wp_cache_make_known_anon )
45
 
46
  do_cacheaction( 'cache_init' );
47
 
48
- if (!$cache_enabled || $_SERVER["REQUEST_METHOD"] == 'POST')
49
  return true;
50
 
51
  $file_expired = false;
@@ -75,9 +77,9 @@ $wp_cache_request_uri = $_SERVER[ 'REQUEST_URI' ]; // Cache this in case any plu
75
  if ( $wp_cache_object_cache ) {
76
  if ( ! include_once( WP_CONTENT_DIR . '/object-cache.php' ) )
77
  return;
78
-
79
  wp_cache_init(); // Note: wp-settings.php calls wp_cache_init() which clobbers the object made here.
80
-
81
  if ( ! is_object( $wp_object_cache ) )
82
  return;
83
  }
@@ -103,7 +105,7 @@ function get_wp_cache_key( $url = false ) {
103
  }
104
 
105
  function wp_super_cache_init() {
106
- global $wp_cache_key, $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $wp_super_cache_debug, $meta_pathname, $wp_cache_gzip_encoding, $meta;
107
 
108
  $wp_cache_key = get_wp_cache_key();
109
  $key = $blogcacheid . md5( $wp_cache_key );
@@ -117,25 +119,25 @@ function wp_super_cache_init() {
117
  }
118
 
119
  function wp_cache_serve_cache_file() {
120
- global $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $wp_super_cache_debug, $meta_pathname, $wp_cache_gzip_encoding, $meta;
121
  global $wp_cache_object_cache, $cache_compression, $wp_cache_slash_check, $wp_supercache_304, $wp_cache_home_path, $wp_cache_no_cache_for_get;
122
- global $wp_cache_disable_utf8;
123
 
124
  extract( wp_super_cache_init() );
125
 
126
  if ( wp_cache_user_agent_is_rejected() ) {
127
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "No wp-cache file served as user agent rejected.", 5 );
128
  return false;
129
  }
130
 
131
  if ( $wp_cache_no_cache_for_get && false == empty( $_GET ) ) {
132
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Non empty GET request. Caching disabled on settings page. " . print_r( $_GET, 1 ), 1 );
133
  return false;
134
  }
135
 
136
- if ( $wp_cache_object_cache && wp_cache_get_cookies_values() == '' ) {
137
  if ( !empty( $_GET ) ) {
138
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Non empty GET request. Not serving request from object cache. " . print_r( $_GET, 1 ), 1 );
139
  return false;
140
  }
141
 
@@ -148,17 +150,17 @@ function wp_cache_serve_cache_file() {
148
  $cache = wp_cache_get( $oc_key, 'supercache' );
149
  $meta = unserialize( wp_cache_get( $meta_filename, 'supercache' ) );
150
  if ( is_array( $meta ) == false ) {
151
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Meta array from object cache corrupt. Ignoring cache.", 1 );
152
  return true;
153
  }
154
  } elseif ( file_exists( $cache_file ) ) {
155
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "wp-cache file exists: $cache_file", 5 );
156
- if ( !( $meta = unserialize( @file_get_contents( $meta_pathname) ) ) ) {
157
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "couldn't load wp-cache meta file", 5 );
158
  return true;
159
  }
160
  if ( is_array( $meta ) == false ) {
161
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "meta array corrupt, deleting $meta_pathname and $cache_file", 1 );
162
  @unlink( $meta_pathname );
163
  @unlink( $cache_file );
164
  return true;
@@ -167,130 +169,150 @@ function wp_cache_serve_cache_file() {
167
  // last chance, check if a supercache file exists. Just in case .htaccess rules don't work on this host
168
  $filename = supercache_filename();
169
  $file = get_current_url_supercache_dir() . $filename;
170
- $phpfile = get_current_url_supercache_dir() . $filename . ".php";
171
- $serving_supercache = false;
172
- if ( file_exists( $file ) ) {
173
- $serving_supercache = 'html';
174
- } elseif ( file_exists( $phpfile ) ) {
175
- $serving_supercache = 'php';
 
 
 
176
  }
 
 
 
 
177
  if ( false == isset( $wp_cache_home_path ) )
178
  $wp_cache_home_path = '/';
179
- if (
180
- (
181
- $wp_cache_request_uri == $wp_cache_home_path ||
182
- ( $wp_cache_slash_check && substr( $wp_cache_request_uri, -1 ) == '/' ) ||
183
- ( $wp_cache_slash_check == 0 && substr( $wp_cache_request_uri, -1 ) != '/' )
184
- ) &&
185
- ( wp_cache_get_cookies_values() == '' && empty( $_GET ) && $serving_supercache ) )
186
- {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  if ( isset( $wp_cache_disable_utf8 ) == false || $wp_cache_disable_utf8 == 0 )
188
- header( "Content-type: text/html; charset=UTF-8" );
 
189
  header( "Vary: Accept-Encoding, Cookie" );
190
  header( "Cache-Control: max-age=3, must-revalidate" );
191
  header( "WP-Super-Cache: Served supercache file from PHP" );
192
- if ( file_exists( $file . '.gz' ) && $wp_cache_gzip_encoding ) {
193
- $file = $file . '.gz';
194
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
195
- header( 'Content-Length: ' . filesize( $file ) );
196
- } elseif ( $serving_supercache == 'html' && $wp_supercache_304 ) {
197
- header( 'Content-Length: ' . filesize( $file ) );
198
  }
199
 
200
- if ( $serving_supercache == 'html' && $wp_supercache_304 ) {
 
201
  if ( function_exists( 'apache_request_headers' ) ) {
202
  $request = apache_request_headers();
203
  $remote_mod_time = $request[ 'If-Modified-Since' ];
204
  } else {
205
- $remote_mod_time = $_SERVER[ 'HTTP_IF_MODIFIED_SINCE' ];
 
 
 
206
  }
207
  $local_mod_time = gmdate("D, d M Y H:i:s",filemtime( $file )).' GMT';
208
- if ( $remote_mod_time == $local_mod_time ) {
209
  header("HTTP/1.0 304 Not Modified");
210
  exit();
211
  }
212
  header( 'Last-Modified: ' . $local_mod_time );
213
  }
214
- if ( $serving_supercache == 'html' ) {
215
- readfile( $file );
216
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Served page from supercache file using PHP.", 5 );
217
- exit();
218
- } elseif ( $serving_supercache == 'php' ) {
219
- $cachefiledata = file_get_contents($phpfile);
220
- if ( $cache_compression and $wp_cache_gzip_encoding ) {
221
- ob_start("ob_gzhandler");
222
- eval( '?>' . $cachefiledata . '<?php ' );
223
- echo "\n<!-- Compression = gzip -->\n";
224
- ob_end_flush();
225
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Served compressed dynamic page from supercache file using PHP. File: $file", 5 );
226
- } else {
227
- eval( '?>' . $cachefiledata . '<?php ' );
228
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Served dynamic page from supercache file using PHP. File: $file", 5 );
229
- }
230
- exit();
231
- }
232
  } else {
233
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "No wp-cache file exists. Must generate a new one.", 5 );
234
  return false;
235
  }
236
  }
 
237
  $cache_file = do_cacheaction( 'wp_cache_served_cache_file', $cache_file );
238
  // Sometimes the gzip headers are lost. Make sure html returned isn't compressed!
239
  if ( $cache_compression && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $meta[ 'headers' ] ) ) {
240
  $ungzip = true;
241
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "GZIP headers not found. Force uncompressed output.", 1 );
242
  } else {
243
  $ungzip = false;
244
  }
245
  foreach ($meta[ 'headers' ] as $t => $header) {
246
  // godaddy fix, via http://blog.gneu.org/2008/05/wp-supercache-on-godaddy/ and http://www.littleredrails.com/blog/2007/09/08/using-wp-cache-on-godaddy-500-error/
247
- if( strpos( $header, 'Last-Modified:' ) === false )
248
  header($header);
249
  }
250
  header( 'WP-Super-Cache: Served legacy cache file' );
251
- if ( $wp_cache_object_cache ) {
252
  if ( $cache ) {
253
  if ( $ungzip ) {
 
254
  $uncompressed = gzuncompress( $cache );
255
  if ( $uncompressed ) {
256
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Uncompressed gzipped cache file from object cache", 1 );
257
  $cache = $uncompressed;
258
  unset( $uncompressed );
259
  }
260
  }
261
  if ( isset( $meta[ 'dynamic' ] ) && $meta[ 'dynamic' ] ) {
262
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache dynamic file from object cache", 5 );
263
- eval( '?>' . $cache . '<?php ' );
264
  } else {
265
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache static file from object cache", 5 );
266
  echo $cache;
267
  }
268
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "exit request", 5 );
269
  die();
270
  }
271
  } else {
272
  if ( isset( $meta[ 'dynamic' ] ) ) {
273
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache dynamic file", 5 );
274
  if ( $ungzip ) {
 
275
  $cache = file_get_contents( $cache_file );
276
  $uncompressed = @gzuncompress( $cache );
277
  if ( $uncompressed ) {
278
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
279
  unset( $cache );
280
- eval( '?>' . $uncompressed . '<?php ' );
281
  } else {
282
- eval( '?>' . $cache . '<?php ' );
283
  }
284
  } else {
285
- include( $cache_file );
286
  }
287
  } else {
288
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache static file", 5 );
289
  if ( $ungzip ) {
290
  $cache = file_get_contents( $cache_file );
291
  $uncompressed = gzuncompress( $cache );
292
  if ( $uncompressed ) {
293
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
294
  echo $uncompressed;
295
  } else {
296
  echo $cache;
@@ -299,7 +321,7 @@ function wp_cache_serve_cache_file() {
299
  readfile( $cache_file );
300
  }
301
  }
302
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "exit request", 5 );
303
  die();
304
  }
305
  }
@@ -314,13 +336,13 @@ if ( !isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init )
314
  }
315
 
316
  function wp_cache_postload() {
317
- global $cache_enabled, $wp_super_cache_late_init, $wp_super_cache_debug;
318
 
319
- if ( !$cache_enabled || isset( $_GET[ 'preview' ] ) )
320
  return true;
321
 
322
  if ( isset( $wp_super_cache_late_init ) && true == $wp_super_cache_late_init ) {
323
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Supercache Late Init: add wp_cache_serve_cache_file to init", 3 );
324
  add_action( 'init', 'wp_cache_late_loader', 9999 );
325
  } else {
326
  wp_super_cache_init();
@@ -329,8 +351,7 @@ function wp_cache_postload() {
329
  }
330
 
331
  function wp_cache_late_loader() {
332
- global $wp_super_cache_debug;
333
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Supercache Late Loader running on init", 3 );
334
  wp_cache_serve_cache_file();
335
  wp_cache_phase2();
336
  }
@@ -345,7 +366,7 @@ function wp_cache_get_cookies_values() {
345
  $regex .= "/";
346
  while ($key = key($_COOKIE)) {
347
  if ( preg_match( $regex, $key ) ) {
348
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_get_cookies_values: $regex Cookie detected: $key", 5 );
349
  $string .= $_COOKIE[ $key ] . ",";
350
  }
351
  next($_COOKIE);
@@ -374,7 +395,7 @@ function do_cacheaction( $action, $value = '' ) {
374
  if ( is_array( $func ) ) {
375
  $value = $func[0]->{$func[1]}( $value );
376
  } else {
377
- $value = $func( $value );
378
  }
379
  }
380
  }
@@ -395,22 +416,22 @@ function wp_cache_mobile_group( $user_agent ) {
395
  return "mobile";
396
  }
397
 
398
- // From http://wordpress.org/extend/plugins/wordpress-mobile-edition/ by Alex King
399
  function wp_cache_check_mobile( $cache_key ) {
400
  global $wp_cache_mobile_enabled, $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes;
401
  if ( !isset( $wp_cache_mobile_enabled ) || false == $wp_cache_mobile_enabled )
402
  return $cache_key;
403
 
404
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_check_mobile: $cache_key" );
405
 
406
  // allow plugins to short circuit mobile check. Cookie, extra UA checks?
407
  switch( do_cacheaction( 'wp_cache_check_mobile', $cache_key ) ) {
408
  case "normal":
409
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_check_mobile: desktop user agent detected by wp_cache_check_mobile action" );
410
  return $cache_key;
411
  break;
412
  case "mobile":
413
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_check_mobile: mobile user agent detected by wp_cache_check_mobile action" );
414
  return $cache_key . "-mobile";
415
  break;
416
  }
@@ -420,7 +441,7 @@ function wp_cache_check_mobile( $cache_key ) {
420
  }
421
 
422
  if ( do_cacheaction( 'disable_mobile_check', false ) ) {
423
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_check_mobile: disable_mobile_check disabled mobile check" );
424
  return $cache_key;
425
  }
426
 
@@ -428,11 +449,11 @@ function wp_cache_check_mobile( $cache_key ) {
428
  $user_agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
429
  foreach ($browsers as $browser) {
430
  if ( strstr( $user_agent, trim( strtolower( $browser ) ) ) ) {
431
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "mobile browser detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
432
  return $cache_key . '-' . wp_cache_mobile_group( $user_agent );
433
  }
434
  }
435
- if (isset($_SERVER['HTTP_X_WAP_PROFILE']) )
436
  return $cache_key . '-' . $_SERVER['HTTP_X_WAP_PROFILE'];
437
  if (isset($_SERVER['HTTP_PROFILE']) )
438
  return $cache_key . '-' . $_SERVER['HTTP_PROFILE'];
@@ -441,7 +462,7 @@ function wp_cache_check_mobile( $cache_key ) {
441
  $browsers = explode( ',', $wp_cache_mobile_prefixes );
442
  foreach ($browsers as $browser_prefix) {
443
  if ( substr($user_agent, 0, 4) == $browser_prefix ) {
444
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "mobile browser (prefix) detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
445
  return $cache_key . '-' . $browser_prefix;
446
  }
447
  }
@@ -458,21 +479,38 @@ function wp_cache_check_mobile( $cache_key ) {
458
  return $cache_key;
459
  }
460
 
 
 
 
 
 
 
461
  function wp_cache_debug( $message, $level = 1 ) {
462
  global $wp_cache_debug_log, $cache_path, $wp_cache_debug_ip, $wp_super_cache_debug;
463
 
464
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug == false )
 
 
465
  return false;
466
 
467
- if ( isset( $wp_cache_debug_log ) == false )
 
 
468
  return false;
469
 
470
- if ( isset( $wp_cache_debug_ip ) && $wp_cache_debug_ip != '' && $wp_cache_debug_ip != $_SERVER[ 'REMOTE_ADDR' ] )
 
 
 
 
471
  return false;
472
 
473
- if ( isset( $wp_cache_debug_log ) && $wp_cache_debug_log != '' ) {
474
- error_log( date( 'H:i:s' ) . " " . $_SERVER[ 'REQUEST_URI' ] . " " . $message . "\n", 3, $cache_path . str_replace( '/', '', str_replace( '..', '', $wp_cache_debug_log ) ) );
475
- }
 
 
 
476
  }
477
 
478
  function wp_cache_user_agent_is_rejected() {
@@ -516,15 +554,15 @@ function get_current_url_supercache_dir( $post_id = 0 ) {
516
  * Sometimes site_url doesn't return the siteurl. See http://wordpress.org/support/topic/wp-super-cache-not-refreshing-post-after-comments-made
517
  */
518
  $DONOTREMEMBER = 1;
519
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "get_current_url_supercache_dir: warning! site_url ($site_url) not found in permalink ($permalink).", 1 );
520
  if ( false === strpos( $permalink, $WPSC_HTTP_HOST ) ) {
521
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "get_current_url_supercache_dir: WARNING! SERVER_NAME ({$WPSC_HTTP_HOST}) not found in permalink ($permalink). ", 1 );
522
  $p = parse_url( $permalink );
523
  if ( is_array( $p ) ) {
524
  $uri = $p[ 'path' ];
525
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "get_current_url_supercache_dir: WARNING! Using $uri as permalink. Used parse_url.", 1 );
526
  } else {
527
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "get_current_url_supercache_dir: WARNING! Permalink ($permalink) could not be understood by parse_url. Using front page.", 1 );
528
  $uri = '';
529
  }
530
  } else {
@@ -532,7 +570,7 @@ function get_current_url_supercache_dir( $post_id = 0 ) {
532
  $protocol = ( 'on' == strtolower( $_SERVER[ 'HTTPS' ] ) ) ? 'https://' : 'http://';
533
  else
534
  $protocol = 'http://';
535
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "get_current_url_supercache_dir: Removing SERVER_NAME ({$WPSC_HTTP_HOST}) and $protocol from permalink ($permalink). Is the url right?", 1 );
536
  $uri = str_replace( $WPSC_HTTP_HOST, '', $permalink );
537
  $uri = str_replace( $protocol, '', $uri );
538
  }
@@ -557,7 +595,7 @@ function get_current_url_supercache_dir( $post_id = 0 ) {
557
  $dir = ABSPATH . $uri . '/';
558
  }
559
  $dir = str_replace( '//', '/', $dir );
560
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "supercache dir: $dir", 5 );
561
  if ( $DONOTREMEMBER == 0 )
562
  $saved_supercache_dir[ $post_id ] = $dir;
563
  return $dir;
@@ -570,7 +608,7 @@ function get_all_supercache_filenames( $dir = '' ) {
570
 
571
  if ( $dir != '' && isset( $wp_cache_mobile_enabled ) && $wp_cache_mobile_enabled ) {
572
  // open directory and look for index-*.html files
573
- if ( is_dir( $dir ) && $dh = opendir( $dir ) ) {
574
  while ( ( $file = readdir( $dh ) ) !== false ) {
575
  if ( substr( $file, 0, 6 ) == 'index-' && strpos( $file, '.html' ) )
576
  $filenames[] = $file;
@@ -638,7 +676,7 @@ function get_oc_key( $url = false ) {
638
 
639
  function wp_supercache_cache_for_admins() {
640
  if ( isset( $_GET[ 'preview' ] ) || function_exists( "is_admin" ) && is_admin() )
641
- return $cookies;
642
 
643
  if ( false == do_cacheaction( 'wp_supercache_remove_cookies', true ) )
644
  return true;
@@ -651,7 +689,7 @@ function wp_supercache_cache_for_admins() {
651
  reset( $cookie_keys );
652
  foreach( $cookie_keys as $key ) {
653
  if ( strpos( $cookie, $key ) !== FALSE ) {
654
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Removing auth from $_COOKIE to allow caching for logged in user (' . $cookie . ')', 5 );
655
  unset( $_COOKIE[ $cookie ] );
656
  }
657
  }
19
  $blog_cache_dir = $cache_path;
20
  }
21
 
22
+ $wp_cache_phase1_loaded = true;
23
+
24
  $mutex_filename = 'wp_cache_mutex.lock';
25
  $new_cache = false;
26
 
47
 
48
  do_cacheaction( 'cache_init' );
49
 
50
+ if (!$cache_enabled || $_SERVER["REQUEST_METHOD"] == 'POST')
51
  return true;
52
 
53
  $file_expired = false;
77
  if ( $wp_cache_object_cache ) {
78
  if ( ! include_once( WP_CONTENT_DIR . '/object-cache.php' ) )
79
  return;
80
+
81
  wp_cache_init(); // Note: wp-settings.php calls wp_cache_init() which clobbers the object made here.
82
+
83
  if ( ! is_object( $wp_object_cache ) )
84
  return;
85
  }
105
  }
106
 
107
  function wp_super_cache_init() {
108
+ global $wp_cache_key, $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $meta_pathname, $wp_cache_gzip_encoding, $meta;
109
 
110
  $wp_cache_key = get_wp_cache_key();
111
  $key = $blogcacheid . md5( $wp_cache_key );
119
  }
120
 
121
  function wp_cache_serve_cache_file() {
122
+ global $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $meta_pathname, $wp_cache_gzip_encoding, $meta;
123
  global $wp_cache_object_cache, $cache_compression, $wp_cache_slash_check, $wp_supercache_304, $wp_cache_home_path, $wp_cache_no_cache_for_get;
124
+ global $wp_cache_disable_utf8, $wp_cache_mfunc_enabled;
125
 
126
  extract( wp_super_cache_init() );
127
 
128
  if ( wp_cache_user_agent_is_rejected() ) {
129
+ wp_cache_debug( "No wp-cache file served as user agent rejected.", 5 );
130
  return false;
131
  }
132
 
133
  if ( $wp_cache_no_cache_for_get && false == empty( $_GET ) ) {
134
+ wp_cache_debug( "Non empty GET request. Caching disabled on settings page. " . serialize( $_GET ), 1 );
135
  return false;
136
  }
137
 
138
+ if ( $wp_cache_object_cache && wp_cache_get_cookies_values() == '' ) {
139
  if ( !empty( $_GET ) ) {
140
+ wp_cache_debug( "Non empty GET request. Not serving request from object cache. " . serialize( $_GET ), 1 );
141
  return false;
142
  }
143
 
150
  $cache = wp_cache_get( $oc_key, 'supercache' );
151
  $meta = unserialize( wp_cache_get( $meta_filename, 'supercache' ) );
152
  if ( is_array( $meta ) == false ) {
153
+ wp_cache_debug( "Meta array from object cache corrupt. Ignoring cache.", 1 );
154
  return true;
155
  }
156
  } elseif ( file_exists( $cache_file ) ) {
157
+ wp_cache_debug( "wp-cache file exists: $cache_file", 5 );
158
+ if ( !( $meta = unserialize( @file_get_contents( $meta_pathname) ) ) ) {
159
+ wp_cache_debug( "couldn't load wp-cache meta file", 5 );
160
  return true;
161
  }
162
  if ( is_array( $meta ) == false ) {
163
+ wp_cache_debug( "meta array corrupt, deleting $meta_pathname and $cache_file", 1 );
164
  @unlink( $meta_pathname );
165
  @unlink( $cache_file );
166
  return true;
169
  // last chance, check if a supercache file exists. Just in case .htaccess rules don't work on this host
170
  $filename = supercache_filename();
171
  $file = get_current_url_supercache_dir() . $filename;
172
+ if ( false == file_exists( $file ) ) {
173
+ wp_cache_debug( "No Super Cache file found for current URL: $file" );
174
+ return false;
175
+ } elseif ( false == empty( $_GET ) ) {
176
+ wp_cache_debug( "GET array not empty. Cannot serve a supercache file. " . serialize( $_GET ) );
177
+ return false;
178
+ } elseif ( wp_cache_get_cookies_values() != '' ) {
179
+ wp_cache_debug( "Cookies found. Cannot serve a supercache file. " . wp_cache_get_cookies_values() );
180
+ return false;
181
  }
182
+
183
+ if ( isset( $wp_cache_mfunc_enabled ) == false )
184
+ $wp_cache_mfunc_enabled = 0;
185
+
186
  if ( false == isset( $wp_cache_home_path ) )
187
  $wp_cache_home_path = '/';
188
+
189
+ // make sure ending slashes are ok
190
+ if ( $wp_cache_request_uri == $wp_cache_home_path || ( $wp_cache_slash_check && substr( $wp_cache_request_uri, -1 ) == '/' ) || ( $wp_cache_slash_check == 0 && substr( $wp_cache_request_uri, -1 ) != '/' ) ) {
191
+
192
+ if ( $wp_cache_mfunc_enabled == 0 ) {
193
+ // get data from file
194
+ if ( $wp_cache_gzip_encoding ) {
195
+ if ( file_exists( $file . '.gz' ) ) {
196
+ $cachefiledata = file_get_contents( $file . '.gz' );
197
+ wp_cache_debug( "Fetched gzip static page data from supercache file using PHP. File: $file.gz" );
198
+ } else {
199
+ $cachefiledata = gzencode( file_get_contents( $file ), 6, FORCE_GZIP );
200
+ wp_cache_debug( "Fetched static page data from supercache file using PHP and gzipped it. File: $file" );
201
+ }
202
+ } else {
203
+ $cachefiledata = file_get_contents( $file );
204
+ wp_cache_debug( "Fetched static page data from supercache file using PHP. File: $file" );
205
+ }
206
+ } else {
207
+ // get dynamic data from filtered file
208
+ $cachefiledata = do_cacheaction( 'wpsc_cachedata', file_get_contents( $file ) );
209
+ if ( $wp_cache_gzip_encoding ) {
210
+ $cachefiledata = gzencode( $cachefiledata, 6, FORCE_GZIP );
211
+ wp_cache_debug( "Fetched dynamic page data from supercache file using PHP and gzipped it. File: $file" );
212
+ } else {
213
+ wp_cache_debug( "Fetched dynamic page data from supercache file using PHP. File: $file" );
214
+ }
215
+ }
216
+
217
  if ( isset( $wp_cache_disable_utf8 ) == false || $wp_cache_disable_utf8 == 0 )
218
+ header( "Content-type: text/html; charset=UTF-8" );
219
+
220
  header( "Vary: Accept-Encoding, Cookie" );
221
  header( "Cache-Control: max-age=3, must-revalidate" );
222
  header( "WP-Super-Cache: Served supercache file from PHP" );
223
+ $size = function_exists( 'mb_strlen' ) ? mb_strlen( $cachefiledata, '8bit' ) : strlen( $cachefiledata );
224
+ if ( $wp_cache_gzip_encoding ) {
225
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
226
+ header( 'Content-Length: ' . $size );
227
+ } elseif ( $wp_supercache_304 ) {
228
+ header( 'Content-Length: ' . $size );
229
  }
230
 
231
+ // don't try to match modified dates if using dynamic code.
232
+ if ( $wp_cache_mfunc_enabled == 0 && $wp_supercache_304 ) {
233
  if ( function_exists( 'apache_request_headers' ) ) {
234
  $request = apache_request_headers();
235
  $remote_mod_time = $request[ 'If-Modified-Since' ];
236
  } else {
237
+ if ( isset( $_SERVER[ 'HTTP_IF_MODIFIED_SINCE' ] ) )
238
+ $remote_mod_time = $_SERVER[ 'HTTP_IF_MODIFIED_SINCE' ];
239
+ else
240
+ $remote_mod_time = 0;
241
  }
242
  $local_mod_time = gmdate("D, d M Y H:i:s",filemtime( $file )).' GMT';
243
+ if ( $remote_mod_time != 0 && $remote_mod_time == $local_mod_time ) {
244
  header("HTTP/1.0 304 Not Modified");
245
  exit();
246
  }
247
  header( 'Last-Modified: ' . $local_mod_time );
248
  }
249
+ echo $cachefiledata;
250
+ exit();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  } else {
252
+ wp_cache_debug( "No wp-cache file exists. Must generate a new one." );
253
  return false;
254
  }
255
  }
256
+
257
  $cache_file = do_cacheaction( 'wp_cache_served_cache_file', $cache_file );
258
  // Sometimes the gzip headers are lost. Make sure html returned isn't compressed!
259
  if ( $cache_compression && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $meta[ 'headers' ] ) ) {
260
  $ungzip = true;
261
+ wp_cache_debug( "GZIP headers not found. Force uncompressed output.", 1 );
262
  } else {
263
  $ungzip = false;
264
  }
265
  foreach ($meta[ 'headers' ] as $t => $header) {
266
  // godaddy fix, via http://blog.gneu.org/2008/05/wp-supercache-on-godaddy/ and http://www.littleredrails.com/blog/2007/09/08/using-wp-cache-on-godaddy-500-error/
267
+ if( strpos( $header, 'Last-Modified:' ) === false )
268
  header($header);
269
  }
270
  header( 'WP-Super-Cache: Served legacy cache file' );
271
+ if ( $wp_cache_object_cache ) {
272
  if ( $cache ) {
273
  if ( $ungzip ) {
274
+ // attempt to uncompress the cached file just in case it's gzipped
275
  $uncompressed = gzuncompress( $cache );
276
  if ( $uncompressed ) {
277
+ wp_cache_debug( "Uncompressed gzipped cache file from object cache", 1 );
278
  $cache = $uncompressed;
279
  unset( $uncompressed );
280
  }
281
  }
282
  if ( isset( $meta[ 'dynamic' ] ) && $meta[ 'dynamic' ] ) {
283
+ wp_cache_debug( "Serving wp-cache dynamic file from object cache", 5 );
284
+ echo do_cacheaction( 'wpsc_cachedata', $cache );
285
  } else {
286
+ wp_cache_debug( "Serving wp-cache static file from object cache", 5 );
287
  echo $cache;
288
  }
289
+ wp_cache_debug( "exit request", 5 );
290
  die();
291
  }
292
  } else {
293
  if ( isset( $meta[ 'dynamic' ] ) ) {
294
+ wp_cache_debug( "Serving wp-cache dynamic file", 5 );
295
  if ( $ungzip ) {
296
+ // attempt to uncompress the cached file just in case it's gzipped
297
  $cache = file_get_contents( $cache_file );
298
  $uncompressed = @gzuncompress( $cache );
299
  if ( $uncompressed ) {
300
+ wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
301
  unset( $cache );
302
+ echo do_cacheaction( 'wpsc_cachedata', $uncompressed );
303
  } else {
304
+ echo do_cacheaction( 'wpsc_cachedata', $cache );
305
  }
306
  } else {
307
+ echo do_cacheaction( 'wpsc_cachedata', file_get_contents( $cache_file ) );
308
  }
309
  } else {
310
+ wp_cache_debug( "Serving wp-cache static file", 5 );
311
  if ( $ungzip ) {
312
  $cache = file_get_contents( $cache_file );
313
  $uncompressed = gzuncompress( $cache );
314
  if ( $uncompressed ) {
315
+ wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
316
  echo $uncompressed;
317
  } else {
318
  echo $cache;
321
  readfile( $cache_file );
322
  }
323
  }
324
+ wp_cache_debug( "exit request", 5 );
325
  die();
326
  }
327
  }
336
  }
337
 
338
  function wp_cache_postload() {
339
+ global $cache_enabled, $wp_super_cache_late_init;
340
 
341
+ if ( !$cache_enabled )
342
  return true;
343
 
344
  if ( isset( $wp_super_cache_late_init ) && true == $wp_super_cache_late_init ) {
345
+ wp_cache_debug( "Supercache Late Init: add wp_cache_serve_cache_file to init", 3 );
346
  add_action( 'init', 'wp_cache_late_loader', 9999 );
347
  } else {
348
  wp_super_cache_init();
351
  }
352
 
353
  function wp_cache_late_loader() {
354
+ wp_cache_debug( "Supercache Late Loader running on init", 3 );
 
355
  wp_cache_serve_cache_file();
356
  wp_cache_phase2();
357
  }
366
  $regex .= "/";
367
  while ($key = key($_COOKIE)) {
368
  if ( preg_match( $regex, $key ) ) {
369
+ wp_cache_debug( "wp_cache_get_cookies_values: $regex Cookie detected: $key", 5 );
370
  $string .= $_COOKIE[ $key ] . ",";
371
  }
372
  next($_COOKIE);
395
  if ( is_array( $func ) ) {
396
  $value = $func[0]->{$func[1]}( $value );
397
  } else {
398
+ $value = $func( $value );
399
  }
400
  }
401
  }
416
  return "mobile";
417
  }
418
 
419
+ // From http://wordpress.org/plugins/wordpress-mobile-edition/ by Alex King
420
  function wp_cache_check_mobile( $cache_key ) {
421
  global $wp_cache_mobile_enabled, $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes;
422
  if ( !isset( $wp_cache_mobile_enabled ) || false == $wp_cache_mobile_enabled )
423
  return $cache_key;
424
 
425
+ wp_cache_debug( "wp_cache_check_mobile: $cache_key" );
426
 
427
  // allow plugins to short circuit mobile check. Cookie, extra UA checks?
428
  switch( do_cacheaction( 'wp_cache_check_mobile', $cache_key ) ) {
429
  case "normal":
430
+ wp_cache_debug( "wp_cache_check_mobile: desktop user agent detected by wp_cache_check_mobile action" );
431
  return $cache_key;
432
  break;
433
  case "mobile":
434
+ wp_cache_debug( "wp_cache_check_mobile: mobile user agent detected by wp_cache_check_mobile action" );
435
  return $cache_key . "-mobile";
436
  break;
437
  }
441
  }
442
 
443
  if ( do_cacheaction( 'disable_mobile_check', false ) ) {
444
+ wp_cache_debug( "wp_cache_check_mobile: disable_mobile_check disabled mobile check" );
445
  return $cache_key;
446
  }
447
 
449
  $user_agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
450
  foreach ($browsers as $browser) {
451
  if ( strstr( $user_agent, trim( strtolower( $browser ) ) ) ) {
452
+ wp_cache_debug( "mobile browser detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
453
  return $cache_key . '-' . wp_cache_mobile_group( $user_agent );
454
  }
455
  }
456
+ if (isset($_SERVER['HTTP_X_WAP_PROFILE']) )
457
  return $cache_key . '-' . $_SERVER['HTTP_X_WAP_PROFILE'];
458
  if (isset($_SERVER['HTTP_PROFILE']) )
459
  return $cache_key . '-' . $_SERVER['HTTP_PROFILE'];
462
  $browsers = explode( ',', $wp_cache_mobile_prefixes );
463
  foreach ($browsers as $browser_prefix) {
464
  if ( substr($user_agent, 0, 4) == $browser_prefix ) {
465
+ wp_cache_debug( "mobile browser (prefix) detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
466
  return $cache_key . '-' . $browser_prefix;
467
  }
468
  }
479
  return $cache_key;
480
  }
481
 
482
+ /**
483
+ * Add a log message to the file, if debugging is turned on
484
+ *
485
+ * @param $message string The message that should be added to the log
486
+ * @param $level int
487
+ */
488
  function wp_cache_debug( $message, $level = 1 ) {
489
  global $wp_cache_debug_log, $cache_path, $wp_cache_debug_ip, $wp_super_cache_debug;
490
 
491
+ // If either of the debug or log globals aren't set, then we can stop
492
+ if ( !isset($wp_super_cache_debug)
493
+ || !isset($wp_cache_debug_log) )
494
  return false;
495
 
496
+ // If either the debug or log globals are false or empty, we can stop
497
+ if ( $wp_super_cache_debug == false
498
+ || $wp_cache_debug_log == '' )
499
  return false;
500
 
501
+ // If the debug_ip has been set, but it doesn't match the ip of the requester
502
+ // then we can stop.
503
+ if ( isset($wp_cache_debug_ip)
504
+ && $wp_cache_debug_ip != ''
505
+ && $wp_cache_debug_ip != $_SERVER[ 'REMOTE_ADDR' ] )
506
  return false;
507
 
508
+ // Log message: Date URI Message
509
+ $log_messase = date('H:i:s') . " {$_SERVER['REQUEST_URI']} {$message}\n\r";
510
+ // path to the log file in the cache folder
511
+ $log_file = $cache_path . str_replace('/', '', str_replace('..', '', $wp_cache_debug_log));
512
+
513
+ error_log( $message, 3, $log_file );
514
  }
515
 
516
  function wp_cache_user_agent_is_rejected() {
554
  * Sometimes site_url doesn't return the siteurl. See http://wordpress.org/support/topic/wp-super-cache-not-refreshing-post-after-comments-made
555
  */
556
  $DONOTREMEMBER = 1;
557
+ wp_cache_debug( "get_current_url_supercache_dir: warning! site_url ($site_url) not found in permalink ($permalink).", 1 );
558
  if ( false === strpos( $permalink, $WPSC_HTTP_HOST ) ) {
559
+ wp_cache_debug( "get_current_url_supercache_dir: WARNING! SERVER_NAME ({$WPSC_HTTP_HOST}) not found in permalink ($permalink). ", 1 );
560
  $p = parse_url( $permalink );
561
  if ( is_array( $p ) ) {
562
  $uri = $p[ 'path' ];
563
+ wp_cache_debug( "get_current_url_supercache_dir: WARNING! Using $uri as permalink. Used parse_url.", 1 );
564
  } else {
565
+ wp_cache_debug( "get_current_url_supercache_dir: WARNING! Permalink ($permalink) could not be understood by parse_url. Using front page.", 1 );
566
  $uri = '';
567
  }
568
  } else {
570
  $protocol = ( 'on' == strtolower( $_SERVER[ 'HTTPS' ] ) ) ? 'https://' : 'http://';
571
  else
572
  $protocol = 'http://';
573
+ wp_cache_debug( "get_current_url_supercache_dir: Removing SERVER_NAME ({$WPSC_HTTP_HOST}) and $protocol from permalink ($permalink). Is the url right?", 1 );
574
  $uri = str_replace( $WPSC_HTTP_HOST, '', $permalink );
575
  $uri = str_replace( $protocol, '', $uri );
576
  }
595
  $dir = ABSPATH . $uri . '/';
596
  }
597
  $dir = str_replace( '//', '/', $dir );
598
+ wp_cache_debug( "supercache dir: $dir", 5 );
599
  if ( $DONOTREMEMBER == 0 )
600
  $saved_supercache_dir[ $post_id ] = $dir;
601
  return $dir;
608
 
609
  if ( $dir != '' && isset( $wp_cache_mobile_enabled ) && $wp_cache_mobile_enabled ) {
610
  // open directory and look for index-*.html files
611
+ if ( is_dir( $dir ) && $dh = @opendir( $dir ) ) {
612
  while ( ( $file = readdir( $dh ) ) !== false ) {
613
  if ( substr( $file, 0, 6 ) == 'index-' && strpos( $file, '.html' ) )
614
  $filenames[] = $file;
676
 
677
  function wp_supercache_cache_for_admins() {
678
  if ( isset( $_GET[ 'preview' ] ) || function_exists( "is_admin" ) && is_admin() )
679
+ return true;
680
 
681
  if ( false == do_cacheaction( 'wp_supercache_remove_cookies', true ) )
682
  return true;
689
  reset( $cookie_keys );
690
  foreach( $cookie_keys as $key ) {
691
  if ( strpos( $cookie, $key ) !== FALSE ) {
692
+ wp_cache_debug( 'Removing auth from $_COOKIE to allow caching for logged in user (' . $cookie . ')', 5 );
693
  unset( $_COOKIE[ $cookie ] );
694
  }
695
  }
wp-cache-phase2.php CHANGED
@@ -2,22 +2,22 @@
2
 
3
  function wp_cache_phase2() {
4
  global $cache_filename, $cache_acceptable_files, $wp_cache_gzip_encoding, $super_cache_enabled, $cache_rebuild_files, $wp_cache_last_gc;
5
- global $cache_max_time, $wp_cache_request_uri, $super_cache_enabled, $wp_cache_object_cache, $cache_time_interval, $wp_cache_no_cache_for_get;
6
  global $cache_enabled, $wp_cache_gmt_offset, $wp_cache_blog_charset, $cache_schedule_type, $cache_scheduled_time, $cache_schedule_interval;
7
 
8
  if ( $cache_enabled == false ) {
9
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Caching disabled! quiting!", 1 );
10
  return false;
11
  }
12
 
13
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'In WP Cache Phase 2', 5 );
14
 
15
  $wp_cache_gmt_offset = get_option( 'gmt_offset' ); // caching for later use when wpdb is gone. http://wordpress.org/support/topic/224349
16
  $wp_cache_blog_charset = get_option( 'blog_charset' );
17
 
18
  wp_cache_mutex_init();
19
  if(function_exists('add_action') && ( !defined( 'WPLOCKDOWN' ) || ( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) == '0' ) ) ) {
20
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Setting up WordPress actions', 5 );
21
 
22
  add_action( 'template_redirect', 'wp_super_cache_query_vars' );
23
 
@@ -41,55 +41,27 @@ function wp_cache_phase2() {
41
  add_action( 'clean_post_cache', 'wp_cache_post_edit' );
42
  add_filter( 'supercache_filename_str', 'wp_cache_check_mobile' );
43
  add_action( 'wp_cache_gc_watcher', 'wp_cache_gc_watcher' );
 
44
 
45
  do_cacheaction( 'add_cacheaction' );
46
  }
47
 
48
- if ( $wp_cache_no_cache_for_get && false == empty( $_GET ) && false == defined( 'DOING_CRON' ) ) {
49
- if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Non empty GET request. Caching disabled on settings page. " . print_r( $_GET, 1 ), 1 );
50
- return false;
51
- }
52
-
53
  if ( is_admin() ) {
54
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching wp-admin requests.', 5 );
55
- return false;
56
- }
57
-
58
- if ( $_SERVER["REQUEST_METHOD"] == 'POST' || !empty( $_POST ) || get_option( 'gzipcompression' ) ) {
59
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching POST request.', 5 );
60
- return false;
61
- }
62
-
63
- if ( $wp_cache_object_cache && !empty( $_GET ) ) {
64
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching GET request while object cache storage enabled.', 5 );
65
- return false;
66
- }
67
-
68
- if ( isset( $_GET[ 'preview' ] ) ) {
69
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching preview post.', 2 );
70
  return false;
71
  }
72
 
73
  if ( !empty( $_GET ) ) {
74
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Supercache caching disabled. Only using wp-cache. Non empty GET request. ' . print_r( $_GET, 1 ), 5 );
75
  $super_cache_enabled = false;
76
  }
77
 
78
- $script = basename($_SERVER['PHP_SELF']);
79
- if (!in_array($script, $cache_acceptable_files) && wp_cache_is_rejected($wp_cache_request_uri)) {
80
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'URI rejected. Not Caching', 2 );
81
- return false;
82
- }
83
- if (wp_cache_user_agent_is_rejected()) {
84
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "USER AGENT ({$_SERVER[ 'HTTP_USER_AGENT' ]}) rejected. Not Caching", 4 );
85
- return;
86
- }
87
  if($wp_cache_gzip_encoding)
88
  header('Vary: Accept-Encoding, Cookie');
89
  else
90
  header('Vary: Cookie');
91
  ob_start( 'wp_cache_ob_callback' );
92
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Created output buffer', 4 );
93
 
94
  // restore old supercache file temporarily
95
  if( $super_cache_enabled && $cache_rebuild_files ) {
@@ -111,12 +83,12 @@ function wpcache_do_rebuild( $dir ) {
111
  continue;
112
  $mtime = @filemtime($cache_file . '.needs-rebuild');
113
  if( $mtime && (time() - $mtime) < 30 ) {
114
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Rebuild file renamed to cache file temporarily: $cache_file", 3 );
115
  @rename( $cache_file . '.needs-rebuild', $cache_file );
116
  }
117
  // cleanup old files or if rename fails
118
  if( @file_exists( $cache_file . '.needs-rebuild' ) ) {
119
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Rebuild file deleted: {$cache_file}.needs-rebuild", 3 );
120
  @unlink( $cache_file . '.needs-rebuild' );
121
  }
122
  }
@@ -192,10 +164,10 @@ function wp_cache_mutex_init() {
192
  $mutex = false;
193
  if ($use_flock ) {
194
  setup_blog_cache_dir();
195
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Created mutex lock on filename: {$blog_cache_dir}{$mutex_filename}", 5 );
196
  $mutex = @fopen( $blog_cache_dir . $mutex_filename, 'w' );
197
  } else {
198
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Created mutex lock on semaphore: {$sem_id}", 5 );
199
  $mutex = @sem_get( $sem_id, 1, 0644 | IPC_CREAT, 1 );
200
  }
201
  }
@@ -207,15 +179,15 @@ function wp_cache_writers_entry() {
207
  return true;
208
 
209
  if( !$mutex ) {
210
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "(writers entry) mutex lock not created. not caching.", 2 );
211
  return false;
212
  }
213
 
214
  if ( $use_flock ) {
215
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "grabbing lock using flock()", 5 );
216
  flock($mutex, LOCK_EX);
217
  } else {
218
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "grabbing lock using sem_acquire()", 5 );
219
  sem_acquire($mutex);
220
  }
221
 
@@ -229,15 +201,15 @@ function wp_cache_writers_exit() {
229
  return true;
230
 
231
  if( !$mutex ) {
232
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "(writers exit) mutex lock not created. not caching.", 2 );
233
  return false;
234
  }
235
 
236
  if ( $use_flock ) {
237
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "releasing lock using flock()", 5 );
238
  flock($mutex, LOCK_UN);
239
  } else {
240
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "releasing lock using sem_release()", 5 );
241
  sem_release($mutex);
242
  }
243
  }
@@ -267,53 +239,79 @@ function wp_super_cache_query_vars() {
267
  }
268
 
269
  function wp_cache_ob_callback( $buffer ) {
270
- global $wp_cache_pages, $wp_query, $wp_super_cache_query;
271
  $buffer = apply_filters( 'wp_cache_ob_callback_filter', $buffer );
272
- if( defined( 'DONOTCACHEPAGE' ) ) {
273
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'DONOTCACHEPAGE defined. Caching disabled.', 2 );
274
- return $buffer;
275
- }
276
 
277
- if ( isset( $wp_cache_pages[ 'single' ] ) && $wp_cache_pages[ 'single' ] == 1 && isset( $wp_super_cache_query[ 'is_single' ] ) ) {
278
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching single post.', 2 );
279
- return $buffer;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  } elseif ( isset( $wp_cache_pages[ 'pages' ] ) && $wp_cache_pages[ 'pages' ] == 1 && isset( $wp_super_cache_query[ 'is_page' ] ) ) {
281
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching single page.', 2 );
282
- return $buffer;
283
  } elseif ( isset( $wp_cache_pages[ 'archives' ] ) && $wp_cache_pages[ 'archives' ] == 1 && isset( $wp_super_cache_query[ 'is_archive' ] ) ) {
284
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching archive page.', 2 );
285
- return $buffer;
286
  } elseif ( isset( $wp_cache_pages[ 'tag' ] ) && $wp_cache_pages[ 'tag' ] == 1 && isset( $wp_super_cache_query[ 'is_tag' ] ) ) {
287
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching tag page.', 2 );
288
- return $buffer;
289
  } elseif ( isset( $wp_cache_pages[ 'category' ] ) && $wp_cache_pages[ 'category' ] == 1 && isset( $wp_super_cache_query[ 'is_category' ] ) ) {
290
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching category page.', 2 );
291
- return $buffer;
292
  } elseif ( isset( $wp_cache_pages[ 'frontpage' ] ) && $wp_cache_pages[ 'frontpage' ] == 1 && isset( $wp_super_cache_query[ 'is_front_page' ] ) ) {
293
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching front page.', 2 );
294
- return $buffer;
295
  } elseif ( isset( $wp_cache_pages[ 'home' ] ) && $wp_cache_pages[ 'home' ] == 1 && isset( $wp_super_cache_query[ 'is_home' ] ) ) {
296
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching home page.', 2 );
297
- return $buffer;
298
  } elseif ( isset( $wp_cache_pages[ 'search' ] ) && $wp_cache_pages[ 'search' ] == 1 && isset( $wp_super_cache_query[ 'is_search' ] ) ) {
299
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching search page.', 2 );
300
- return $buffer;
301
  } elseif ( isset( $wp_cache_pages[ 'author' ] ) && $wp_cache_pages[ 'author' ] == 1 && isset( $wp_super_cache_query[ 'is_author' ] ) ) {
302
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching author page.', 2 );
303
- return $buffer;
304
  } elseif ( isset( $wp_cache_pages[ 'feed' ] ) && $wp_cache_pages[ 'feed' ] == 1 && isset( $wp_super_cache_query[ 'is_feed' ] ) ) {
305
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching feed.', 2 );
306
- return $buffer;
307
  }
308
 
309
  if ( !isset( $wp_query ) )
310
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'wp_cache_ob_callback: WARNING! $query not defined but the plugin has worked around that problem.', 4 );
 
 
311
 
312
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Output buffer callback', 4 );
313
 
314
- $buffer = &wp_cache_get_ob( $buffer );
315
- wp_cache_shutdown_callback();
316
- return $buffer;
 
 
 
317
  }
318
 
319
  function wp_cache_append_tag( &$buffer ) {
@@ -346,6 +344,21 @@ function wp_cache_add_to_buffer( &$buffer, $text ) {
346
  $buffer .= "\n<!-- $text -->";
347
  }
348
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
  function wp_cache_get_ob(&$buffer) {
350
  global $cache_enabled, $cache_path, $cache_filename, $meta_file, $wp_start_time, $supercachedir;
351
  global $new_cache, $wp_cache_meta, $file_expired, $blog_id, $cache_compression;
@@ -355,6 +368,9 @@ function wp_cache_get_ob(&$buffer) {
355
  global $wp_cache_not_logged_in, $wp_cache_object_cache, $cache_max_time;
356
  global $wp_cache_is_home, $wp_cache_front_page_checks, $wp_cache_mfunc_enabled;
357
 
 
 
 
358
  $new_cache = true;
359
  $wp_cache_meta = '';
360
 
@@ -384,12 +400,12 @@ function wp_cache_get_ob(&$buffer) {
384
  wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. No closing HTML tag. Check your theme." );
385
  }
386
  } else {
387
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "robots.txt detected. Not caching.", 2 );
388
  }
389
  }
390
 
391
  if( !$new_cache )
392
- return $buffer;
393
 
394
  $duration = wp_cache_microtime_diff($wp_start_time, microtime());
395
  $duration = sprintf("%0.3f", $duration);
@@ -397,12 +413,12 @@ function wp_cache_get_ob(&$buffer) {
397
 
398
  if( !wp_cache_writers_entry() ) {
399
  wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. Could not get mutex lock." );
400
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Could not get mutex lock. Not caching.", 1 );
401
- return $buffer;
402
  }
403
 
404
  if ( $wp_cache_not_logged_in && is_feed() ) {
405
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Feed detected. Writing legacy cache files.", 5 );
406
  $wp_cache_not_logged_in = false;
407
  }
408
 
@@ -411,7 +427,7 @@ function wp_cache_get_ob(&$buffer) {
411
  $dir = get_current_url_supercache_dir();
412
  $supercachedir = $cache_path . 'supercache/' . preg_replace('/:.*$/', '', $home_url[ 'host' ]);
413
  if( !empty( $_GET ) || is_feed() || ( $super_cache_enabled == true && is_dir( substr( $supercachedir, 0, -1 ) . '.disabled' ) ) ) {
414
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Supercache disabled: GET or feed detected or disabled by config.", 2 );
415
  $super_cache_enabled = false;
416
  }
417
 
@@ -420,7 +436,7 @@ function wp_cache_get_ob(&$buffer) {
420
  $supercacheonly = false;
421
  if( $super_cache_enabled ) {
422
  if ( wp_cache_get_cookies_values() == '' && empty( $_GET ) ) {
423
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Anonymous user detected. Only creating Supercache file.", 3 );
424
  $supercacheonly = true;
425
  }
426
  }
@@ -430,7 +446,7 @@ function wp_cache_get_ob(&$buffer) {
430
  $super_cache_enabled = false;
431
  $cache_enabled = false;
432
  $cache_error = 'Not caching requests by known users. (See Advanced Settings page)';
433
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching for known user.', 5 );
434
  }
435
 
436
  if ( $wp_cache_object_cache ) { // half on mode when using the object cache
@@ -444,10 +460,16 @@ function wp_cache_get_ob(&$buffer) {
444
  }
445
 
446
  if ( !$cache_enabled ) {
447
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Cache is not enabled. Sending buffer to browser.', 5 );
448
  wp_cache_writers_exit();
449
  wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. Check your settings page. $cache_error" );
450
- return $buffer;
 
 
 
 
 
 
451
  }
452
 
453
  if( @is_dir( $dir ) == false )
@@ -455,42 +477,42 @@ function wp_cache_get_ob(&$buffer) {
455
 
456
  $fr = $fr2 = $gz = false;
457
  // Open wp-cache cache file
458
- if ( !$supercacheonly ) {
459
- if ( false == $wp_cache_object_cache ) {
460
  $fr = @fopen($tmp_wpcache_filename, 'w');
461
  if (!$fr) {
462
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename, 1 );
463
  wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename );
464
  wp_cache_writers_exit();
465
- return $buffer;
466
  }
467
- }
468
- } else {
469
- $user_info = wp_cache_get_cookies_values();
470
- $do_cache = apply_filters( 'do_createsupercache', $user_info );
471
- if ( $super_cache_enabled && ( $user_info == '' || $do_cache === true ) ) {
472
-
473
- $cache_fname = $dir . supercache_filename();
474
- $tmp_cache_filename = $dir . uniqid( mt_rand(), true ) . '.tmp';
475
- $fr2 = @fopen( $tmp_cache_filename, 'w' );
476
- if ( !$fr2 ) {
477
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ), 1 );
478
- wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) );
479
- @fclose( $fr );
480
- @unlink( $tmp_wpcache_filename );
481
- wp_cache_writers_exit();
482
- return $buffer;
483
- } elseif ( $cache_compression ) {
484
- $gz = @fopen( $tmp_cache_filename . ".gz", 'w');
485
- if (!$gz) {
486
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz", 1 );
487
- wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz" );
488
  @fclose( $fr );
489
  @unlink( $tmp_wpcache_filename );
490
- @fclose( $fr2 );
491
- @unlink( $tmp_cache_filename );
492
  wp_cache_writers_exit();
493
- return $buffer;
 
 
 
 
 
 
 
 
 
 
 
 
494
  }
495
  }
496
  }
@@ -498,117 +520,89 @@ function wp_cache_get_ob(&$buffer) {
498
 
499
  $added_cache = 0;
500
  $oc_key = get_oc_key();
501
- if ( preg_match( '/<!--mclude|<!--mfunc|<!--dynamic-cached-content-->/', $buffer ) ) { //Dynamic content
502
- if ( !isset( $wp_cache_mfunc_enabled ) || $wp_cache_mfunc_enabled == 0 ) {
503
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Dynamic content found in buffer but dynamic caching disabled on settings page.", 4 );
504
- wp_cache_add_to_buffer( $buffer, 'Super Cache dynamic page detected but dynamic caching disabled on the settings page.' );
505
- $buffer = preg_replace( '#(<!--\s*(mclude|mfunc|dynamic-cached-content).*<!-+\s*/\s*(mfunc|mclude|dynamic-cached-content)\s*-+>)#ism','', $buffer );
506
- $store = $buffer;
507
- /* Clean function calls in tag */
508
- $store = apply_filters( 'wpsupercache_buffer', $store );
509
- } else {
510
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Dynamic content found in buffer.", 4 );
511
- $store = preg_replace('|<!--mclude (.*?)-->(.*?)<!--/mclude-->|is',
512
- "<!--mclude-->\n<?php include_once('" . ABSPATH . "$1'); ?>\n<!--/mclude-->", $buffer);
513
- $store = preg_replace('|<!--mfunc (.*?)-->(.*?)<!--/mfunc-->|is',
514
- "<!--mfunc-->\n<?php $1 ;?>\n<!--/mfunc-->", $store);
515
- $store = preg_replace('|<!--dynamic-cached-content-->(.*?)<!--(.*?)--><!--/dynamic-cached-content-->|is',
516
- "<!--dynamic-cached-content-->\n<?php$2?>\n<!--/dynamic-cached-content-->", $store);
517
- $wp_cache_meta[ 'dynamic' ] = true;
518
- /* Clean function calls in tag */
519
- $buffer = preg_replace('|<!--mclude (.*?)-->|is', '<!--mclude-->', $buffer);
520
- $buffer = preg_replace('|<!--mfunc (.*?)-->|is', '<!--mfunc-->', $buffer);
521
- $buffer = preg_replace('|<!--dynamic-cached-content-->(.*?)<!--(.*?)--><!--/dynamic-cached-content-->|is',
522
- "<!--dynamic-cached-content-->$1<!--/dynamic-cached-content-->", $buffer);
523
- $store = apply_filters( 'wpsupercache_buffer', $store );
524
  }
525
- // Append WP Super Cache or Live page comment tag
526
- wp_cache_append_tag($buffer);
527
- wp_cache_append_tag($store);
528
  global $wp_super_cache_late_init;
529
  if ( false == isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init ) && $wp_super_cache_late_init == 0 ) )
530
- wp_cache_add_to_buffer( $buffer, 'Super Cache dynamic page detected but $wp_super_cache_late_init not set. See the readme.txt for further details.' );
531
-
532
- if ( false == $wp_cache_object_cache ) {
533
- if( $fr ) { // legacy caching
534
- fputs($fr, $store);
535
- } elseif ( isset( $fr2 ) ) { // supercache active
536
- $php_fname = "{$dir}" . supercache_filename() . ".php";
537
- $tmp_php_filename = $dir . uniqid( mt_rand(), true ) . '.tmp';
538
- $php_fd = @fopen( $tmp_php_filename, 'w' );
539
- if ( !$php_fd ) {
540
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_php_filename ), 1 );
541
- wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache couldn't write to: " . str_replace( ABSPATH, '', $tmp_php_filename ) );
542
- @fclose( $php_fd );
543
- @unlink( $tmp_php_filename );
544
- wp_cache_writers_exit();
545
- return $buffer;
546
- }
547
- fputs( $php_fd, $store );
548
- }
549
- } else {
550
- wp_cache_set( $oc_key, $store, 'supercache', $cache_max_time );
551
  }
 
 
 
 
552
  if ( $cache_compression && $wp_cache_gzip_encoding ) {
553
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Gzipping dynamic buffer.", 5 );
554
  wp_cache_add_to_buffer( $buffer, "Compression = gzip" );
555
  $gzdata = gzencode( $buffer, 6, FORCE_GZIP );
556
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
557
  }
558
  } else {
559
- $buffer = apply_filters( 'wpsupercache_buffer', $buffer );
560
- // Append WP Super Cache or Live page comment tag
561
- wp_cache_append_tag($buffer);
562
- if( $gz || $wp_cache_gzip_encoding ) {
563
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Gzipping buffer.", 5 );
564
  wp_cache_add_to_buffer( $buffer, "Compression = gzip" );
565
  $gzdata = gzencode( $buffer, 6, FORCE_GZIP );
566
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
567
- }
568
- if ($wp_cache_gzip_encoding) {
569
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
570
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
571
  // Return uncompressed data & store compressed for later use
572
- if ( false == $wp_cache_object_cache ) {
573
- if( $fr ) {
574
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing gzipped buffer to wp-cache cache file.", 5 );
575
- fputs($fr, $gzdata);
576
- }
577
- } elseif ( $cache_enabled ) {
578
  wp_cache_set( $oc_key . ".gz", $gzdata, 'supercache', $cache_max_time );
579
  $added_cache = 1;
580
  }
581
  } else { // no compression
582
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Cookie';
583
- if ( false == $wp_cache_object_cache ) {
584
- if( $fr ) {
585
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing non-gzipped buffer to wp-cache cache file.", 5 );
586
- fputs($fr, $buffer);
587
- }
588
- } elseif ( $cache_enabled ) {
589
  wp_cache_set( $oc_key, $buffer, 'supercache', $cache_max_time );
590
  $added_cache = 1;
 
 
 
591
  }
592
  }
593
- if ( false == $wp_cache_object_cache ) {
594
- if( $fr2 ) {
595
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing non-gzipped buffer to supercache file.", 5 );
596
- wp_cache_add_to_buffer( $buffer, "super cache" );
597
- fputs($fr2, $buffer );
598
- }
599
- if( $gz ) {
600
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing gzipped buffer to supercache file.", 5 );
601
- fwrite($gz, $gzdata );
602
- }
603
  }
604
  }
 
605
  $new_cache = true;
606
  if ( false == $wp_cache_object_cache ) {
607
  if( $fr ) {
608
  $supercacheonly = false;
609
  fclose($fr);
610
  if ( filesize( $tmp_wpcache_filename ) == 0 ) {
611
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file $tmp_wpcache_filename was empty. Did not rename to {$blog_cache_dir}{$cache_filename}", 5 );
612
  @unlink( $tmp_wpcache_filename );
613
  } else {
614
  if ( !@rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename ) ) {
@@ -617,7 +611,7 @@ function wp_cache_get_ob(&$buffer) {
617
  @unlink( $blog_cache_dir . $cache_filename );
618
  @rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename );
619
  }
620
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp wp-cache file to {$blog_cache_dir}$cache_filename", 5 );
621
  $added_cache = 1;
622
  }
623
  }
@@ -625,49 +619,31 @@ function wp_cache_get_ob(&$buffer) {
625
  fclose($fr2);
626
  if ( $wp_cache_front_page_checks && $cache_fname == $supercachedir . $home_url[ 'path' ] . supercache_filename() && !( $wp_cache_is_home ) ) {
627
  wp_cache_writers_exit();
628
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! Not writing another page to front page cache.", 1 );
629
  return $buffer;
630
  } elseif ( filesize( $tmp_cache_filename ) == 0 ) {
631
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file $tmp_cache_filename was empty. Did not rename to {$cache_fname}", 5 );
632
  @unlink( $tmp_cache_filename );
633
  } else {
634
  if ( !@rename( $tmp_cache_filename, $cache_fname ) ) {
635
  @unlink( $cache_fname );
636
  @rename( $tmp_cache_filename, $cache_fname );
637
  }
638
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp supercache file to $cache_fname", 5 );
639
- $added_cache = 1;
640
- }
641
- }
642
- if ( isset( $php_fd ) ) {
643
- fclose( $php_fd );
644
- if ( $php_fname == $supercachedir . $home_url[ 'path' ] . supercache_filename() . '.php' && !( $wp_cache_is_home ) ) {
645
- wp_cache_writers_exit();
646
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! Not writing another page to front page cache.", 1 );
647
- return $buffer;
648
- } elseif ( filesize( $tmp_php_filename ) == 0 ) {
649
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file $tmp_php_filename was empty. Did not rename to {$php_fname}", 5 );
650
- @unlink( $tmp_php_filename );
651
- } else {
652
- if ( !@rename( $tmp_php_filename, $php_fname ) ) {
653
- @unlink( $php_fname );
654
- @rename( $tmp_php_filename, $php_fname );
655
- }
656
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp supercache file to $php_fname", 5 );
657
  $added_cache = 1;
658
  }
659
  }
660
  if( $gz ) {
661
  fclose($gz);
662
  if ( filesize( $tmp_cache_filename . '.gz' ) == 0 ) {
663
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file {$tmp_cache_filename}.gz was empty. Did not rename to {$cache_fname}.gz", 5 );
664
  @unlink( $tmp_cache_filename . '.gz' );
665
  } else {
666
  if ( !@rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' ) ) {
667
  @unlink( $cache_fname . '.gz' );
668
  @rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' );
669
  }
670
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp supercache gz file to {$cache_fname}.gz", 5 );
671
  $added_cache = 1;
672
  }
673
  }
@@ -682,13 +658,13 @@ function wp_cache_get_ob(&$buffer) {
682
  }
683
  wp_cache_writers_exit();
684
  if ( !headers_sent() && $wp_cache_gzip_encoding && $gzdata) {
685
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing gzip content headers. Sending buffer to browser", 5 );
686
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
687
  header( 'Vary: Accept-Encoding, Cookie' );
688
  header( 'Content-Length: ' . $gzsize );
689
  return $gzdata;
690
  } else {
691
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Sending buffer to browser", 5 );
692
  return $buffer;
693
  }
694
  }
@@ -698,7 +674,7 @@ function wp_cache_phase2_clean_cache($file_prefix) {
698
 
699
  if( !wp_cache_writers_entry() )
700
  return false;
701
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cleaning cache in $blog_cache_dir", 3 );
702
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
703
  while ( false !== ($file = @readdir($handle))) {
704
  if ( preg_match("/^$file_prefix/", $file) ) {
@@ -743,7 +719,7 @@ function prune_super_cache( $directory, $force = false, $rename = false ) {
743
  if ($file == '.' || $file == '..')
744
  continue;
745
  $donotdelete = true;
746
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "gc: could not delete $entry as it's not empty: $file", 2 );
747
  }
748
  closedir($handle);
749
  }
@@ -753,9 +729,9 @@ function prune_super_cache( $directory, $force = false, $rename = false ) {
753
  @rmdir( $entry );
754
  $log++;
755
  if ( $force ) {
756
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "gc: deleted $entry, forced delete", 2 );
757
  } else {
758
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "gc: deleted $entry, older than $cache_max_time seconds", 2 );
759
  }
760
  }
761
  }
@@ -767,11 +743,11 @@ function prune_super_cache( $directory, $force = false, $rename = false ) {
767
  if( in_array( $directory, $protected_directories ) )
768
  $oktodelete = false;
769
  if( $oktodelete && !$rename ) {
770
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "prune_super_cache: deleted $directory", 5 );
771
  @unlink( $directory );
772
  $log++;
773
  } elseif( $oktodelete && $rename ) {
774
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "prune_super_cache: wp_cache_rebuild_or_delete( $directory )", 5 );
775
  wp_cache_rebuild_or_delete( $directory );
776
  $log++;
777
  }
@@ -786,14 +762,14 @@ function wp_cache_rebuild_or_delete( $file ) {
786
  if( $cache_rebuild_files && substr( $file, -14 ) != '.needs-rebuild' ) {
787
  if( @rename($file, $file . '.needs-rebuild') ) {
788
  @touch( $file . '.needs-rebuild' );
789
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "rebuild_or_gc: rename to {$file}.needs-rebuild", 2 );
790
  } else {
791
  @unlink( $file );
792
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
793
  }
794
  } else {
795
  @unlink( $file );
796
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
797
  }
798
  }
799
 
@@ -804,28 +780,28 @@ function wp_cache_phase2_clean_expired( $file_prefix, $force = false ) {
804
  if( !wp_cache_writers_entry() )
805
  return false;
806
  $now = time();
807
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cleaning expired cache files in $blog_cache_dir", 2 );
808
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
809
  while ( false !== ($file = readdir($handle))) {
810
  if ( preg_match("/^$file_prefix/", $file) &&
811
  (@filemtime( $blog_cache_dir . $file) + $cache_max_time) <= $now ) {
812
  @unlink( $blog_cache_dir . $file );
813
  @unlink( $blog_cache_dir . 'meta/' . str_replace( '.html', '.meta', $file ) );
814
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Deleting $blog_cache_dir{$file} (plus meta)", 5 );
815
  continue;
816
  }
817
  if($file != '.' && $file != '..') {
818
  if( is_dir( $blog_cache_dir . $file ) == false && (@filemtime($blog_cache_dir . $file) + $cache_max_time) <= $now ) {
819
  if( substr( $file, -9 ) != '.htaccess' ) {
820
  @unlink($blog_cache_dir . $file);
821
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Deleting $blog_cache_dir{$file}, older than $cache_max_time seconds", 5 );
822
  }
823
  }
824
  }
825
  }
826
  closedir($handle);
827
  if ( false == $wp_cache_preload_on || true == $force ) {
828
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Doing GC on supercache dir: {$cache_path}supercache", 2 );
829
  $deleted = prune_super_cache( $cache_path . 'supercache', false, false );
830
  }
831
  }
@@ -852,7 +828,7 @@ function wp_cache_shutdown_callback() {
852
  }
853
  }
854
 
855
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_shutdown_callback: collecting meta data.", 2 );
856
 
857
  if (!isset( $response['Last-Modified'] )) {
858
  $value = gmdate('D, d M Y H:i:s') . ' GMT';
@@ -887,21 +863,21 @@ function wp_cache_shutdown_callback() {
887
  }
888
  $value .= "; charset=\"" . $wp_cache_blog_charset . "\"";
889
 
890
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Sending 'Content-Type: $value' header.", 2 );
891
  @header("Content-Type: $value");
892
  $wp_cache_meta[ 'headers' ][ 'Content-Type' ] = "Content-Type: $value";
893
  }
894
 
895
  if ( $cache_enabled && !$supercacheonly && $new_cache ) {
896
  if( !isset( $wp_cache_meta[ 'dynamic' ] ) && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $wp_cache_meta[ 'headers' ] ) ) {
897
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Sending gzip headers.", 2 );
898
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
899
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
900
  }
901
 
902
  $serial = serialize($wp_cache_meta);
903
  if( wp_cache_writers_entry() ) {
904
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
905
  if ( false == $wp_cache_object_cache ) {
906
  $tmp_meta_filename = $blog_cache_dir . 'meta/' . uniqid( mt_rand(), true ) . '.tmp';
907
  $fr = @fopen( $tmp_meta_filename, 'w');
@@ -917,7 +893,7 @@ function wp_cache_shutdown_callback() {
917
  @rename( $tmp_meta_filename, $blog_cache_dir . 'meta/' . $meta_file );
918
  }
919
  } else {
920
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Problem writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
921
  }
922
  } elseif ( $cache_enabled ) {
923
  $oc_key = get_oc_key() . ".meta";
@@ -928,11 +904,11 @@ function wp_cache_shutdown_callback() {
928
  wp_cache_writers_exit();
929
  }
930
  } else {
931
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Did not write meta file: $meta_file *$supercacheonly* *$wp_cache_not_logged_in* *$new_cache*", 2 );
932
  }
933
  global $time_to_gc_cache;
934
  if( isset( $time_to_gc_cache ) && $time_to_gc_cache == 1 ) {
935
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Executing wp_cache_gc action.", 3 );
936
  do_action( 'wp_cache_gc' );
937
  }
938
  }
@@ -951,7 +927,7 @@ function wp_cache_get_postid_from_comment( $comment_id, $status = 'NA' ) {
951
 
952
  if ( ( $status == 'trash' || $status == 'spam' ) && $comment[ 'old_comment_approved' ] != 1 ) {
953
  // don't modify cache if moderated comments are trashed or spammed
954
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated comment deleted or spammed. Don't delete any cache files.", 4 );
955
  define( 'DONOTDELETECACHE', 1 );
956
  return wp_cache_post_id();
957
  }
@@ -960,20 +936,20 @@ function wp_cache_get_postid_from_comment( $comment_id, $status = 'NA' ) {
960
  // http://ocaoimh.ie/2006/12/05/caching-wordpress-with-wp-cache-in-a-spam-filled-world
961
  if ( !preg_match('/wp-admin\//', $wp_cache_request_uri) ) {
962
  if ( $comment['comment_approved'] == 'delete' && ( isset( $comment[ 'old_comment_approved' ] ) && $comment[ 'old_comment_approved' ] == 0 ) ) { // do nothing if moderated comments are deleted
963
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated comment deleted. Don't delete any cache files.", 4 );
964
  define( 'DONOTDELETECACHE', 1 );
965
  return $postid;
966
  } elseif ( $comment['comment_approved'] == 'spam' ) {
967
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Spam comment. Don't delete any cache files.", 4 );
968
  define( 'DONOTDELETECACHE', 1 );
969
  return $postid;
970
  } elseif( $comment['comment_approved'] == '0' ) {
971
  if ( $comment[ 'content_type' ] == '' ) {
972
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated comment. Don't delete supercache file until comment approved.", 4 );
973
  $super_cache_enabled = 0; // don't remove the super cache static file until comment is approved
974
  define( 'DONOTDELETECACHE', 1 );
975
  } else {
976
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated ping or trackback. Not deleting cache files..", 4 );
977
  define( 'DONOTDELETECACHE', 1 );
978
  return $postid;
979
  }
@@ -983,10 +959,10 @@ function wp_cache_get_postid_from_comment( $comment_id, $status = 'NA' ) {
983
  // for delete, for example both wp_set_comment_status and delete_comment
984
  // are called when deleting a comment
985
  if ($postid > 0) {
986
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post $postid changed. Update cache.", 4 );
987
  return wp_cache_post_change( $postid );
988
  } elseif ( $_GET[ 'delete_all' ] != 'Empty Trash' && $_GET[ 'delete_all2' ] != 'Empty Spam' ) {
989
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Unknown post changed. Update cache.", 4 );
990
  return wp_cache_post_change( wp_cache_post_id() );
991
  }
992
  }
@@ -1004,39 +980,80 @@ function wp_cache_clear_cache( $blog_id = 0 ) {
1004
  reset_oc_version();
1005
  } else {
1006
  if ( $blog_id == 0 ) {
1007
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Clearing all cached files in wp_cache_clear_cache()", 4 );
1008
  prune_super_cache( $cache_path . 'supercache/', true );
1009
  prune_super_cache( $cache_path, true );
1010
  } else {
1011
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Clearing all cached files for blog $blog_id in wp_cache_clear_cache()", 4 );
1012
  prune_super_cache( get_supercache_dir( $blog_id ), true );
1013
  prune_super_cache( $cache_path . 'blogs/', true );
1014
  }
1015
  }
1016
  }
1017
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1018
  /* check if we want to clear out all cached files on post updates, otherwise call standard wp_cache_post_change() */
1019
  function wp_cache_post_edit($post_id) {
1020
- global $wp_cache_clear_on_post_edit, $cache_path, $blog_cache_dir;
1021
  static $last_post_edited = -1;
1022
 
1023
  if ( $post_id == $last_post_edited ) {
1024
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_edit: Already processed post $post_id.", 4 );
1025
  return $post_id;
1026
  }
1027
 
1028
  $post = get_post( $post_id );
 
 
 
1029
  // Some users are inexplicibly seeing this error on scheduled posts.
1030
  // define this constant to disable the post status check.
1031
  if ( false == defined( 'WPSCFORCEUPDATE' ) && $post->post_status != 'publish' ) {
1032
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_edit: draft post, not deleting any cache files.", 4 );
1033
  return $post_id;
1034
  }
1035
 
1036
  // we want to process the post again just in case it becomes published before the second time this function is called.
1037
  $last_post_edited = $post_id;
1038
  if( $wp_cache_clear_on_post_edit ) {
1039
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_edit: Clearing cache $blog_cache_dir and {$cache_path}supercache/ on post edit per config.", 2 );
1040
  if ( $wp_cache_object_cache ) {
1041
  reset_oc_version();
1042
  } else {
@@ -1044,7 +1061,7 @@ function wp_cache_post_edit($post_id) {
1044
  prune_super_cache( get_supercache_dir(), true );
1045
  }
1046
  } else {
1047
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_edit: Clearing cache for post $post_id on post edit.", 2 );
1048
  wp_cache_post_change( $post_id );
1049
  }
1050
  }
@@ -1061,37 +1078,37 @@ function wp_cache_post_id_gc( $siteurl, $post_id, $all = 'all' ) {
1061
 
1062
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
1063
  $dir = get_current_url_supercache_dir( $post_id );
1064
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_id_gc post_id: $post_id " . post_permalink( $post_id ) . " clearing cache in $dir.", 4 );
1065
  if ( $all == 'all' ) {
1066
  prune_super_cache( $dir, true, true );
1067
  do_action( 'gc_cache', 'prune', $permalink );
1068
  @rmdir( $dir );
1069
  } else {
1070
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_id_gc clearing cached index files in $dir.", 4 );
1071
  prune_super_cache( $dir, true, true );
1072
  do_action( 'gc_cache', 'prune', $permalink );
1073
  }
1074
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$dir}/page/.", 4 );
1075
  prune_super_cache( $dir . '/page/', true );
1076
  $supercache_home = get_supercache_dir();
1077
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$supercache_home}/page/.", 4 );
1078
  prune_super_cache( $supercache_home . '/page/', true );
1079
  do_action( 'gc_cache', 'prune', '/page/' );
1080
  }
1081
 
1082
  function wp_cache_post_change( $post_id ) {
1083
- global $file_prefix, $cache_path, $blog_id, $super_cache_enabled, $blog_cache_dir, $blogcacheid, $wp_cache_refresh_single_only;
1084
  static $last_processed = -1;
1085
 
1086
  if ( $post_id == $last_processed ) {
1087
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_change: Already processed post $post_id.", 4 );
1088
  return $post_id;
1089
  }
1090
  $post = get_post( $post_id );
1091
  // Some users are inexplicibly seeing this error on scheduled posts.
1092
  // define this constant to disable the post status check.
1093
- if ( false == defined( 'WPSCFORCEUPDATE' ) && $post->post_status != 'publish' ) {
1094
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_change: draft post, not deleting any cache files.", 4 );
1095
  return $post_id;
1096
  }
1097
  $last_processed = $post_id;
@@ -1101,10 +1118,10 @@ function wp_cache_post_change( $post_id ) {
1101
 
1102
  if ( isset( $wp_cache_refresh_single_only ) && $wp_cache_refresh_single_only && ( strpos( $_SERVER[ 'HTTP_REFERER' ], 'edit-comments.php' ) || strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-comments-post.php' ) ) ) {
1103
  if ( defined( 'DONOTDELETECACHE' ) ) {
1104
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_change: comment detected and it's moderated or spam. Not deleting cached files.", 4 );
1105
  return $post_id;
1106
  } else {
1107
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_change: comment detected. only deleting post page.", 4 );
1108
  $all = false;
1109
  }
1110
  } else {
@@ -1121,7 +1138,7 @@ function wp_cache_post_change( $post_id ) {
1121
  // make sure the front page has a rebuild file
1122
  wp_cache_post_id_gc( $siteurl, $post_id );
1123
  if ( $all == true ) {
1124
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting cache files in " . $cache_path . 'supercache/' . $siteurl, 4 );
1125
  $files_to_check = get_all_supercache_filenames( $dir );
1126
  foreach( $files_to_check as $cache_file ) {
1127
  prune_super_cache( $dir . $cache_file, true, true );
@@ -1129,8 +1146,8 @@ function wp_cache_post_change( $post_id ) {
1129
  do_action( 'gc_cache', 'prune', 'homepage' );
1130
  }
1131
  if( $all == true && get_option( 'show_on_front' ) == 'page' ) {
1132
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting page_on_front and page_for_posts pages.", 4 );
1133
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: page_on_front " . get_option( 'page_on_front' ), 4 );
1134
  wp_cache_post_id_gc( $siteurl, get_option( 'page_on_front' ), 'single' );
1135
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( get_option( 'page_for_posts' ) ) ) );
1136
  $files_to_check = get_all_supercache_filenames( $dir . $permalink );
@@ -1149,7 +1166,7 @@ function wp_cache_post_change( $post_id ) {
1149
  $content_pathname = $blog_cache_dir . $matches[1] . ".html";
1150
  $meta = unserialize(@file_get_contents($meta_pathname));
1151
  if( false == is_array( $meta ) ) {
1152
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change cleaning up stray file: $content_pathname", 4 );
1153
  @unlink($meta_pathname);
1154
  @unlink($content_pathname);
1155
  continue;
@@ -1157,7 +1174,7 @@ function wp_cache_post_change( $post_id ) {
1157
  if ($post_id > 0 && $meta) {
1158
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
1159
  if ( $meta[ 'blog_id' ] == $blog_id && ( ( $all == true && !$meta[ 'post' ] ) || $meta[ 'post' ] == $post_id) ) {
1160
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting post cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1161
  @unlink($meta_pathname);
1162
  @unlink($content_pathname);
1163
  if ( $super_cache_enabled == true ) {
@@ -1166,7 +1183,7 @@ function wp_cache_post_change( $post_id ) {
1166
  }
1167
  }
1168
  } elseif ($meta[ 'blog_id' ] == $blog_id) {
1169
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1170
  @unlink($meta_pathname);
1171
  @unlink($content_pathname);
1172
  if ( $super_cache_enabled == true ) {
@@ -1208,14 +1225,14 @@ function maybe_stop_gc( $flag ) {
1208
  if ( @file_exists( $flag ) ) {
1209
  if ( time() - filemtime( $flag ) > 3600 ) {
1210
  @unlink( $flag );
1211
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "maybe_stop_gc: GC flag found but deleted because it's older than 3600 seconds.", 5 );
1212
  return false;
1213
  } else {
1214
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'maybe_stop_gc: GC flag found. GC cancelled.', 5 );
1215
  return true;
1216
  }
1217
  } else {
1218
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'maybe_stop_gc: GC flag not found. GC will go ahead..', 5 );
1219
  return false;
1220
  }
1221
  }
@@ -1229,22 +1246,22 @@ function wp_cache_gc_cron() {
1229
 
1230
  $msg = '';
1231
  if ( $cache_max_time == 0 ) {
1232
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Cache garbage collection disabled because cache expiry time is zero.', 5 );
1233
  return false;
1234
  }
1235
 
1236
  $gc_flag = get_gc_flag();
1237
  if ( maybe_stop_gc( $gc_flag ) ) {
1238
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'GC flag found. GC cancelled.', 5 );
1239
  return false;
1240
  }
1241
 
1242
  update_option( 'wpsupercache_gc_time', time() );
1243
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_gc_cron: Set GC Flag. ($gc_flag)", 5 );
1244
  $fp = @fopen( $gc_flag, 'w' );
1245
  @fclose( $fp );
1246
 
1247
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Cache garbage collection.', 5 );
1248
 
1249
  if( !isset( $cache_max_time ) )
1250
  $cache_max_time = 600;
@@ -1252,12 +1269,12 @@ function wp_cache_gc_cron() {
1252
  $start = time();
1253
  $num = 0;
1254
  if( false === ( $num = wp_cache_phase2_clean_expired( $file_prefix ) ) ) {
1255
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Cache Expiry cron job failed. Probably mutex locked.', 1 );
1256
  update_option( 'wpsupercache_gc_time', time() - ( $cache_time_interval - 10 ) ); // if GC failed then run it again in one minute
1257
  $msg .= __( 'Cache expiry cron job failed. Job will run again in 10 seconds.', 'wp-super-cache' ) . "\n";
1258
  }
1259
  if( time() - $start > 30 ) {
1260
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cache Expiry cron job took more than 30 seconds to execute.\nYou should reduce the Expiry Time in the WP Super Cache admin page\nas you probably have more cache files than your server can handle efficiently.", 1 );
1261
  $msg .= __( 'Cache expiry cron job took more than 30 seconds. You should probably run the garbage collector more often.', 'wp-super-cache' ) . "\n";
1262
  }
1263
 
@@ -1270,7 +1287,7 @@ function wp_cache_gc_cron() {
1270
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] WP Super Cache GC Report', 'wp-super-cache' ), site_url() ), $msg );
1271
  }
1272
  @unlink( $gc_flag );
1273
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'GC completed. GC flag deleted.', 5 );
1274
  schedule_wp_gc( 1 );
1275
  }
1276
 
@@ -1301,7 +1318,7 @@ function schedule_wp_gc( $forced = 0 ) {
1301
  if ( !($t = wp_next_scheduled( 'wp_cache_gc' ) ) ) {
1302
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1303
  wp_schedule_single_event( time() + $cache_time_interval, 'wp_cache_gc' );
1304
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_gc for 10 seconds time.', 5 );
1305
  }
1306
  } else {
1307
  global $time_to_gc_cache;
@@ -1316,7 +1333,7 @@ function schedule_wp_gc( $forced = 0 ) {
1316
 
1317
  function wp_cache_gc_watcher() {
1318
  if ( false == wp_next_scheduled( 'wp_cache_gc' ) ) {
1319
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'GC Watcher: scheduled new gc cron.', 5 );
1320
  schedule_wp_gc();
1321
  }
1322
  }
2
 
3
  function wp_cache_phase2() {
4
  global $cache_filename, $cache_acceptable_files, $wp_cache_gzip_encoding, $super_cache_enabled, $cache_rebuild_files, $wp_cache_last_gc;
5
+ global $cache_max_time, $wp_cache_request_uri, $super_cache_enabled, $wp_cache_object_cache, $cache_time_interval;
6
  global $cache_enabled, $wp_cache_gmt_offset, $wp_cache_blog_charset, $cache_schedule_type, $cache_scheduled_time, $cache_schedule_interval;
7
 
8
  if ( $cache_enabled == false ) {
9
+ wp_cache_debug( "Caching disabled! quiting!", 1 );
10
  return false;
11
  }
12
 
13
+ wp_cache_debug( 'In WP Cache Phase 2', 5 );
14
 
15
  $wp_cache_gmt_offset = get_option( 'gmt_offset' ); // caching for later use when wpdb is gone. http://wordpress.org/support/topic/224349
16
  $wp_cache_blog_charset = get_option( 'blog_charset' );
17
 
18
  wp_cache_mutex_init();
19
  if(function_exists('add_action') && ( !defined( 'WPLOCKDOWN' ) || ( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) == '0' ) ) ) {
20
+ wp_cache_debug( 'Setting up WordPress actions', 5 );
21
 
22
  add_action( 'template_redirect', 'wp_super_cache_query_vars' );
23
 
41
  add_action( 'clean_post_cache', 'wp_cache_post_edit' );
42
  add_filter( 'supercache_filename_str', 'wp_cache_check_mobile' );
43
  add_action( 'wp_cache_gc_watcher', 'wp_cache_gc_watcher' );
44
+ add_action( 'transition_post_status', 'wpsc_post_transition', 10, 3 );
45
 
46
  do_cacheaction( 'add_cacheaction' );
47
  }
48
 
 
 
 
 
 
49
  if ( is_admin() ) {
50
+ wp_cache_debug( 'Not caching wp-admin requests.', 5 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  return false;
52
  }
53
 
54
  if ( !empty( $_GET ) ) {
55
+ wp_cache_debug( 'Supercache caching disabled. Only using wp-cache. Non empty GET request. ' . serialize( $_GET ), 5 );
56
  $super_cache_enabled = false;
57
  }
58
 
 
 
 
 
 
 
 
 
 
59
  if($wp_cache_gzip_encoding)
60
  header('Vary: Accept-Encoding, Cookie');
61
  else
62
  header('Vary: Cookie');
63
  ob_start( 'wp_cache_ob_callback' );
64
+ wp_cache_debug( 'Created output buffer', 4 );
65
 
66
  // restore old supercache file temporarily
67
  if( $super_cache_enabled && $cache_rebuild_files ) {
83
  continue;
84
  $mtime = @filemtime($cache_file . '.needs-rebuild');
85
  if( $mtime && (time() - $mtime) < 30 ) {
86
+ wp_cache_debug( "Rebuild file renamed to cache file temporarily: $cache_file", 3 );
87
  @rename( $cache_file . '.needs-rebuild', $cache_file );
88
  }
89
  // cleanup old files or if rename fails
90
  if( @file_exists( $cache_file . '.needs-rebuild' ) ) {
91
+ wp_cache_debug( "Rebuild file deleted: {$cache_file}.needs-rebuild", 3 );
92
  @unlink( $cache_file . '.needs-rebuild' );
93
  }
94
  }
164
  $mutex = false;
165
  if ($use_flock ) {
166
  setup_blog_cache_dir();
167
+ wp_cache_debug( "Created mutex lock on filename: {$blog_cache_dir}{$mutex_filename}", 5 );
168
  $mutex = @fopen( $blog_cache_dir . $mutex_filename, 'w' );
169
  } else {
170
+ wp_cache_debug( "Created mutex lock on semaphore: {$sem_id}", 5 );
171
  $mutex = @sem_get( $sem_id, 1, 0644 | IPC_CREAT, 1 );
172
  }
173
  }
179
  return true;
180
 
181
  if( !$mutex ) {
182
+ wp_cache_debug( "(writers entry) mutex lock not created. not caching.", 2 );
183
  return false;
184
  }
185
 
186
  if ( $use_flock ) {
187
+ wp_cache_debug( "grabbing lock using flock()", 5 );
188
  flock($mutex, LOCK_EX);
189
  } else {
190
+ wp_cache_debug( "grabbing lock using sem_acquire()", 5 );
191
  sem_acquire($mutex);
192
  }
193
 
201
  return true;
202
 
203
  if( !$mutex ) {
204
+ wp_cache_debug( "(writers exit) mutex lock not created. not caching.", 2 );
205
  return false;
206
  }
207
 
208
  if ( $use_flock ) {
209
+ wp_cache_debug( "releasing lock using flock()", 5 );
210
  flock($mutex, LOCK_UN);
211
  } else {
212
+ wp_cache_debug( "releasing lock using sem_release()", 5 );
213
  sem_release($mutex);
214
  }
215
  }
239
  }
240
 
241
  function wp_cache_ob_callback( $buffer ) {
242
+ global $wp_cache_pages, $wp_query, $wp_super_cache_query, $cache_acceptable_files, $wp_cache_no_cache_for_get, $wp_cache_object_cache, $wp_cache_request_uri;
243
  $buffer = apply_filters( 'wp_cache_ob_callback_filter', $buffer );
 
 
 
 
244
 
245
+ $script = basename($_SERVER['PHP_SELF']);
246
+
247
+ // All the things that can stop a page being cached
248
+ $cache_this_page = true;
249
+ if ( defined( 'DONOTCACHEPAGE' ) ) {
250
+ wp_cache_debug( 'DONOTCACHEPAGE defined. Caching disabled.', 2 );
251
+ $cache_this_page = false;
252
+ } elseif ( $wp_cache_no_cache_for_get && false == empty( $_GET ) && false == defined( 'DOING_CRON' ) ) {
253
+ wp_cache_debug( "Non empty GET request. Caching disabled on settings page. " . serialize( $_GET ), 1 );
254
+ $cache_this_page = false;
255
+ } elseif ( $_SERVER["REQUEST_METHOD"] == 'POST' || !empty( $_POST ) || get_option( 'gzipcompression' ) ) {
256
+ wp_cache_debug( 'Not caching POST request.', 5 );
257
+ $cache_this_page = false;
258
+ } elseif ( $wp_cache_object_cache && !empty( $_GET ) ) {
259
+ wp_cache_debug( 'Not caching GET request while object cache storage enabled.', 5 );
260
+ $cache_this_page = false;
261
+ } elseif ( isset( $_GET[ 'preview' ] ) ) {
262
+ wp_cache_debug( 'Not caching preview post.', 2 );
263
+ $cache_this_page = false;
264
+ } elseif ( !in_array($script, $cache_acceptable_files) && wp_cache_is_rejected( $wp_cache_request_uri ) ) {
265
+ wp_cache_debug( 'URI rejected. Not Caching', 2 );
266
+ $cache_this_page = false;
267
+ } elseif ( wp_cache_user_agent_is_rejected() ) {
268
+ wp_cache_debug( "USER AGENT ({$_SERVER[ 'HTTP_USER_AGENT' ]}) rejected. Not Caching", 4 );
269
+ $cache_this_page = false;
270
+ } elseif ( isset( $wp_cache_pages[ 'single' ] ) && $wp_cache_pages[ 'single' ] == 1 && isset( $wp_super_cache_query[ 'is_single' ] ) ) {
271
+ wp_cache_debug( 'Not caching single post.', 2 );
272
+ $cache_this_page = false;
273
  } elseif ( isset( $wp_cache_pages[ 'pages' ] ) && $wp_cache_pages[ 'pages' ] == 1 && isset( $wp_super_cache_query[ 'is_page' ] ) ) {
274
+ wp_cache_debug( 'Not caching single page.', 2 );
275
+ $cache_this_page = false;
276
  } elseif ( isset( $wp_cache_pages[ 'archives' ] ) && $wp_cache_pages[ 'archives' ] == 1 && isset( $wp_super_cache_query[ 'is_archive' ] ) ) {
277
+ wp_cache_debug( 'Not caching archive page.', 2 );
278
+ $cache_this_page = false;
279
  } elseif ( isset( $wp_cache_pages[ 'tag' ] ) && $wp_cache_pages[ 'tag' ] == 1 && isset( $wp_super_cache_query[ 'is_tag' ] ) ) {
280
+ wp_cache_debug( 'Not caching tag page.', 2 );
281
+ $cache_this_page = false;
282
  } elseif ( isset( $wp_cache_pages[ 'category' ] ) && $wp_cache_pages[ 'category' ] == 1 && isset( $wp_super_cache_query[ 'is_category' ] ) ) {
283
+ wp_cache_debug( 'Not caching category page.', 2 );
284
+ $cache_this_page = false;
285
  } elseif ( isset( $wp_cache_pages[ 'frontpage' ] ) && $wp_cache_pages[ 'frontpage' ] == 1 && isset( $wp_super_cache_query[ 'is_front_page' ] ) ) {
286
+ wp_cache_debug( 'Not caching front page.', 2 );
287
+ $cache_this_page = false;
288
  } elseif ( isset( $wp_cache_pages[ 'home' ] ) && $wp_cache_pages[ 'home' ] == 1 && isset( $wp_super_cache_query[ 'is_home' ] ) ) {
289
+ wp_cache_debug( 'Not caching home page.', 2 );
290
+ $cache_this_page = false;
291
  } elseif ( isset( $wp_cache_pages[ 'search' ] ) && $wp_cache_pages[ 'search' ] == 1 && isset( $wp_super_cache_query[ 'is_search' ] ) ) {
292
+ wp_cache_debug( 'Not caching search page.', 2 );
293
+ $cache_this_page = false;
294
  } elseif ( isset( $wp_cache_pages[ 'author' ] ) && $wp_cache_pages[ 'author' ] == 1 && isset( $wp_super_cache_query[ 'is_author' ] ) ) {
295
+ wp_cache_debug( 'Not caching author page.', 2 );
296
+ $cache_this_page = false;
297
  } elseif ( isset( $wp_cache_pages[ 'feed' ] ) && $wp_cache_pages[ 'feed' ] == 1 && isset( $wp_super_cache_query[ 'is_feed' ] ) ) {
298
+ wp_cache_debug( 'Not caching feed.', 2 );
299
+ $cache_this_page = false;
300
  }
301
 
302
  if ( !isset( $wp_query ) )
303
+ wp_cache_debug( 'wp_cache_ob_callback: WARNING! $query not defined but the plugin has worked around that problem.', 4 );
304
+
305
+ if ( $cache_this_page ) {
306
 
307
+ wp_cache_debug( 'Output buffer callback', 4 );
308
 
309
+ $buffer = wp_cache_get_ob( $buffer );
310
+ wp_cache_shutdown_callback();
311
+ return $buffer;
312
+ } else {
313
+ return wp_cache_maybe_dynamic( $buffer );
314
+ }
315
  }
316
 
317
  function wp_cache_append_tag( &$buffer ) {
344
  $buffer .= "\n<!-- $text -->";
345
  }
346
 
347
+ /*
348
+ * If dynamic caching is enabled then run buffer through wpsc_cachedata filter before returning it.
349
+ * or we'll return template tags to visitors.
350
+ */
351
+ function wp_cache_maybe_dynamic( &$buffer ) {
352
+ global $wp_cache_mfunc_enabled;
353
+ if ( $wp_cache_mfunc_enabled == 1 && do_cacheaction( 'wpsc_cachedata_safety', 0 ) === 1 ) {
354
+ wp_cache_debug( 'wp_cache_maybe_dynamic: filtered $buffer through wpsc_cachedata', 4 );
355
+ return do_cacheaction( 'wpsc_cachedata', $buffer ); // dynamic content for display
356
+ } else {
357
+ wp_cache_debug( 'wp_cache_maybe_dynamic: returned $buffer', 4 );
358
+ return $buffer;
359
+ }
360
+ }
361
+
362
  function wp_cache_get_ob(&$buffer) {
363
  global $cache_enabled, $cache_path, $cache_filename, $meta_file, $wp_start_time, $supercachedir;
364
  global $new_cache, $wp_cache_meta, $file_expired, $blog_id, $cache_compression;
368
  global $wp_cache_not_logged_in, $wp_cache_object_cache, $cache_max_time;
369
  global $wp_cache_is_home, $wp_cache_front_page_checks, $wp_cache_mfunc_enabled;
370
 
371
+ if ( isset( $wp_cache_mfunc_enabled ) == false )
372
+ $wp_cache_mfunc_enabled = 0;
373
+
374
  $new_cache = true;
375
  $wp_cache_meta = '';
376
 
400
  wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. No closing HTML tag. Check your theme." );
401
  }
402
  } else {
403
+ wp_cache_debug( "robots.txt detected. Not caching.", 2 );
404
  }
405
  }
406
 
407
  if( !$new_cache )
408
+ return wp_cache_maybe_dynamic( $buffer );
409
 
410
  $duration = wp_cache_microtime_diff($wp_start_time, microtime());
411
  $duration = sprintf("%0.3f", $duration);
413
 
414
  if( !wp_cache_writers_entry() ) {
415
  wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. Could not get mutex lock." );
416
+ wp_cache_debug( "Could not get mutex lock. Not caching.", 1 );
417
+ return wp_cache_maybe_dynamic( $buffer );
418
  }
419
 
420
  if ( $wp_cache_not_logged_in && is_feed() ) {
421
+ wp_cache_debug( "Feed detected. Writing legacy cache files.", 5 );
422
  $wp_cache_not_logged_in = false;
423
  }
424
 
427
  $dir = get_current_url_supercache_dir();
428
  $supercachedir = $cache_path . 'supercache/' . preg_replace('/:.*$/', '', $home_url[ 'host' ]);
429
  if( !empty( $_GET ) || is_feed() || ( $super_cache_enabled == true && is_dir( substr( $supercachedir, 0, -1 ) . '.disabled' ) ) ) {
430
+ wp_cache_debug( "Supercache disabled: GET or feed detected or disabled by config.", 2 );
431
  $super_cache_enabled = false;
432
  }
433
 
436
  $supercacheonly = false;
437
  if( $super_cache_enabled ) {
438
  if ( wp_cache_get_cookies_values() == '' && empty( $_GET ) ) {
439
+ wp_cache_debug( "Anonymous user detected. Only creating Supercache file.", 3 );
440
  $supercacheonly = true;
441
  }
442
  }
446
  $super_cache_enabled = false;
447
  $cache_enabled = false;
448
  $cache_error = 'Not caching requests by known users. (See Advanced Settings page)';
449
+ wp_cache_debug( 'Not caching for known user.', 5 );
450
  }
451
 
452
  if ( $wp_cache_object_cache ) { // half on mode when using the object cache
460
  }
461
 
462
  if ( !$cache_enabled ) {
463
+ wp_cache_debug( 'Cache is not enabled. Sending buffer to browser.', 5 );
464
  wp_cache_writers_exit();
465
  wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. Check your settings page. $cache_error" );
466
+ if ( $wp_cache_mfunc_enabled == 1 ) {
467
+ global $wp_super_cache_late_init;
468
+ if ( false == isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init ) && $wp_super_cache_late_init == 0 ) )
469
+ wp_cache_add_to_buffer( $buffer, 'Super Cache dynamic page detected but $wp_super_cache_late_init not set. See the readme.txt for further details.' );
470
+ }
471
+
472
+ return wp_cache_maybe_dynamic( $buffer );
473
  }
474
 
475
  if( @is_dir( $dir ) == false )
477
 
478
  $fr = $fr2 = $gz = false;
479
  // Open wp-cache cache file
480
+ if ( false == $wp_cache_object_cache ) {
481
+ if ( !$supercacheonly ) {
482
  $fr = @fopen($tmp_wpcache_filename, 'w');
483
  if (!$fr) {
484
+ wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename, 1 );
485
  wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename );
486
  wp_cache_writers_exit();
487
+ return wp_cache_maybe_dynamic( $buffer );
488
  }
489
+ } else {
490
+ $user_info = wp_cache_get_cookies_values();
491
+ $do_cache = apply_filters( 'do_createsupercache', $user_info );
492
+ if ( $super_cache_enabled && ( $user_info == '' || $do_cache === true ) ) {
493
+
494
+ $cache_fname = $dir . supercache_filename();
495
+ $tmp_cache_filename = $dir . uniqid( mt_rand(), true ) . '.tmp';
496
+ $fr2 = @fopen( $tmp_cache_filename, 'w' );
497
+ if ( !$fr2 ) {
498
+ wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ), 1 );
499
+ wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) );
 
 
 
 
 
 
 
 
 
 
500
  @fclose( $fr );
501
  @unlink( $tmp_wpcache_filename );
 
 
502
  wp_cache_writers_exit();
503
+ return wp_cache_maybe_dynamic( $buffer );
504
+ } elseif ( ( !isset( $wp_cache_mfunc_enabled ) || $wp_cache_mfunc_enabled == 0 ) && $cache_compression ) { // don't want to store compressed files if using dynamic content
505
+ $gz = @fopen( $tmp_cache_filename . ".gz", 'w');
506
+ if (!$gz) {
507
+ wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz", 1 );
508
+ wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz" );
509
+ @fclose( $fr );
510
+ @unlink( $tmp_wpcache_filename );
511
+ @fclose( $fr2 );
512
+ @unlink( $tmp_cache_filename );
513
+ wp_cache_writers_exit();
514
+ return wp_cache_maybe_dynamic( $buffer );
515
+ }
516
  }
517
  }
518
  }
520
 
521
  $added_cache = 0;
522
  $oc_key = get_oc_key();
523
+ $buffer = apply_filters( 'wpsupercache_buffer', $buffer );
524
+ wp_cache_append_tag( $buffer );
525
+
526
+ /*
527
+ * Dynamic content enabled: write the buffer to a file and then process any templates found using
528
+ * the wpsc_cachedata filter. Buffer is then returned to the visitor.
529
+ */
530
+ if ( $wp_cache_mfunc_enabled == 1 ) {
531
+ if ( preg_match( '/<!--mclude|<!--mfunc|<!--dynamic-cached-content-->/', $buffer ) ) { //Dynamic content
532
+ wp_cache_debug( "mfunc/mclude/dynamic-cached-content tags have been retired. Please update your theme. See docs for updates." );
533
+ wp_cache_add_to_buffer( $buffer, "Warning! Obsolete mfunc/mclude/dynamic-cached-content tags found. Please update your theme. See http://ocaoimh.ie/y/5b for more information." );
 
 
 
 
 
 
 
 
 
 
 
 
534
  }
535
+
 
 
536
  global $wp_super_cache_late_init;
537
  if ( false == isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init ) && $wp_super_cache_late_init == 0 ) )
538
+ wp_cache_add_to_buffer( $buffer, 'Super Cache dynamic page detected but late init not set. See the readme.txt for further details.' );
539
+
540
+ if ( $fr ) { // legacy caching
541
+ wp_cache_debug( "Writing dynamic buffer to legacy file." );
542
+ wp_cache_add_to_buffer( $buffer, "Dynamic Legacy Super Cache" );
543
+ fputs( $fr, $buffer );
544
+ } elseif ( isset( $fr2 ) ) { // supercache active
545
+ wp_cache_debug( "Writing dynamic buffer to supercache file." );
546
+ wp_cache_add_to_buffer( $buffer, "Dynamic Super Cache" );
547
+ fputs( $fr2, $buffer );
548
+ } elseif ( true == $wp_cache_object_cache ) {
549
+ wp_cache_set( $oc_key, $buffer, 'supercache', $cache_max_time );
 
 
 
 
 
 
 
 
 
550
  }
551
+ $wp_cache_meta[ 'dynamic' ] = true;
552
+ if ( do_cacheaction( 'wpsc_cachedata_safety', 0 ) === 1 )
553
+ $buffer = do_cacheaction( 'wpsc_cachedata', $buffer ); // dynamic content for display
554
+
555
  if ( $cache_compression && $wp_cache_gzip_encoding ) {
556
+ wp_cache_debug( "Gzipping dynamic buffer for display.", 5 );
557
  wp_cache_add_to_buffer( $buffer, "Compression = gzip" );
558
  $gzdata = gzencode( $buffer, 6, FORCE_GZIP );
559
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
560
  }
561
  } else {
562
+ if ( $gz || $wp_cache_gzip_encoding ) {
563
+ wp_cache_debug( "Gzipping buffer.", 5 );
 
 
 
564
  wp_cache_add_to_buffer( $buffer, "Compression = gzip" );
565
  $gzdata = gzencode( $buffer, 6, FORCE_GZIP );
566
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
567
+
 
568
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
569
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
570
  // Return uncompressed data & store compressed for later use
571
+ if ( $fr ) {
572
+ wp_cache_debug( "Writing gzipped buffer to wp-cache cache file.", 5 );
573
+ fputs($fr, $gzdata);
574
+ } elseif ( $cache_enabled && $wp_cache_object_cache ) {
 
 
575
  wp_cache_set( $oc_key . ".gz", $gzdata, 'supercache', $cache_max_time );
576
  $added_cache = 1;
577
  }
578
  } else { // no compression
579
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Cookie';
580
+ if ( $cache_enabled && $wp_cache_object_cache ) {
 
 
 
 
 
581
  wp_cache_set( $oc_key, $buffer, 'supercache', $cache_max_time );
582
  $added_cache = 1;
583
+ } elseif ( $fr ) {
584
+ wp_cache_debug( "Writing non-gzipped buffer to wp-cache cache file." );
585
+ fputs($fr, $buffer);
586
  }
587
  }
588
+ if ( $fr2 ) {
589
+ wp_cache_debug( "Writing non-gzipped buffer to supercache file." );
590
+ wp_cache_add_to_buffer( $buffer, "super cache" );
591
+ fputs($fr2, $buffer );
592
+ }
593
+ if ( isset( $gzdata ) && $gz ) {
594
+ wp_cache_debug( "Writing gzipped buffer to supercache file." );
595
+ fwrite($gz, $gzdata );
 
 
596
  }
597
  }
598
+
599
  $new_cache = true;
600
  if ( false == $wp_cache_object_cache ) {
601
  if( $fr ) {
602
  $supercacheonly = false;
603
  fclose($fr);
604
  if ( filesize( $tmp_wpcache_filename ) == 0 ) {
605
+ wp_cache_debug( "Warning! The file $tmp_wpcache_filename was empty. Did not rename to {$blog_cache_dir}{$cache_filename}", 5 );
606
  @unlink( $tmp_wpcache_filename );
607
  } else {
608
  if ( !@rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename ) ) {
611
  @unlink( $blog_cache_dir . $cache_filename );
612
  @rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename );
613
  }
614
+ wp_cache_debug( "Renamed temp wp-cache file to {$blog_cache_dir}$cache_filename", 5 );
615
  $added_cache = 1;
616
  }
617
  }
619
  fclose($fr2);
620
  if ( $wp_cache_front_page_checks && $cache_fname == $supercachedir . $home_url[ 'path' ] . supercache_filename() && !( $wp_cache_is_home ) ) {
621
  wp_cache_writers_exit();
622
+ wp_cache_debug( "Warning! Not writing another page to front page cache.", 1 );
623
  return $buffer;
624
  } elseif ( filesize( $tmp_cache_filename ) == 0 ) {
625
+ wp_cache_debug( "Warning! The file $tmp_cache_filename was empty. Did not rename to {$cache_fname}", 5 );
626
  @unlink( $tmp_cache_filename );
627
  } else {
628
  if ( !@rename( $tmp_cache_filename, $cache_fname ) ) {
629
  @unlink( $cache_fname );
630
  @rename( $tmp_cache_filename, $cache_fname );
631
  }
632
+ wp_cache_debug( "Renamed temp supercache file to $cache_fname", 5 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
  $added_cache = 1;
634
  }
635
  }
636
  if( $gz ) {
637
  fclose($gz);
638
  if ( filesize( $tmp_cache_filename . '.gz' ) == 0 ) {
639
+ wp_cache_debug( "Warning! The file {$tmp_cache_filename}.gz was empty. Did not rename to {$cache_fname}.gz", 5 );
640
  @unlink( $tmp_cache_filename . '.gz' );
641
  } else {
642
  if ( !@rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' ) ) {
643
  @unlink( $cache_fname . '.gz' );
644
  @rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' );
645
  }
646
+ wp_cache_debug( "Renamed temp supercache gz file to {$cache_fname}.gz", 5 );
647
  $added_cache = 1;
648
  }
649
  }
658
  }
659
  wp_cache_writers_exit();
660
  if ( !headers_sent() && $wp_cache_gzip_encoding && $gzdata) {
661
+ wp_cache_debug( "Writing gzip content headers. Sending buffer to browser", 5 );
662
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
663
  header( 'Vary: Accept-Encoding, Cookie' );
664
  header( 'Content-Length: ' . $gzsize );
665
  return $gzdata;
666
  } else {
667
+ wp_cache_debug( "Sending buffer to browser", 5 );
668
  return $buffer;
669
  }
670
  }
674
 
675
  if( !wp_cache_writers_entry() )
676
  return false;
677
+ wp_cache_debug( "Cleaning cache in $blog_cache_dir", 3 );
678
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
679
  while ( false !== ($file = @readdir($handle))) {
680
  if ( preg_match("/^$file_prefix/", $file) ) {
719
  if ($file == '.' || $file == '..')
720
  continue;
721
  $donotdelete = true;
722
+ wp_cache_debug( "gc: could not delete $entry as it's not empty: $file", 2 );
723
  }
724
  closedir($handle);
725
  }
729
  @rmdir( $entry );
730
  $log++;
731
  if ( $force ) {
732
+ wp_cache_debug( "gc: deleted $entry, forced delete", 2 );
733
  } else {
734
+ wp_cache_debug( "gc: deleted $entry, older than $cache_max_time seconds", 2 );
735
  }
736
  }
737
  }
743
  if( in_array( $directory, $protected_directories ) )
744
  $oktodelete = false;
745
  if( $oktodelete && !$rename ) {
746
+ wp_cache_debug( "prune_super_cache: deleted $directory", 5 );
747
  @unlink( $directory );
748
  $log++;
749
  } elseif( $oktodelete && $rename ) {
750
+ wp_cache_debug( "prune_super_cache: wp_cache_rebuild_or_delete( $directory )", 5 );
751
  wp_cache_rebuild_or_delete( $directory );
752
  $log++;
753
  }
762
  if( $cache_rebuild_files && substr( $file, -14 ) != '.needs-rebuild' ) {
763
  if( @rename($file, $file . '.needs-rebuild') ) {
764
  @touch( $file . '.needs-rebuild' );
765
+ wp_cache_debug( "rebuild_or_gc: rename to {$file}.needs-rebuild", 2 );
766
  } else {
767
  @unlink( $file );
768
+ wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
769
  }
770
  } else {
771
  @unlink( $file );
772
+ wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
773
  }
774
  }
775
 
780
  if( !wp_cache_writers_entry() )
781
  return false;
782
  $now = time();
783
+ wp_cache_debug( "Cleaning expired cache files in $blog_cache_dir", 2 );
784
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
785
  while ( false !== ($file = readdir($handle))) {
786
  if ( preg_match("/^$file_prefix/", $file) &&
787
  (@filemtime( $blog_cache_dir . $file) + $cache_max_time) <= $now ) {
788
  @unlink( $blog_cache_dir . $file );
789
  @unlink( $blog_cache_dir . 'meta/' . str_replace( '.html', '.meta', $file ) );
790
+ wp_cache_debug( "Deleting $blog_cache_dir{$file} (plus meta)", 5 );
791
  continue;
792
  }
793
  if($file != '.' && $file != '..') {
794
  if( is_dir( $blog_cache_dir . $file ) == false && (@filemtime($blog_cache_dir . $file) + $cache_max_time) <= $now ) {
795
  if( substr( $file, -9 ) != '.htaccess' ) {
796
  @unlink($blog_cache_dir . $file);
797
+ wp_cache_debug( "Deleting $blog_cache_dir{$file}, older than $cache_max_time seconds", 5 );
798
  }
799
  }
800
  }
801
  }
802
  closedir($handle);
803
  if ( false == $wp_cache_preload_on || true == $force ) {
804
+ wp_cache_debug( "Doing GC on supercache dir: {$cache_path}supercache", 2 );
805
  $deleted = prune_super_cache( $cache_path . 'supercache', false, false );
806
  }
807
  }
828
  }
829
  }
830
 
831
+ wp_cache_debug( "wp_cache_shutdown_callback: collecting meta data.", 2 );
832
 
833
  if (!isset( $response['Last-Modified'] )) {
834
  $value = gmdate('D, d M Y H:i:s') . ' GMT';
863
  }
864
  $value .= "; charset=\"" . $wp_cache_blog_charset . "\"";
865
 
866
+ wp_cache_debug( "Sending 'Content-Type: $value' header.", 2 );
867
  @header("Content-Type: $value");
868
  $wp_cache_meta[ 'headers' ][ 'Content-Type' ] = "Content-Type: $value";
869
  }
870
 
871
  if ( $cache_enabled && !$supercacheonly && $new_cache ) {
872
  if( !isset( $wp_cache_meta[ 'dynamic' ] ) && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $wp_cache_meta[ 'headers' ] ) ) {
873
+ wp_cache_debug( "Sending gzip headers.", 2 );
874
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
875
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
876
  }
877
 
878
  $serial = serialize($wp_cache_meta);
879
  if( wp_cache_writers_entry() ) {
880
+ wp_cache_debug( "Writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
881
  if ( false == $wp_cache_object_cache ) {
882
  $tmp_meta_filename = $blog_cache_dir . 'meta/' . uniqid( mt_rand(), true ) . '.tmp';
883
  $fr = @fopen( $tmp_meta_filename, 'w');
893
  @rename( $tmp_meta_filename, $blog_cache_dir . 'meta/' . $meta_file );
894
  }
895
  } else {
896
+ wp_cache_debug( "Problem writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
897
  }
898
  } elseif ( $cache_enabled ) {
899
  $oc_key = get_oc_key() . ".meta";
904
  wp_cache_writers_exit();
905
  }
906
  } else {
907
+ wp_cache_debug( "Did not write meta file: $meta_file *$supercacheonly* *$wp_cache_not_logged_in* *$new_cache*", 2 );
908
  }
909
  global $time_to_gc_cache;
910
  if( isset( $time_to_gc_cache ) && $time_to_gc_cache == 1 ) {
911
+ wp_cache_debug( "Executing wp_cache_gc action.", 3 );
912
  do_action( 'wp_cache_gc' );
913
  }
914
  }
927
 
928
  if ( ( $status == 'trash' || $status == 'spam' ) && $comment[ 'old_comment_approved' ] != 1 ) {
929
  // don't modify cache if moderated comments are trashed or spammed
930
+ wp_cache_debug( "Moderated comment deleted or spammed. Don't delete any cache files.", 4 );
931
  define( 'DONOTDELETECACHE', 1 );
932
  return wp_cache_post_id();
933
  }
936
  // http://ocaoimh.ie/2006/12/05/caching-wordpress-with-wp-cache-in-a-spam-filled-world
937
  if ( !preg_match('/wp-admin\//', $wp_cache_request_uri) ) {
938
  if ( $comment['comment_approved'] == 'delete' && ( isset( $comment[ 'old_comment_approved' ] ) && $comment[ 'old_comment_approved' ] == 0 ) ) { // do nothing if moderated comments are deleted
939
+ wp_cache_debug( "Moderated comment deleted. Don't delete any cache files.", 4 );
940
  define( 'DONOTDELETECACHE', 1 );
941
  return $postid;
942
  } elseif ( $comment['comment_approved'] == 'spam' ) {
943
+ wp_cache_debug( "Spam comment. Don't delete any cache files.", 4 );
944
  define( 'DONOTDELETECACHE', 1 );
945
  return $postid;
946
  } elseif( $comment['comment_approved'] == '0' ) {
947
  if ( $comment[ 'content_type' ] == '' ) {
948
+ wp_cache_debug( "Moderated comment. Don't delete supercache file until comment approved.", 4 );
949
  $super_cache_enabled = 0; // don't remove the super cache static file until comment is approved
950
  define( 'DONOTDELETECACHE', 1 );
951
  } else {
952
+ wp_cache_debug( "Moderated ping or trackback. Not deleting cache files..", 4 );
953
  define( 'DONOTDELETECACHE', 1 );
954
  return $postid;
955
  }
959
  // for delete, for example both wp_set_comment_status and delete_comment
960
  // are called when deleting a comment
961
  if ($postid > 0) {
962
+ wp_cache_debug( "Post $postid changed. Update cache.", 4 );
963
  return wp_cache_post_change( $postid );
964
  } elseif ( $_GET[ 'delete_all' ] != 'Empty Trash' && $_GET[ 'delete_all2' ] != 'Empty Spam' ) {
965
+ wp_cache_debug( "Unknown post changed. Update cache.", 4 );
966
  return wp_cache_post_change( wp_cache_post_id() );
967
  }
968
  }
980
  reset_oc_version();
981
  } else {
982
  if ( $blog_id == 0 ) {
983
+ wp_cache_debug( "Clearing all cached files in wp_cache_clear_cache()", 4 );
984
  prune_super_cache( $cache_path . 'supercache/', true );
985
  prune_super_cache( $cache_path, true );
986
  } else {
987
+ wp_cache_debug( "Clearing all cached files for blog $blog_id in wp_cache_clear_cache()", 4 );
988
  prune_super_cache( get_supercache_dir( $blog_id ), true );
989
  prune_super_cache( $cache_path . 'blogs/', true );
990
  }
991
  }
992
  }
993
 
994
+ function wpsc_delete_cats_tags( $post ) {
995
+ $post = get_post($post);
996
+ $categories = get_the_category($post->ID);
997
+ if ( $categories ) {
998
+ $category_base = get_option( 'category_base');
999
+ if ( $category_base == '' )
1000
+ $category_base = '/category/';
1001
+ $category_base = trailingslashit( $category_base ); // paranoid much?
1002
+ foreach ($categories as $cat) {
1003
+ prune_super_cache ( get_supercache_dir() . $category_base . $cat->slug . '/', true );
1004
+ wp_cache_debug( "wpsc_post_transition: deleting category: " . get_supercache_dir() . $category_base . $cat->slug . '/' );
1005
+ }
1006
+ }
1007
+ $posttags = get_the_tags($post->ID);
1008
+ if ( $posttags ) {
1009
+ $tag_base = get_option( 'tag_base' );
1010
+ if ( $tag_base == '' )
1011
+ $tag_base = '/tag/';
1012
+ $tag_base = trailingslashit( str_replace( '..', '', $tag_base ) ); // maybe!
1013
+ foreach ($posttags as $tag) {
1014
+ prune_super_cache( get_supercache_dir() . $tag_base . $tag->slug . '/', true );
1015
+ wp_cache_debug( "wpsc_post_transition: deleting tag: " . get_supercache_dir() . $tag_base . $tag->slug . '/' );
1016
+ }
1017
+ }
1018
+ }
1019
+
1020
+ function wpsc_post_transition( $new_status, $old_status, $post ) {
1021
+ if (
1022
+ ($old_status == 'publish' && $new_status != 'publish' ) // post unpublished
1023
+ ||
1024
+ ($old_status != 'publish' && $new_status == 'publish') // post published
1025
+ ) {
1026
+ wpsc_delete_cats_tags( $post );
1027
+ prune_super_cache( get_supercache_dir() . '/' . $post->post_name . '/', true );
1028
+ wp_cache_debug( "wpsc_post_transition: deleting post: " . get_supercache_dir() . '/' . $post->post_name . '/' );
1029
+ }
1030
+ }
1031
+
1032
  /* check if we want to clear out all cached files on post updates, otherwise call standard wp_cache_post_change() */
1033
  function wp_cache_post_edit($post_id) {
1034
+ global $wp_cache_clear_on_post_edit, $cache_path, $blog_cache_dir, $wp_cache_object_cache;
1035
  static $last_post_edited = -1;
1036
 
1037
  if ( $post_id == $last_post_edited ) {
1038
+ wp_cache_debug( "wp_cache_post_edit: Already processed post $post_id.", 4 );
1039
  return $post_id;
1040
  }
1041
 
1042
  $post = get_post( $post_id );
1043
+ if ( is_object( $post ) == false )
1044
+ return $post_id;
1045
+
1046
  // Some users are inexplicibly seeing this error on scheduled posts.
1047
  // define this constant to disable the post status check.
1048
  if ( false == defined( 'WPSCFORCEUPDATE' ) && $post->post_status != 'publish' ) {
1049
+ wp_cache_debug( "wp_cache_post_edit: draft post, not deleting any cache files.", 4 );
1050
  return $post_id;
1051
  }
1052
 
1053
  // we want to process the post again just in case it becomes published before the second time this function is called.
1054
  $last_post_edited = $post_id;
1055
  if( $wp_cache_clear_on_post_edit ) {
1056
+ wp_cache_debug( "wp_cache_post_edit: Clearing cache $blog_cache_dir and {$cache_path}supercache/ on post edit per config.", 2 );
1057
  if ( $wp_cache_object_cache ) {
1058
  reset_oc_version();
1059
  } else {
1061
  prune_super_cache( get_supercache_dir(), true );
1062
  }
1063
  } else {
1064
+ wp_cache_debug( "wp_cache_post_edit: Clearing cache for post $post_id on post edit.", 2 );
1065
  wp_cache_post_change( $post_id );
1066
  }
1067
  }
1078
 
1079
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
1080
  $dir = get_current_url_supercache_dir( $post_id );
1081
+ wp_cache_debug( "wp_cache_post_id_gc post_id: $post_id " . post_permalink( $post_id ) . " clearing cache in $dir.", 4 );
1082
  if ( $all == 'all' ) {
1083
  prune_super_cache( $dir, true, true );
1084
  do_action( 'gc_cache', 'prune', $permalink );
1085
  @rmdir( $dir );
1086
  } else {
1087
+ wp_cache_debug( "wp_cache_post_id_gc clearing cached index files in $dir.", 4 );
1088
  prune_super_cache( $dir, true, true );
1089
  do_action( 'gc_cache', 'prune', $permalink );
1090
  }
1091
+ wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$dir}/page/.", 4 );
1092
  prune_super_cache( $dir . '/page/', true );
1093
  $supercache_home = get_supercache_dir();
1094
+ wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$supercache_home}/page/.", 4 );
1095
  prune_super_cache( $supercache_home . '/page/', true );
1096
  do_action( 'gc_cache', 'prune', '/page/' );
1097
  }
1098
 
1099
  function wp_cache_post_change( $post_id ) {
1100
+ global $file_prefix, $cache_path, $blog_id, $super_cache_enabled, $blog_cache_dir, $blogcacheid, $wp_cache_refresh_single_only, $wp_cache_object_cache;
1101
  static $last_processed = -1;
1102
 
1103
  if ( $post_id == $last_processed ) {
1104
+ wp_cache_debug( "wp_cache_post_change: Already processed post $post_id.", 4 );
1105
  return $post_id;
1106
  }
1107
  $post = get_post( $post_id );
1108
  // Some users are inexplicibly seeing this error on scheduled posts.
1109
  // define this constant to disable the post status check.
1110
+ if ( false == defined( 'WPSCFORCEUPDATE' ) && is_object( $post ) && $post->post_status != 'publish' ) {
1111
+ wp_cache_debug( "wp_cache_post_change: draft post, not deleting any cache files.", 4 );
1112
  return $post_id;
1113
  }
1114
  $last_processed = $post_id;
1118
 
1119
  if ( isset( $wp_cache_refresh_single_only ) && $wp_cache_refresh_single_only && ( strpos( $_SERVER[ 'HTTP_REFERER' ], 'edit-comments.php' ) || strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-comments-post.php' ) ) ) {
1120
  if ( defined( 'DONOTDELETECACHE' ) ) {
1121
+ wp_cache_debug( "wp_cache_post_change: comment detected and it's moderated or spam. Not deleting cached files.", 4 );
1122
  return $post_id;
1123
  } else {
1124
+ wp_cache_debug( "wp_cache_post_change: comment detected. only deleting post page.", 4 );
1125
  $all = false;
1126
  }
1127
  } else {
1138
  // make sure the front page has a rebuild file
1139
  wp_cache_post_id_gc( $siteurl, $post_id );
1140
  if ( $all == true ) {
1141
+ wp_cache_debug( "Post change: deleting cache files in " . $cache_path . 'supercache/' . $siteurl, 4 );
1142
  $files_to_check = get_all_supercache_filenames( $dir );
1143
  foreach( $files_to_check as $cache_file ) {
1144
  prune_super_cache( $dir . $cache_file, true, true );
1146
  do_action( 'gc_cache', 'prune', 'homepage' );
1147
  }
1148
  if( $all == true && get_option( 'show_on_front' ) == 'page' ) {
1149
+ wp_cache_debug( "Post change: deleting page_on_front and page_for_posts pages.", 4 );
1150
+ wp_cache_debug( "Post change: page_on_front " . get_option( 'page_on_front' ), 4 );
1151
  wp_cache_post_id_gc( $siteurl, get_option( 'page_on_front' ), 'single' );
1152
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( get_option( 'page_for_posts' ) ) ) );
1153
  $files_to_check = get_all_supercache_filenames( $dir . $permalink );
1166
  $content_pathname = $blog_cache_dir . $matches[1] . ".html";
1167
  $meta = unserialize(@file_get_contents($meta_pathname));
1168
  if( false == is_array( $meta ) ) {
1169
+ wp_cache_debug( "Post change cleaning up stray file: $content_pathname", 4 );
1170
  @unlink($meta_pathname);
1171
  @unlink($content_pathname);
1172
  continue;
1174
  if ($post_id > 0 && $meta) {
1175
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
1176
  if ( $meta[ 'blog_id' ] == $blog_id && ( ( $all == true && !$meta[ 'post' ] ) || $meta[ 'post' ] == $post_id) ) {
1177
+ wp_cache_debug( "Post change: deleting post cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1178
  @unlink($meta_pathname);
1179
  @unlink($content_pathname);
1180
  if ( $super_cache_enabled == true ) {
1183
  }
1184
  }
1185
  } elseif ($meta[ 'blog_id' ] == $blog_id) {
1186
+ wp_cache_debug( "Post change: deleting cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1187
  @unlink($meta_pathname);
1188
  @unlink($content_pathname);
1189
  if ( $super_cache_enabled == true ) {
1225
  if ( @file_exists( $flag ) ) {
1226
  if ( time() - filemtime( $flag ) > 3600 ) {
1227
  @unlink( $flag );
1228
+ wp_cache_debug( "maybe_stop_gc: GC flag found but deleted because it's older than 3600 seconds.", 5 );
1229
  return false;
1230
  } else {
1231
+ wp_cache_debug( 'maybe_stop_gc: GC flag found. GC cancelled.', 5 );
1232
  return true;
1233
  }
1234
  } else {
1235
+ wp_cache_debug( 'maybe_stop_gc: GC flag not found. GC will go ahead..', 5 );
1236
  return false;
1237
  }
1238
  }
1246
 
1247
  $msg = '';
1248
  if ( $cache_max_time == 0 ) {
1249
+ wp_cache_debug( 'Cache garbage collection disabled because cache expiry time is zero.', 5 );
1250
  return false;
1251
  }
1252
 
1253
  $gc_flag = get_gc_flag();
1254
  if ( maybe_stop_gc( $gc_flag ) ) {
1255
+ wp_cache_debug( 'GC flag found. GC cancelled.', 5 );
1256
  return false;
1257
  }
1258
 
1259
  update_option( 'wpsupercache_gc_time', time() );
1260
+ wp_cache_debug( "wp_cache_gc_cron: Set GC Flag. ($gc_flag)", 5 );
1261
  $fp = @fopen( $gc_flag, 'w' );
1262
  @fclose( $fp );
1263
 
1264
+ wp_cache_debug( 'Cache garbage collection.', 5 );
1265
 
1266
  if( !isset( $cache_max_time ) )
1267
  $cache_max_time = 600;
1269
  $start = time();
1270
  $num = 0;
1271
  if( false === ( $num = wp_cache_phase2_clean_expired( $file_prefix ) ) ) {
1272
+ wp_cache_debug( 'Cache Expiry cron job failed. Probably mutex locked.', 1 );
1273
  update_option( 'wpsupercache_gc_time', time() - ( $cache_time_interval - 10 ) ); // if GC failed then run it again in one minute
1274
  $msg .= __( 'Cache expiry cron job failed. Job will run again in 10 seconds.', 'wp-super-cache' ) . "\n";
1275
  }
1276
  if( time() - $start > 30 ) {
1277
+ wp_cache_debug( "Cache Expiry cron job took more than 30 seconds to execute.\nYou should reduce the Expiry Time in the WP Super Cache admin page\nas you probably have more cache files than your server can handle efficiently.", 1 );
1278
  $msg .= __( 'Cache expiry cron job took more than 30 seconds. You should probably run the garbage collector more often.', 'wp-super-cache' ) . "\n";
1279
  }
1280
 
1287
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] WP Super Cache GC Report', 'wp-super-cache' ), site_url() ), $msg );
1288
  }
1289
  @unlink( $gc_flag );
1290
+ wp_cache_debug( 'GC completed. GC flag deleted.', 5 );
1291
  schedule_wp_gc( 1 );
1292
  }
1293
 
1318
  if ( !($t = wp_next_scheduled( 'wp_cache_gc' ) ) ) {
1319
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1320
  wp_schedule_single_event( time() + $cache_time_interval, 'wp_cache_gc' );
1321
+ wp_cache_debug( 'scheduled wp_cache_gc for 10 seconds time.', 5 );
1322
  }
1323
  } else {
1324
  global $time_to_gc_cache;
1333
 
1334
  function wp_cache_gc_watcher() {
1335
  if ( false == wp_next_scheduled( 'wp_cache_gc' ) ) {
1336
+ wp_cache_debug( 'GC Watcher: scheduled new gc cron.', 5 );
1337
  schedule_wp_gc();
1338
  }
1339
  }
wp-cache.php CHANGED
@@ -1,15 +1,17 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Super Cache
4
- Plugin URI: http://ocaoimh.ie/wp-super-cache/
5
  Description: Very fast caching plugin for WordPress.
6
- Version: 1.3.3
7
- Author: Donncha O Caoimh
8
- Author URI: http://ocaoimh.ie/
 
 
9
  */
10
 
11
- /* Copyright 2005-2006 Ricardo Galli Granada (email : gallir@uib.es)
12
- Copyright 2007-2013 Donncha Ó Caoimh (http://ocaoimh.ie/) and many others.
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
@@ -34,6 +36,18 @@ if( !defined('WP_CONTENT_DIR') )
34
 
35
  $wp_cache_config_file = WP_CONTENT_DIR . '/wp-cache-config.php';
36
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  if( !@include($wp_cache_config_file) ) {
38
  get_wpcachehome();
39
  $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
@@ -42,9 +56,7 @@ if( !@include($wp_cache_config_file) ) {
42
  get_wpcachehome();
43
  }
44
 
45
- $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
46
  $wp_cache_link = WP_CONTENT_DIR . '/advanced-cache.php';
47
- $wp_cache_file = WPCACHEHOME . 'advanced-cache.php';
48
 
49
  if( !defined( 'WP_CACHE' ) || ( defined( 'WP_CACHE' ) && constant( 'WP_CACHE' ) == false ) ) {
50
  $wp_cache_check_wp_config = true;
@@ -66,14 +78,14 @@ function wp_cache_set_home() {
66
  add_action( 'template_redirect', 'wp_cache_set_home' );
67
 
68
 
69
- // OSSDL CDN plugin (http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/)
70
  include_once( WPCACHEHOME . 'ossdl-cdn.php' );
71
 
72
  // from legolas558 d0t users dot sf dot net at http://www.php.net/is_writable
73
  function is_writeable_ACLSafe($path) {
74
 
75
  // PHP's is_writable does not work with Win32 NTFS
76
-
77
  if ($path{strlen($path)-1}=='/') // recursively return a temporary file path
78
  return is_writeable_ACLSafe($path.uniqid(mt_rand()).'.tmp');
79
  else if (is_dir($path))
@@ -160,12 +172,12 @@ function wp_cache_manager_error_checks() {
160
 
161
  if ( !wpsupercache_site_admin() )
162
  return false;
163
-
164
  if ( version_compare( PHP_VERSION, '5.3.0', '<' ) && ( 1 == ini_get( 'safe_mode' ) || "on" == strtolower( ini_get( 'safe_mode' ) ) ) ) {
165
  echo '<div id="message" class="updated fade"><h3>' . __( 'Warning! PHP Safe Mode Enabled!', 'wp-super-cache' ) . '</h3><p>' .
166
  __( 'You may experience problems running this plugin because SAFE MODE is enabled.', 'wp-super-cache' ) . ' ';
167
-
168
-
169
  if( !ini_get( 'safe_mode_gid' ) ) {
170
  _e( 'Your server is set up to check the owner of PHP scripts before allowing them to read and write files.', 'wp-super-cache' ) . " ";
171
  printf( __( 'You or an administrator may be able to make it work by changing the group owner of the plugin scripts to match that of the web server user. The group owner of the %s/cache/ directory must also be changed. See the <a href="http://php.net/features.safe-mode">safe mode manual page</a> for further details.', 'wp-super-cache' ), WP_CONTENT_DIR );
@@ -191,7 +203,7 @@ function wp_cache_manager_error_checks() {
191
  if( substr( $ip, 0, 3 ) == '127' || substr( $ip, 0, 7 ) == '192.168' ) {
192
  ?><div id="message" class="updated fade"><h3><?php printf( __( 'Warning! Your hostname "%s" resolves to %s', 'wp-super-cache' ), $hostname, $ip ); ?></h3>
193
  <p><?php printf( __( 'Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly.', 'wp-super-cache' ), $ip ); ?></p>
194
- <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/faq/' ); ?></p>
195
  </div>
196
  <?php
197
  return false;
@@ -205,7 +217,7 @@ function wp_cache_manager_error_checks() {
205
  if( $cron[ 'response' ][ 'code' ] == '404' ) {
206
  ?><div id="message" class="updated fade"><h3>Warning! wp-cron.php not found!</h3>
207
  <p><?php _e( 'Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities.', 'wp-super-cache' ); ?></p>
208
- <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/faq/' ); ?></p>
209
  </div>
210
  <?php
211
  } else {
@@ -226,7 +238,7 @@ function wp_cache_manager_error_checks() {
226
  return false;
227
  }
228
 
229
- if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
230
  ?><div id="message" class="updated fade"><h3><?php _e( 'Zlib Output Compression Enabled!', 'wp-super-cache' ); ?></h3>
231
  <p><?php _e( 'PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href="http://php.net/manual/en/zlib.configuration.php">this page</a> for instructions on modifying your php.ini.', 'wp-super-cache' ); ?></p></div><?php
232
  }
@@ -268,7 +280,7 @@ function wp_cache_manager_error_checks() {
268
  <input type="hidden" name="action" value="dismiss_gc_warning" />
269
  <input type="hidden" name="page" value="wpsupercache" />
270
  <?php wp_nonce_field( 'wp-cache' ); ?>
271
- <input type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
272
  </form>
273
  <br />
274
  </div>
@@ -296,7 +308,7 @@ function wp_cache_manager_error_checks() {
296
  <input type="hidden" name="action" value="dismiss_readable_warning" />
297
  <input type="hidden" name="page" value="wpsupercache" />
298
  <?php wp_nonce_field( 'wp-cache' ); ?>
299
- <input type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
300
  </form>
301
  <br />
302
  </div>
@@ -310,7 +322,7 @@ function wp_cache_manager_error_checks() {
310
  if ( $cache_enabled && $wp_cache_mod_rewrite && !$wp_cache_mobile_enabled && strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) ) {
311
  echo '<div id="message" class="updated fade"><h3>' . __( 'Mobile rewrite rules detected', 'wp-super-cache' ) . "</h3>";
312
  echo "<p>" . __( 'For best performance you should enable "Mobile device support" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text "2.0\ MMP|240x320" and delete those.', 'wp-super-cache' ) . "</p><p>" . __( 'This will have no affect on ordinary users but mobile users will see uncached pages.', 'wp-super-cache' ) . "</p></div>";
313
- } elseif ( $wp_cache_mod_rewrite && $cache_enabled && $wp_cache_mobile_enabled && $scrules != '' && (
314
  ( false == empty( $wp_cache_mobile_prefixes ) && false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) ) ) ||
315
  ( false == empty( $wp_cache_mobile_browsers ) && false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) ) )
316
  ) {
@@ -322,7 +334,7 @@ function wp_cache_manager_error_checks() {
322
  <li> <?php _e( 'Scroll down the Advanced Settings page and click the <strong>Update Mod_Rewrite Rules</strong> button.', 'wp-super-cache' ); ?></li>
323
  <li> <?php printf( __( 'Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page.', 'wp-super-cache' ), $home_path ); ?></li>
324
  <li> <?php printf( __( 'Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%%{HTTP:Cookie} !^.*(comment_author_|%s|wp-postpass_).*$</code> add these lines: (do it twice, once for each section)', 'wp-super-cache' ), $home_path, wpsc_get_logged_in_cookie() ); ?></p>
325
- <div style='padding: 2px; margin: 2px; border: 1px solid #333; width:400px; overflow: scroll'><pre><?php echo "RewriteCond %{HTTP_user_agent} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").*\nRewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").*"; ?></pre></div></li></ol></div><?php
326
  }
327
 
328
  if ( $cache_enabled && $super_cache_enabled && $wp_cache_mod_rewrite && $scrules == '' ) {
@@ -358,6 +370,8 @@ function wp_cache_manager_error_checks() {
358
  } elseif ( !isset( $dismiss_htaccess_warning ) ) {
359
  $dismiss_htaccess_warning = 0;
360
  }
 
 
361
  if ( $dismiss_htaccess_warning == 0 && $wp_cache_mod_rewrite && $super_cache_enabled && $disable_supercache_htaccess_warning == false && get_option( 'siteurl' ) != get_option( 'home' ) ) {
362
  $home_dir = str_replace( get_option( 'home' ), '', get_option( 'siteurl' ) );
363
  ?><div id="message" class="updated fade"><h3><?php _e( '.htaccess file may need to be moved', 'wp-super-cache' ); ?></h3>
@@ -366,9 +380,9 @@ function wp_cache_manager_error_checks() {
366
  <input type="hidden" name="action" value="dismiss_htaccess_warning" />
367
  <input type="hidden" name="page" value="wpsupercache" />
368
  <?php wp_nonce_field( 'wp-cache' ); ?>
369
- <input type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
370
  </form>
371
- <br />
372
  </div><?php
373
  }
374
 
@@ -382,10 +396,10 @@ function admin_bar_delete_page() {
382
  if ( function_exists('current_user_can') && false == current_user_can('delete_others_posts') )
383
  return false;
384
  if ( isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'delcachepage' && ( isset( $_GET[ '_wpnonce' ] ) ? wp_verify_nonce( $_REQUEST[ '_wpnonce' ], 'delete-cache' ) : false ) ) {
385
- $path = get_supercache_dir() . preg_replace( '/:.*$/', '', $_GET[ 'path' ] );
386
  $files = get_all_supercache_filenames( $path );
387
  foreach( $files as $cache_file )
388
- prune_super_cache( $path . $cache_file, true );
389
 
390
  wp_redirect( preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_GET[ 'path' ] ) );
391
  die();
@@ -583,7 +597,7 @@ function wp_cache_manager_updates() {
583
  $wp_cache_refresh_single_only = 0;
584
  }
585
  wp_cache_replace_line('^ *\$wp_cache_refresh_single_only', "\$wp_cache_refresh_single_only = '" . $wp_cache_refresh_single_only . "';", $wp_cache_config_file);
586
-
587
  if ( defined( 'WPSC_DISABLE_COMPRESSION' ) ) {
588
  $cache_compression = 0;
589
  wp_cache_replace_line('^ *\$cache_compression', "\$cache_compression = " . $cache_compression . ";", $wp_cache_config_file);
@@ -593,7 +607,7 @@ function wp_cache_manager_updates() {
593
  } else {
594
  $new_cache_compression = 0;
595
  }
596
- if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
597
  echo '<div id="message" class="updated fade">' . __( "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file.", 'wp-super-cache' ) . '</div>';
598
  } else {
599
  if ( $new_cache_compression != $cache_compression ) {
@@ -638,7 +652,7 @@ function wp_cache_manager() {
638
  $wp_cache_mobile_prefixes = apply_filters( 'cached_mobile_prefixes', $wp_cache_mobile_prefixes ); // Allow mobile plugins access to modify the mobile UA prefix list
639
  if ( function_exists( 'do_cacheaction' ) ) {
640
  $wp_cache_mobile_browsers = do_cacheaction( 'wp_super_cache_mobile_browsers', $wp_cache_mobile_browsers );
641
- $wp_cache_mobile_prefixes = do_cacheaction( 'wp_super_cache_mobile_prefixes', $wp_cache_mobile_prefixes );
642
  }
643
  $mobile_groups = apply_filters( 'cached_mobile_groups', array() ); // Group mobile user agents by capabilities. Lump them all together by default
644
  // mobile_groups = array( 'apple' => array( 'ipod', 'iphone' ), 'nokia' => array( 'nokia5800', 'symbianos' ) );
@@ -710,7 +724,7 @@ jQuery(document).ready(function(){
710
 
711
  if ( isset( $wp_super_cache_front_page_check ) && $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
712
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
713
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
714
  }
715
 
716
  if(isset($_REQUEST['wp_restore_config']) && $valid_nonce) {
@@ -726,10 +740,10 @@ jQuery(document).ready(function(){
726
  $home_path = parse_url( site_url() );
727
  $home_path = trailingslashit( array_key_exists( 'path', $home_path ) ? $home_path[ 'path' ] : '' );
728
  if (! isset( $wp_cache_home_path ) )
729
- $wp_cache_home_path = '/';
730
  if ( "$home_path" != "$wp_cache_home_path" )
731
  wp_cache_replace_line('^ *\$wp_cache_home_path', "\$wp_cache_home_path = '$home_path';", $wp_cache_config_file);
732
-
733
 
734
  if( $wp_cache_mobile_enabled == 1 ) {
735
  update_cached_mobile_ua_list( $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes, $mobile_groups );
@@ -785,7 +799,7 @@ jQuery(document).ready(function(){
785
  wp_unschedule_event( $next_preload, 'wp_cache_full_preload_hook' );
786
  if ( $wp_cache_preload_interval == 0 ) {
787
  echo "<p><strong>" . __( 'Scheduled preloading of cache cancelled.', 'wp-super-cache' ) . "</strong></p>";
788
- }
789
  }
790
  if ( $_POST[ 'custom_preload_interval' ] != 0 )
791
  wp_schedule_single_event( time() + ( $_POST[ 'custom_preload_interval' ] * 60 ), 'wp_cache_full_preload_hook' );
@@ -903,9 +917,9 @@ jQuery(document).ready(function(){
903
  echo "<p>" . sprintf( __( "<strong>Page last cached:</strong> %s", 'wp-super-cache' ), $url ) . "</p>";
904
  }
905
  }
906
- echo '<div class="submit"><input type="submit" name="preload" value="' . __( 'Update Settings', 'wp-super-cache' ) . '" />&nbsp;<input type="submit" name="preload" value="' . __( 'Preload Cache Now', 'wp-super-cache' ) . '" />';
907
  if ( $currently_preloading ) {
908
- echo '&nbsp;<input type="submit" name="preload" value="' . __( 'Cancel Cache Preload', 'wp-super-cache' ) . '" />';
909
  }
910
  echo '</div>';
911
  wp_nonce_field('wp-cache');
@@ -923,7 +937,7 @@ jQuery(document).ready(function(){
923
  case 'settings':
924
  if ( isset( $wp_cache_front_page_checks ) == false )
925
  $wp_cache_front_page_checks = true;
926
- echo '<form name="wp_manager" action="' . add_query_arg( array( 'page' => 'wpsupercache', 'tab' => 'settings' ) ) . '" method="post">';
927
  wp_nonce_field('wp-cache');
928
  echo '<input type="hidden" name="action" value="scupdates" />';
929
  ?><table class="form-table">
@@ -933,8 +947,8 @@ jQuery(document).ready(function(){
933
  <fieldset>
934
  <legend class="hidden">Caching</legend>
935
  <label><input type='checkbox' name='wp_cache_status' value='all' <?php if ( $cache_enabled == true ) { echo 'checked=checked'; } ?>> <?php _e( 'Cache hits to this website for quick access.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br /><br />
936
- <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled ) echo "checked"; ?> value='1'> <?php printf( __( 'Use mod_rewrite to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wordpress-mobile-edition/' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
937
- <label><input type='radio' name='super_cache_enabled' <?php if( $wp_cache_mod_rewrite == 0 ) echo "checked"; ?> value='2'> <?php printf( __( 'Use PHP to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wordpress-mobile-edition/' ); ?></label><br />
938
  <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled == false ) echo "checked"; ?> value='0'> <?php _e( 'Legacy page caching.', 'wp-super-cache' ); ?></label><br />
939
  <em><?php _e( 'Mod_rewrite is fastest, PHP is almost as fast and easier to get working, while legacy caching is slower again, but more flexible and also easy to get working. New users should use PHP caching.', 'wp-super-cache' ); ?></em><br />
940
  </legend>
@@ -980,8 +994,8 @@ jQuery(document).ready(function(){
980
  <td>
981
  <fieldset>
982
  <legend class="hidden">Advanced</legend>
983
- <label><input type='checkbox' name='wp_cache_mfunc_enabled' <?php if( $wp_cache_mfunc_enabled ) echo "checked"; ?> value='1' <?php if ( $wp_cache_mod_rewrite || $super_cache_enabled == false ) { echo "disabled='disabled'"; } ?>> <?php _e( 'Enable dynamic caching (mfunc, mclude, dynamic-cached-content). See the <a href="http://wordpress.org/extend/plugins/wp-super-cache/faq/">FAQ</a> for further details.)', 'wp-super-cache' ); ?></label><br />
984
- <label><input type='checkbox' name='wp_cache_mobile_enabled' <?php if( $wp_cache_mobile_enabled ) echo "checked"; ?> value='1'> <?php _e( 'Mobile device support. (External plugin or theme required. See the <a href="http://wordpress.org/extend/plugins/wp-super-cache/faq/">FAQ</a> for further details.)', 'wp-super-cache' ); ?></label><br />
985
  <?php if ( $wp_cache_mobile_enabled ) {
986
  echo '<blockquote><h4>' . __( 'Mobile Browsers', 'wp-super-cache' ) . '</h4>' . implode( ', ', $wp_cache_mobile_browsers ) . "<br /><h4>" . __( 'Mobile Prefixes', 'wp-super-cache' ) . "</h4>" . implode( ', ', $wp_cache_mobile_prefixes ) . "<br /></blockquote>";
987
  } ?>
@@ -994,8 +1008,8 @@ jQuery(document).ready(function(){
994
  <label><input type='checkbox' name='wp_cache_mutex_disabled' <?php if( !$wp_cache_mutex_disabled ) echo "checked"; ?> value='0'> <?php _e( 'Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>', 'wp-super-cache' ); ?></label><br />
995
  <?php } ?>
996
  <label><input type='checkbox' name='wp_super_cache_late_init' <?php if( $wp_super_cache_late_init ) echo "checked"; ?> value='1'> <?php _e( 'Late init. Display cached files after WordPress has loaded. Most useful in legacy mode.', 'wp-super-cache' ); ?></label><br />
997
- <?php if ( $_wp_using_ext_object_cache ) {
998
- ?><label><input type='checkbox' name='wp_cache_object_cache' <?php if( $wp_cache_object_cache ) echo "checked"; ?> value='1'> <?php echo __( 'Use object cache to store cached files.', 'wp-super-cache' ) . ' ' . __( '(Experimental)', 'wp-super-cache' ); ?></label><?php
999
  }?>
1000
  <?php printf( __( '<strong>DO NOT CACHE PAGE</strong> secret key: <a href="%s">%s</a>', 'wp-super-cache' ), trailingslashit( get_bloginfo( 'url' ) ) . "?donotcachepage={$cache_page_secret}", $cache_page_secret ); ?>
1001
  </legend>
@@ -1008,10 +1022,10 @@ jQuery(document).ready(function(){
1008
  <li><?php _e( 'Uninstall this plugin on the plugins page. It will automatically clean up after itself. If manual intervention is required then simple instructions are provided.', 'wp-super-cache' ); ?></li>
1009
  <li><?php printf( __( 'If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)', 'wp-super-cache' ), WP_CONTENT_DIR ); ?></li>
1010
  <li><?php printf( __( 'Please see the <a href="%1$s/wp-super-cache/readme.txt">readme.txt</a> for instructions on uninstalling this script. Look for the heading, "How to uninstall WP Super Cache".', 'wp-super-cache' ), WP_PLUGIN_URL ); ?></li><?php
1011
- echo "<li><em>" . sprintf( __( 'Need help? Check the <a href="%1$s">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href="%2$s">support forum</a> is also available. Your question may already have been answered.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/', 'http://wordpress.org/tags/wp-super-cache?forum_id=10' ) . "</em></li>";
1012
  echo "</ol>";
1013
-
1014
- echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . " &raquo;' /></div>";
1015
  wp_nonce_field('wp-cache');
1016
  ?> </form> <?php
1017
  wsc_mod_rewrite();
@@ -1058,7 +1072,7 @@ jQuery(document).ready(function(){
1058
  echo "<p><strong>" . __( 'Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules.', 'wp-super-cache' ) . '</strong></p>';
1059
  }
1060
  }
1061
- echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . " &raquo;' /></div></form>";
1062
  if ( $cache_enabled ) {
1063
  echo "<h3>" . __( 'Cache Tester', 'wp-super-cache' ) . "</h3>";
1064
  echo '<p>' . __( 'Test your cached website by clicking the test button below.', 'wp-super-cache' ) . '</p>';
@@ -1139,7 +1153,7 @@ jQuery(document).ready(function(){
1139
  echo '<input type="hidden" name="action" value="test" />';
1140
  if ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) )
1141
  echo "<input type='checkbox' name='httponly' checked='checked' value='1' /> " . __( 'Send non-secure (non https) request for homepage', 'wp-super-cache' );
1142
- echo '<div class="submit"><input type="submit" name="test" value="' . __( 'Test Cache', 'wp-super-cache' ) . '" /></div>';
1143
  wp_nonce_field('wp-cache');
1144
  echo '</form>';
1145
  }
@@ -1147,29 +1161,27 @@ jQuery(document).ready(function(){
1147
  echo "<p>" . __( "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below.", 'wp-super-cache' ) . "</p>";
1148
  echo '<form name="wp_cache_content_delete" action="?page=wpsupercache&tab=contents" method="post">';
1149
  echo '<input type="hidden" name="wp_delete_cache" />';
1150
- echo '<div class="submit" style="float:left;margin-left:10px"><input id="deletepost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . ' &raquo;" /></div>';
1151
  wp_nonce_field('wp-cache');
1152
  echo "</form>\n";
1153
 
1154
  if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) {
1155
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
1156
  echo '<input type="hidden" name="wp_delete_all_cache" />';
1157
- echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . ' &raquo;" />';
1158
  wp_nonce_field('wp-cache');
1159
  echo "</form><br />\n";
1160
  }
1161
  ?>
1162
- <h3><?php _e( 'Recommended Links and Plugins', 'wp-super-cache' ); ?></h3>
1163
  <p><?php _e( 'Caching is only one part of making a website faster. Here are some other plugins that will help:', 'wp-super-cache' ); ?></p>
1164
- <ol><li><?php printf( __( '<a href="%s">WPSCMin</a>, a Supercache plugin that minifies cached pages by removing whitespaces and extra characters ', 'wp-super-cache' ), 'http://lyncd.com/wpscmin/' ); ?></li>
1165
  <li><?php printf( __( '<a href="%s">Yahoo! Yslow</a> is an extension for the Firefox add-on Firebug. It analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. Also try the performance tools online at <a href="%s">GTMetrix</a>.', 'wp-super-cache' ), 'http://developer.yahoo.com/yslow/', 'http://gtmetrix.com/' ); ?></li>
1166
- <li><?php printf( __( '<a href="%s">Use Google Libraries</a> allows you to load some commonly used Javascript libraries from Google webservers. Ironically it may reduce your Yslow score.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/use-google-libraries/' ); ?></li>
1167
- <li><?php printf( __( 'The <a href="%1$s">CDN Sync Tool</a> plugin will help upload files to Amazon S3/Cloudfront if you would rather not depend on origin pull. See the <a href="%2$s">plugin support forum</a> if you have any queries about this plugin.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/cdn-sync-tool/', 'http://wordpress.org/tags/cdn-sync-tool?forum_id=10' ); ?></li>
1168
  <li><?php printf( __( '<strong>Advanced users only:</strong> <a href="%s">Speed up your site with Caching and cache-control</a> explains how to make your site more cacheable with .htaccess rules.', 'wp-super-cache' ), 'http://www.askapache.com/htaccess/speed-up-your-site-with-caching-and-cache-control.html' ); ?></li>
1169
- <li><?php printf( __( '<strong>Advanced users only:</strong> Install an object cache. Choose from <a href="%s">Memcached</a>, <a href="%s">XCache</a>, <a href="%s">eAcccelerator</a> and others.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/memcached/', 'http://neosmart.net/dl.php?id=12', 'http://neosmart.net/dl.php?id=13' ); ?></li>
1170
- <li><?php printf( __( '<a href="%s">Cron View</a> is a useful plugin to use when trying to debug garbage collection and preload problems.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/cron-view/' ); ?></li>
1171
  </ol>
1172
-
1173
  <?php
1174
  break;
1175
  }
@@ -1178,23 +1190,19 @@ jQuery(document).ready(function(){
1178
  </fieldset>
1179
  </td><td valign='top' style='width: 300px'>
1180
  <div style='background: #ffc; border: 1px solid #333; margin: 2px; padding: 5px'>
1181
- <h3 align='center'><?php _e( 'Make WordPress Faster', 'wp-super-cache' ); ?></h3>
1182
- <p><?php printf( __( '%1$s is maintained and developed by %2$s with contributions from many others.', 'wp-super-cache' ), '<a href="http://ocaoimh.ie/y/34">WP Super Cache</a>', '<a href="http://ocaoimh.ie/y/35">Donncha O Caoimh</a>' ); ?></p>
1183
- <p><?php printf( __( 'He blogs at %1$s and posts photos at %2$s.', 'wp-super-cache' ), '<a href="http://ocaoimh.ie/y/35">Holy Shmoly</a>', '<a href="http://ocaoimh.ie/y/2m">In Photos.org</a>' ); ?></p>
1184
- <p><?php printf( __( 'Please say hi to him on %s too!', 'wp-super-cache' ), '<a href="http://twitter.com/donncha/">Twitter</a>' ); ?></p>
1185
  <h3 align='center'><?php _e( 'Need Help?', 'wp-super-cache' ); ?></h3>
1186
  <ol>
1187
  <li><?php _e( 'Use the debug system in the Debug tab above. It will tell you what the plugin is doing.', 'wp-super-cache' ); ?></li>
1188
- <li><?php printf( __( '<a href="%1$s">Installation Help</a>', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/installation/' ); ?></li>
1189
- <li><?php printf( __( '<a href="%1$s">Frequently Asked Questions</a>', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/faq/' ); ?></li>
1190
  <li><?php printf( __( '<a href="%1$s">Support Forum</a>', 'wp-super-cache' ), 'http://wordpress.org/tags/wp-super-cache' ); ?></li>
1191
  <li><?php printf( __( '<a href="%1$s">Development Version</a>', 'wp-super-cache' ), 'http://ocaoimh.ie/y/2o' ); ?></li>
1192
  </ol>
1193
  <h3 align='center'><?php _e( 'Rate This Plugin!', 'wp-super-cache' ); ?></h3>
1194
- <p><?php printf( __( 'Please <a href="%s">rate</a> this plugin and tell me if it works for you or not. It really helps development.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/' ); ?></p>
1195
 
1196
- <?php
1197
- if ( isset( $wp_supercache_cache_list ) && $wp_supercache_cache_list ) {
1198
  $start_date = get_option( 'wpsupercache_start' );
1199
  if ( !$start_date ) {
1200
  $start_date = time();
@@ -1209,7 +1217,7 @@ jQuery(document).ready(function(){
1209
  }
1210
  ?></ol>
1211
  <small><?php _e( '(may not always be accurate on busy sites)', 'wp-super-cache' ); ?></small>
1212
- </p><?php
1213
  } elseif ( false == get_option( 'wpsupercache_start' ) ) {
1214
  update_option( 'wpsupercache_start', time() );
1215
  update_option( 'wpsupercache_count', 0 );
@@ -1274,6 +1282,9 @@ function wpsc_admin_tabs( $current = 0 ) {
1274
  function wsc_mod_rewrite() {
1275
  global $cache_enabled, $super_cache_enabled, $valid_nonce, $cache_path, $wp_cache_mod_rewrite, $wpmu_version;
1276
 
 
 
 
1277
  if ( !$wp_cache_mod_rewrite )
1278
  return false;
1279
 
@@ -1296,7 +1307,7 @@ function wsc_mod_rewrite() {
1296
  if ( function_exists( "is_main_site" ) && false == is_main_site() )
1297
  return true;
1298
  ?>
1299
- <a name="modrewrite"></a><fieldset class="options">
1300
  <h3><?php _e( 'Mod Rewrite Rules', 'wp-super-cache' ); ?></h3><?php
1301
 
1302
  extract( wpsc_get_htaccess_info() );
@@ -1323,13 +1334,13 @@ function wsc_mod_rewrite() {
1323
  } elseif( strpos( $scrules, 'supercache' ) || strpos( $wprules, 'supercache' ) ) { // only write the rules once
1324
  $dohtaccess = false;
1325
  }
1326
- if( $dohtaccess && !$_POST[ 'updatehtaccess' ] ) {
1327
  if ( $scrules == '' ) {
1328
  wpsc_update_htaccess_form( 0 ); // don't hide the update htaccess form
1329
  } else {
1330
  wpsc_update_htaccess_form();
1331
  }
1332
- } elseif( $valid_nonce && $_POST[ 'updatehtaccess' ] ) {
1333
  echo "<div style='padding:0 8px;color:#4f8a10;background-color:#dff2bf;border:1px solid #4f8a10;'>";
1334
  if( wpsc_update_htaccess() ) {
1335
  echo "<h4>" . __( 'Mod Rewrite rules updated!', 'wp-super-cache' ) . "</h4>";
@@ -1351,7 +1362,7 @@ function wsc_mod_rewrite() {
1351
  echo "<div id='rewriterules' style='display: none;'>";
1352
  if ( $rules != $scrules )
1353
  echo '<div style="background: #fff; border: 1px solid #333; margin: 2px;">' . wp_text_diff( $scrules, $rules, array( 'title' => 'Rewrite Rules', 'title_left' => 'Current Rules', 'title_right' => 'New Rules' ) ) . "</div>";
1354
- echo "<p><pre># BEGIN WPSuperCache\n" . esc_html( $rules ) . "# END WPSuperCache</pre></p>\n";
1355
  echo "<p>" . sprintf( __( 'Rules must be added to %s too:', 'wp-super-cache' ), WP_CONTENT_DIR . "/cache/.htaccess" ) . "</p>";
1356
  echo "<pre># BEGIN supercache\n" . esc_html( $gziprules ) . "# END supercache</pre></p>";
1357
  echo '</div>';
@@ -1369,7 +1380,7 @@ function wp_cache_restore() {
1369
  echo '<fieldset class="options"><h3>' . __( 'Fix Configuration', 'wp-super-cache' ) . '</h3>';
1370
  echo '<form name="wp_restore" action="#top" method="post">';
1371
  echo '<input type="hidden" name="wp_restore_config" />';
1372
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'id="deletepost" value="' . __( 'Restore Default Configuration', 'wp-super-cache' ) . ' &raquo;" /></div>';
1373
  wp_nonce_field('wp-cache');
1374
  echo "</form>\n";
1375
  echo '</fieldset>';
@@ -1401,11 +1412,11 @@ function wp_lock_down() {
1401
  }
1402
  }
1403
  ?><a name='lockdown'></a>
1404
- <fieldset class="options">
1405
  <h3><?php _e( 'Lock Down:', 'wp-super-cache' ); ?> <?php echo $wp_lock_down == '0' ? '<span style="color:red">' . __( 'Disabled', 'wp-super-cache' ) . '</span>' : '<span style="color:green">' . __( 'Enabled', 'wp-super-cache' ) . '</span>'; ?></h3>
1406
  <p><?php _e( 'Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files.', 'wp-super-cache' ); ?></p>
1407
  <p><?php _e( 'Developers: Make your plugin lock down compatible by checking the "WPLOCKDOWN" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting.', 'wp-super-cache' ); ?>
1408
- <blockquote><code>if( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) ) {
1409
  &nbsp;&nbsp;&nbsp;&nbsp;echo "<?php _e( 'Sorry. My blog is locked down. Updates will appear shortly', 'wp-super-cache' ); ?>";
1410
  }</code></blockquote>
1411
  <?php
@@ -1418,14 +1429,14 @@ function wp_lock_down() {
1418
  $new_lockdown_desc = $wp_lock_down == '1' ? __( 'Disable', 'wp-super-cache' ) : __( 'Enable', 'wp-super-cache' );
1419
  echo '<form name="wp_lock_down" action="#lockdown" method="post">';
1420
  echo "<input type='hidden' name='wp_lock_down' value='{$new_lockdown}' />";
1421
- echo "<div class='submit'><input type='submit' " . SUBMITDISABLED . " value='{$new_lockdown_desc} " . __( 'Lock Down', 'wp-super-cache' ) . " &raquo;' /></div>";
1422
  wp_nonce_field('wp-cache');
1423
  echo "</form>\n";
1424
 
1425
  ?></fieldset><?php
1426
  if( $cache_enabled == true && $super_cache_enabled == true ) {
1427
  ?><a name='direct'></a>
1428
- <fieldset class="options">
1429
  <h3><?php _e( 'Directly Cached Files', 'wp-super-cache' ); ?></h3><?php
1430
 
1431
  $out = '';
@@ -1433,7 +1444,7 @@ function wp_lock_down() {
1433
  $expiredfiles = array_diff( $cached_direct_pages, $_POST[ 'direct_pages' ] );
1434
  unset( $cached_direct_pages );
1435
  foreach( $_POST[ 'direct_pages' ] as $page ) {
1436
- $page = $wpdb->escape( $page );
1437
  if( $page != '' ) {
1438
  $cached_direct_pages[] = $page;
1439
  $out .= "'$page', ";
@@ -1447,7 +1458,7 @@ function wp_lock_down() {
1447
  $page = str_replace( get_option( 'siteurl' ), '', $_POST[ 'new_direct_page' ] );
1448
  if( substr( $page, 0, 1 ) != '/' )
1449
  $page = '/' . $page;
1450
- $page = $wpdb->escape( $page );
1451
  if( in_array( $page, $cached_direct_pages ) == false ) {
1452
  $cached_direct_pages[] = $page;
1453
  $out .= "'$page', ";
@@ -1508,7 +1519,7 @@ function wp_lock_down() {
1508
  continue;
1509
  $generated = '';
1510
  if( is_file( ABSPATH . $page . '/index.html' ) )
1511
- $generated = '<input type="Submit" name="deletepage" value="' . $page . '">';
1512
  $out .= "<tr><td><input type='text' $readonly name='direct_pages[]' size='30' value='$page' /></td><td>$generated</td></tr>";
1513
  }
1514
  if( $out != '' ) {
@@ -1527,7 +1538,7 @@ function wp_lock_down() {
1527
 
1528
  wp_nonce_field('wp-cache');
1529
  if( $readonly != 'READONLY' )
1530
- echo "<div class='submit'><input type='submit' ' . SUBMITDISABLED . 'value='" . __( 'Update Direct Pages', 'wp-super-cache' ) . " &raquo;' /></div>";
1531
  echo "</form>\n";
1532
  ?></fieldset><?php
1533
  } // if $super_cache_enabled
@@ -1540,7 +1551,7 @@ function RecursiveFolderDelete ( $folderPath ) { // from http://www.php.net/manu
1540
  $dh = @opendir($folderPath);
1541
  while (false !== ($value = @readdir($dh))) {
1542
  if ( $value != "." && $value != ".." ) {
1543
- $value = $folderPath . "/" . $value;
1544
  if ( @is_dir ( $value ) ) {
1545
  RecursiveFolderDelete ( $value );
1546
  }
@@ -1587,10 +1598,10 @@ function wp_cache_edit_max_time () {
1587
 
1588
  if ( isset( $_POST[ 'cache_gc_email_me' ] ) && $valid_nonce ) {
1589
  $cache_gc_email_me = 1;
1590
- wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1591
  } elseif ( $valid_nonce ) {
1592
  $cache_gc_email_me = 0;
1593
- wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1594
  }
1595
  if ( isset( $_POST[ 'cache_schedule_type' ] ) && $_POST[ 'cache_schedule_type' ] == 'interval' && isset( $_POST['cache_time_interval'] ) && $valid_nonce ) {
1596
  wp_clear_scheduled_hook( 'wp_cache_gc' );
@@ -1604,10 +1615,12 @@ function wp_cache_edit_max_time () {
1604
  } elseif ( $valid_nonce ) { // clock
1605
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1606
  $cache_schedule_type = 'time';
1607
- if ( $_POST[ 'cache_scheduled_time' ] == '' )
1608
  $_POST[ 'cache_scheduled_time' ] = '00:00';
1609
  $cache_scheduled_time = $_POST[ 'cache_scheduled_time' ];
1610
  $schedules = wp_get_schedules();
 
 
1611
  if ( isset( $schedules[ $_POST[ 'cache_schedule_interval' ] ] ) )
1612
  $cache_schedule_interval = $_POST[ 'cache_schedule_interval' ];
1613
  wp_cache_replace_line('^ *\$cache_schedule_type', "\$cache_schedule_type = '$cache_schedule_type';", $wp_cache_config_file);
@@ -1615,7 +1628,7 @@ function wp_cache_edit_max_time () {
1615
  wp_cache_replace_line('^ *\$cache_scheduled_time', "\$cache_scheduled_time = '$cache_scheduled_time';", $wp_cache_config_file);
1616
  wp_schedule_event( strtotime( $cache_scheduled_time ), $cache_schedule_interval, 'wp_cache_gc' );
1617
  }
1618
- ?><fieldset class="options">
1619
  <a name='expirytime'></a>
1620
  <h3><?php _e( 'Expiry Time &amp; Garbage Collection', 'wp-super-cache' ); ?></h3><?php
1621
 
@@ -1681,7 +1694,7 @@ function wp_cache_edit_max_time () {
1681
  echo "</ol>";
1682
  echo "<p>" . __( 'Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>600 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching.', 'wp-super-cache' ) . "</p>";
1683
  echo "<p>" . __( 'Set the expiry time to 0 seconds to disable garbage collection.', 'wp-super-cache' ) . "</p>";
1684
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Change Expiration', 'wp-super-cache' ) . ' &raquo;" /></div>';
1685
  wp_nonce_field('wp-cache');
1686
  echo "</form>\n";
1687
  ?></fieldset><?php
@@ -1733,7 +1746,7 @@ function wp_cache_edit_rejected_ua() {
1733
  echo esc_html( $ua ) . "\n";
1734
  }
1735
  echo '</textarea> ';
1736
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save UA Strings', 'wp-super-cache' ) . ' &raquo;" /></div>';
1737
  wp_nonce_field('wp-cache');
1738
  echo '</form>';
1739
  echo "</fieldset>\n";
@@ -1770,7 +1783,7 @@ function wp_cache_edit_rejected_pages() {
1770
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[search]" ' . checked( 1, $wp_cache_pages[ 'search' ], false ) . ' /> ' . __( 'Search Pages', 'wp-super-cache' ) . ' (is_search)</label><br />';
1771
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[author]" ' . checked( 1, $wp_cache_pages[ 'author' ], false ) . ' /> ' . __( 'Author Pages', 'wp-super-cache' ) . ' (is_author)</label><br />';
1772
 
1773
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save' ) . ' &raquo;" /></div>';
1774
  wp_nonce_field('wp-cache');
1775
  echo "</form>\n";
1776
 
@@ -1793,7 +1806,7 @@ function wp_cache_edit_rejected() {
1793
  echo esc_html( $file ) . "\n";
1794
  }
1795
  echo '</textarea> ';
1796
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Strings', 'wp-super-cache' ) . ' &raquo;" /></div>';
1797
  wp_nonce_field('wp-cache');
1798
  echo "</form>\n";
1799
  }
@@ -1815,7 +1828,7 @@ function wp_cache_edit_accepted() {
1815
  echo esc_html($file) . "\n";
1816
  }
1817
  echo '</textarea> ';
1818
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Files', 'wp-super-cache' ) . ' &raquo;" /></div>';
1819
  wp_nonce_field('wp-cache');
1820
  echo "</form>\n";
1821
  }
@@ -1827,6 +1840,8 @@ function wp_cache_debug_settings() {
1827
  if ( false == isset( $wp_super_cache_comments ) )
1828
  $wp_super_cache_comments = 1;
1829
  if ( isset( $_POST[ 'wp_cache_debug' ] ) && $valid_nonce ) {
 
 
1830
  $wp_super_cache_debug = intval( $_POST[ 'wp_super_cache_debug' ] );
1831
  wp_cache_replace_line('^ *\$wp_super_cache_debug', "\$wp_super_cache_debug = '$wp_super_cache_debug';", $wp_cache_config_file);
1832
  if ( $wp_super_cache_debug && ( ( isset( $wp_cache_debug_log ) && $wp_cache_debug_log == '' ) || !isset( $wp_cache_debug_log ) ) ) {
@@ -1835,21 +1850,21 @@ function wp_cache_debug_settings() {
1835
  $wp_cache_debug_log = "";
1836
  }
1837
  wp_cache_replace_line('^ *\$wp_cache_debug_log', "\$wp_cache_debug_log = '$wp_cache_debug_log';", $wp_cache_config_file);
1838
- $wp_super_cache_comments = (int)$_POST[ 'wp_super_cache_comments' ];
1839
  wp_cache_replace_line('^ *\$wp_super_cache_comments', "\$wp_super_cache_comments = '$wp_super_cache_comments';", $wp_cache_config_file);
1840
  $wp_cache_debug_ip = esc_html( $_POST[ 'wp_cache_debug_ip' ] );
1841
  wp_cache_replace_line('^ *\$wp_cache_debug_ip', "\$wp_cache_debug_ip = '$wp_cache_debug_ip';", $wp_cache_config_file);
1842
- $wp_super_cache_front_page_check = (int)$_POST[ 'wp_super_cache_front_page_check' ];
1843
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_check', "\$wp_super_cache_front_page_check = '$wp_super_cache_front_page_check';", $wp_cache_config_file);
1844
- $wp_super_cache_front_page_clear = (int)$_POST[ 'wp_super_cache_front_page_clear' ];
1845
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_clear', "\$wp_super_cache_front_page_clear = '$wp_super_cache_front_page_clear';", $wp_cache_config_file);
1846
  $wp_super_cache_front_page_text = esc_html( $_POST[ 'wp_super_cache_front_page_text' ] );
1847
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_text', "\$wp_super_cache_front_page_text = '$wp_super_cache_front_page_text';", $wp_cache_config_file);
1848
- $wp_super_cache_front_page_notification = (int)$_POST[ 'wp_super_cache_front_page_notification' ];
1849
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_notification', "\$wp_super_cache_front_page_notification = '$wp_super_cache_front_page_notification';", $wp_cache_config_file);
1850
- if ( isset( $wp_super_cache_front_page_check ) && $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
1851
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
1852
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
1853
  }
1854
  }
1855
 
@@ -1879,10 +1894,10 @@ function wp_cache_debug_settings() {
1879
  echo "<tr><td valign='top'>" . __( 'Front page text', 'wp-super-cache' ) . "</td><td> <input type='text' size='30' name='wp_super_cache_front_page_text' value='{$wp_super_cache_front_page_text}' /> (" . __( 'Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable.', 'wp-super-cache' ) . ")</td></tr>";
1880
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_clear' value='1' " . checked( 1, $wp_super_cache_front_page_clear, false ) . " /> " . __( 'Clear cache on error.', 'wp-super-cache' ) . "</td></tr>";
1881
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_notification' value='1' " . checked( 1, $wp_super_cache_front_page_notification, false ) . " /> " . __( 'Email the blog admin when checks are made. (useful for testing)', 'wp-super-cache' ) . "</td></tr>";
1882
-
1883
  echo "</table>\n";
1884
  }
1885
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save', 'wp-super-cache' ) . ' &raquo;" /></div>';
1886
  wp_nonce_field('wp-cache');
1887
  echo "</form>\n";
1888
  echo '</fieldset>';
@@ -2081,7 +2096,7 @@ function wp_cache_create_advanced_cache() {
2081
  $global_config_file = dirname(ABSPATH) . '/wp-config.php';
2082
  }
2083
 
2084
- $line = 'define( \'WPCACHEHOME\', \'' . constant( 'WPCACHEHOME' ) . '\' );';
2085
  if ( !is_writeable_ACLSafe($global_config_file) || !wp_cache_replace_line('define *\( *\'WPCACHEHOME\'', $line, $global_config_file ) ) {
2086
  echo '<div id="message" class="updated fade"><h3>' . __( 'Warning', 'wp-super-cache' ) . "! <em>" . sprintf( __( 'Could not update %s!</em> WPCACHEHOME must be set in config file.', 'wp-super-cache' ), $global_config_file ) . "</h3>";
2087
  return false;
@@ -2101,7 +2116,7 @@ function wp_cache_create_advanced_cache() {
2101
 
2102
  function wp_cache_check_link() {
2103
  global $wp_cache_link, $wp_cache_file;
2104
-
2105
  $ret = true;
2106
  if( file_exists($wp_cache_link) ) {
2107
  $file = file_get_contents( $wp_cache_link );
@@ -2154,7 +2169,7 @@ function wp_cache_check_global_config() {
2154
  }
2155
  return false;
2156
  } else {
2157
- echo "<div style='border: 1px solid #333; background: #ffffaa; padding: 2px;'>" . __( '<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href="http://wordpress.org/extend/plugins/wp-super-cache/faq/">Troubleshooting Guide</a>. The WP_CACHE line must be moved up.', 'wp-super-cache' ) . "</p></div>";
2158
  }
2159
  return true;
2160
  }
@@ -2197,7 +2212,7 @@ function wp_cache_files() {
2197
  $count = 0;
2198
  $expired = 0;
2199
  $now = time();
2200
- if ( ($handle = @opendir( $blog_cache_dir . 'meta/' )) ) {
2201
  $wp_cache_fsize = 0;
2202
  if ( $valid_nonce && isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'deletewpcache' ) {
2203
  $deleteuri = preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '/index.php', '/', str_replace( '..', '', preg_replace("/(\?.*)?$/", '', base64_decode( $_GET[ 'uri' ] ) ) ) ) );
@@ -2219,11 +2234,11 @@ function wp_cache_files() {
2219
  if ( preg_match("/^$file_prefix.*\.meta/", $file) ) {
2220
  $content_file = preg_replace("/meta$/", "html", $file);
2221
  $mtime = filemtime( $blog_cache_dir . 'meta/' . $file );
2222
- if ( ! ( $fsize = @filesize( $blog_cache_dir . $content_file ) ) )
2223
  continue; // .meta does not exists
2224
 
2225
  $age = $now - $mtime;
2226
- if ( $valid_nonce && $_GET[ 'listfiles' ] ) {
2227
  $meta = unserialize( file_get_contents( $blog_cache_dir . 'meta/' . $file ) );
2228
  if ( $deleteuri != '' && $meta[ 'uri' ] == $deleteuri ) {
2229
  printf( __( "Deleting wp-cache file: <strong>%s</strong><br />", 'wp-super-cache' ), $deleteuri );
@@ -2288,7 +2303,7 @@ function wp_cache_files() {
2288
  if ( $valid_nonce && $_GET[ 'listfiles' ] && $filem )
2289
  $sizes[ 'cached_list' ][ str_replace( $cache_path . 'supercache/' , '', $supercachedir ) ] = $now - $filem;
2290
  }
2291
- }
2292
  $sizes[ 'ts' ] = time();
2293
  $cache_stats = array( 'generated' => time(), 'supercache' => $sizes, 'wpcache' => array( 'cached' => $count, 'expired' => $expired, 'fsize' => $wp_cache_fsize ) );
2294
  update_option( 'supercache_stats', $cache_stats );
@@ -2326,7 +2341,7 @@ function wp_cache_files() {
2326
  echo "<li>" . sprintf( __( '%s Expired Pages', 'wp-super-cache' ), intval( $cache_stats[ 'supercache' ][ 'expired' ] / $divisor ) ) . "</li></ul>";
2327
  if ( $valid_nonce && array_key_exists('listfiles', $_GET) && $_GET[ 'listfiles' ] ) {
2328
  echo "<div style='padding: 10px; border: 1px solid #333; height: 400px; width: 90%; overflow: auto'>";
2329
- if ( is_array( $cached_list ) && !empty( $cached_list ) ) {
2330
  echo "<h4>" . __( 'Fresh WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2331
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2332
  $c = 1;
@@ -2342,7 +2357,7 @@ function wp_cache_files() {
2342
  }
2343
  echo "</table>";
2344
  }
2345
- if ( is_array( $expired_list ) && !empty( $expired_list ) ) {
2346
  echo "<h4>" . __( 'Stale WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2347
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2348
  $c = 1;
@@ -2409,19 +2424,19 @@ function wp_cache_delete_buttons() {
2409
 
2410
  echo '<form name="wp_cache_content_expired" action="#listfiles" method="post">';
2411
  echo '<input type="hidden" name="wp_delete_expired" />';
2412
- echo '<div class="submit" style="float:left"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Expired', 'wp-super-cache' ) . ' &raquo;" /></div>';
2413
  wp_nonce_field('wp-cache');
2414
  echo "</form>\n";
2415
 
2416
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2417
  echo '<input type="hidden" name="wp_delete_cache" />';
2418
- echo '<div class="submit" style="float:left;margin-left:10px"><input id="deletepost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . ' &raquo;" /></div>';
2419
  wp_nonce_field('wp-cache');
2420
  echo "</form>\n";
2421
  if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) {
2422
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2423
  echo '<input type="hidden" name="wp_delete_all_cache" />';
2424
- echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . ' &raquo;" />';
2425
  wp_nonce_field('wp-cache');
2426
  echo "</form>\n";
2427
  }
@@ -2490,7 +2505,9 @@ function wp_cache_clean_cache( $file_prefix, $all = false ) {
2490
  prune_super_cache( $supercachedir . '.disabled', true );
2491
  }
2492
  $_POST[ 'super_cache_stats' ] = 1; // regenerate super cache stats;
2493
- } elseif ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Warning! prune_super_cache() not found in wp-cache.php', 1 );
 
 
2494
 
2495
  wp_cache_clean_legacy_files( $blog_cache_dir, $file_prefix );
2496
  wp_cache_clean_legacy_files( $cache_path, $file_prefix );
@@ -2499,7 +2516,7 @@ function wp_cache_clean_cache( $file_prefix, $all = false ) {
2499
 
2500
  function wp_cache_clean_legacy_files( $dir, $file_prefix ) {
2501
  global $wpdb;
2502
- if ( $handle = @opendir( $dir . 'meta/' ) ) {
2503
  while ( false !== ($file = readdir($handle))) {
2504
  if ( preg_match( "/^$file_prefix/", $file ) ) {
2505
  $meta = unserialize( file_get_contents( $dir . 'meta/' . $file ) );
@@ -2536,7 +2553,7 @@ function wp_cache_clean_expired($file_prefix) {
2536
 
2537
  $expr = "/^$file_prefix/";
2538
  $now = time();
2539
- if ( ($handle = @opendir( $blog_cache_dir )) ) {
2540
  while ( false !== ($file = readdir($handle))) {
2541
  if ( preg_match( $expr, $file ) &&
2542
  ( filemtime( $blog_cache_dir . $file ) + $cache_max_time ) <= $now ) {
@@ -2628,12 +2645,14 @@ function wp_cache_plugin_actions( $links, $file ) {
2628
  add_filter( 'plugin_action_links', 'wp_cache_plugin_actions', 10, 2 );
2629
 
2630
  function wp_cache_admin_notice() {
2631
- global $cache_enabled;
2632
  if( substr( $_SERVER["PHP_SELF"], -11 ) == 'plugins.php' && !$cache_enabled && function_exists( "admin_url" ) )
2633
  echo '<div class="error"><p><strong>' . sprintf( __('WP Super Cache is disabled. Please go to the <a href="%s">plugin admin page</a> to enable caching.', 'wp-super-cache' ), admin_url( 'options-general.php?page=wpsupercache' ) ) . '</strong></p></div>';
2634
 
2635
- if ( defined( 'ADVANCEDCACHEPROBLEM' ) )
2636
- echo '<div class="error"><p><strong>' . sprintf( __( 'Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php and make sure the path to %2$swp-cache-phase1.php is correct.', 'wp-super-cache' ), WP_CONTENT_DIR, WPCACHEHOME ) . '</strong></p></div>';
 
 
2637
  }
2638
  add_action( 'admin_notices', 'wp_cache_admin_notice' );
2639
 
@@ -2654,7 +2673,7 @@ function wp_cache_check_site() {
2654
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2655
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( "Please visit %s to clear the cache as the front page of your site is now downloading!", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2656
  } else {
2657
- wp_cache_clear_cache();
2658
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared.", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2659
  }
2660
  }
@@ -2664,7 +2683,7 @@ function wp_cache_check_site() {
2664
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2665
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( 'Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, "%2$s"!', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2666
  } else {
2667
- wp_cache_clear_cache();
2668
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( 'The cache on your blog has been cleared because the front page of your site is missing the text "%2$s". Please visit %1$s to verify the cache has been cleared.', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2669
  }
2670
  }
@@ -2675,7 +2694,7 @@ function wp_cache_check_site() {
2675
 
2676
  if ( !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
2677
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
2678
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
2679
  }
2680
  }
2681
  add_action( 'wp_cache_check_site_hook', 'wp_cache_check_site' );
@@ -2694,7 +2713,7 @@ function update_cached_mobile_ua_list( $mobile_browsers, $mobile_prefixes = 0, $
2694
  $wp_cache_mobile_groups = $mobile_groups;
2695
  wp_cache_replace_line('^ *\$wp_cache_mobile_groups', "\$wp_cache_mobile_groups = '" . implode( ', ', $mobile_groups ) . "';", $wp_cache_config_file);
2696
  }
2697
-
2698
  return true;
2699
  }
2700
 
@@ -2727,20 +2746,20 @@ function wpsc_update_htaccess_form( $short_form = true ) {
2727
  if ( !isset( $wpmu_version ) || $wpmu_version == '' ) {
2728
  echo '<form name="updatehtaccess" action="#modrewrite" method="post">';
2729
  echo '<input type="hidden" name="updatehtaccess" value="1" />';
2730
- echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'id="updatehtaccess" value="' . __( 'Update Mod_Rewrite Rules', 'wp-super-cache' ) . ' &raquo;" /></div>';
2731
  wp_nonce_field('wp-cache');
2732
  echo "</form></div>\n";
2733
  }
2734
  }
2735
  }
2736
 
2737
- /*
2738
  * Return LOGGED_IN_COOKIE if it doesn't begin with wordpress_logged_in
2739
  * to avoid having people update their .htaccess file
2740
  */
2741
  function wpsc_get_logged_in_cookie() {
2742
  $logged_in_cookie = 'wordpress_logged_in';
2743
- if ( defined( 'LOGGED_IN_COOKIE' ) && substr( constant( 'LOGGED_IN_COOKIE' ), 0, 19 ) != 'wordpress_logged_in' )
2744
  $logged_in_cookie = constant( 'LOGGED_IN_COOKIE' );
2745
  return $logged_in_cookie;
2746
  }
@@ -2792,9 +2811,9 @@ function wpsc_get_htaccess_info() {
2792
  $condition_rules[] = "RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\\\"]+ [NC]";
2793
  $condition_rules[] = "RewriteCond %{HTTP:Profile} !^[a-z0-9\\\"]+ [NC]";
2794
  if ( $wp_cache_mobile_enabled ) {
2795
- if ( false == empty( $wp_cache_mobile_browsers ) )
2796
  $condition_rules[] = "RewriteCond %{HTTP_USER_AGENT} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").* [NC]";
2797
- if ( false == empty( $wp_cache_mobile_prefixes ) )
2798
  $condition_rules[] = "RewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").* [NC]";
2799
  }
2800
  $condition_rules = apply_filters( 'supercacherewriteconditions', $condition_rules );
@@ -2849,10 +2868,10 @@ function clear_post_supercache( $post_id ) {
2849
  if ( !function_exists( 'prune_super_cache' ) )
2850
  include_once( 'wp-cache-phase2.php' );
2851
 
2852
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "clear_post_supercache: deleting $dir/index*.html files", 2 );
2853
  $files_to_check = get_all_supercache_filenames( $dir );
2854
  foreach( $files_to_check as $cache_file ) {
2855
- prune_super_cache( $dir . $cache_file, true );
2856
  }
2857
  }
2858
 
@@ -2862,17 +2881,17 @@ function wp_cron_preload_cache() {
2862
 
2863
  if ( get_option( 'preload_cache_stop' ) ) {
2864
  delete_option( 'preload_cache_stop' );
2865
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: preload cancelled", 1 );
2866
  return true;
2867
  }
2868
  $mutex = $cache_path . "preload_mutex.tmp";
2869
  sleep( 3 + mt_rand( 1, 5 ) );
2870
  if ( @file_exists( $mutex ) ) {
2871
  if ( @filemtime( $mutex ) > ( time() - 600 ) ) {
2872
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: preload mutex found and less than 600 seconds old. Aborting preload.", 1 );
2873
  return true;
2874
  } else {
2875
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: old preload mutex found and deleted. Preload continues.", 1 );
2876
  @unlink( $mutex );
2877
  }
2878
  }
@@ -2881,7 +2900,7 @@ function wp_cron_preload_cache() {
2881
 
2882
  $counter = get_option( 'preload_cache_counter' );
2883
  if ( is_array( $counter ) == false ) {
2884
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: setting up preload for the first time!", 5 );
2885
  $counter = array( 'c' => 0, 't' => time() );
2886
  update_option( 'preload_cache_counter', $counter );
2887
  }
@@ -2893,7 +2912,7 @@ function wp_cron_preload_cache() {
2893
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Cache Preload Started', 'wp-super-cache' ), site_url(), '' ), ' ' );
2894
 
2895
  if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) {
2896
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: doing taxonomy preload.", 5 );
2897
  $permalink_counter_msg = $cache_path . "preload_permalink.txt";
2898
  if ( isset( $wp_cache_preload_taxonomies ) && $wp_cache_preload_taxonomies ) {
2899
  $taxonomies = apply_filters( 'wp_cache_preload_taxonomies', array( 'post_tag' => 'tag', 'category' => 'category' ) );
@@ -2927,7 +2946,7 @@ function wp_cron_preload_cache() {
2927
  continue;
2928
  $url_info = parse_url( $url );
2929
  $dir = get_supercache_dir() . $url_info[ 'path' ];
2930
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: delete $dir", 5 );
2931
  prune_super_cache( $dir );
2932
  $fp = @fopen( $permalink_counter_msg, 'w' );
2933
  if ( $fp ) {
@@ -2935,7 +2954,7 @@ function wp_cron_preload_cache() {
2935
  @fclose( $fp );
2936
  }
2937
  wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
2938
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: fetched $url", 5 );
2939
  sleep( 1 );
2940
  }
2941
  $fp = fopen( $taxonomy_filename, 'w' );
@@ -2950,9 +2969,9 @@ function wp_cron_preload_cache() {
2950
 
2951
  if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) {
2952
  $posts = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE ( post_type != 'revision' AND post_type != 'nav_menu_item' ) AND post_status = 'publish' ORDER BY ID ASC LIMIT $c, 100" );
2953
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: got 100 posts from position $c.", 5 );
2954
  } else {
2955
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: no more posts to get. Limit ($wp_cache_preload_posts) reached.", 5 );
2956
  $posts = false;
2957
  }
2958
  if ( !isset( $wp_cache_preload_email_volume ) )
@@ -2982,7 +3001,7 @@ function wp_cron_preload_cache() {
2982
  @fclose( $fp );
2983
  }
2984
  if ( @file_exists( $cache_path . "stop_preload.txt" ) ) {
2985
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: cancelling preload. stop_preload.txt found.", 5 );
2986
  @unlink( $mutex );
2987
  @unlink( $cache_path . "stop_preload.txt" );
2988
  update_option( 'preload_cache_counter', array( 'c' => 0, 't' => time() ) );
@@ -2992,14 +3011,14 @@ function wp_cron_preload_cache() {
2992
  }
2993
  $msg .= "$url\n";
2994
  wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
2995
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: fetched $url", 5 );
2996
  sleep( 1 );
2997
  $count++;
2998
  }
2999
  if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume != 'less' )
3000
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] %2$d posts refreshed', 'wp-super-cache' ), $WPSC_HTTP_HOST, ($c+100) ), __( "Refreshed the following posts:", 'wp-super-cache' ) . "\n$msg" );
3001
  if ( defined( 'DOING_CRON' ) ) {
3002
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: scheduling the next preload in 30 seconds.", 5 );
3003
  wp_schedule_single_event( time() + 30, 'wp_cache_preload_hook' );
3004
  }
3005
  } else {
@@ -3008,7 +3027,7 @@ function wp_cron_preload_cache() {
3008
  if ( (int)$wp_cache_preload_interval && defined( 'DOING_CRON' ) ) {
3009
  if ( $wp_cache_preload_email_me )
3010
  $msg = sprintf( __( 'Scheduling next preload refresh in %d minutes.', 'wp-super-cache' ), (int)$wp_cache_preload_interval );
3011
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: no more posts. scheduling next preload in $wp_cache_preload_interval minutes.", 5 );
3012
  wp_schedule_single_event( time() + ( (int)$wp_cache_preload_interval * 60 ), 'wp_cache_full_preload_hook' );
3013
  }
3014
  global $file_prefix, $cache_max_time;
@@ -3019,7 +3038,7 @@ function wp_cron_preload_cache() {
3019
  }
3020
  if ( $wp_cache_preload_email_me )
3021
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Cache Preload Completed', 'wp-super-cache' ), site_url() ), __( "Cleaning up old supercache files.", 'wp-super-cache' ) . "\n" . $msg );
3022
- if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cron_preload_cache: clean expired cache files older than $cache_max_time seconds.", 5 );
3023
  wp_cache_phase2_clean_expired( $file_prefix, true ); // force cleanup of old files.
3024
  }
3025
  @unlink( $mutex );
@@ -3096,7 +3115,7 @@ function wp_cache_disable_plugin() {
3096
  $code .= "<li><code>chmod 666 " . WP_CONTENT_DIR . "/{$filename}</code></li>\n";
3097
  }
3098
  $code .= "</ul>\n";
3099
-
3100
  $msg .= "</ol>\n<p>First try fixing the directory permissions with this command and refresh this page:<br /><br /><code>chmod 777 " . WP_CONTENT_DIR . "</code><br /><br />If you still see this error, you have to fix the permissions on the files themselves and refresh this page again:</p> {$code}\n<p>Don't forgot to fix things later:<br /><code>chmod 755 " . WP_CONTENT_DIR . "</code></p><p>If you don't know what <strong>chmod</strong> is use <a href='http://www.google.ie/search?hl=en&q=ftp+chmod+777'>this Google search</a> to find out all about it.</p><p>Please refresh this page when the permissions have been modified.</p>";
3101
  wp_die( $msg );
3102
  }
@@ -3104,7 +3123,7 @@ function wp_cache_disable_plugin() {
3104
  if ( $scrules != '' && insert_with_markers( $home_path.'.htaccess', 'WPSuperCache', array() ) ) {
3105
  $wp_rewrite->flush_rules();
3106
  } elseif( $scrules != '' ) {
3107
- wp_mail( get_option( 'admin_email' ), __( 'Supercache Uninstall Problems', 'wp-super-cache' ), sprintf( __( "Dear User,\n\nWP Super Cache was removed from your blog but the mod_rewrite rules\nin your .htaccess were not.\n\nPlease edit the following file and remove the code\nbetween 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file first!\n\n%s\n\nRegards,\nWP Super Cache Plugin\nhttp://wordpress.org/extend/plugins/wp-super-cache/", 'wp-super-cache' ), ABSPATH . '/.htaccess' ) );
3108
  }
3109
  }
3110
 
@@ -3115,7 +3134,7 @@ function uninstall_supercache( $folderPath ) { // from http://www.php.net/manual
3115
  $dh = @opendir($folderPath);
3116
  while( false !== ( $value = @readdir( $dh ) ) ) {
3117
  if ( $value != "." && $value != ".." ) {
3118
- $value = $folderPath . "/" . $value;
3119
  if ( @is_dir ( $value ) ) {
3120
  uninstall_supercache( $value );
3121
  } else {
@@ -3131,7 +3150,7 @@ function uninstall_supercache( $folderPath ) { // from http://www.php.net/manual
3131
 
3132
  function supercache_admin_bar_render() {
3133
  global $wp_admin_bar, $wp_cache_not_logged_in;
3134
- if ( !is_user_logged_in() || !$wp_cache_not_logged_in )
3135
  return false;
3136
 
3137
  if ( function_exists('current_user_can') && false == current_user_can('delete_others_posts') )
@@ -3147,24 +3166,4 @@ function supercache_admin_bar_render() {
3147
  }
3148
  add_action( 'wp_before_admin_bar_render', 'supercache_admin_bar_render' );
3149
 
3150
- add_filter( 'preprocess_comment','no_mfunc_in_comments' );
3151
- add_filter( 'comment_text','no_mfunc_in_comments' );
3152
- add_filter( 'comment_excerpt','no_mfunc_in_comments' );
3153
- add_filter( 'comment_text_rss','no_mfunc_in_comments' );
3154
-
3155
- function no_mfunc_in_comments( $comment_data ) {
3156
- if ( is_array( $comment_data ) )
3157
- $text = $comment_data[ 'comment_content' ];
3158
- else
3159
- $text = $comment_data;
3160
-
3161
- if ( preg_match( '/<!--\s*mclude|<!--\s*mfunc|<!--\s*dynamic-cached-content/i', $text )) {
3162
- $text = preg_replace( '#(<!--\s*(mclude|mfunc|dynamic-cached-content))#ism','<!-- unsafe comment zapped -->', $text );
3163
- if ( is_array( $comment_data ) )
3164
- $comment_data[ 'comment_content' ] = $text;
3165
- else
3166
- $comment_data = $text;
3167
- }
3168
- return $comment_data;
3169
- }
3170
  ?>
1
  <?php
2
  /*
3
  Plugin Name: WP Super Cache
4
+ Plugin URI: http://wordpress.org/plugins/wp-super-cache/
5
  Description: Very fast caching plugin for WordPress.
6
+ Version: 1.4.4
7
+ Author: Automattic
8
+ Author URI: http://automattic.com/
9
+ License: GPL2+
10
+ Text Domain: wp-super-cache
11
  */
12
 
13
+ /*
14
+ Copyright Automattic and many other contributors.
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
36
 
37
  $wp_cache_config_file = WP_CONTENT_DIR . '/wp-cache-config.php';
38
 
39
+ if ( !defined( 'WPCACHEHOME' ) ) {
40
+ define( 'WPCACHEHOME', dirname( __FILE__ ) . '/' );
41
+ $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
42
+ $wp_cache_file = WPCACHEHOME . 'advanced-cache.php';
43
+ } elseif ( WPCACHEHOME != dirname( __FILE__ ) . '/' ) {
44
+ $wp_cache_config_file_sample = dirname( __FILE__ ) . '/wp-cache-config-sample.php';
45
+ $wp_cache_file = dirname( __FILE__ ) . '/advanced-cache.php';
46
+ } else {
47
+ $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
48
+ $wp_cache_file = WPCACHEHOME . 'advanced-cache.php';
49
+ }
50
+
51
  if( !@include($wp_cache_config_file) ) {
52
  get_wpcachehome();
53
  $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
56
  get_wpcachehome();
57
  }
58
 
 
59
  $wp_cache_link = WP_CONTENT_DIR . '/advanced-cache.php';
 
60
 
61
  if( !defined( 'WP_CACHE' ) || ( defined( 'WP_CACHE' ) && constant( 'WP_CACHE' ) == false ) ) {
62
  $wp_cache_check_wp_config = true;
78
  add_action( 'template_redirect', 'wp_cache_set_home' );
79
 
80
 
81
+ // OSSDL CDN plugin (http://wordpress.org/plugins/ossdl-cdn-off-linker/)
82
  include_once( WPCACHEHOME . 'ossdl-cdn.php' );
83
 
84
  // from legolas558 d0t users dot sf dot net at http://www.php.net/is_writable
85
  function is_writeable_ACLSafe($path) {
86
 
87
  // PHP's is_writable does not work with Win32 NTFS
88
+
89
  if ($path{strlen($path)-1}=='/') // recursively return a temporary file path
90
  return is_writeable_ACLSafe($path.uniqid(mt_rand()).'.tmp');
91
  else if (is_dir($path))
172
 
173
  if ( !wpsupercache_site_admin() )
174
  return false;
175
+
176
  if ( version_compare( PHP_VERSION, '5.3.0', '<' ) && ( 1 == ini_get( 'safe_mode' ) || "on" == strtolower( ini_get( 'safe_mode' ) ) ) ) {
177
  echo '<div id="message" class="updated fade"><h3>' . __( 'Warning! PHP Safe Mode Enabled!', 'wp-super-cache' ) . '</h3><p>' .
178
  __( 'You may experience problems running this plugin because SAFE MODE is enabled.', 'wp-super-cache' ) . ' ';
179
+
180
+
181
  if( !ini_get( 'safe_mode_gid' ) ) {
182
  _e( 'Your server is set up to check the owner of PHP scripts before allowing them to read and write files.', 'wp-super-cache' ) . " ";
183
  printf( __( 'You or an administrator may be able to make it work by changing the group owner of the plugin scripts to match that of the web server user. The group owner of the %s/cache/ directory must also be changed. See the <a href="http://php.net/features.safe-mode">safe mode manual page</a> for further details.', 'wp-super-cache' ), WP_CONTENT_DIR );
203
  if( substr( $ip, 0, 3 ) == '127' || substr( $ip, 0, 7 ) == '192.168' ) {
204
  ?><div id="message" class="updated fade"><h3><?php printf( __( 'Warning! Your hostname "%s" resolves to %s', 'wp-super-cache' ), $hostname, $ip ); ?></h3>
205
  <p><?php printf( __( 'Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly.', 'wp-super-cache' ), $ip ); ?></p>
206
+ <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/faq/' ); ?></p>
207
  </div>
208
  <?php
209
  return false;
217
  if( $cron[ 'response' ][ 'code' ] == '404' ) {
218
  ?><div id="message" class="updated fade"><h3>Warning! wp-cron.php not found!</h3>
219
  <p><?php _e( 'Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities.', 'wp-super-cache' ); ?></p>
220
+ <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/faq/' ); ?></p>
221
  </div>
222
  <?php
223
  } else {
238
  return false;
239
  }
240
 
241
+ if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
242
  ?><div id="message" class="updated fade"><h3><?php _e( 'Zlib Output Compression Enabled!', 'wp-super-cache' ); ?></h3>
243
  <p><?php _e( 'PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href="http://php.net/manual/en/zlib.configuration.php">this page</a> for instructions on modifying your php.ini.', 'wp-super-cache' ); ?></p></div><?php
244
  }
280
  <input type="hidden" name="action" value="dismiss_gc_warning" />
281
  <input type="hidden" name="page" value="wpsupercache" />
282
  <?php wp_nonce_field( 'wp-cache' ); ?>
283
+ <input class='button-secondary' type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
284
  </form>
285
  <br />
286
  </div>
308
  <input type="hidden" name="action" value="dismiss_readable_warning" />
309
  <input type="hidden" name="page" value="wpsupercache" />
310
  <?php wp_nonce_field( 'wp-cache' ); ?>
311
+ <input class='button-secondary' type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
312
  </form>
313
  <br />
314
  </div>
322
  if ( $cache_enabled && $wp_cache_mod_rewrite && !$wp_cache_mobile_enabled && strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) ) {
323
  echo '<div id="message" class="updated fade"><h3>' . __( 'Mobile rewrite rules detected', 'wp-super-cache' ) . "</h3>";
324
  echo "<p>" . __( 'For best performance you should enable "Mobile device support" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text "2.0\ MMP|240x320" and delete those.', 'wp-super-cache' ) . "</p><p>" . __( 'This will have no affect on ordinary users but mobile users will see uncached pages.', 'wp-super-cache' ) . "</p></div>";
325
+ } elseif ( $wp_cache_mod_rewrite && $cache_enabled && $wp_cache_mobile_enabled && $scrules != '' && (
326
  ( false == empty( $wp_cache_mobile_prefixes ) && false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) ) ) ||
327
  ( false == empty( $wp_cache_mobile_browsers ) && false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) ) )
328
  ) {
334
  <li> <?php _e( 'Scroll down the Advanced Settings page and click the <strong>Update Mod_Rewrite Rules</strong> button.', 'wp-super-cache' ); ?></li>
335
  <li> <?php printf( __( 'Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page.', 'wp-super-cache' ), $home_path ); ?></li>
336
  <li> <?php printf( __( 'Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%%{HTTP:Cookie} !^.*(comment_author_|%s|wp-postpass_).*$</code> add these lines: (do it twice, once for each section)', 'wp-super-cache' ), $home_path, wpsc_get_logged_in_cookie() ); ?></p>
337
+ <div style='padding: 2px; margin: 2px; border: 1px solid #333; width:400px; overflow: scroll'><pre><?php echo "RewriteCond %{HTTP_user_agent} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").*\nRewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").*"; ?></pre></div></li></ol></div><?php
338
  }
339
 
340
  if ( $cache_enabled && $super_cache_enabled && $wp_cache_mod_rewrite && $scrules == '' ) {
370
  } elseif ( !isset( $dismiss_htaccess_warning ) ) {
371
  $dismiss_htaccess_warning = 0;
372
  }
373
+ if ( isset( $disable_supercache_htaccess_warning ) == false )
374
+ $disable_supercache_htaccess_warning = false;
375
  if ( $dismiss_htaccess_warning == 0 && $wp_cache_mod_rewrite && $super_cache_enabled && $disable_supercache_htaccess_warning == false && get_option( 'siteurl' ) != get_option( 'home' ) ) {
376
  $home_dir = str_replace( get_option( 'home' ), '', get_option( 'siteurl' ) );
377
  ?><div id="message" class="updated fade"><h3><?php _e( '.htaccess file may need to be moved', 'wp-super-cache' ); ?></h3>
380
  <input type="hidden" name="action" value="dismiss_htaccess_warning" />
381
  <input type="hidden" name="page" value="wpsupercache" />
382
  <?php wp_nonce_field( 'wp-cache' ); ?>
383
+ <input class='button-secondary' type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
384
  </form>
385
+ <br />
386
  </div><?php
387
  }
388
 
396
  if ( function_exists('current_user_can') && false == current_user_can('delete_others_posts') )
397
  return false;
398
  if ( isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'delcachepage' && ( isset( $_GET[ '_wpnonce' ] ) ? wp_verify_nonce( $_REQUEST[ '_wpnonce' ], 'delete-cache' ) : false ) ) {
399
+ $path = trailingslashit( get_supercache_dir() . preg_replace( '/:.*$/', '', $_GET[ 'path' ] ) );
400
  $files = get_all_supercache_filenames( $path );
401
  foreach( $files as $cache_file )
402
+ prune_super_cache( $path . $cache_file, true );
403
 
404
  wp_redirect( preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_GET[ 'path' ] ) );
405
  die();
597
  $wp_cache_refresh_single_only = 0;
598
  }
599
  wp_cache_replace_line('^ *\$wp_cache_refresh_single_only', "\$wp_cache_refresh_single_only = '" . $wp_cache_refresh_single_only . "';", $wp_cache_config_file);
600
+
601
  if ( defined( 'WPSC_DISABLE_COMPRESSION' ) ) {
602
  $cache_compression = 0;
603
  wp_cache_replace_line('^ *\$cache_compression', "\$cache_compression = " . $cache_compression . ";", $wp_cache_config_file);
607
  } else {
608
  $new_cache_compression = 0;
609
  }
610
+ if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
611
  echo '<div id="message" class="updated fade">' . __( "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file.", 'wp-super-cache' ) . '</div>';
612
  } else {
613
  if ( $new_cache_compression != $cache_compression ) {
652
  $wp_cache_mobile_prefixes = apply_filters( 'cached_mobile_prefixes', $wp_cache_mobile_prefixes ); // Allow mobile plugins access to modify the mobile UA prefix list
653
  if ( function_exists( 'do_cacheaction' ) ) {
654
  $wp_cache_mobile_browsers = do_cacheaction( 'wp_super_cache_mobile_browsers', $wp_cache_mobile_browsers );
655
+ $wp_cache_mobile_prefixes = do_cacheaction( 'wp_super_cache_mobile_prefixes', $wp_cache_mobile_prefixes );
656
  }
657
  $mobile_groups = apply_filters( 'cached_mobile_groups', array() ); // Group mobile user agents by capabilities. Lump them all together by default
658
  // mobile_groups = array( 'apple' => array( 'ipod', 'iphone' ), 'nokia' => array( 'nokia5800', 'symbianos' ) );
724
 
725
  if ( isset( $wp_super_cache_front_page_check ) && $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
726
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
727
+ wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
728
  }
729
 
730
  if(isset($_REQUEST['wp_restore_config']) && $valid_nonce) {
740
  $home_path = parse_url( site_url() );
741
  $home_path = trailingslashit( array_key_exists( 'path', $home_path ) ? $home_path[ 'path' ] : '' );
742
  if (! isset( $wp_cache_home_path ) )
743
+ $wp_cache_home_path = '/';
744
  if ( "$home_path" != "$wp_cache_home_path" )
745
  wp_cache_replace_line('^ *\$wp_cache_home_path', "\$wp_cache_home_path = '$home_path';", $wp_cache_config_file);
746
+
747
 
748
  if( $wp_cache_mobile_enabled == 1 ) {
749
  update_cached_mobile_ua_list( $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes, $mobile_groups );
799
  wp_unschedule_event( $next_preload, 'wp_cache_full_preload_hook' );
800
  if ( $wp_cache_preload_interval == 0 ) {
801
  echo "<p><strong>" . __( 'Scheduled preloading of cache cancelled.', 'wp-super-cache' ) . "</strong></p>";
802
+ }
803
  }
804
  if ( $_POST[ 'custom_preload_interval' ] != 0 )
805
  wp_schedule_single_event( time() + ( $_POST[ 'custom_preload_interval' ] * 60 ), 'wp_cache_full_preload_hook' );
917
  echo "<p>" . sprintf( __( "<strong>Page last cached:</strong> %s", 'wp-super-cache' ), $url ) . "</p>";
918
  }
919
  }
920
+ echo '<div class="submit"><input class="button-primary" type="submit" name="preload" value="' . __( 'Update Settings', 'wp-super-cache' ) . '" />&nbsp;<input class="button-secondary" type="submit" name="preload" value="' . __( 'Preload Cache Now', 'wp-super-cache' ) . '" />';
921
  if ( $currently_preloading ) {
922
+ echo '&nbsp;<input class="button-primary" type="submit" name="preload" value="' . __( 'Cancel Cache Preload', 'wp-super-cache' ) . '" />';
923
  }
924
  echo '</div>';
925
  wp_nonce_field('wp-cache');
937
  case 'settings':
938
  if ( isset( $wp_cache_front_page_checks ) == false )
939
  $wp_cache_front_page_checks = true;
940
+ echo '<form name="wp_manager" action="' . esc_url( add_query_arg( array( 'page' => 'wpsupercache', 'tab' => 'settings' ) ) ) . '" method="post">';
941
  wp_nonce_field('wp-cache');
942
  echo '<input type="hidden" name="action" value="scupdates" />';
943
  ?><table class="form-table">
947
  <fieldset>
948
  <legend class="hidden">Caching</legend>
949
  <label><input type='checkbox' name='wp_cache_status' value='all' <?php if ( $cache_enabled == true ) { echo 'checked=checked'; } ?>> <?php _e( 'Cache hits to this website for quick access.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br /><br />
950
+ <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled ) echo "checked"; ?> value='1'> <?php printf( __( 'Use mod_rewrite to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wordpress-mobile-edition/' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
951
+ <label><input type='radio' name='super_cache_enabled' <?php if( $wp_cache_mod_rewrite == 0 ) echo "checked"; ?> value='2'> <?php printf( __( 'Use PHP to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wordpress-mobile-edition/' ); ?></label><br />
952
  <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled == false ) echo "checked"; ?> value='0'> <?php _e( 'Legacy page caching.', 'wp-super-cache' ); ?></label><br />
953
  <em><?php _e( 'Mod_rewrite is fastest, PHP is almost as fast and easier to get working, while legacy caching is slower again, but more flexible and also easy to get working. New users should use PHP caching.', 'wp-super-cache' ); ?></em><br />
954
  </legend>
994
  <td>
995
  <fieldset>
996
  <legend class="hidden">Advanced</legend>
997
+ <label><input type='checkbox' name='wp_cache_mfunc_enabled' <?php if( $wp_cache_mfunc_enabled ) echo "checked"; ?> value='1' <?php if ( $wp_cache_mod_rewrite ) { echo "disabled='disabled'"; } ?>> <?php _e( 'Enable dynamic caching. Requires PHP or legacy caching. (See <a href="http://wordpress.org/plugins/wp-super-cache/faq/">FAQ</a> or wp-super-cache/plugins/dynamic-cache-test.php for example code.)', 'wp-super-cache' ); ?></label><br />
998
+ <label><input type='checkbox' name='wp_cache_mobile_enabled' <?php if( $wp_cache_mobile_enabled ) echo "checked"; ?> value='1'> <?php _e( 'Mobile device support. (External plugin or theme required. See the <a href="http://wordpress.org/plugins/wp-super-cache/faq/">FAQ</a> for further details.)', 'wp-super-cache' ); ?></label><br />
999
  <?php if ( $wp_cache_mobile_enabled ) {
1000
  echo '<blockquote><h4>' . __( 'Mobile Browsers', 'wp-super-cache' ) . '</h4>' . implode( ', ', $wp_cache_mobile_browsers ) . "<br /><h4>" . __( 'Mobile Prefixes', 'wp-super-cache' ) . "</h4>" . implode( ', ', $wp_cache_mobile_prefixes ) . "<br /></blockquote>";
1001
  } ?>
1008
  <label><input type='checkbox' name='wp_cache_mutex_disabled' <?php if( !$wp_cache_mutex_disabled ) echo "checked"; ?> value='0'> <?php _e( 'Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>', 'wp-super-cache' ); ?></label><br />
1009
  <?php } ?>
1010
  <label><input type='checkbox' name='wp_super_cache_late_init' <?php if( $wp_super_cache_late_init ) echo "checked"; ?> value='1'> <?php _e( 'Late init. Display cached files after WordPress has loaded. Most useful in legacy mode.', 'wp-super-cache' ); ?></label><br />
1011
+ <?php if ( $_wp_using_ext_object_cache ) {
1012
+ ?><label><input type='checkbox' name='wp_cache_object_cache' <?php if( $wp_cache_object_cache ) echo "checked"; ?> value='1'> <?php echo __( 'Use object cache to store cached files.', 'wp-super-cache' ) . ' ' . __( '(Experimental)', 'wp-super-cache' ); ?></label><?php
1013
  }?>
1014
  <?php printf( __( '<strong>DO NOT CACHE PAGE</strong> secret key: <a href="%s">%s</a>', 'wp-super-cache' ), trailingslashit( get_bloginfo( 'url' ) ) . "?donotcachepage={$cache_page_secret}", $cache_page_secret ); ?>
1015
  </legend>
1022
  <li><?php _e( 'Uninstall this plugin on the plugins page. It will automatically clean up after itself. If manual intervention is required then simple instructions are provided.', 'wp-super-cache' ); ?></li>
1023
  <li><?php printf( __( 'If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)', 'wp-super-cache' ), WP_CONTENT_DIR ); ?></li>
1024
  <li><?php printf( __( 'Please see the <a href="%1$s/wp-super-cache/readme.txt">readme.txt</a> for instructions on uninstalling this script. Look for the heading, "How to uninstall WP Super Cache".', 'wp-super-cache' ), WP_PLUGIN_URL ); ?></li><?php
1025
+ echo "<li><em>" . sprintf( __( 'Need help? Check the <a href="%1$s">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href="%2$s">support forum</a> is also available. Your question may already have been answered.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/', 'http://wordpress.org/tags/wp-super-cache?forum_id=10' ) . "</em></li>";
1026
  echo "</ol>";
1027
+
1028
+ echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . "' /></div>";
1029
  wp_nonce_field('wp-cache');
1030
  ?> </form> <?php
1031
  wsc_mod_rewrite();
1072
  echo "<p><strong>" . __( 'Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules.', 'wp-super-cache' ) . '</strong></p>';
1073
  }
1074
  }
1075
+ echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . "' /></div></form>";
1076
  if ( $cache_enabled ) {
1077
  echo "<h3>" . __( 'Cache Tester', 'wp-super-cache' ) . "</h3>";
1078
  echo '<p>' . __( 'Test your cached website by clicking the test button below.', 'wp-super-cache' ) . '</p>';
1153
  echo '<input type="hidden" name="action" value="test" />';
1154
  if ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) )
1155
  echo "<input type='checkbox' name='httponly' checked='checked' value='1' /> " . __( 'Send non-secure (non https) request for homepage', 'wp-super-cache' );
1156
+ echo '<div class="submit"><input class="button-secondary" type="submit" name="test" value="' . __( 'Test Cache', 'wp-super-cache' ) . '" /></div>';
1157
  wp_nonce_field('wp-cache');
1158
  echo '</form>';
1159
  }
1161
  echo "<p>" . __( "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below.", 'wp-super-cache' ) . "</p>";
1162
  echo '<form name="wp_cache_content_delete" action="?page=wpsupercache&tab=contents" method="post">';
1163
  echo '<input type="hidden" name="wp_delete_cache" />';
1164
+ echo '<div class="submit"><input id="deletepost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . ' " /></div>';
1165
  wp_nonce_field('wp-cache');
1166
  echo "</form>\n";
1167
 
1168
  if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) {
1169
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
1170
  echo '<input type="hidden" name="wp_delete_all_cache" />';
1171
+ echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . '" />';
1172
  wp_nonce_field('wp-cache');
1173
  echo "</form><br />\n";
1174
  }
1175
  ?>
1176
+ <h3 class="clear"><?php _e( 'Recommended Links and Plugins', 'wp-super-cache' ); ?></h3>
1177
  <p><?php _e( 'Caching is only one part of making a website faster. Here are some other plugins that will help:', 'wp-super-cache' ); ?></p>
 
1178
  <li><?php printf( __( '<a href="%s">Yahoo! Yslow</a> is an extension for the Firefox add-on Firebug. It analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. Also try the performance tools online at <a href="%s">GTMetrix</a>.', 'wp-super-cache' ), 'http://developer.yahoo.com/yslow/', 'http://gtmetrix.com/' ); ?></li>
1179
+ <li><?php printf( __( '<a href="%s">Use Google Libraries</a> allows you to load some commonly used Javascript libraries from Google webservers. Ironically it may reduce your Yslow score.', 'wp-super-cache' ), 'http://wordpress.org/plugins/use-google-libraries/' ); ?></li>
 
1180
  <li><?php printf( __( '<strong>Advanced users only:</strong> <a href="%s">Speed up your site with Caching and cache-control</a> explains how to make your site more cacheable with .htaccess rules.', 'wp-super-cache' ), 'http://www.askapache.com/htaccess/speed-up-your-site-with-caching-and-cache-control.html' ); ?></li>
1181
+ <li><?php printf( __( '<strong>Advanced users only:</strong> Install an object cache. Choose from <a href="%s">Memcached</a>, <a href="%s">XCache</a>, <a href="%s">eAcccelerator</a> and others.', 'wp-super-cache' ), 'http://wordpress.org/plugins/memcached/', 'http://neosmart.net/dl.php?id=12', 'http://neosmart.net/dl.php?id=13' ); ?></li>
1182
+ <li><?php printf( __( '<a href="%s">Cron View</a> is a useful plugin to use when trying to debug garbage collection and preload problems.', 'wp-super-cache' ), 'http://wordpress.org/plugins/cron-view/' ); ?></li>
1183
  </ol>
1184
+
1185
  <?php
1186
  break;
1187
  }
1190
  </fieldset>
1191
  </td><td valign='top' style='width: 300px'>
1192
  <div style='background: #ffc; border: 1px solid #333; margin: 2px; padding: 5px'>
 
 
 
 
1193
  <h3 align='center'><?php _e( 'Need Help?', 'wp-super-cache' ); ?></h3>
1194
  <ol>
1195
  <li><?php _e( 'Use the debug system in the Debug tab above. It will tell you what the plugin is doing.', 'wp-super-cache' ); ?></li>
1196
+ <li><?php printf( __( '<a href="%1$s">Installation Help</a>', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/installation/' ); ?></li>
1197
+ <li><?php printf( __( '<a href="%1$s">Frequently Asked Questions</a>', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/faq/' ); ?></li>
1198
  <li><?php printf( __( '<a href="%1$s">Support Forum</a>', 'wp-super-cache' ), 'http://wordpress.org/tags/wp-super-cache' ); ?></li>
1199
  <li><?php printf( __( '<a href="%1$s">Development Version</a>', 'wp-super-cache' ), 'http://ocaoimh.ie/y/2o' ); ?></li>
1200
  </ol>
1201
  <h3 align='center'><?php _e( 'Rate This Plugin!', 'wp-super-cache' ); ?></h3>
1202
+ <p><?php printf( __( 'Please <a href="%s">rate</a> this plugin and tell me if it works for you or not. It really helps development.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/' ); ?></p>
1203
 
1204
+ <?php
1205
+ if ( isset( $wp_supercache_cache_list ) && $wp_supercache_cache_list ) {
1206
  $start_date = get_option( 'wpsupercache_start' );
1207
  if ( !$start_date ) {
1208
  $start_date = time();
1217
  }
1218
  ?></ol>
1219
  <small><?php _e( '(may not always be accurate on busy sites)', 'wp-super-cache' ); ?></small>
1220
+ </p><?php
1221
  } elseif ( false == get_option( 'wpsupercache_start' ) ) {
1222
  update_option( 'wpsupercache_start', time() );
1223
  update_option( 'wpsupercache_count', 0 );
1282
  function wsc_mod_rewrite() {
1283
  global $cache_enabled, $super_cache_enabled, $valid_nonce, $cache_path, $wp_cache_mod_rewrite, $wpmu_version;
1284
 
1285
+ if ( defined( 'WPSC_DISABLE_HTACCESS_UPDATE' ) )
1286
+ return false;
1287
+
1288
  if ( !$wp_cache_mod_rewrite )
1289
  return false;
1290
 
1307
  if ( function_exists( "is_main_site" ) && false == is_main_site() )
1308
  return true;
1309
  ?>
1310
+ <a name="modrewrite"></a><fieldset class="options">
1311
  <h3><?php _e( 'Mod Rewrite Rules', 'wp-super-cache' ); ?></h3><?php
1312
 
1313
  extract( wpsc_get_htaccess_info() );
1334
  } elseif( strpos( $scrules, 'supercache' ) || strpos( $wprules, 'supercache' ) ) { // only write the rules once
1335
  $dohtaccess = false;
1336
  }
1337
+ if ( $dohtaccess && !isset( $_POST[ 'updatehtaccess' ] ) ){
1338
  if ( $scrules == '' ) {
1339
  wpsc_update_htaccess_form( 0 ); // don't hide the update htaccess form
1340
  } else {
1341
  wpsc_update_htaccess_form();
1342
  }
1343
+ } elseif ( $valid_nonce && isset( $_POST[ 'updatehtaccess' ] ) ) {
1344
  echo "<div style='padding:0 8px;color:#4f8a10;background-color:#dff2bf;border:1px solid #4f8a10;'>";
1345
  if( wpsc_update_htaccess() ) {
1346
  echo "<h4>" . __( 'Mod Rewrite rules updated!', 'wp-super-cache' ) . "</h4>";
1362
  echo "<div id='rewriterules' style='display: none;'>";
1363
  if ( $rules != $scrules )
1364
  echo '<div style="background: #fff; border: 1px solid #333; margin: 2px;">' . wp_text_diff( $scrules, $rules, array( 'title' => 'Rewrite Rules', 'title_left' => 'Current Rules', 'title_right' => 'New Rules' ) ) . "</div>";
1365
+ echo "<p><pre># BEGIN WPSuperCache\n" . esc_html( $rules ) . "# END WPSuperCache</pre></p>\n";
1366
  echo "<p>" . sprintf( __( 'Rules must be added to %s too:', 'wp-super-cache' ), WP_CONTENT_DIR . "/cache/.htaccess" ) . "</p>";
1367
  echo "<pre># BEGIN supercache\n" . esc_html( $gziprules ) . "# END supercache</pre></p>";
1368
  echo '</div>';
1380
  echo '<fieldset class="options"><h3>' . __( 'Fix Configuration', 'wp-super-cache' ) . '</h3>';
1381
  echo '<form name="wp_restore" action="#top" method="post">';
1382
  echo '<input type="hidden" name="wp_restore_config" />';
1383
+ echo '<div class="submit"><input class="button-secondary" type="submit" ' . SUBMITDISABLED . 'id="deletepost" value="' . __( 'Restore Default Configuration', 'wp-super-cache' ) . '" /></div>';
1384
  wp_nonce_field('wp-cache');
1385
  echo "</form>\n";
1386
  echo '</fieldset>';
1412
  }
1413
  }
1414
  ?><a name='lockdown'></a>
1415
+ <fieldset class="options">
1416
  <h3><?php _e( 'Lock Down:', 'wp-super-cache' ); ?> <?php echo $wp_lock_down == '0' ? '<span style="color:red">' . __( 'Disabled', 'wp-super-cache' ) . '</span>' : '<span style="color:green">' . __( 'Enabled', 'wp-super-cache' ) . '</span>'; ?></h3>
1417
  <p><?php _e( 'Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files.', 'wp-super-cache' ); ?></p>
1418
  <p><?php _e( 'Developers: Make your plugin lock down compatible by checking the "WPLOCKDOWN" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting.', 'wp-super-cache' ); ?>
1419
+ <blockquote><code>if( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) ) {
1420
  &nbsp;&nbsp;&nbsp;&nbsp;echo "<?php _e( 'Sorry. My blog is locked down. Updates will appear shortly', 'wp-super-cache' ); ?>";
1421
  }</code></blockquote>
1422
  <?php
1429
  $new_lockdown_desc = $wp_lock_down == '1' ? __( 'Disable', 'wp-super-cache' ) : __( 'Enable', 'wp-super-cache' );
1430
  echo '<form name="wp_lock_down" action="#lockdown" method="post">';
1431
  echo "<input type='hidden' name='wp_lock_down' value='{$new_lockdown}' />";
1432
+ echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='{$new_lockdown_desc} " . __( 'Lock Down', 'wp-super-cache' ) . "' /></div>";
1433
  wp_nonce_field('wp-cache');
1434
  echo "</form>\n";
1435
 
1436
  ?></fieldset><?php
1437
  if( $cache_enabled == true && $super_cache_enabled == true ) {
1438
  ?><a name='direct'></a>
1439
+ <fieldset class="options">
1440
  <h3><?php _e( 'Directly Cached Files', 'wp-super-cache' ); ?></h3><?php
1441
 
1442
  $out = '';
1444
  $expiredfiles = array_diff( $cached_direct_pages, $_POST[ 'direct_pages' ] );
1445
  unset( $cached_direct_pages );
1446
  foreach( $_POST[ 'direct_pages' ] as $page ) {
1447
+ $page = esc_sql( $page );
1448
  if( $page != '' ) {
1449
  $cached_direct_pages[] = $page;
1450
  $out .= "'$page', ";
1458
  $page = str_replace( get_option( 'siteurl' ), '', $_POST[ 'new_direct_page' ] );
1459
  if( substr( $page, 0, 1 ) != '/' )
1460
  $page = '/' . $page;
1461
+ $page = esc_sql( $page );
1462
  if( in_array( $page, $cached_direct_pages ) == false ) {
1463
  $cached_direct_pages[] = $page;
1464
  $out .= "'$page', ";
1519
  continue;
1520
  $generated = '';
1521
  if( is_file( ABSPATH . $page . '/index.html' ) )
1522
+ $generated = '<input class="button-secondary" type="Submit" name="deletepage" value="' . $page . '">';
1523
  $out .= "<tr><td><input type='text' $readonly name='direct_pages[]' size='30' value='$page' /></td><td>$generated</td></tr>";
1524
  }
1525
  if( $out != '' ) {
1538
 
1539
  wp_nonce_field('wp-cache');
1540
  if( $readonly != 'READONLY' )
1541
+ echo "<div class='submit'><input class='button-primary' type='submit' ' . SUBMITDISABLED . 'value='" . __( 'Update Direct Pages', 'wp-super-cache' ) . "' /></div>";
1542
  echo "</form>\n";
1543
  ?></fieldset><?php
1544
  } // if $super_cache_enabled
1551
  $dh = @opendir($folderPath);
1552
  while (false !== ($value = @readdir($dh))) {
1553
  if ( $value != "." && $value != ".." ) {
1554
+ $value = $folderPath . "/" . $value;
1555
  if ( @is_dir ( $value ) ) {
1556
  RecursiveFolderDelete ( $value );
1557
  }
1598
 
1599
  if ( isset( $_POST[ 'cache_gc_email_me' ] ) && $valid_nonce ) {
1600
  $cache_gc_email_me = 1;
1601
+ wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1602
  } elseif ( $valid_nonce ) {
1603
  $cache_gc_email_me = 0;
1604
+ wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1605
  }
1606
  if ( isset( $_POST[ 'cache_schedule_type' ] ) && $_POST[ 'cache_schedule_type' ] == 'interval' && isset( $_POST['cache_time_interval'] ) && $valid_nonce ) {
1607
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1615
  } elseif ( $valid_nonce ) { // clock
1616
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1617
  $cache_schedule_type = 'time';
1618
+ if ( !isset( $_POST[ 'cache_scheduled_time' ] ) || $_POST[ 'cache_scheduled_time' ] == '' )
1619
  $_POST[ 'cache_scheduled_time' ] = '00:00';
1620
  $cache_scheduled_time = $_POST[ 'cache_scheduled_time' ];
1621
  $schedules = wp_get_schedules();
1622
+ if ( !isset( $cache_schedule_interval ) )
1623
+ $cache_schedule_interval = 'daily';
1624
  if ( isset( $schedules[ $_POST[ 'cache_schedule_interval' ] ] ) )
1625
  $cache_schedule_interval = $_POST[ 'cache_schedule_interval' ];
1626
  wp_cache_replace_line('^ *\$cache_schedule_type', "\$cache_schedule_type = '$cache_schedule_type';", $wp_cache_config_file);
1628
  wp_cache_replace_line('^ *\$cache_scheduled_time', "\$cache_scheduled_time = '$cache_scheduled_time';", $wp_cache_config_file);
1629
  wp_schedule_event( strtotime( $cache_scheduled_time ), $cache_schedule_interval, 'wp_cache_gc' );
1630
  }
1631
+ ?><fieldset class="options">
1632
  <a name='expirytime'></a>
1633
  <h3><?php _e( 'Expiry Time &amp; Garbage Collection', 'wp-super-cache' ); ?></h3><?php
1634
 
1694
  echo "</ol>";
1695
  echo "<p>" . __( 'Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>600 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching.', 'wp-super-cache' ) . "</p>";
1696
  echo "<p>" . __( 'Set the expiry time to 0 seconds to disable garbage collection.', 'wp-super-cache' ) . "</p>";
1697
+ echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Change Expiration', 'wp-super-cache' ) . '" /></div>';
1698
  wp_nonce_field('wp-cache');
1699
  echo "</form>\n";
1700
  ?></fieldset><?php
1746
  echo esc_html( $ua ) . "\n";
1747
  }
1748
  echo '</textarea> ';
1749
+ echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save UA Strings', 'wp-super-cache' ) . '" /></div>';
1750
  wp_nonce_field('wp-cache');
1751
  echo '</form>';
1752
  echo "</fieldset>\n";
1783
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[search]" ' . checked( 1, $wp_cache_pages[ 'search' ], false ) . ' /> ' . __( 'Search Pages', 'wp-super-cache' ) . ' (is_search)</label><br />';
1784
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[author]" ' . checked( 1, $wp_cache_pages[ 'author' ], false ) . ' /> ' . __( 'Author Pages', 'wp-super-cache' ) . ' (is_author)</label><br />';
1785
 
1786
+ echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save' ) . '" /></div>';
1787
  wp_nonce_field('wp-cache');
1788
  echo "</form>\n";
1789
 
1806
  echo esc_html( $file ) . "\n";
1807
  }
1808
  echo '</textarea> ';
1809
+ echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Strings', 'wp-super-cache' ) . '" /></div>';
1810
  wp_nonce_field('wp-cache');
1811
  echo "</form>\n";
1812
  }
1828
  echo esc_html($file) . "\n";
1829
  }
1830
  echo '</textarea> ';
1831
+ echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Files', 'wp-super-cache' ) . '" /></div>';
1832
  wp_nonce_field('wp-cache');
1833
  echo "</form>\n";
1834
  }
1840
  if ( false == isset( $wp_super_cache_comments ) )
1841
  $wp_super_cache_comments = 1;
1842
  if ( isset( $_POST[ 'wp_cache_debug' ] ) && $valid_nonce ) {
1843
+ if ( !isset( $_POST[ 'wp_super_cache_debug' ] ) )
1844
+ $_POST[ 'wp_super_cache_debug' ] = 0;
1845
  $wp_super_cache_debug = intval( $_POST[ 'wp_super_cache_debug' ] );
1846
  wp_cache_replace_line('^ *\$wp_super_cache_debug', "\$wp_super_cache_debug = '$wp_super_cache_debug';", $wp_cache_config_file);
1847
  if ( $wp_super_cache_debug && ( ( isset( $wp_cache_debug_log ) && $wp_cache_debug_log == '' ) || !isset( $wp_cache_debug_log ) ) ) {
1850
  $wp_cache_debug_log = "";
1851
  }
1852
  wp_cache_replace_line('^ *\$wp_cache_debug_log', "\$wp_cache_debug_log = '$wp_cache_debug_log';", $wp_cache_config_file);
1853
+ $wp_super_cache_comments = isset( $_POST[ 'wp_super_cache_comments' ] ) ? 1 : 0;
1854
  wp_cache_replace_line('^ *\$wp_super_cache_comments', "\$wp_super_cache_comments = '$wp_super_cache_comments';", $wp_cache_config_file);
1855
  $wp_cache_debug_ip = esc_html( $_POST[ 'wp_cache_debug_ip' ] );
1856
  wp_cache_replace_line('^ *\$wp_cache_debug_ip', "\$wp_cache_debug_ip = '$wp_cache_debug_ip';", $wp_cache_config_file);
1857
+ $wp_super_cache_front_page_check = isset( $_POST[ 'wp_super_cache_front_page_check' ] ) ? 1 : 0;
1858
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_check', "\$wp_super_cache_front_page_check = '$wp_super_cache_front_page_check';", $wp_cache_config_file);
1859
+ $wp_super_cache_front_page_clear = isset( $_POST[ 'wp_super_cache_front_page_clear' ] ) ? 1 : 0;
1860
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_clear', "\$wp_super_cache_front_page_clear = '$wp_super_cache_front_page_clear';", $wp_cache_config_file);
1861
  $wp_super_cache_front_page_text = esc_html( $_POST[ 'wp_super_cache_front_page_text' ] );
1862
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_text', "\$wp_super_cache_front_page_text = '$wp_super_cache_front_page_text';", $wp_cache_config_file);
1863
+ $wp_super_cache_front_page_notification = isset( $_POST[ 'wp_super_cache_front_page_notification' ] ) ? 1 : 0;
1864
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_notification', "\$wp_super_cache_front_page_notification = '$wp_super_cache_front_page_notification';", $wp_cache_config_file);
1865
+ if ( $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
1866
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
1867
+ wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
1868
  }
1869
  }
1870
 
1894
  echo "<tr><td valign='top'>" . __( 'Front page text', 'wp-super-cache' ) . "</td><td> <input type='text' size='30' name='wp_super_cache_front_page_text' value='{$wp_super_cache_front_page_text}' /> (" . __( 'Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable.', 'wp-super-cache' ) . ")</td></tr>";
1895
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_clear' value='1' " . checked( 1, $wp_super_cache_front_page_clear, false ) . " /> " . __( 'Clear cache on error.', 'wp-super-cache' ) . "</td></tr>";
1896
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_notification' value='1' " . checked( 1, $wp_super_cache_front_page_notification, false ) . " /> " . __( 'Email the blog admin when checks are made. (useful for testing)', 'wp-super-cache' ) . "</td></tr>";
1897
+
1898
  echo "</table>\n";
1899
  }
1900
+ echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save', 'wp-super-cache' ) . '" /></div>';
1901
  wp_nonce_field('wp-cache');
1902
  echo "</form>\n";
1903
  echo '</fieldset>';
2096
  $global_config_file = dirname(ABSPATH) . '/wp-config.php';
2097
  }
2098
 
2099
+ $line = 'define( \'WPCACHEHOME\', \'' . dirname( __FILE__ ) . '/\' );';
2100
  if ( !is_writeable_ACLSafe($global_config_file) || !wp_cache_replace_line('define *\( *\'WPCACHEHOME\'', $line, $global_config_file ) ) {
2101
  echo '<div id="message" class="updated fade"><h3>' . __( 'Warning', 'wp-super-cache' ) . "! <em>" . sprintf( __( 'Could not update %s!</em> WPCACHEHOME must be set in config file.', 'wp-super-cache' ), $global_config_file ) . "</h3>";
2102
  return false;
2116
 
2117
  function wp_cache_check_link() {
2118
  global $wp_cache_link, $wp_cache_file;
2119
+
2120
  $ret = true;
2121
  if( file_exists($wp_cache_link) ) {
2122
  $file = file_get_contents( $wp_cache_link );
2169
  }
2170
  return false;
2171
  } else {
2172
+ echo "<div style='border: 1px solid #333; background: #ffffaa; padding: 2px;'>" . __( '<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href="http://wordpress.org/plugins/wp-super-cache/faq/">Troubleshooting Guide</a>. The WP_CACHE line must be moved up.', 'wp-super-cache' ) . "</p></div>";
2173
  }
2174
  return true;
2175
  }
2212
  $count = 0;
2213
  $expired = 0;
2214
  $now = time();
2215
+ if ( ($handle = @opendir( $blog_cache_dir . 'meta/' )) ) {
2216
  $wp_cache_fsize = 0;
2217
  if ( $valid_nonce && isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'deletewpcache' ) {
2218
  $deleteuri = preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '/index.php', '/', str_replace( '..', '', preg_replace("/(\?.*)?$/", '', base64_decode( $_GET[ 'uri' ] ) ) ) ) );
2234
  if ( preg_match("/^$file_prefix.*\.meta/", $file) ) {
2235
  $content_file = preg_replace("/meta$/", "html", $file);
2236
  $mtime = filemtime( $blog_cache_dir . 'meta/' . $file );
2237
+ if ( ! ( $fsize = @filesize( $blog_cache_dir . $content_file ) ) )
2238
  continue; // .meta does not exists
2239
 
2240
  $age = $now - $mtime;
2241
+ if ( $valid_nonce && isset( $_GET[ 'listfiles' ] ) ) {
2242
  $meta = unserialize( file_get_contents( $blog_cache_dir . 'meta/' . $file ) );
2243
  if ( $deleteuri != '' && $meta[ 'uri' ] == $deleteuri ) {
2244
  printf( __( "Deleting wp-cache file: <strong>%s</strong><br />", 'wp-super-cache' ), $deleteuri );
2303
  if ( $valid_nonce && $_GET[ 'listfiles' ] && $filem )
2304
  $sizes[ 'cached_list' ][ str_replace( $cache_path . 'supercache/' , '', $supercachedir ) ] = $now - $filem;
2305
  }
2306
+ }
2307
  $sizes[ 'ts' ] = time();
2308
  $cache_stats = array( 'generated' => time(), 'supercache' => $sizes, 'wpcache' => array( 'cached' => $count, 'expired' => $expired, 'fsize' => $wp_cache_fsize ) );
2309
  update_option( 'supercache_stats', $cache_stats );
2341
  echo "<li>" . sprintf( __( '%s Expired Pages', 'wp-super-cache' ), intval( $cache_stats[ 'supercache' ][ 'expired' ] / $divisor ) ) . "</li></ul>";
2342
  if ( $valid_nonce && array_key_exists('listfiles', $_GET) && $_GET[ 'listfiles' ] ) {
2343
  echo "<div style='padding: 10px; border: 1px solid #333; height: 400px; width: 90%; overflow: auto'>";
2344
+ if ( isset( $cached_list ) && is_array( $cached_list ) && !empty( $cached_list ) ) {
2345
  echo "<h4>" . __( 'Fresh WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2346
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2347
  $c = 1;
2357
  }
2358
  echo "</table>";
2359
  }
2360
+ if ( isset( $expired_list ) && is_array( $expired_list ) && !empty( $expired_list ) ) {
2361
  echo "<h4>" . __( 'Stale WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2362
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2363
  $c = 1;
2424
 
2425
  echo '<form name="wp_cache_content_expired" action="#listfiles" method="post">';
2426
  echo '<input type="hidden" name="wp_delete_expired" />';
2427
+ echo '<div class="submit" style="float:left"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Expired', 'wp-super-cache' ) . '" /></div>';
2428
  wp_nonce_field('wp-cache');
2429
  echo "</form>\n";
2430
 
2431
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2432
  echo '<input type="hidden" name="wp_delete_cache" />';
2433
+ echo '<div class="submit" style="float:left;margin-left:10px"><input id="deletepost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . '" /></div>';
2434
  wp_nonce_field('wp-cache');
2435
  echo "</form>\n";
2436
  if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) {
2437
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2438
  echo '<input type="hidden" name="wp_delete_all_cache" />';
2439
+ echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . '" />';
2440
  wp_nonce_field('wp-cache');
2441
  echo "</form>\n";
2442
  }
2505
  prune_super_cache( $supercachedir . '.disabled', true );
2506
  }
2507
  $_POST[ 'super_cache_stats' ] = 1; // regenerate super cache stats;
2508
+ } else {
2509
+ wp_cache_debug( 'Warning! prune_super_cache() not found in wp-cache.php', 1 );
2510
+ }
2511
 
2512
  wp_cache_clean_legacy_files( $blog_cache_dir, $file_prefix );
2513
  wp_cache_clean_legacy_files( $cache_path, $file_prefix );
2516
 
2517
  function wp_cache_clean_legacy_files( $dir, $file_prefix ) {
2518
  global $wpdb;
2519
+ if ( $handle = @opendir( $dir . 'meta/' ) ) {
2520
  while ( false !== ($file = readdir($handle))) {
2521
  if ( preg_match( "/^$file_prefix/", $file ) ) {
2522
  $meta = unserialize( file_get_contents( $dir . 'meta/' . $file ) );
2553
 
2554
  $expr = "/^$file_prefix/";
2555
  $now = time();
2556
+ if ( ($handle = @opendir( $blog_cache_dir )) ) {
2557
  while ( false !== ($file = readdir($handle))) {
2558
  if ( preg_match( $expr, $file ) &&
2559
  ( filemtime( $blog_cache_dir . $file ) + $cache_max_time ) <= $now ) {
2645
  add_filter( 'plugin_action_links', 'wp_cache_plugin_actions', 10, 2 );
2646
 
2647
  function wp_cache_admin_notice() {
2648
+ global $cache_enabled, $wp_cache_phase1_loaded;
2649
  if( substr( $_SERVER["PHP_SELF"], -11 ) == 'plugins.php' && !$cache_enabled && function_exists( "admin_url" ) )
2650
  echo '<div class="error"><p><strong>' . sprintf( __('WP Super Cache is disabled. Please go to the <a href="%s">plugin admin page</a> to enable caching.', 'wp-super-cache' ), admin_url( 'options-general.php?page=wpsupercache' ) ) . '</strong></p></div>';
2651
 
2652
+ if ( defined( 'WP_CACHE' ) && WP_CACHE == true && ( defined( 'ADVANCEDCACHEPROBLEM' ) || ( $cache_enabled && false == isset( $wp_cache_phase1_loaded ) ) ) ) {
2653
+ echo '<div class="error"><p>' . sprintf( __( 'Warning! WP Super Cache caching <strong>was</strong> broken but has been <strong>fixed</strong>! The script advanced-cache.php could not load wp-cache-phase1.php.<br /><br />The file %1$s/advanced-cache.php has been recreated and WPCACHEHOME fixed in your wp-config.php. Reload to hide this message.', 'wp-super-cache' ), WP_CONTENT_DIR ) . '</p></div>';
2654
+ wp_cache_create_advanced_cache();
2655
+ }
2656
  }
2657
  add_action( 'admin_notices', 'wp_cache_admin_notice' );
2658
 
2673
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2674
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( "Please visit %s to clear the cache as the front page of your site is now downloading!", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2675
  } else {
2676
+ wp_cache_clear_cache( get_current_blog_id() );
2677
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared.", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2678
  }
2679
  }
2683
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2684
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( 'Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, "%2$s"!', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2685
  } else {
2686
+ wp_cache_clear_cache( get_current_blog_id() );
2687
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( 'The cache on your blog has been cleared because the front page of your site is missing the text "%2$s". Please visit %1$s to verify the cache has been cleared.', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2688
  }
2689
  }
2694
 
2695
  if ( !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
2696
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
2697
+ wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
2698
  }
2699
  }
2700
  add_action( 'wp_cache_check_site_hook', 'wp_cache_check_site' );
2713
  $wp_cache_mobile_groups = $mobile_groups;
2714
  wp_cache_replace_line('^ *\$wp_cache_mobile_groups', "\$wp_cache_mobile_groups = '" . implode( ', ', $mobile_groups ) . "';", $wp_cache_config_file);
2715
  }
2716
+
2717
  return true;
2718
  }
2719
 
2746
  if ( !isset( $wpmu_version ) || $wpmu_version == '' ) {
2747
  echo '<form name="updatehtaccess" action="#modrewrite" method="post">';
2748
  echo '<input type="hidden" name="updatehtaccess" value="1" />';
2749
+ echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'id="updatehtaccess" value="' . __( 'Update Mod_Rewrite Rules', 'wp-super-cache' ) . '" /></div>';
2750
  wp_nonce_field('wp-cache');
2751
  echo "</form></div>\n";
2752
  }
2753
  }
2754
  }
2755
 
2756
+ /*
2757
  * Return LOGGED_IN_COOKIE if it doesn't begin with wordpress_logged_in
2758
  * to avoid having people update their .htaccess file
2759
  */
2760
  function wpsc_get_logged_in_cookie() {
2761
  $logged_in_cookie = 'wordpress_logged_in';
2762
+ if ( defined( 'LOGGED_IN_COOKIE' ) && substr( constant( 'LOGGED_IN_COOKIE' ), 0, 19 ) != 'wordpress_logged_in' )
2763
  $logged_in_cookie = constant( 'LOGGED_IN_COOKIE' );
2764
  return $logged_in_cookie;
2765
  }
2811
  $condition_rules[] = "RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\\\"]+ [NC]";
2812
  $condition_rules[] = "RewriteCond %{HTTP:Profile} !^[a-z0-9\\\"]+ [NC]";
2813
  if ( $wp_cache_mobile_enabled ) {
2814
+ if ( false == empty( $wp_cache_mobile_browsers ) )
2815
  $condition_rules[] = "RewriteCond %{HTTP_USER_AGENT} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").* [NC]";
2816
+ if ( false == empty( $wp_cache_mobile_prefixes ) )
2817
  $condition_rules[] = "RewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").* [NC]";
2818
  }
2819
  $condition_rules = apply_filters( 'supercacherewriteconditions', $condition_rules );
2868
  if ( !function_exists( 'prune_super_cache' ) )
2869
  include_once( 'wp-cache-phase2.php' );
2870
 
2871
+ wp_cache_debug( "clear_post_supercache: deleting $dir/index*.html files", 2 );
2872
  $files_to_check = get_all_supercache_filenames( $dir );
2873
  foreach( $files_to_check as $cache_file ) {
2874
+ prune_super_cache( $dir . $cache_file, true );
2875
  }
2876
  }
2877
 
2881
 
2882
  if ( get_option( 'preload_cache_stop' ) ) {
2883
  delete_option( 'preload_cache_stop' );
2884
+ wp_cache_debug( "wp_cron_preload_cache: preload cancelled", 1 );
2885
  return true;
2886
  }
2887
  $mutex = $cache_path . "preload_mutex.tmp";
2888
  sleep( 3 + mt_rand( 1, 5 ) );
2889
  if ( @file_exists( $mutex ) ) {
2890
  if ( @filemtime( $mutex ) > ( time() - 600 ) ) {
2891
+ wp_cache_debug( "wp_cron_preload_cache: preload mutex found and less than 600 seconds old. Aborting preload.", 1 );
2892
  return true;
2893
  } else {
2894
+ wp_cache_debug( "wp_cron_preload_cache: old preload mutex found and deleted. Preload continues.", 1 );
2895
  @unlink( $mutex );
2896
  }
2897
  }
2900
 
2901
  $counter = get_option( 'preload_cache_counter' );
2902
  if ( is_array( $counter ) == false ) {
2903
+ wp_cache_debug( "wp_cron_preload_cache: setting up preload for the first time!", 5 );
2904
  $counter = array( 'c' => 0, 't' => time() );
2905
  update_option( 'preload_cache_counter', $counter );
2906
  }
2912
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Cache Preload Started', 'wp-super-cache' ), site_url(), '' ), ' ' );
2913
 
2914
  if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) {
2915
+ wp_cache_debug( "wp_cron_preload_cache: doing taxonomy preload.", 5 );
2916
  $permalink_counter_msg = $cache_path . "preload_permalink.txt";
2917
  if ( isset( $wp_cache_preload_taxonomies ) && $wp_cache_preload_taxonomies ) {
2918
  $taxonomies = apply_filters( 'wp_cache_preload_taxonomies', array( 'post_tag' => 'tag', 'category' => 'category' ) );
2946
  continue;
2947
  $url_info = parse_url( $url );
2948
  $dir = get_supercache_dir() . $url_info[ 'path' ];
2949
+ wp_cache_debug( "wp_cron_preload_cache: delete $dir", 5 );
2950
  prune_super_cache( $dir );
2951
  $fp = @fopen( $permalink_counter_msg, 'w' );
2952
  if ( $fp ) {
2954
  @fclose( $fp );
2955
  }
2956
  wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
2957
+ wp_cache_debug( "wp_cron_preload_cache: fetched $url", 5 );
2958
  sleep( 1 );
2959
  }
2960
  $fp = fopen( $taxonomy_filename, 'w' );
2969
 
2970
  if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) {
2971
  $posts = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE ( post_type != 'revision' AND post_type != 'nav_menu_item' ) AND post_status = 'publish' ORDER BY ID ASC LIMIT $c, 100" );
2972
+ wp_cache_debug( "wp_cron_preload_cache: got 100 posts from position $c.", 5 );
2973
  } else {
2974
+ wp_cache_debug( "wp_cron_preload_cache: no more posts to get. Limit ($wp_cache_preload_posts) reached.", 5 );
2975
  $posts = false;
2976
  }
2977
  if ( !isset( $wp_cache_preload_email_volume ) )
3001
  @fclose( $fp );
3002
  }
3003
  if ( @file_exists( $cache_path . "stop_preload.txt" ) ) {
3004
+ wp_cache_debug( "wp_cron_preload_cache: cancelling preload. stop_preload.txt found.", 5 );
3005
  @unlink( $mutex );
3006
  @unlink( $cache_path . "stop_preload.txt" );
3007
  update_option( 'preload_cache_counter', array( 'c' => 0, 't' => time() ) );
3011
  }
3012
  $msg .= "$url\n";
3013
  wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
3014
+ wp_cache_debug( "wp_cron_preload_cache: fetched $url", 5 );
3015
  sleep( 1 );
3016
  $count++;
3017
  }
3018
  if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume != 'less' )
3019
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] %2$d posts refreshed', 'wp-super-cache' ), $WPSC_HTTP_HOST, ($c+100) ), __( "Refreshed the following posts:", 'wp-super-cache' ) . "\n$msg" );
3020
  if ( defined( 'DOING_CRON' ) ) {
3021
+ wp_cache_debug( "wp_cron_preload_cache: scheduling the next preload in 30 seconds.", 5 );
3022
  wp_schedule_single_event( time() + 30, 'wp_cache_preload_hook' );
3023
  }
3024
  } else {
3027
  if ( (int)$wp_cache_preload_interval && defined( 'DOING_CRON' ) ) {
3028
  if ( $wp_cache_preload_email_me )
3029
  $msg = sprintf( __( 'Scheduling next preload refresh in %d minutes.', 'wp-super-cache' ), (int)$wp_cache_preload_interval );
3030
+ wp_cache_debug( "wp_cron_preload_cache: no more posts. scheduling next preload in $wp_cache_preload_interval minutes.", 5 );
3031
  wp_schedule_single_event( time() + ( (int)$wp_cache_preload_interval * 60 ), 'wp_cache_full_preload_hook' );
3032
  }
3033
  global $file_prefix, $cache_max_time;
3038
  }
3039
  if ( $wp_cache_preload_email_me )
3040
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Cache Preload Completed', 'wp-super-cache' ), site_url() ), __( "Cleaning up old supercache files.", 'wp-super-cache' ) . "\n" . $msg );
3041
+ wp_cache_debug( "wp_cron_preload_cache: clean expired cache files older than $cache_max_time seconds.", 5 );
3042
  wp_cache_phase2_clean_expired( $file_prefix, true ); // force cleanup of old files.
3043
  }
3044
  @unlink( $mutex );
3115
  $code .= "<li><code>chmod 666 " . WP_CONTENT_DIR . "/{$filename}</code></li>\n";
3116
  }
3117
  $code .= "</ul>\n";
3118
+
3119
  $msg .= "</ol>\n<p>First try fixing the directory permissions with this command and refresh this page:<br /><br /><code>chmod 777 " . WP_CONTENT_DIR . "</code><br /><br />If you still see this error, you have to fix the permissions on the files themselves and refresh this page again:</p> {$code}\n<p>Don't forgot to fix things later:<br /><code>chmod 755 " . WP_CONTENT_DIR . "</code></p><p>If you don't know what <strong>chmod</strong> is use <a href='http://www.google.ie/search?hl=en&q=ftp+chmod+777'>this Google search</a> to find out all about it.</p><p>Please refresh this page when the permissions have been modified.</p>";
3120
  wp_die( $msg );
3121
  }
3123
  if ( $scrules != '' && insert_with_markers( $home_path.'.htaccess', 'WPSuperCache', array() ) ) {
3124
  $wp_rewrite->flush_rules();
3125
  } elseif( $scrules != '' ) {
3126
+ wp_mail( get_option( 'admin_email' ), __( 'Supercache Uninstall Problems', 'wp-super-cache' ), sprintf( __( "Dear User,\n\nWP Super Cache was removed from your blog but the mod_rewrite rules\nin your .htaccess were not.\n\nPlease edit the following file and remove the code\nbetween 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file first!\n\n%s\n\nRegards,\nWP Super Cache Plugin\nhttp://wordpress.org/plugins/wp-super-cache/", 'wp-super-cache' ), ABSPATH . '/.htaccess' ) );
3127
  }
3128
  }
3129
 
3134
  $dh = @opendir($folderPath);
3135
  while( false !== ( $value = @readdir( $dh ) ) ) {
3136
  if ( $value != "." && $value != ".." ) {
3137
+ $value = $folderPath . "/" . $value;
3138
  if ( @is_dir ( $value ) ) {
3139
  uninstall_supercache( $value );
3140
  } else {
3150
 
3151
  function supercache_admin_bar_render() {
3152
  global $wp_admin_bar, $wp_cache_not_logged_in;
3153
+ if ( !is_user_logged_in() || !$wp_cache_not_logged_in )
3154
  return false;
3155
 
3156
  if ( function_exists('current_user_can') && false == current_user_can('delete_others_posts') )
3166
  }
3167
  add_action( 'wp_before_admin_bar_render', 'supercache_admin_bar_render' );
3168
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3169
  ?>
wp-super-cache.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
7
- "POT-Creation-Date: 2013-04-16 12:02:02+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,7 +24,7 @@ msgid ""
24
  "+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
25
  msgstr ""
26
 
27
- #: ossdl-cdn.php:152 wp-cache.php:1167
28
  msgid ""
29
  "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to "
30
  "Amazon S3/Cloudfront if you would rather not depend on origin pull. See the "
@@ -115,14 +115,14 @@ msgid "Awaiting Moderation"
115
  msgstr ""
116
 
117
  #: plugins/awaitingmoderation.php:34 plugins/badbehaviour.php:65
118
- #: plugins/domain-mapping.php:75 plugins/jetpack.php:27
119
- #: plugins/searchengine.php:69 plugins/wptouch.php:22 wp-cache.php:1405
120
  msgid "Enabled"
121
  msgstr ""
122
 
123
  #: plugins/awaitingmoderation.php:35 plugins/badbehaviour.php:66
124
- #: plugins/domain-mapping.php:76 plugins/jetpack.php:28
125
- #: plugins/searchengine.php:70 plugins/wptouch.php:23 wp-cache.php:1405
126
  msgid "Disabled"
127
  msgstr ""
128
 
@@ -133,14 +133,14 @@ msgid ""
133
  msgstr ""
134
 
135
  #: plugins/awaitingmoderation.php:40 plugins/badbehaviour.php:71
136
- #: plugins/domain-mapping.php:81 plugins/jetpack.php:33
137
- #: plugins/searchengine.php:75 plugins/wptouch.php:28 wp-cache.php:1866
138
- #: wp-cache.php:1868
139
  msgid "enabled"
140
  msgstr ""
141
 
142
  #: plugins/awaitingmoderation.php:42 plugins/badbehaviour.php:73
143
- #: plugins/domain-mapping.php:83 plugins/jetpack.php:35
144
  #: plugins/searchengine.php:77 plugins/wptouch.php:30
145
  msgid "disabled"
146
  msgstr ""
@@ -150,7 +150,7 @@ msgid "Awaiting Moderation is now %s"
150
  msgstr ""
151
 
152
  #: plugins/awaitingmoderation.php:45 plugins/badbehaviour.php:76
153
- #: plugins/domain-mapping.php:86 plugins/jetpack.php:38
154
  #: plugins/searchengine.php:80 plugins/wptouch.php:33
155
  msgid "Update"
156
  msgstr ""
@@ -174,7 +174,7 @@ msgstr ""
174
  msgid "Bad Behavior support is now %s"
175
  msgstr ""
176
 
177
- #: plugins/badbehaviour.php:83 wp-cache.php:1495 wp-cache.php:1500
178
  msgid "Warning!"
179
  msgstr ""
180
 
@@ -203,14 +203,20 @@ msgstr ""
203
  msgid "Jetpack Mobile Theme"
204
  msgstr ""
205
 
206
- #: plugins/jetpack.php:30
 
 
 
 
 
 
207
  msgid ""
208
  "Provides support for the <a href=\"http://wordpress.org/extend/plugins/"
209
  "jetpack/\">Jetpack</a> mobile theme and plugin. PHP caching mode and mobile "
210
  "support will be enabled too."
211
  msgstr ""
212
 
213
- #: plugins/jetpack.php:36
214
  msgid "Jetpack Mobile Theme support is now %s"
215
  msgstr ""
216
 
@@ -218,11 +224,11 @@ msgstr ""
218
  msgid "Cached"
219
  msgstr ""
220
 
221
- #: plugins/multisite.php:31 wp-cache.php:1418
222
  msgid "Enable"
223
  msgstr ""
224
 
225
- #: plugins/multisite.php:33 plugins/searchengine.php:61 wp-cache.php:1418
226
  msgid "Disable"
227
  msgstr ""
228
 
@@ -264,42 +270,42 @@ msgid ""
264
  "the WPTouch helper plugin."
265
  msgstr ""
266
 
267
- #: wp-cache-phase2.php:1257
268
  msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
269
  msgstr ""
270
 
271
- #: wp-cache-phase2.php:1261
272
  msgid ""
273
  "Cache expiry cron job took more than 30 seconds. You should probably run the "
274
  "garbage collector more often."
275
  msgstr ""
276
 
277
- #: wp-cache-phase2.php:1270
278
  msgid "[%1$s] WP Super Cache GC Report"
279
  msgstr ""
280
 
281
- #: wp-cache.php:99
282
  msgid ""
283
  "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-"
284
  "sample.php"
285
  msgstr ""
286
 
287
- #: wp-cache.php:165
288
  msgid "Warning! PHP Safe Mode Enabled!"
289
  msgstr ""
290
 
291
- #: wp-cache.php:166
292
  msgid ""
293
  "You may experience problems running this plugin because SAFE MODE is enabled."
294
  msgstr ""
295
 
296
- #: wp-cache.php:170
297
  msgid ""
298
  "Your server is set up to check the owner of PHP scripts before allowing them "
299
  "to read and write files."
300
  msgstr ""
301
 
302
- #: wp-cache.php:171
303
  msgid ""
304
  "You or an administrator may be able to make it work by changing the group "
305
  "owner of the plugin scripts to match that of the web server user. The group "
@@ -308,7 +314,7 @@ msgid ""
308
  "details."
309
  msgstr ""
310
 
311
- #: wp-cache.php:173
312
  msgid ""
313
  "You or an administrator must disable this. See the <a href=\"http://php.net/"
314
  "features.safe-mode\">safe mode manual page</a> for further details. This "
@@ -316,50 +322,50 @@ msgid ""
316
  "php.ini config file."
317
  msgstr ""
318
 
319
- #: wp-cache.php:179
320
  msgid "Permlink Structure Error"
321
  msgstr ""
322
 
323
- #: wp-cache.php:180
324
  msgid ""
325
  "A custom url or permalink structure is required for this plugin to work "
326
  "correctly. Please go to the <a href=\"options-permalink.php\">Permalinks "
327
  "Options Page</a> to configure your permalinks."
328
  msgstr ""
329
 
330
- #: wp-cache.php:192
331
  msgid "Warning! Your hostname \"%s\" resolves to %s"
332
  msgstr ""
333
 
334
- #: wp-cache.php:193
335
  msgid ""
336
  "Your server thinks your hostname resolves to %s. Some services such as "
337
  "garbage collection by this plugin, and WordPress scheduled posts may not "
338
  "operate correctly."
339
  msgstr ""
340
 
341
- #: wp-cache.php:194 wp-cache.php:208
342
  msgid ""
343
  "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the "
344
  "readme.txt"
345
  msgstr ""
346
 
347
- #: wp-cache.php:207
348
  msgid ""
349
  "Unfortunately WordPress cannot find the file wp-cron.php. This script is "
350
  "required for the the correct operation of garbage collection by this plugin, "
351
  "WordPress scheduled posts as well as other critical activities."
352
  msgstr ""
353
 
354
- #: wp-cache.php:221
355
  msgid "Cannot continue... fix previous problems and retry."
356
  msgstr ""
357
 
358
- #: wp-cache.php:230
359
  msgid "Zlib Output Compression Enabled!"
360
  msgstr ""
361
 
362
- #: wp-cache.php:231
363
  msgid ""
364
  "PHP is compressing the data sent to the visitors of your site. Disabling "
365
  "this is recommended as the plugin caches the compressed output once instead "
@@ -368,11 +374,11 @@ msgid ""
368
  "configuration.php\">this page</a> for instructions on modifying your php.ini."
369
  msgstr ""
370
 
371
- #: wp-cache.php:235
372
  msgid "Mod rewrite may not be installed!"
373
  msgstr ""
374
 
375
- #: wp-cache.php:236
376
  msgid ""
377
  "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;"
378
  "t 100% reliable, especially if you are not using Apache. Please verify that "
@@ -380,111 +386,111 @@ msgid ""
380
  "static files. You will still be able to use legacy or PHP modes."
381
  msgstr ""
382
 
383
- #: wp-cache.php:242
384
  msgid "Read Only Mode. Configuration cannot be changed."
385
  msgstr ""
386
 
387
- #: wp-cache.php:243
388
  msgid ""
389
  "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> "
390
  "and cannot be modified. That file must be writeable by the webserver to make "
391
  "any changes."
392
  msgstr ""
393
 
394
- #: wp-cache.php:244
395
  msgid ""
396
  "A simple way of doing that is by changing the permissions temporarily using "
397
  "the CHMOD command or through your ftp client. Make sure it&#8217;s globally "
398
  "writeable and it should be fine."
399
  msgstr ""
400
 
401
- #: wp-cache.php:245 wp-cache.php:294
402
  msgid ""
403
  "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">This page</"
404
  "a> explains how to change file permissions."
405
  msgstr ""
406
 
407
- #: wp-cache.php:246
408
  msgid "Writeable:"
409
  msgstr ""
410
 
411
- #: wp-cache.php:247
412
  msgid "Readonly:"
413
  msgstr ""
414
 
415
- #: wp-cache.php:265
416
  msgid "Warning! Garbage collection is not scheduled!"
417
  msgstr ""
418
 
419
- #: wp-cache.php:266
420
  msgid ""
421
  "Garbage collection by this plugin clears out expired and old cached pages on "
422
  "a regular basis. Use <a href=\"#expirytime\">this form</a> to enable it."
423
  msgstr ""
424
 
425
- #: wp-cache.php:271 wp-cache.php:299 wp-cache.php:369
426
  msgid "Dismiss"
427
  msgstr ""
428
 
429
- #: wp-cache.php:292
430
  msgid "Warning! %s is writeable!"
431
  msgstr ""
432
 
433
- #: wp-cache.php:293
434
  msgid ""
435
  "You should change the permissions on %s and make it more restrictive. Use "
436
  "your ftp client, or the following command to fix things:"
437
  msgstr ""
438
 
439
- #: wp-cache.php:311
440
  msgid "Mobile rewrite rules detected"
441
  msgstr ""
442
 
443
- #: wp-cache.php:312
444
  msgid ""
445
  "For best performance you should enable \"Mobile device support\" or delete "
446
  "the mobile rewrite rules in your .htaccess. Look for the 2 lines with the "
447
  "text \"2.0\\ MMP|240x320\" and delete those."
448
  msgstr ""
449
 
450
- #: wp-cache.php:312
451
  msgid ""
452
  "This will have no affect on ordinary users but mobile users will see "
453
  "uncached pages."
454
  msgstr ""
455
 
456
- #: wp-cache.php:318 wp-cache.php:329
457
  msgid "Rewrite rules must be updated"
458
  msgstr ""
459
 
460
- #: wp-cache.php:319 wp-cache.php:330
461
  msgid "The rewrite rules required by this plugin have changed or are missing. "
462
  msgstr ""
463
 
464
- #: wp-cache.php:320
465
  msgid ""
466
  "Mobile support requires extra rules in your .htaccess file, or you can set "
467
  "the plugin to legacy mode. Here are your options (in order of difficulty):"
468
  msgstr ""
469
 
470
- #: wp-cache.php:321
471
  msgid "Set the plugin to legacy mode and enable mobile support."
472
  msgstr ""
473
 
474
- #: wp-cache.php:322 wp-cache.php:331
475
  msgid ""
476
  "Scroll down the Advanced Settings page and click the <strong>Update "
477
  "Mod_Rewrite Rules</strong> button."
478
  msgstr ""
479
 
480
- #: wp-cache.php:323
481
  msgid ""
482
  "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN "
483
  "WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin "
484
  "regenerate them by reloading this page."
485
  msgstr ""
486
 
487
- #: wp-cache.php:324
488
  msgid ""
489
  "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed "
490
  "by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</"
@@ -493,38 +499,38 @@ msgid ""
493
  "these lines: (do it twice, once for each section)"
494
  msgstr ""
495
 
496
- #: wp-cache.php:337
497
  msgid "Required to serve compressed supercache files properly."
498
  msgstr ""
499
 
500
- #: wp-cache.php:337
501
  msgid ""
502
  "Required to set caching information on supercache pages. IE7 users will see "
503
  "old pages without this module."
504
  msgstr ""
505
 
506
- #: wp-cache.php:337
507
  msgid ""
508
  "Set the expiry date on supercached pages. Visitors may not see new pages "
509
  "when they refresh or leave comments without this module."
510
  msgstr ""
511
 
512
- #: wp-cache.php:344
513
  msgid "Missing Apache Modules"
514
  msgstr ""
515
 
516
- #: wp-cache.php:345
517
  msgid ""
518
  "The following Apache modules are missing. The plugin will work in legacy "
519
  "mode without them. In full Supercache mode, your visitors may see corrupted "
520
  "pages or out of date content however."
521
  msgstr ""
522
 
523
- #: wp-cache.php:363
524
  msgid ".htaccess file may need to be moved"
525
  msgstr ""
526
 
527
- #: wp-cache.php:364
528
  msgid ""
529
  "It appears you have WordPress installed in a sub directory as described <a "
530
  "href=\"http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\">here</"
@@ -534,60 +540,60 @@ msgid ""
534
  "site is hosted. This will be fixed in the future."
535
  msgstr ""
536
 
537
- #: wp-cache.php:597
538
  msgid ""
539
  "<strong>Warning!</strong> You attempted to enable compression but <code>zlib."
540
  "output_compression</code> is enabled. See #21 in the Troubleshooting section "
541
  "of the readme file."
542
  msgstr ""
543
 
544
- #: wp-cache.php:693
545
  msgid "WP Super Cache Settings"
546
  msgstr ""
547
 
548
- #: wp-cache.php:707
549
  msgid ""
550
  "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced "
551
  "Settings Page by default."
552
  msgstr ""
553
 
554
- #: wp-cache.php:718
555
  msgid ""
556
  "Configuration file changed, some values might be wrong. Load the page again "
557
  "from the \"Settings\" menu to reset them."
558
  msgstr ""
559
 
560
- #: wp-cache.php:750
561
  msgid "Caching must be enabled to use this feature"
562
  msgstr ""
563
 
564
- #: wp-cache.php:768 wp-cache.php:908
565
  msgid "Cancel Cache Preload"
566
  msgstr ""
567
 
568
- #: wp-cache.php:776
569
  msgid ""
570
  "Scheduled preloading of cache almost cancelled. It may take up to a minute "
571
  "for it to cancel completely."
572
  msgstr ""
573
 
574
- #: wp-cache.php:787
575
  msgid "Scheduled preloading of cache cancelled."
576
  msgstr ""
577
 
578
- #: wp-cache.php:819 wp-cache.php:906
579
  msgid "Preload Cache Now"
580
  msgstr ""
581
 
582
- #: wp-cache.php:823
583
  msgid "Scheduled preloading of cache in 10 seconds."
584
  msgstr ""
585
 
586
- #: wp-cache.php:828
587
  msgid "Scheduled preloading of cache in %d minutes"
588
  msgstr ""
589
 
590
- #: wp-cache.php:832
591
  msgid ""
592
  "This will cache every published post and page on your site. It will create "
593
  "supercache static files so unknown visitors (including bots) will hit a "
@@ -595,266 +601,266 @@ msgid ""
595
  "speed as a metric when judging websites now."
596
  msgstr ""
597
 
598
- #: wp-cache.php:833
599
  msgid ""
600
  "Preloading creates lots of files however. Caching is done from the newest "
601
  "post to the oldest so please consider only caching the newest if you have "
602
  "lots (10,000+) of posts. This is especially important on shared hosting."
603
  msgstr ""
604
 
605
- #: wp-cache.php:834
606
  msgid ""
607
  "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out "
608
  "old legacy files for known users, not the preloaded supercache files. This "
609
  "is a recommended setting when the cache is preloaded."
610
  msgstr ""
611
 
612
- #: wp-cache.php:838
613
  msgid ""
614
  "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d "
615
  "minutes.)"
616
  msgstr ""
617
 
618
- #: wp-cache.php:851
619
  msgid "all"
620
  msgstr ""
621
 
622
- #: wp-cache.php:864
623
  msgid "Preload %s posts."
624
  msgstr ""
625
 
626
- #: wp-cache.php:871
627
  msgid ""
628
  "Preload mode (garbage collection only on legacy cache files. Recommended.)"
629
  msgstr ""
630
 
631
- #: wp-cache.php:874
632
  msgid "Preload tags, categories and other taxonomies."
633
  msgstr ""
634
 
635
- #: wp-cache.php:877
636
  msgid "Send me status emails when files are refreshed."
637
  msgstr ""
638
 
639
- #: wp-cache.php:882
640
  msgid "Many emails, 2 emails per 100 posts."
641
  msgstr ""
642
 
643
- #: wp-cache.php:885
644
  msgid "Medium, 1 email per 100 posts."
645
  msgstr ""
646
 
647
- #: wp-cache.php:888
648
  msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
649
  msgstr ""
650
 
651
- #: wp-cache.php:892
652
  msgid "Refresh of cache in %d hours %d minutes and %d seconds."
653
  msgstr ""
654
 
655
- #: wp-cache.php:893
656
  msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
657
  msgstr ""
658
 
659
- #: wp-cache.php:899
660
  msgid "Currently caching from post %d to %d."
661
  msgstr ""
662
 
663
- #: wp-cache.php:903
664
  msgid "<strong>Page last cached:</strong> %s"
665
  msgstr ""
666
 
667
- #: wp-cache.php:906
668
  msgid "Update Settings"
669
  msgstr ""
670
 
671
- #: wp-cache.php:914
672
  msgid ""
673
  "Preloading of cache disabled. Please disable legacy page caching or talk to "
674
  "your host administrator."
675
  msgstr ""
676
 
677
- #: wp-cache.php:931 wp-cache.php:1043
678
  msgid "Caching"
679
  msgstr ""
680
 
681
- #: wp-cache.php:935
682
  msgid "Cache hits to this website for quick access."
683
  msgstr ""
684
 
685
- #: wp-cache.php:935 wp-cache.php:936 wp-cache.php:953 wp-cache.php:962
686
- #: wp-cache.php:969 wp-cache.php:972 wp-cache.php:990 wp-cache.php:1046
687
  msgid "Recommended"
688
  msgstr ""
689
 
690
- #: wp-cache.php:936
691
  msgid "Use mod_rewrite to serve cache files."
692
  msgstr ""
693
 
694
- #: wp-cache.php:937
695
  msgid "Use PHP to serve cache files."
696
  msgstr ""
697
 
698
- #: wp-cache.php:938
699
  msgid "Legacy page caching."
700
  msgstr ""
701
 
702
- #: wp-cache.php:939
703
  msgid ""
704
  "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, "
705
  "while legacy caching is slower again, but more flexible and also easy to get "
706
  "working. New users should use PHP caching."
707
  msgstr ""
708
 
709
- #: wp-cache.php:945
710
  msgid "Miscellaneous"
711
  msgstr ""
712
 
713
- #: wp-cache.php:951
714
  msgid "Warning! Compression is disabled as gzencode() function not found."
715
  msgstr ""
716
 
717
- #: wp-cache.php:953
718
  msgid "Compress pages so they&#8217;re served more quickly to visitors."
719
  msgstr ""
720
 
721
- #: wp-cache.php:954
722
  msgid ""
723
  "Compression is disabled by default because some hosts have problems with "
724
  "compressed files. Switching it on and off clears the cache."
725
  msgstr ""
726
 
727
- #: wp-cache.php:962
728
  msgid ""
729
  "304 Not Modified browser caching. Indicate when a page has not been modified "
730
  "since last requested."
731
  msgstr ""
732
 
733
- #: wp-cache.php:965
734
  msgid ""
735
  "Warning! 304 browser caching is only supported when not using mod_rewrite "
736
  "caching."
737
  msgstr ""
738
 
739
- #: wp-cache.php:967
740
  msgid ""
741
  "304 support is disabled by default because some hosts have had problems with "
742
  "the headers used in the past."
743
  msgstr ""
744
 
745
- #: wp-cache.php:969
746
  msgid ""
747
  "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that "
748
  "comment\">known users</acronym>."
749
  msgstr ""
750
 
751
- #: wp-cache.php:970
752
  msgid "Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)"
753
  msgstr ""
754
 
755
- #: wp-cache.php:971
756
  msgid ""
757
  "Make known users anonymous so they&#8217;re served supercached static files."
758
  msgstr ""
759
 
760
- #: wp-cache.php:972
761
  msgid ""
762
  "Cache rebuild. Serve a supercache file to anonymous users while a new file "
763
  "is being generated."
764
  msgstr ""
765
 
766
- #: wp-cache.php:973
767
  msgid ""
768
  "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! "
769
  "(places a message in your blog&#8217;s footer)"
770
  msgstr ""
771
 
772
- #: wp-cache.php:979 wp-cache.php:1256 wp-cache.php:1875
773
  msgid "Advanced"
774
  msgstr ""
775
 
776
- #: wp-cache.php:983
777
  msgid ""
778
- "Enable dynamic caching (mfunc, mclude, dynamic-cached-content). See the <a "
779
- "href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
780
- "further details.)"
781
  msgstr ""
782
 
783
- #: wp-cache.php:984
784
  msgid ""
785
  "Mobile device support. (External plugin or theme required. See the <a href="
786
  "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
787
  "further details.)"
788
  msgstr ""
789
 
790
- #: wp-cache.php:986
791
  msgid "Mobile Browsers"
792
  msgstr ""
793
 
794
- #: wp-cache.php:986
795
  msgid "Mobile Prefixes"
796
  msgstr ""
797
 
798
- #: wp-cache.php:988
799
  msgid ""
800
  "Remove UTF8/blog charset support from .htaccess file. Only necessary if you "
801
  "see odd characters or punctuation looks incorrect. Requires rewrite rules "
802
  "update."
803
  msgstr ""
804
 
805
- #: wp-cache.php:989
806
  msgid "Clear all cache files when a post or page is published or updated."
807
  msgstr ""
808
 
809
- #: wp-cache.php:990
810
  msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
811
  msgstr ""
812
 
813
- #: wp-cache.php:991
814
  msgid "Only refresh current page when comments made."
815
  msgstr ""
816
 
817
- #: wp-cache.php:992
818
  msgid "List the newest cached pages on this page."
819
  msgstr ""
820
 
821
- #: wp-cache.php:994
822
  msgid ""
823
  "Coarse file locking. You probably don&#8217;t need this but it may help if "
824
  "your server is underpowered. Warning! <em>May cause your server to lock up "
825
  "in very rare cases!</em>"
826
  msgstr ""
827
 
828
- #: wp-cache.php:996
829
  msgid ""
830
  "Late init. Display cached files after WordPress has loaded. Most useful in "
831
  "legacy mode."
832
  msgstr ""
833
 
834
- #: wp-cache.php:998
835
  msgid "Use object cache to store cached files."
836
  msgstr ""
837
 
838
- #: wp-cache.php:998
839
  msgid "(Experimental)"
840
  msgstr ""
841
 
842
- #: wp-cache.php:1000
843
  msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
844
  msgstr ""
845
 
846
- #: wp-cache.php:1006
847
  msgid "Note:"
848
  msgstr ""
849
 
850
- #: wp-cache.php:1008
851
  msgid ""
852
  "Uninstall this plugin on the plugins page. It will automatically clean up "
853
  "after itself. If manual intervention is required then simple instructions "
854
  "are provided."
855
  msgstr ""
856
 
857
- #: wp-cache.php:1009
858
  msgid ""
859
  "If uninstalling this plugin, make sure the directory <em>%s</em> is "
860
  "writeable by the webserver so the files <em>advanced-cache.php</em> and "
@@ -862,14 +868,14 @@ msgid ""
862
  "files are writeable too is probably a good idea!)"
863
  msgstr ""
864
 
865
- #: wp-cache.php:1010
866
  msgid ""
867
  "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for "
868
  "instructions on uninstalling this script. Look for the heading, \"How to "
869
  "uninstall WP Super Cache\"."
870
  msgstr ""
871
 
872
- #: wp-cache.php:1011
873
  msgid ""
874
  "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It "
875
  "includes installation documentation, a FAQ and Troubleshooting tips. The <a "
@@ -877,27 +883,27 @@ msgid ""
877
  "have been answered."
878
  msgstr ""
879
 
880
- #: wp-cache.php:1014 wp-cache.php:1061
881
  msgid "Update Status"
882
  msgstr ""
883
 
884
- #: wp-cache.php:1021
885
  msgid "Accepted Filenames &amp; Rejected URIs"
886
  msgstr ""
887
 
888
- #: wp-cache.php:1046
889
  msgid "Caching On"
890
  msgstr ""
891
 
892
- #: wp-cache.php:1047
893
  msgid "Caching Off"
894
  msgstr ""
895
 
896
- #: wp-cache.php:1048
897
  msgid "Note: enables PHP caching, cache rebuild, and mobile support"
898
  msgstr ""
899
 
900
- #: wp-cache.php:1058
901
  msgid ""
902
  "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. "
903
  "Cached files will be served using those rules. If your site is working ok "
@@ -905,125 +911,125 @@ msgid ""
905
  "your install and remove the SuperCache rules."
906
  msgstr ""
907
 
908
- #: wp-cache.php:1063
909
  msgid "Cache Tester"
910
  msgstr ""
911
 
912
- #: wp-cache.php:1064
913
  msgid "Test your cached website by clicking the test button below."
914
  msgstr ""
915
 
916
- #: wp-cache.php:1070
917
  msgid "Fetching %s to prime cache: "
918
  msgstr ""
919
 
920
- #: wp-cache.php:1072 wp-cache.php:1081 wp-cache.php:1093
921
  msgid "OK"
922
  msgstr ""
923
 
924
- #: wp-cache.php:1075
925
  msgid "Fetching first copy of %s: "
926
  msgstr ""
927
 
928
- #: wp-cache.php:1084 wp-cache.php:1095
929
  msgid "FAILED"
930
  msgstr ""
931
 
932
- #: wp-cache.php:1087
933
  msgid "Fetching second copy of %s: "
934
  msgstr ""
935
 
936
- #: wp-cache.php:1099
937
  msgid "One or more page requests failed:"
938
  msgstr ""
939
 
940
- #: wp-cache.php:1118 wp-cache.php:1119
941
  msgid "Page %d: %d (%s)"
942
  msgstr ""
943
 
944
- #: wp-cache.php:1125
945
  msgid "Page 1: %s"
946
  msgstr ""
947
 
948
- #: wp-cache.php:1126
949
  msgid "Page 2: %s"
950
  msgstr ""
951
 
952
- #: wp-cache.php:1127
953
  msgid "The timestamps on both pages match!"
954
  msgstr ""
955
 
956
- #: wp-cache.php:1129
957
  msgid "The pages do not match! Timestamps differ or were not found!"
958
  msgstr ""
959
 
960
- #: wp-cache.php:1130
961
  msgid "Things you can do:"
962
  msgstr ""
963
 
964
- #: wp-cache.php:1131
965
  msgid ""
966
  "Load your homepage in a logged out browser, check the timestamp at the end "
967
  "of the html source. Load the page again and compare the timestamp. Caching "
968
  "is working if the timestamps match."
969
  msgstr ""
970
 
971
- #: wp-cache.php:1132
972
  msgid ""
973
  "Enable logging on the Debug page here. That should help you track down the "
974
  "problem."
975
  msgstr ""
976
 
977
- #: wp-cache.php:1133
978
  msgid ""
979
  "You should check Page 1 and Page 2 above for errors. Your local server "
980
  "configuration may not allow your website to access itself."
981
  msgstr ""
982
 
983
- #: wp-cache.php:1141
984
  msgid "Send non-secure (non https) request for homepage"
985
  msgstr ""
986
 
987
- #: wp-cache.php:1142
988
  msgid "Test Cache"
989
  msgstr ""
990
 
991
- #: wp-cache.php:1146
992
  msgid "Delete Cached Pages"
993
  msgstr ""
994
 
995
- #: wp-cache.php:1147
996
  msgid ""
997
  "Cached pages are stored on your server as html and PHP files. If you need to "
998
  "delete them use the button below."
999
  msgstr ""
1000
 
1001
- #: wp-cache.php:1150 wp-cache.php:2416 wp-cache.php:2435 wp-cache.php:2606
1002
- #: wp-cache.php:3141
1003
  msgid "Delete Cache"
1004
  msgstr ""
1005
 
1006
- #: wp-cache.php:1157 wp-cache.php:2422
1007
  msgid "Delete Cache On All Blogs"
1008
  msgstr ""
1009
 
1010
- #: wp-cache.php:1162
1011
  msgid "Recommended Links and Plugins"
1012
  msgstr ""
1013
 
1014
- #: wp-cache.php:1163
1015
  msgid ""
1016
  "Caching is only one part of making a website faster. Here are some other "
1017
  "plugins that will help:"
1018
  msgstr ""
1019
 
1020
- #: wp-cache.php:1164
1021
  msgid ""
1022
  "<a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages "
1023
  "by removing whitespaces and extra characters "
1024
  msgstr ""
1025
 
1026
- #: wp-cache.php:1165
1027
  msgid ""
1028
  "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on "
1029
  "Firebug. It analyzes web pages and suggests ways to improve their "
@@ -1031,116 +1037,116 @@ msgid ""
1031
  "the performance tools online at <a href=\"%s\">GTMetrix</a>."
1032
  msgstr ""
1033
 
1034
- #: wp-cache.php:1166
1035
  msgid ""
1036
  "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly "
1037
  "used Javascript libraries from Google webservers. Ironically it may reduce "
1038
  "your Yslow score."
1039
  msgstr ""
1040
 
1041
- #: wp-cache.php:1168
1042
  msgid ""
1043
  "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with "
1044
  "Caching and cache-control</a> explains how to make your site more cacheable "
1045
  "with .htaccess rules."
1046
  msgstr ""
1047
 
1048
- #: wp-cache.php:1169
1049
  msgid ""
1050
  "<strong>Advanced users only:</strong> Install an object cache. Choose from "
1051
  "<a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s"
1052
  "\">eAcccelerator</a> and others."
1053
  msgstr ""
1054
 
1055
- #: wp-cache.php:1170
1056
  msgid ""
1057
  "<a href=\"%s\">Cron View</a> is a useful plugin to use when trying to debug "
1058
  "garbage collection and preload problems."
1059
  msgstr ""
1060
 
1061
- #: wp-cache.php:1181
1062
  msgid "Make WordPress Faster"
1063
  msgstr ""
1064
 
1065
- #: wp-cache.php:1182
1066
  msgid ""
1067
  "%1$s is maintained and developed by %2$s with contributions from many others."
1068
  msgstr ""
1069
 
1070
- #: wp-cache.php:1183
1071
  msgid "He blogs at %1$s and posts photos at %2$s."
1072
  msgstr ""
1073
 
1074
- #: wp-cache.php:1184
1075
  msgid "Please say hi to him on %s too!"
1076
  msgstr ""
1077
 
1078
- #: wp-cache.php:1185
1079
  msgid "Need Help?"
1080
  msgstr ""
1081
 
1082
- #: wp-cache.php:1187
1083
  msgid ""
1084
  "Use the debug system in the Debug tab above. It will tell you what the "
1085
  "plugin is doing."
1086
  msgstr ""
1087
 
1088
- #: wp-cache.php:1188
1089
  msgid "<a href=\"%1$s\">Installation Help</a>"
1090
  msgstr ""
1091
 
1092
- #: wp-cache.php:1189
1093
  msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
1094
  msgstr ""
1095
 
1096
- #: wp-cache.php:1190
1097
  msgid "<a href=\"%1$s\">Support Forum</a>"
1098
  msgstr ""
1099
 
1100
- #: wp-cache.php:1191
1101
  msgid "<a href=\"%1$s\">Development Version</a>"
1102
  msgstr ""
1103
 
1104
- #: wp-cache.php:1193
1105
  msgid "Rate This Plugin!"
1106
  msgstr ""
1107
 
1108
- #: wp-cache.php:1194
1109
  msgid ""
1110
  "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you "
1111
  "or not. It really helps development."
1112
  msgstr ""
1113
 
1114
- #: wp-cache.php:1203
1115
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
1116
  msgstr ""
1117
 
1118
- #: wp-cache.php:1204
1119
  msgid "Newest Cached Pages:"
1120
  msgstr ""
1121
 
1122
- #: wp-cache.php:1208
1123
  msgid "Cached %s seconds ago"
1124
  msgstr ""
1125
 
1126
- #: wp-cache.php:1211
1127
  msgid "(may not always be accurate on busy sites)"
1128
  msgstr ""
1129
 
1130
- #: wp-cache.php:1227
1131
  msgid ""
1132
  "Cache plugins are PHP scripts that live in a plugins folder inside the wp-"
1133
  "super-cache folder. They are loaded when Supercache loads, much sooner than "
1134
  "regular WordPress plugins."
1135
  msgstr ""
1136
 
1137
- #: wp-cache.php:1228
1138
  msgid ""
1139
  "This is strictly an advanced feature only and knowledge of both PHP and "
1140
  "WordPress actions is required to create them."
1141
  msgstr ""
1142
 
1143
- #: wp-cache.php:1229
1144
  msgid ""
1145
  "<strong>Warning</strong>! Due to the way WordPress upgrades plugins the "
1146
  "plugins you upload to wp-super-cache/plugins/ will be deleted when you "
@@ -1151,75 +1157,75 @@ msgid ""
1151
  "\">developer documentation</a>."
1152
  msgstr ""
1153
 
1154
- #: wp-cache.php:1239
1155
  msgid "Available Plugins"
1156
  msgstr ""
1157
 
1158
- #: wp-cache.php:1256
1159
  msgid "Easy"
1160
  msgstr ""
1161
 
1162
- #: wp-cache.php:1256
1163
  msgid "CDN"
1164
  msgstr ""
1165
 
1166
- #: wp-cache.php:1256
1167
  msgid "Contents"
1168
  msgstr ""
1169
 
1170
- #: wp-cache.php:1256
1171
  msgid "Preload"
1172
  msgstr ""
1173
 
1174
- #: wp-cache.php:1256
1175
  msgid "Plugins"
1176
  msgstr ""
1177
 
1178
- #: wp-cache.php:1256
1179
  msgid "Debug"
1180
  msgstr ""
1181
 
1182
- #: wp-cache.php:1291
1183
  msgid ""
1184
  "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a "
1185
  "href=\"%s\">the main site</a> of this network."
1186
  msgstr ""
1187
 
1188
- #: wp-cache.php:1300
1189
  msgid "Mod Rewrite Rules"
1190
  msgstr ""
1191
 
1192
- #: wp-cache.php:1306
1193
  msgid "WordPress MU Detected"
1194
  msgstr ""
1195
 
1196
- #: wp-cache.php:1306
1197
  msgid ""
1198
  "Unfortunately the rewrite rules cannot be updated automatically when running "
1199
  "WordPress MU. Please open your .htaccess and add the following mod_rewrite "
1200
  "rules above any other rules in that file."
1201
  msgstr ""
1202
 
1203
- #: wp-cache.php:1308
1204
  msgid "Mod Rewrite rules cannot be updated!"
1205
  msgstr ""
1206
 
1207
- #: wp-cache.php:1309
1208
  msgid ""
1209
  "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s."
1210
  "htaccess for the auto update to work. They look like this and surround the "
1211
  "main WordPress mod_rewrite rules:"
1212
  msgstr ""
1213
 
1214
- #: wp-cache.php:1311
1215
  msgid "Refresh this page when you have updated your .htaccess file."
1216
  msgstr ""
1217
 
1218
- #: wp-cache.php:1315
1219
  msgid "Thank you for upgrading."
1220
  msgstr ""
1221
 
1222
- #: wp-cache.php:1315
1223
  msgid ""
1224
  "The mod_rewrite rules changed since you last installed this plugin. "
1225
  "Unfortunately you must remove the old supercache rules before the new ones "
@@ -1231,11 +1237,11 @@ msgid ""
1231
  "brave enough to use them."
1232
  msgstr ""
1233
 
1234
- #: wp-cache.php:1319
1235
  msgid "Trailing slash check required."
1236
  msgstr ""
1237
 
1238
- #: wp-cache.php:1319
1239
  msgid ""
1240
  "It looks like your blog has URLs that end with a \"/\". Unfortunately since "
1241
  "you installed this plugin a duplicate content bug has been found where URLs "
@@ -1244,41 +1250,41 @@ msgid ""
1244
  "and add these two rules to the two groups of Super Cache rules:"
1245
  msgstr ""
1246
 
1247
- #: wp-cache.php:1321
1248
  msgid ""
1249
  "You can see where the rules go and examine the complete rules by clicking "
1250
  "the \"View mod_rewrite rules\" link below."
1251
  msgstr ""
1252
 
1253
- #: wp-cache.php:1335
1254
  msgid "Mod Rewrite rules updated!"
1255
  msgstr ""
1256
 
1257
- #: wp-cache.php:1336
1258
  msgid ""
1259
  "%s.htaccess has been updated with the necessary mod_rewrite rules. Please "
1260
  "verify they are correct. They should look like this:"
1261
  msgstr ""
1262
 
1263
- #: wp-cache.php:1338
1264
  msgid "Mod Rewrite rules must be updated!"
1265
  msgstr ""
1266
 
1267
- #: wp-cache.php:1339
1268
  msgid ""
1269
  "Your %s.htaccess is not writable by the webserver and must be updated with "
1270
  "the necessary mod_rewrite rules. The new rules go above the regular "
1271
  "WordPress rules as shown in the code below:"
1272
  msgstr ""
1273
 
1274
- #: wp-cache.php:1344
1275
  msgid ""
1276
  "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /"
1277
  "> Click the following link to see the lines added to that file. If you have "
1278
  "upgraded the plugin make sure these rules match."
1279
  msgstr ""
1280
 
1281
- #: wp-cache.php:1347
1282
  msgid ""
1283
  "A difference between the rules in your .htaccess file and the plugin rewrite "
1284
  "rules has been found. This could be simple whitespace differences but you "
@@ -1286,243 +1292,243 @@ msgid ""
1286
  "Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
1287
  msgstr ""
1288
 
1289
- #: wp-cache.php:1349
1290
  msgid "View Mod_Rewrite Rules"
1291
  msgstr ""
1292
 
1293
- #: wp-cache.php:1355 wp-cache.php:2722
1294
  msgid "Rules must be added to %s too:"
1295
  msgstr ""
1296
 
1297
- #: wp-cache.php:1362
1298
  msgid "Gzip encoding rules in %s.htaccess created."
1299
  msgstr ""
1300
 
1301
- #: wp-cache.php:1369
1302
  msgid "Fix Configuration"
1303
  msgstr ""
1304
 
1305
- #: wp-cache.php:1372
1306
  msgid "Restore Default Configuration"
1307
  msgstr ""
1308
 
1309
- #: wp-cache.php:1380
1310
  msgid ""
1311
  "Comment moderation is enabled. Your comment may take some time to appear."
1312
  msgstr ""
1313
 
1314
- #: wp-cache.php:1405
1315
  msgid "Lock Down:"
1316
  msgstr ""
1317
 
1318
- #: wp-cache.php:1406
1319
  msgid ""
1320
  "Prepare your server for an expected spike in traffic by enabling the lock "
1321
  "down. When this is enabled, new comments on a post will not refresh the "
1322
  "cached static files."
1323
  msgstr ""
1324
 
1325
- #: wp-cache.php:1407
1326
  msgid ""
1327
  "Developers: Make your plugin lock down compatible by checking the "
1328
  "\"WPLOCKDOWN\" constant. The following code will make sure your plugin "
1329
  "respects the WPLOCKDOWN setting."
1330
  msgstr ""
1331
 
1332
- #: wp-cache.php:1409
1333
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
1334
  msgstr ""
1335
 
1336
- #: wp-cache.php:1413
1337
  msgid ""
1338
  "WordPress is locked down. Super Cache static files will not be deleted when "
1339
  "new comments are made."
1340
  msgstr ""
1341
 
1342
- #: wp-cache.php:1415
1343
  msgid ""
1344
  "WordPress is not locked down. New comments will refresh Super Cache static "
1345
  "files as normal."
1346
  msgstr ""
1347
 
1348
- #: wp-cache.php:1421
1349
  msgid "Lock Down"
1350
  msgstr ""
1351
 
1352
- #: wp-cache.php:1429
1353
  msgid "Directly Cached Files"
1354
  msgstr ""
1355
 
1356
- #: wp-cache.php:1487
1357
  msgid "%s removed!"
1358
  msgstr ""
1359
 
1360
- #: wp-cache.php:1495
1361
  msgid ""
1362
  "You must make %s writable to enable this feature. As this is a security risk "
1363
  "please make it readonly after your page is generated."
1364
  msgstr ""
1365
 
1366
- #: wp-cache.php:1500
1367
  msgid ""
1368
  "%s is writable. Please make it readonly after your page is generated as this "
1369
  "is a security risk."
1370
  msgstr ""
1371
 
1372
- #: wp-cache.php:1515
1373
  msgid "Existing direct page"
1374
  msgstr ""
1375
 
1376
- #: wp-cache.php:1515
1377
  msgid "Delete cached file"
1378
  msgstr ""
1379
 
1380
- #: wp-cache.php:1520
1381
  msgid "Add direct page:"
1382
  msgstr ""
1383
 
1384
- #: wp-cache.php:1522
1385
  msgid ""
1386
  "Directly cached files are files created directly off %s where your blog "
1387
  "lives. This feature is only useful if you are expecting a major Digg or "
1388
  "Slashdot level of traffic to one post or page."
1389
  msgstr ""
1390
 
1391
- #: wp-cache.php:1524
1392
  msgid ""
1393
  "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /"
1394
  "about/. The cached file will be generated the next time an anonymous user "
1395
  "visits that page."
1396
  msgstr ""
1397
 
1398
- #: wp-cache.php:1525
1399
  msgid ""
1400
  "Make the textbox blank to remove it from the list of direct pages and delete "
1401
  "the cached file."
1402
  msgstr ""
1403
 
1404
- #: wp-cache.php:1530
1405
  msgid "Update Direct Pages"
1406
  msgstr ""
1407
 
1408
- #: wp-cache.php:1558
1409
  msgctxt "timezone date format"
1410
  msgid "Y-m-d G:i:s"
1411
  msgstr ""
1412
 
1413
- #: wp-cache.php:1620
1414
  msgid "Expiry Time &amp; Garbage Collection"
1415
  msgstr ""
1416
 
1417
- #: wp-cache.php:1622
1418
  msgid ""
1419
  "<abbr title=\"Coordinated Universal Time\">UTC</abbr> time is <code>%s</code>"
1420
  msgstr ""
1421
 
1422
- #: wp-cache.php:1625
1423
  msgid "Local time is <code>%1$s</code>"
1424
  msgstr ""
1425
 
1426
- #: wp-cache.php:1629
1427
  msgid "Next scheduled garbage collection will be at <strong>%s UTC</strong>"
1428
  msgstr ""
1429
 
1430
- #: wp-cache.php:1633
1431
  msgid ""
1432
  "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not "
1433
  "be deleted regardless of age."
1434
  msgstr ""
1435
 
1436
- #: wp-cache.php:1650
1437
  msgid "Cache Timeout"
1438
  msgstr ""
1439
 
1440
- #: wp-cache.php:1651 wp-cache.php:1654
1441
  msgid "seconds"
1442
  msgstr ""
1443
 
1444
- #: wp-cache.php:1652
1445
  msgid ""
1446
  "How long should cached pages remain fresh? Set to 0 to disable garbage "
1447
  "collection. A good starting point is 3600 seconds."
1448
  msgstr ""
1449
 
1450
- #: wp-cache.php:1653
1451
  msgid "Scheduler"
1452
  msgstr ""
1453
 
1454
- #: wp-cache.php:1653
1455
  msgid "Timer:"
1456
  msgstr ""
1457
 
1458
- #: wp-cache.php:1654
1459
  msgid "Check for stale cached files every <em>interval</em> seconds."
1460
  msgstr ""
1461
 
1462
- #: wp-cache.php:1655
1463
  msgid "Clock:"
1464
  msgstr ""
1465
 
1466
- #: wp-cache.php:1656
1467
  msgid "HH:MM"
1468
  msgstr ""
1469
 
1470
- #: wp-cache.php:1656
1471
  msgid ""
1472
  "Check for stale cached files at this time <strong>(UTC)</strong> or starting "
1473
  "at this time every <em>interval</em> below."
1474
  msgstr ""
1475
 
1476
- #: wp-cache.php:1658
1477
  msgid "Interval:"
1478
  msgstr ""
1479
 
1480
- #: wp-cache.php:1664
1481
  msgid "Notification Emails"
1482
  msgstr ""
1483
 
1484
- #: wp-cache.php:1665
1485
  msgid "Email me when the garbage collection runs."
1486
  msgstr ""
1487
 
1488
- #: wp-cache.php:1667
1489
  msgid "Garbage Collection"
1490
  msgstr ""
1491
 
1492
- #: wp-cache.php:1668
1493
  msgid ""
1494
  "<em>Garbage collection</em> is the simple act of throwing out your garbage. "
1495
  "For this plugin that would be old or <em>stale</em> cached files that may be "
1496
  "out of date. New cached files are described as <em>fresh</em>."
1497
  msgstr ""
1498
 
1499
- #: wp-cache.php:1669
1500
  msgid ""
1501
  "Cached files are fresh for a limited length of time. You can set that time "
1502
  "in the <em>Cache Timeout</em> text box on this page."
1503
  msgstr ""
1504
 
1505
- #: wp-cache.php:1670
1506
  msgid ""
1507
  "Stale cached files are not removed as soon as they become stale. They have "
1508
  "to be removed by the garbage collecter. That is why you have to tell the "
1509
  "plugin when the garbage collector should run."
1510
  msgstr ""
1511
 
1512
- #: wp-cache.php:1671
1513
  msgid ""
1514
  "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the "
1515
  "garbage collector should run."
1516
  msgstr ""
1517
 
1518
- #: wp-cache.php:1672
1519
  msgid ""
1520
  "The <em>Timer</em> scheduler tells the plugin to run the garbage collector "
1521
  "at regular intervals. When one garbage collection is done, the next run is "
1522
  "scheduled."
1523
  msgstr ""
1524
 
1525
- #: wp-cache.php:1673
1526
  msgid ""
1527
  "Or, the <em>Clock</em> scheduler allows the garbage collection to run at "
1528
  "specific times. If set to run hourly or twicedaily the garbage collector "
@@ -1531,42 +1537,42 @@ msgid ""
1531
  "time specified."
1532
  msgstr ""
1533
 
1534
- #: wp-cache.php:1675
1535
  msgid ""
1536
  "There are no best garbage collection settings but here are a few scenarios. "
1537
  "Garbage collection is separate to other actions that clear our cached files "
1538
  "like leaving a comment or publishing a post."
1539
  msgstr ""
1540
 
1541
- #: wp-cache.php:1677
1542
  msgid ""
1543
  "Sites that want to serve lots of newly generated data should set the "
1544
  "<em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 "
1545
  "seconds."
1546
  msgstr ""
1547
 
1548
- #: wp-cache.php:1678
1549
  msgid ""
1550
  "Sites with widgets and rss feeds in their sidebar should probably use a "
1551
  "timeout of 3600 seconds and set the timer to 600 seconds. Stale files will "
1552
  "be caught within 10 minutes of going stale."
1553
  msgstr ""
1554
 
1555
- #: wp-cache.php:1679
1556
  msgid ""
1557
  "Sites with lots of static content, no widgets or rss feeds in their sidebar "
1558
  "can use a timeout of 86400 seconds or even more and set the timer to "
1559
  "something equally long."
1560
  msgstr ""
1561
 
1562
- #: wp-cache.php:1680
1563
  msgid ""
1564
  "Sites where an external data source updates at a particular time every day "
1565
  "should set the timeout to 86400 seconds and use the Clock scheduler set "
1566
  "appropriately."
1567
  msgstr ""
1568
 
1569
- #: wp-cache.php:1682
1570
  msgid ""
1571
  "Checking for and deleting expired files is expensive, but it&#8217;s "
1572
  "expensive leaving them there too. On a very busy site you should set the "
@@ -1577,81 +1583,81 @@ msgid ""
1577
  "using mod_rewrite or PHP caching."
1578
  msgstr ""
1579
 
1580
- #: wp-cache.php:1683
1581
  msgid "Set the expiry time to 0 seconds to disable garbage collection."
1582
  msgstr ""
1583
 
1584
- #: wp-cache.php:1684
1585
  msgid "Change Expiration"
1586
  msgstr ""
1587
 
1588
- #: wp-cache.php:1728
1589
  msgid "Rejected User Agents"
1590
  msgstr ""
1591
 
1592
- #: wp-cache.php:1729
1593
  msgid ""
1594
  "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache "
1595
  "from caching bot, spiders, and crawlers&#8217; requests. Note that super "
1596
  "cached files are still sent to these agents if they already exists."
1597
  msgstr ""
1598
 
1599
- #: wp-cache.php:1736
1600
  msgid "Save UA Strings"
1601
  msgstr ""
1602
 
1603
- #: wp-cache.php:1759
1604
  msgid ""
1605
  "Do not cache the following page types. See the <a href=\"http://codex."
1606
  "wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a "
1607
  "complete discussion on each type."
1608
  msgstr ""
1609
 
1610
- #: wp-cache.php:1762
1611
  msgid "Single Posts"
1612
  msgstr ""
1613
 
1614
- #: wp-cache.php:1763
1615
  msgid "Pages"
1616
  msgstr ""
1617
 
1618
- #: wp-cache.php:1764
1619
  msgid "Front Page"
1620
  msgstr ""
1621
 
1622
- #: wp-cache.php:1765
1623
  msgid "Home"
1624
  msgstr ""
1625
 
1626
- #: wp-cache.php:1766
1627
  msgid "Archives"
1628
  msgstr ""
1629
 
1630
- #: wp-cache.php:1767
1631
  msgid "Tags"
1632
  msgstr ""
1633
 
1634
- #: wp-cache.php:1768
1635
  msgid "Category"
1636
  msgstr ""
1637
 
1638
- #: wp-cache.php:1769
1639
  msgid "Feeds"
1640
  msgstr ""
1641
 
1642
- #: wp-cache.php:1770
1643
  msgid "Search Pages"
1644
  msgstr ""
1645
 
1646
- #: wp-cache.php:1771
1647
  msgid "Author Pages"
1648
  msgstr ""
1649
 
1650
- #: wp-cache.php:1773 wp-cache.php:1885
1651
  msgid "Save"
1652
  msgstr ""
1653
 
1654
- #: wp-cache.php:1790
1655
  msgid ""
1656
  "Add here strings (not a filename) that forces a page not to be cached. For "
1657
  "example, if your URLs include year and you dont want to cache last year "
@@ -1660,51 +1666,51 @@ msgid ""
1660
  "cache that page."
1661
  msgstr ""
1662
 
1663
- #: wp-cache.php:1796
1664
  msgid "Save Strings"
1665
  msgstr ""
1666
 
1667
- #: wp-cache.php:1812
1668
  msgid ""
1669
  "Add here those filenames that can be cached, even if they match one of the "
1670
  "rejected substring specified above."
1671
  msgstr ""
1672
 
1673
- #: wp-cache.php:1818
1674
  msgid "Save Files"
1675
  msgstr ""
1676
 
1677
- #: wp-cache.php:1859
1678
  msgid "Currently logging to: %s"
1679
  msgstr ""
1680
 
1681
- #: wp-cache.php:1862
1682
  msgid ""
1683
  "Fix problems with the plugin by debugging it here. It can log them to a file "
1684
  "in your cache directory."
1685
  msgstr ""
1686
 
1687
- #: wp-cache.php:1866
1688
  msgid "Debugging"
1689
  msgstr ""
1690
 
1691
- #: wp-cache.php:1867
1692
  msgid "IP Address"
1693
  msgstr ""
1694
 
1695
- #: wp-cache.php:1867
1696
  msgid "(only log requests from this IP address. Your IP is %s)"
1697
  msgstr ""
1698
 
1699
- #: wp-cache.php:1868
1700
  msgid "Cache Status Messages"
1701
  msgstr ""
1702
 
1703
- #: wp-cache.php:1869
1704
  msgid "Display comments at the end of every page like this:"
1705
  msgstr ""
1706
 
1707
- #: wp-cache.php:1875
1708
  msgid ""
1709
  "In very rare cases two problems may arise on some blogs:<ol><li> The front "
1710
  "page may start downloading as a zip file.</li><li> The wrong page is "
@@ -1712,7 +1718,7 @@ msgid ""
1712
  "and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
1713
  msgstr ""
1714
 
1715
- #: wp-cache.php:1876
1716
  msgid ""
1717
  "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they "
1718
  "only happen in very rare cases but you can run a simple check once every 5 "
@@ -1720,92 +1726,92 @@ msgid ""
1720
  "emailed if there is a problem."
1721
  msgstr ""
1722
 
1723
- #: wp-cache.php:1878
1724
  msgid "Check front page every 5 minutes."
1725
  msgstr ""
1726
 
1727
- #: wp-cache.php:1879
1728
  msgid "Front page text"
1729
  msgstr ""
1730
 
1731
- #: wp-cache.php:1879
1732
  msgid ""
1733
  "Text to search for on your front page. If this text is missing the cache "
1734
  "will be cleared. Leave blank to disable."
1735
  msgstr ""
1736
 
1737
- #: wp-cache.php:1880
1738
  msgid "Clear cache on error."
1739
  msgstr ""
1740
 
1741
- #: wp-cache.php:1881
1742
  msgid "Email the blog admin when checks are made. (useful for testing)"
1743
  msgstr ""
1744
 
1745
- #: wp-cache.php:1895
1746
  msgid ""
1747
  "Error: GZIP compression is enabled, disable it if you want to enable wp-"
1748
  "cache."
1749
  msgstr ""
1750
 
1751
- #: wp-cache.php:1945 wp-cache.php:2086 wp-cache.php:2122
1752
  msgid "Warning"
1753
  msgstr ""
1754
 
1755
- #: wp-cache.php:1945
1756
  msgid ""
1757
  "GZIP compression is enabled in WordPress, wp-cache will be bypassed until "
1758
  "you disable gzip compression."
1759
  msgstr ""
1760
 
1761
- #: wp-cache.php:2007 wp-cache.php:2012 wp-cache.php:2045 wp-cache.php:2050
1762
- #: wp-cache.php:2056
1763
  msgid "Error"
1764
  msgstr ""
1765
 
1766
- #: wp-cache.php:2007
1767
  msgid ""
1768
  "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;"
1769
  "t be created by the web server. Check %1$s permissions."
1770
  msgstr ""
1771
 
1772
- #: wp-cache.php:2012
1773
  msgid ""
1774
  "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need "
1775
  "to be writable for this plugin to work. Double-check it."
1776
  msgstr ""
1777
 
1778
- #: wp-cache.php:2045
1779
  msgid ""
1780
  "Your WP-Cache config file (<strong>%s</strong>) is out of date and not "
1781
  "writable by the Web server.Please delete it and refresh this page."
1782
  msgstr ""
1783
 
1784
- #: wp-cache.php:2050
1785
  msgid ""
1786
  "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is "
1787
  "not writable by the Web server.Check its permissions."
1788
  msgstr ""
1789
 
1790
- #: wp-cache.php:2056
1791
  msgid ""
1792
  "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you "
1793
  "installation."
1794
  msgstr ""
1795
 
1796
- #: wp-cache.php:2086
1797
  msgid "Could not update %s!</em> WPCACHEHOME must be set in config file."
1798
  msgstr ""
1799
 
1800
- #: wp-cache.php:2122
1801
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
1802
  msgstr ""
1803
 
1804
- #: wp-cache.php:2123
1805
  msgid "1. If it already exists please delete the file first."
1806
  msgstr ""
1807
 
1808
- #: wp-cache.php:2124
1809
  msgid ""
1810
  "2. Make %1$s writable using the chmod command through your ftp or server "
1811
  "software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a "
@@ -1813,24 +1819,24 @@ msgid ""
1813
  "again. (Change 777 to 755 in the previous command)"
1814
  msgstr ""
1815
 
1816
- #: wp-cache.php:2125
1817
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
1818
  msgstr ""
1819
 
1820
- #: wp-cache.php:2126
1821
  msgid ""
1822
  "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</"
1823
  "em> doesn&#8217;t exist:"
1824
  msgstr ""
1825
 
1826
- #: wp-cache.php:2127
1827
  msgid ""
1828
  "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change "
1829
  "the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and "
1830
  "copy it to <em>%3$s</em> and refresh this page.</li>"
1831
  msgstr ""
1832
 
1833
- #: wp-cache.php:2150
1834
  msgid ""
1835
  "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by "
1836
  "WordPress to load the code that serves cached pages. Unfortunately it is set "
@@ -1839,20 +1845,20 @@ msgid ""
1839
  "true);</code></p>"
1840
  msgstr ""
1841
 
1842
- #: wp-cache.php:2152
1843
  msgid ""
1844
  "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</"
1845
  "code> file and I couldn&#8217;t modify it."
1846
  msgstr ""
1847
 
1848
- #: wp-cache.php:2153
1849
  msgid ""
1850
  "Edit <code>%s</code> and add the following line:<br /> <code>define"
1851
  "('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be "
1852
  "executed</strong> by WordPress core. "
1853
  msgstr ""
1854
 
1855
- #: wp-cache.php:2157
1856
  msgid ""
1857
  "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see "
1858
  "this warning message please see point 5 of the <a href=\"http://wordpress."
@@ -1860,277 +1866,279 @@ msgid ""
1860
  "WP_CACHE line must be moved up."
1861
  msgstr ""
1862
 
1863
- #: wp-cache.php:2185
1864
  msgid "Cache Contents"
1865
  msgstr ""
1866
 
1867
- #: wp-cache.php:2188
1868
  msgid "Object cache in use. No cache listing available."
1869
  msgstr ""
1870
 
1871
- #: wp-cache.php:2212
1872
  msgid "Deleting supercache file: <strong>%s</strong><br />"
1873
  msgstr ""
1874
 
1875
- #: wp-cache.php:2229
1876
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
1877
  msgstr ""
1878
 
1879
- #: wp-cache.php:2294
1880
  msgid ""
1881
  "Cache stats are not automatically generated. You must click the link below "
1882
  "to regenerate the stats on this page."
1883
  msgstr ""
1884
 
1885
- #: wp-cache.php:2295
1886
  msgid "Regenerate cache stats"
1887
  msgstr ""
1888
 
1889
- #: wp-cache.php:2297
1890
  msgid "Cache stats last generated: %s minutes ago."
1891
  msgstr ""
1892
 
1893
- #: wp-cache.php:2303
1894
  msgid "WP-Cache"
1895
  msgstr ""
1896
 
1897
- #: wp-cache.php:2304 wp-cache.php:2319
1898
  msgid "%s Cached Pages"
1899
  msgstr ""
1900
 
1901
- #: wp-cache.php:2305 wp-cache.php:2324
1902
  msgid "%s Expired Pages"
1903
  msgstr ""
1904
 
1905
- #: wp-cache.php:2318
1906
  msgid "WP-Super-Cache"
1907
  msgstr ""
1908
 
1909
- #: wp-cache.php:2328
1910
  msgid "Fresh WP-Cached Files"
1911
  msgstr ""
1912
 
1913
- #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
1914
  msgid "URI"
1915
  msgstr ""
1916
 
1917
- #: wp-cache.php:2329 wp-cache.php:2345
1918
  msgid "Key"
1919
  msgstr ""
1920
 
1921
- #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
1922
  msgid "Age"
1923
  msgstr ""
1924
 
1925
- #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
1926
  msgid "Delete"
1927
  msgstr ""
1928
 
1929
- #: wp-cache.php:2344
1930
  msgid "Stale WP-Cached Files"
1931
  msgstr ""
1932
 
1933
- #: wp-cache.php:2360
1934
  msgid "Fresh Super Cached Files"
1935
  msgstr ""
1936
 
1937
- #: wp-cache.php:2376
1938
  msgid "Stale Super Cached Files"
1939
  msgstr ""
1940
 
1941
- #: wp-cache.php:2392
1942
  msgid "Hide file list"
1943
  msgstr ""
1944
 
1945
- #: wp-cache.php:2394
1946
  msgid "Too many cached files, no listing possible."
1947
  msgstr ""
1948
 
1949
- #: wp-cache.php:2396
1950
  msgid "List all cached files"
1951
  msgstr ""
1952
 
1953
- #: wp-cache.php:2399
1954
  msgid ""
1955
  "Expired files are files older than %s seconds. They are still used by the "
1956
  "plugin and are deleted periodically."
1957
  msgstr ""
1958
 
1959
- #: wp-cache.php:2410
1960
  msgid "Delete Expired"
1961
  msgstr ""
1962
 
1963
- #: wp-cache.php:2435
1964
  msgid "Delete Super Cache cached files (opens in new window)"
1965
  msgstr ""
1966
 
1967
- #: wp-cache.php:2582
1968
  msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
1969
  msgstr ""
1970
 
1971
- #: wp-cache.php:2615
1972
  msgid ""
1973
  "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> "
1974
  "to enable and configure the plugin."
1975
  msgstr ""
1976
 
1977
- #: wp-cache.php:2621
1978
  msgid "Settings"
1979
  msgstr ""
1980
 
1981
- #: wp-cache.php:2631
1982
  msgid ""
1983
  "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin "
1984
  "page</a> to enable caching."
1985
  msgstr ""
1986
 
1987
- #: wp-cache.php:2634
1988
  msgid ""
1989
- "Warning! WP Super Cache caching broken! The script advanced-cache.php could "
1990
- "not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php "
1991
- "and make sure the path to %2$swp-cache-phase1.php is correct."
 
 
1992
  msgstr ""
1993
 
1994
- #: wp-cache.php:2653
1995
  msgid "[%s] Front page is gzipped! Please clear cache!"
1996
  msgstr ""
1997
 
1998
- #: wp-cache.php:2653
1999
  msgid ""
2000
  "Please visit %s to clear the cache as the front page of your site is now "
2001
  "downloading!"
2002
  msgstr ""
2003
 
2004
- #: wp-cache.php:2656
2005
  msgid "[%s] Front page is gzipped! Cache Cleared!"
2006
  msgstr ""
2007
 
2008
- #: wp-cache.php:2656
2009
  msgid ""
2010
  "The cache on your blog has been cleared because the front page of your site "
2011
  "is now downloading. Please visit %s to verify the cache has been cleared."
2012
  msgstr ""
2013
 
2014
- #: wp-cache.php:2663
2015
  msgid "[%s] Front page is not correct! Please clear cache!"
2016
  msgstr ""
2017
 
2018
- #: wp-cache.php:2663
2019
  msgid ""
2020
  "Please visit %1$s to clear the cache as the front page of your site is not "
2021
  "correct and missing the text, \"%2$s\"!"
2022
  msgstr ""
2023
 
2024
- #: wp-cache.php:2666
2025
  msgid "[%s] Front page is not correct! Cache Cleared!"
2026
  msgstr ""
2027
 
2028
- #: wp-cache.php:2666
2029
  msgid ""
2030
  "The cache on your blog has been cleared because the front page of your site "
2031
  "is missing the text \"%2$s\". Please visit %1$s to verify the cache has been "
2032
  "cleared."
2033
  msgstr ""
2034
 
2035
- #: wp-cache.php:2671
2036
  msgid "[%s] Front page check!"
2037
  msgstr ""
2038
 
2039
- #: wp-cache.php:2671
2040
  msgid ""
2041
  "WP Super Cache has checked the front page of your blog. Please visit %s if "
2042
  "you would like to disable this."
2043
  msgstr ""
2044
 
2045
- #: wp-cache.php:2714
2046
  msgid "Cannot update .htaccess"
2047
  msgstr ""
2048
 
2049
- #: wp-cache.php:2714
2050
  msgid ""
2051
  "The file <code>%s.htaccess</code> cannot be modified by the web server. "
2052
  "Please correct this using the chmod command or your ftp client."
2053
  msgstr ""
2054
 
2055
- #: wp-cache.php:2714
2056
  msgid "Refresh this page when the file permissions have been modified."
2057
  msgstr ""
2058
 
2059
- #: wp-cache.php:2714
2060
  msgid ""
2061
  "Alternatively, you can edit your <code>%s.htaccess</code> file manually and "
2062
  "add the following code (before any WordPress rules):"
2063
  msgstr ""
2064
 
2065
- #: wp-cache.php:2718
2066
  msgid ""
2067
  "To serve static html files your server must have the correct mod_rewrite "
2068
  "rules added to a file called <code>%s.htaccess</code>"
2069
  msgstr ""
2070
 
2071
- #: wp-cache.php:2719
2072
  msgid "You can edit the file yourself add the following rules."
2073
  msgstr ""
2074
 
2075
- #: wp-cache.php:2720
2076
  msgid " Make sure they appear before any existing WordPress rules. "
2077
  msgstr ""
2078
 
2079
- #: wp-cache.php:2728
2080
  msgid "Update Mod_Rewrite Rules"
2081
  msgstr ""
2082
 
2083
- #: wp-cache.php:2891
2084
  msgid "[%1$s] Cache Preload Started"
2085
  msgstr ""
2086
 
2087
- #: wp-cache.php:2921
2088
  msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
2089
  msgstr ""
2090
 
2091
- #: wp-cache.php:2967
2092
  msgid "[%1$s] Refreshing posts from %2$d to %3$d"
2093
  msgstr ""
2094
 
2095
- #: wp-cache.php:2988
2096
  msgid "[%1$s] Cache Preload Stopped"
2097
  msgstr ""
2098
 
2099
- #: wp-cache.php:2998
2100
  msgid "[%1$s] %2$d posts refreshed"
2101
  msgstr ""
2102
 
2103
- #: wp-cache.php:2998
2104
  msgid "Refreshed the following posts:"
2105
  msgstr ""
2106
 
2107
- #: wp-cache.php:3008
2108
  msgid "Scheduling next preload refresh in %d minutes."
2109
  msgstr ""
2110
 
2111
- #: wp-cache.php:3019
2112
  msgid "[%s] Cache Preload Completed"
2113
  msgstr ""
2114
 
2115
- #: wp-cache.php:3019
2116
  msgid "Cleaning up old supercache files."
2117
  msgstr ""
2118
 
2119
- #: wp-cache.php:3062
2120
  msgid "[%s] Preload may have stalled."
2121
  msgstr ""
2122
 
2123
- #: wp-cache.php:3062
2124
  msgid ""
2125
  "Preload has been restarted.\n"
2126
  "%s"
2127
  msgstr ""
2128
 
2129
- #: wp-cache.php:3105
2130
  msgid "Supercache Uninstall Problems"
2131
  msgstr ""
2132
 
2133
- #: wp-cache.php:3105
2134
  msgid ""
2135
  "Dear User,\n"
2136
  "\n"
@@ -2148,6 +2156,6 @@ msgid ""
2148
  "http://wordpress.org/extend/plugins/wp-super-cache/"
2149
  msgstr ""
2150
 
2151
- #: wp-cache.php:3142
2152
  msgid "Delete cache of the current page"
2153
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
7
+ "POT-Creation-Date: 2013-10-23 10:46:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
25
  msgstr ""
26
 
27
+ #: ossdl-cdn.php:152 wp-cache.php:1177
28
  msgid ""
29
  "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to "
30
  "Amazon S3/Cloudfront if you would rather not depend on origin pull. See the "
115
  msgstr ""
116
 
117
  #: plugins/awaitingmoderation.php:34 plugins/badbehaviour.php:65
118
+ #: plugins/domain-mapping.php:75 plugins/jetpack.php:31
119
+ #: plugins/searchengine.php:69 plugins/wptouch.php:22 wp-cache.php:1418
120
  msgid "Enabled"
121
  msgstr ""
122
 
123
  #: plugins/awaitingmoderation.php:35 plugins/badbehaviour.php:66
124
+ #: plugins/domain-mapping.php:76 plugins/jetpack.php:32
125
+ #: plugins/searchengine.php:70 plugins/wptouch.php:23 wp-cache.php:1418
126
  msgid "Disabled"
127
  msgstr ""
128
 
133
  msgstr ""
134
 
135
  #: plugins/awaitingmoderation.php:40 plugins/badbehaviour.php:71
136
+ #: plugins/domain-mapping.php:81 plugins/jetpack.php:37
137
+ #: plugins/searchengine.php:75 plugins/wptouch.php:28 wp-cache.php:1879
138
+ #: wp-cache.php:1881
139
  msgid "enabled"
140
  msgstr ""
141
 
142
  #: plugins/awaitingmoderation.php:42 plugins/badbehaviour.php:73
143
+ #: plugins/domain-mapping.php:83 plugins/jetpack.php:39
144
  #: plugins/searchengine.php:77 plugins/wptouch.php:30
145
  msgid "disabled"
146
  msgstr ""
150
  msgstr ""
151
 
152
  #: plugins/awaitingmoderation.php:45 plugins/badbehaviour.php:76
153
+ #: plugins/domain-mapping.php:86 plugins/jetpack.php:42
154
  #: plugins/searchengine.php:80 plugins/wptouch.php:33
155
  msgid "Update"
156
  msgstr ""
174
  msgid "Bad Behavior support is now %s"
175
  msgstr ""
176
 
177
+ #: plugins/badbehaviour.php:83 wp-cache.php:1508 wp-cache.php:1513
178
  msgid "Warning!"
179
  msgstr ""
180
 
203
  msgid "Jetpack Mobile Theme"
204
  msgstr ""
205
 
206
+ #: plugins/jetpack.php:28
207
+ msgid ""
208
+ "Jetpack not found in %s. Install it and enable the mobile theme and this "
209
+ "helper plugin to cache visits by mobile visitors."
210
+ msgstr ""
211
+
212
+ #: plugins/jetpack.php:34
213
  msgid ""
214
  "Provides support for the <a href=\"http://wordpress.org/extend/plugins/"
215
  "jetpack/\">Jetpack</a> mobile theme and plugin. PHP caching mode and mobile "
216
  "support will be enabled too."
217
  msgstr ""
218
 
219
+ #: plugins/jetpack.php:40
220
  msgid "Jetpack Mobile Theme support is now %s"
221
  msgstr ""
222
 
224
  msgid "Cached"
225
  msgstr ""
226
 
227
+ #: plugins/multisite.php:31 wp-cache.php:1431
228
  msgid "Enable"
229
  msgstr ""
230
 
231
+ #: plugins/multisite.php:33 plugins/searchengine.php:61 wp-cache.php:1431
232
  msgid "Disable"
233
  msgstr ""
234
 
270
  "the WPTouch helper plugin."
271
  msgstr ""
272
 
273
+ #: wp-cache-phase2.php:1264
274
  msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
275
  msgstr ""
276
 
277
+ #: wp-cache-phase2.php:1268
278
  msgid ""
279
  "Cache expiry cron job took more than 30 seconds. You should probably run the "
280
  "garbage collector more often."
281
  msgstr ""
282
 
283
+ #: wp-cache-phase2.php:1277
284
  msgid "[%1$s] WP Super Cache GC Report"
285
  msgstr ""
286
 
287
+ #: wp-cache.php:109
288
  msgid ""
289
  "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-"
290
  "sample.php"
291
  msgstr ""
292
 
293
+ #: wp-cache.php:175
294
  msgid "Warning! PHP Safe Mode Enabled!"
295
  msgstr ""
296
 
297
+ #: wp-cache.php:176
298
  msgid ""
299
  "You may experience problems running this plugin because SAFE MODE is enabled."
300
  msgstr ""
301
 
302
+ #: wp-cache.php:180
303
  msgid ""
304
  "Your server is set up to check the owner of PHP scripts before allowing them "
305
  "to read and write files."
306
  msgstr ""
307
 
308
+ #: wp-cache.php:181
309
  msgid ""
310
  "You or an administrator may be able to make it work by changing the group "
311
  "owner of the plugin scripts to match that of the web server user. The group "
314
  "details."
315
  msgstr ""
316
 
317
+ #: wp-cache.php:183
318
  msgid ""
319
  "You or an administrator must disable this. See the <a href=\"http://php.net/"
320
  "features.safe-mode\">safe mode manual page</a> for further details. This "
322
  "php.ini config file."
323
  msgstr ""
324
 
325
+ #: wp-cache.php:189
326
  msgid "Permlink Structure Error"
327
  msgstr ""
328
 
329
+ #: wp-cache.php:190
330
  msgid ""
331
  "A custom url or permalink structure is required for this plugin to work "
332
  "correctly. Please go to the <a href=\"options-permalink.php\">Permalinks "
333
  "Options Page</a> to configure your permalinks."
334
  msgstr ""
335
 
336
+ #: wp-cache.php:202
337
  msgid "Warning! Your hostname \"%s\" resolves to %s"
338
  msgstr ""
339
 
340
+ #: wp-cache.php:203
341
  msgid ""
342
  "Your server thinks your hostname resolves to %s. Some services such as "
343
  "garbage collection by this plugin, and WordPress scheduled posts may not "
344
  "operate correctly."
345
  msgstr ""
346
 
347
+ #: wp-cache.php:204 wp-cache.php:218
348
  msgid ""
349
  "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the "
350
  "readme.txt"
351
  msgstr ""
352
 
353
+ #: wp-cache.php:217
354
  msgid ""
355
  "Unfortunately WordPress cannot find the file wp-cron.php. This script is "
356
  "required for the the correct operation of garbage collection by this plugin, "
357
  "WordPress scheduled posts as well as other critical activities."
358
  msgstr ""
359
 
360
+ #: wp-cache.php:231
361
  msgid "Cannot continue... fix previous problems and retry."
362
  msgstr ""
363
 
364
+ #: wp-cache.php:240
365
  msgid "Zlib Output Compression Enabled!"
366
  msgstr ""
367
 
368
+ #: wp-cache.php:241
369
  msgid ""
370
  "PHP is compressing the data sent to the visitors of your site. Disabling "
371
  "this is recommended as the plugin caches the compressed output once instead "
374
  "configuration.php\">this page</a> for instructions on modifying your php.ini."
375
  msgstr ""
376
 
377
+ #: wp-cache.php:245
378
  msgid "Mod rewrite may not be installed!"
379
  msgstr ""
380
 
381
+ #: wp-cache.php:246
382
  msgid ""
383
  "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;"
384
  "t 100% reliable, especially if you are not using Apache. Please verify that "
386
  "static files. You will still be able to use legacy or PHP modes."
387
  msgstr ""
388
 
389
+ #: wp-cache.php:252
390
  msgid "Read Only Mode. Configuration cannot be changed."
391
  msgstr ""
392
 
393
+ #: wp-cache.php:253
394
  msgid ""
395
  "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> "
396
  "and cannot be modified. That file must be writeable by the webserver to make "
397
  "any changes."
398
  msgstr ""
399
 
400
+ #: wp-cache.php:254
401
  msgid ""
402
  "A simple way of doing that is by changing the permissions temporarily using "
403
  "the CHMOD command or through your ftp client. Make sure it&#8217;s globally "
404
  "writeable and it should be fine."
405
  msgstr ""
406
 
407
+ #: wp-cache.php:255 wp-cache.php:304
408
  msgid ""
409
  "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">This page</"
410
  "a> explains how to change file permissions."
411
  msgstr ""
412
 
413
+ #: wp-cache.php:256
414
  msgid "Writeable:"
415
  msgstr ""
416
 
417
+ #: wp-cache.php:257
418
  msgid "Readonly:"
419
  msgstr ""
420
 
421
+ #: wp-cache.php:275
422
  msgid "Warning! Garbage collection is not scheduled!"
423
  msgstr ""
424
 
425
+ #: wp-cache.php:276
426
  msgid ""
427
  "Garbage collection by this plugin clears out expired and old cached pages on "
428
  "a regular basis. Use <a href=\"#expirytime\">this form</a> to enable it."
429
  msgstr ""
430
 
431
+ #: wp-cache.php:281 wp-cache.php:309 wp-cache.php:379
432
  msgid "Dismiss"
433
  msgstr ""
434
 
435
+ #: wp-cache.php:302
436
  msgid "Warning! %s is writeable!"
437
  msgstr ""
438
 
439
+ #: wp-cache.php:303
440
  msgid ""
441
  "You should change the permissions on %s and make it more restrictive. Use "
442
  "your ftp client, or the following command to fix things:"
443
  msgstr ""
444
 
445
+ #: wp-cache.php:321
446
  msgid "Mobile rewrite rules detected"
447
  msgstr ""
448
 
449
+ #: wp-cache.php:322
450
  msgid ""
451
  "For best performance you should enable \"Mobile device support\" or delete "
452
  "the mobile rewrite rules in your .htaccess. Look for the 2 lines with the "
453
  "text \"2.0\\ MMP|240x320\" and delete those."
454
  msgstr ""
455
 
456
+ #: wp-cache.php:322
457
  msgid ""
458
  "This will have no affect on ordinary users but mobile users will see "
459
  "uncached pages."
460
  msgstr ""
461
 
462
+ #: wp-cache.php:328 wp-cache.php:339
463
  msgid "Rewrite rules must be updated"
464
  msgstr ""
465
 
466
+ #: wp-cache.php:329 wp-cache.php:340
467
  msgid "The rewrite rules required by this plugin have changed or are missing. "
468
  msgstr ""
469
 
470
+ #: wp-cache.php:330
471
  msgid ""
472
  "Mobile support requires extra rules in your .htaccess file, or you can set "
473
  "the plugin to legacy mode. Here are your options (in order of difficulty):"
474
  msgstr ""
475
 
476
+ #: wp-cache.php:331
477
  msgid "Set the plugin to legacy mode and enable mobile support."
478
  msgstr ""
479
 
480
+ #: wp-cache.php:332 wp-cache.php:341
481
  msgid ""
482
  "Scroll down the Advanced Settings page and click the <strong>Update "
483
  "Mod_Rewrite Rules</strong> button."
484
  msgstr ""
485
 
486
+ #: wp-cache.php:333
487
  msgid ""
488
  "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN "
489
  "WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin "
490
  "regenerate them by reloading this page."
491
  msgstr ""
492
 
493
+ #: wp-cache.php:334
494
  msgid ""
495
  "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed "
496
  "by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</"
499
  "these lines: (do it twice, once for each section)"
500
  msgstr ""
501
 
502
+ #: wp-cache.php:347
503
  msgid "Required to serve compressed supercache files properly."
504
  msgstr ""
505
 
506
+ #: wp-cache.php:347
507
  msgid ""
508
  "Required to set caching information on supercache pages. IE7 users will see "
509
  "old pages without this module."
510
  msgstr ""
511
 
512
+ #: wp-cache.php:347
513
  msgid ""
514
  "Set the expiry date on supercached pages. Visitors may not see new pages "
515
  "when they refresh or leave comments without this module."
516
  msgstr ""
517
 
518
+ #: wp-cache.php:354
519
  msgid "Missing Apache Modules"
520
  msgstr ""
521
 
522
+ #: wp-cache.php:355
523
  msgid ""
524
  "The following Apache modules are missing. The plugin will work in legacy "
525
  "mode without them. In full Supercache mode, your visitors may see corrupted "
526
  "pages or out of date content however."
527
  msgstr ""
528
 
529
+ #: wp-cache.php:373
530
  msgid ".htaccess file may need to be moved"
531
  msgstr ""
532
 
533
+ #: wp-cache.php:374
534
  msgid ""
535
  "It appears you have WordPress installed in a sub directory as described <a "
536
  "href=\"http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\">here</"
540
  "site is hosted. This will be fixed in the future."
541
  msgstr ""
542
 
543
+ #: wp-cache.php:607
544
  msgid ""
545
  "<strong>Warning!</strong> You attempted to enable compression but <code>zlib."
546
  "output_compression</code> is enabled. See #21 in the Troubleshooting section "
547
  "of the readme file."
548
  msgstr ""
549
 
550
+ #: wp-cache.php:703
551
  msgid "WP Super Cache Settings"
552
  msgstr ""
553
 
554
+ #: wp-cache.php:717
555
  msgid ""
556
  "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced "
557
  "Settings Page by default."
558
  msgstr ""
559
 
560
+ #: wp-cache.php:728
561
  msgid ""
562
  "Configuration file changed, some values might be wrong. Load the page again "
563
  "from the \"Settings\" menu to reset them."
564
  msgstr ""
565
 
566
+ #: wp-cache.php:760
567
  msgid "Caching must be enabled to use this feature"
568
  msgstr ""
569
 
570
+ #: wp-cache.php:778 wp-cache.php:918
571
  msgid "Cancel Cache Preload"
572
  msgstr ""
573
 
574
+ #: wp-cache.php:786
575
  msgid ""
576
  "Scheduled preloading of cache almost cancelled. It may take up to a minute "
577
  "for it to cancel completely."
578
  msgstr ""
579
 
580
+ #: wp-cache.php:797
581
  msgid "Scheduled preloading of cache cancelled."
582
  msgstr ""
583
 
584
+ #: wp-cache.php:829 wp-cache.php:916
585
  msgid "Preload Cache Now"
586
  msgstr ""
587
 
588
+ #: wp-cache.php:833
589
  msgid "Scheduled preloading of cache in 10 seconds."
590
  msgstr ""
591
 
592
+ #: wp-cache.php:838
593
  msgid "Scheduled preloading of cache in %d minutes"
594
  msgstr ""
595
 
596
+ #: wp-cache.php:842
597
  msgid ""
598
  "This will cache every published post and page on your site. It will create "
599
  "supercache static files so unknown visitors (including bots) will hit a "
601
  "speed as a metric when judging websites now."
602
  msgstr ""
603
 
604
+ #: wp-cache.php:843
605
  msgid ""
606
  "Preloading creates lots of files however. Caching is done from the newest "
607
  "post to the oldest so please consider only caching the newest if you have "
608
  "lots (10,000+) of posts. This is especially important on shared hosting."
609
  msgstr ""
610
 
611
+ #: wp-cache.php:844
612
  msgid ""
613
  "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out "
614
  "old legacy files for known users, not the preloaded supercache files. This "
615
  "is a recommended setting when the cache is preloaded."
616
  msgstr ""
617
 
618
+ #: wp-cache.php:848
619
  msgid ""
620
  "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d "
621
  "minutes.)"
622
  msgstr ""
623
 
624
+ #: wp-cache.php:861
625
  msgid "all"
626
  msgstr ""
627
 
628
+ #: wp-cache.php:874
629
  msgid "Preload %s posts."
630
  msgstr ""
631
 
632
+ #: wp-cache.php:881
633
  msgid ""
634
  "Preload mode (garbage collection only on legacy cache files. Recommended.)"
635
  msgstr ""
636
 
637
+ #: wp-cache.php:884
638
  msgid "Preload tags, categories and other taxonomies."
639
  msgstr ""
640
 
641
+ #: wp-cache.php:887
642
  msgid "Send me status emails when files are refreshed."
643
  msgstr ""
644
 
645
+ #: wp-cache.php:892
646
  msgid "Many emails, 2 emails per 100 posts."
647
  msgstr ""
648
 
649
+ #: wp-cache.php:895
650
  msgid "Medium, 1 email per 100 posts."
651
  msgstr ""
652
 
653
+ #: wp-cache.php:898
654
  msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
655
  msgstr ""
656
 
657
+ #: wp-cache.php:902
658
  msgid "Refresh of cache in %d hours %d minutes and %d seconds."
659
  msgstr ""
660
 
661
+ #: wp-cache.php:903
662
  msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
663
  msgstr ""
664
 
665
+ #: wp-cache.php:909
666
  msgid "Currently caching from post %d to %d."
667
  msgstr ""
668
 
669
+ #: wp-cache.php:913
670
  msgid "<strong>Page last cached:</strong> %s"
671
  msgstr ""
672
 
673
+ #: wp-cache.php:916
674
  msgid "Update Settings"
675
  msgstr ""
676
 
677
+ #: wp-cache.php:924
678
  msgid ""
679
  "Preloading of cache disabled. Please disable legacy page caching or talk to "
680
  "your host administrator."
681
  msgstr ""
682
 
683
+ #: wp-cache.php:941 wp-cache.php:1053
684
  msgid "Caching"
685
  msgstr ""
686
 
687
+ #: wp-cache.php:945
688
  msgid "Cache hits to this website for quick access."
689
  msgstr ""
690
 
691
+ #: wp-cache.php:945 wp-cache.php:946 wp-cache.php:963 wp-cache.php:972
692
+ #: wp-cache.php:979 wp-cache.php:982 wp-cache.php:1000 wp-cache.php:1056
693
  msgid "Recommended"
694
  msgstr ""
695
 
696
+ #: wp-cache.php:946
697
  msgid "Use mod_rewrite to serve cache files."
698
  msgstr ""
699
 
700
+ #: wp-cache.php:947
701
  msgid "Use PHP to serve cache files."
702
  msgstr ""
703
 
704
+ #: wp-cache.php:948
705
  msgid "Legacy page caching."
706
  msgstr ""
707
 
708
+ #: wp-cache.php:949
709
  msgid ""
710
  "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, "
711
  "while legacy caching is slower again, but more flexible and also easy to get "
712
  "working. New users should use PHP caching."
713
  msgstr ""
714
 
715
+ #: wp-cache.php:955
716
  msgid "Miscellaneous"
717
  msgstr ""
718
 
719
+ #: wp-cache.php:961
720
  msgid "Warning! Compression is disabled as gzencode() function not found."
721
  msgstr ""
722
 
723
+ #: wp-cache.php:963
724
  msgid "Compress pages so they&#8217;re served more quickly to visitors."
725
  msgstr ""
726
 
727
+ #: wp-cache.php:964
728
  msgid ""
729
  "Compression is disabled by default because some hosts have problems with "
730
  "compressed files. Switching it on and off clears the cache."
731
  msgstr ""
732
 
733
+ #: wp-cache.php:972
734
  msgid ""
735
  "304 Not Modified browser caching. Indicate when a page has not been modified "
736
  "since last requested."
737
  msgstr ""
738
 
739
+ #: wp-cache.php:975
740
  msgid ""
741
  "Warning! 304 browser caching is only supported when not using mod_rewrite "
742
  "caching."
743
  msgstr ""
744
 
745
+ #: wp-cache.php:977
746
  msgid ""
747
  "304 support is disabled by default because some hosts have had problems with "
748
  "the headers used in the past."
749
  msgstr ""
750
 
751
+ #: wp-cache.php:979
752
  msgid ""
753
  "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that "
754
  "comment\">known users</acronym>."
755
  msgstr ""
756
 
757
+ #: wp-cache.php:980
758
  msgid "Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)"
759
  msgstr ""
760
 
761
+ #: wp-cache.php:981
762
  msgid ""
763
  "Make known users anonymous so they&#8217;re served supercached static files."
764
  msgstr ""
765
 
766
+ #: wp-cache.php:982
767
  msgid ""
768
  "Cache rebuild. Serve a supercache file to anonymous users while a new file "
769
  "is being generated."
770
  msgstr ""
771
 
772
+ #: wp-cache.php:983
773
  msgid ""
774
  "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! "
775
  "(places a message in your blog&#8217;s footer)"
776
  msgstr ""
777
 
778
+ #: wp-cache.php:989 wp-cache.php:1266 wp-cache.php:1888
779
  msgid "Advanced"
780
  msgstr ""
781
 
782
+ #: wp-cache.php:993
783
  msgid ""
784
+ "Enable dynamic caching. Requires PHP or legacy caching. (See <a href="
785
+ "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> or wp-"
786
+ "super-cache/plugins/dynamic-cache-test.php for example code.)"
787
  msgstr ""
788
 
789
+ #: wp-cache.php:994
790
  msgid ""
791
  "Mobile device support. (External plugin or theme required. See the <a href="
792
  "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
793
  "further details.)"
794
  msgstr ""
795
 
796
+ #: wp-cache.php:996
797
  msgid "Mobile Browsers"
798
  msgstr ""
799
 
800
+ #: wp-cache.php:996
801
  msgid "Mobile Prefixes"
802
  msgstr ""
803
 
804
+ #: wp-cache.php:998
805
  msgid ""
806
  "Remove UTF8/blog charset support from .htaccess file. Only necessary if you "
807
  "see odd characters or punctuation looks incorrect. Requires rewrite rules "
808
  "update."
809
  msgstr ""
810
 
811
+ #: wp-cache.php:999
812
  msgid "Clear all cache files when a post or page is published or updated."
813
  msgstr ""
814
 
815
+ #: wp-cache.php:1000
816
  msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
817
  msgstr ""
818
 
819
+ #: wp-cache.php:1001
820
  msgid "Only refresh current page when comments made."
821
  msgstr ""
822
 
823
+ #: wp-cache.php:1002
824
  msgid "List the newest cached pages on this page."
825
  msgstr ""
826
 
827
+ #: wp-cache.php:1004
828
  msgid ""
829
  "Coarse file locking. You probably don&#8217;t need this but it may help if "
830
  "your server is underpowered. Warning! <em>May cause your server to lock up "
831
  "in very rare cases!</em>"
832
  msgstr ""
833
 
834
+ #: wp-cache.php:1006
835
  msgid ""
836
  "Late init. Display cached files after WordPress has loaded. Most useful in "
837
  "legacy mode."
838
  msgstr ""
839
 
840
+ #: wp-cache.php:1008
841
  msgid "Use object cache to store cached files."
842
  msgstr ""
843
 
844
+ #: wp-cache.php:1008
845
  msgid "(Experimental)"
846
  msgstr ""
847
 
848
+ #: wp-cache.php:1010
849
  msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
850
  msgstr ""
851
 
852
+ #: wp-cache.php:1016
853
  msgid "Note:"
854
  msgstr ""
855
 
856
+ #: wp-cache.php:1018
857
  msgid ""
858
  "Uninstall this plugin on the plugins page. It will automatically clean up "
859
  "after itself. If manual intervention is required then simple instructions "
860
  "are provided."
861
  msgstr ""
862
 
863
+ #: wp-cache.php:1019
864
  msgid ""
865
  "If uninstalling this plugin, make sure the directory <em>%s</em> is "
866
  "writeable by the webserver so the files <em>advanced-cache.php</em> and "
868
  "files are writeable too is probably a good idea!)"
869
  msgstr ""
870
 
871
+ #: wp-cache.php:1020
872
  msgid ""
873
  "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for "
874
  "instructions on uninstalling this script. Look for the heading, \"How to "
875
  "uninstall WP Super Cache\"."
876
  msgstr ""
877
 
878
+ #: wp-cache.php:1021
879
  msgid ""
880
  "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It "
881
  "includes installation documentation, a FAQ and Troubleshooting tips. The <a "
883
  "have been answered."
884
  msgstr ""
885
 
886
+ #: wp-cache.php:1024 wp-cache.php:1071
887
  msgid "Update Status"
888
  msgstr ""
889
 
890
+ #: wp-cache.php:1031
891
  msgid "Accepted Filenames &amp; Rejected URIs"
892
  msgstr ""
893
 
894
+ #: wp-cache.php:1056
895
  msgid "Caching On"
896
  msgstr ""
897
 
898
+ #: wp-cache.php:1057
899
  msgid "Caching Off"
900
  msgstr ""
901
 
902
+ #: wp-cache.php:1058
903
  msgid "Note: enables PHP caching, cache rebuild, and mobile support"
904
  msgstr ""
905
 
906
+ #: wp-cache.php:1068
907
  msgid ""
908
  "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. "
909
  "Cached files will be served using those rules. If your site is working ok "
911
  "your install and remove the SuperCache rules."
912
  msgstr ""
913
 
914
+ #: wp-cache.php:1073
915
  msgid "Cache Tester"
916
  msgstr ""
917
 
918
+ #: wp-cache.php:1074
919
  msgid "Test your cached website by clicking the test button below."
920
  msgstr ""
921
 
922
+ #: wp-cache.php:1080
923
  msgid "Fetching %s to prime cache: "
924
  msgstr ""
925
 
926
+ #: wp-cache.php:1082 wp-cache.php:1091 wp-cache.php:1103
927
  msgid "OK"
928
  msgstr ""
929
 
930
+ #: wp-cache.php:1085
931
  msgid "Fetching first copy of %s: "
932
  msgstr ""
933
 
934
+ #: wp-cache.php:1094 wp-cache.php:1105
935
  msgid "FAILED"
936
  msgstr ""
937
 
938
+ #: wp-cache.php:1097
939
  msgid "Fetching second copy of %s: "
940
  msgstr ""
941
 
942
+ #: wp-cache.php:1109
943
  msgid "One or more page requests failed:"
944
  msgstr ""
945
 
946
+ #: wp-cache.php:1128 wp-cache.php:1129
947
  msgid "Page %d: %d (%s)"
948
  msgstr ""
949
 
950
+ #: wp-cache.php:1135
951
  msgid "Page 1: %s"
952
  msgstr ""
953
 
954
+ #: wp-cache.php:1136
955
  msgid "Page 2: %s"
956
  msgstr ""
957
 
958
+ #: wp-cache.php:1137
959
  msgid "The timestamps on both pages match!"
960
  msgstr ""
961
 
962
+ #: wp-cache.php:1139
963
  msgid "The pages do not match! Timestamps differ or were not found!"
964
  msgstr ""
965
 
966
+ #: wp-cache.php:1140
967
  msgid "Things you can do:"
968
  msgstr ""
969
 
970
+ #: wp-cache.php:1141
971
  msgid ""
972
  "Load your homepage in a logged out browser, check the timestamp at the end "
973
  "of the html source. Load the page again and compare the timestamp. Caching "
974
  "is working if the timestamps match."
975
  msgstr ""
976
 
977
+ #: wp-cache.php:1142
978
  msgid ""
979
  "Enable logging on the Debug page here. That should help you track down the "
980
  "problem."
981
  msgstr ""
982
 
983
+ #: wp-cache.php:1143
984
  msgid ""
985
  "You should check Page 1 and Page 2 above for errors. Your local server "
986
  "configuration may not allow your website to access itself."
987
  msgstr ""
988
 
989
+ #: wp-cache.php:1151
990
  msgid "Send non-secure (non https) request for homepage"
991
  msgstr ""
992
 
993
+ #: wp-cache.php:1152
994
  msgid "Test Cache"
995
  msgstr ""
996
 
997
+ #: wp-cache.php:1156
998
  msgid "Delete Cached Pages"
999
  msgstr ""
1000
 
1001
+ #: wp-cache.php:1157
1002
  msgid ""
1003
  "Cached pages are stored on your server as html and PHP files. If you need to "
1004
  "delete them use the button below."
1005
  msgstr ""
1006
 
1007
+ #: wp-cache.php:1160 wp-cache.php:2429 wp-cache.php:2448 wp-cache.php:2619
1008
+ #: wp-cache.php:3156
1009
  msgid "Delete Cache"
1010
  msgstr ""
1011
 
1012
+ #: wp-cache.php:1167 wp-cache.php:2435
1013
  msgid "Delete Cache On All Blogs"
1014
  msgstr ""
1015
 
1016
+ #: wp-cache.php:1172
1017
  msgid "Recommended Links and Plugins"
1018
  msgstr ""
1019
 
1020
+ #: wp-cache.php:1173
1021
  msgid ""
1022
  "Caching is only one part of making a website faster. Here are some other "
1023
  "plugins that will help:"
1024
  msgstr ""
1025
 
1026
+ #: wp-cache.php:1174
1027
  msgid ""
1028
  "<a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages "
1029
  "by removing whitespaces and extra characters "
1030
  msgstr ""
1031
 
1032
+ #: wp-cache.php:1175
1033
  msgid ""
1034
  "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on "
1035
  "Firebug. It analyzes web pages and suggests ways to improve their "
1037
  "the performance tools online at <a href=\"%s\">GTMetrix</a>."
1038
  msgstr ""
1039
 
1040
+ #: wp-cache.php:1176
1041
  msgid ""
1042
  "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly "
1043
  "used Javascript libraries from Google webservers. Ironically it may reduce "
1044
  "your Yslow score."
1045
  msgstr ""
1046
 
1047
+ #: wp-cache.php:1178
1048
  msgid ""
1049
  "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with "
1050
  "Caching and cache-control</a> explains how to make your site more cacheable "
1051
  "with .htaccess rules."
1052
  msgstr ""
1053
 
1054
+ #: wp-cache.php:1179
1055
  msgid ""
1056
  "<strong>Advanced users only:</strong> Install an object cache. Choose from "
1057
  "<a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s"
1058
  "\">eAcccelerator</a> and others."
1059
  msgstr ""
1060
 
1061
+ #: wp-cache.php:1180
1062
  msgid ""
1063
  "<a href=\"%s\">Cron View</a> is a useful plugin to use when trying to debug "
1064
  "garbage collection and preload problems."
1065
  msgstr ""
1066
 
1067
+ #: wp-cache.php:1191
1068
  msgid "Make WordPress Faster"
1069
  msgstr ""
1070
 
1071
+ #: wp-cache.php:1192
1072
  msgid ""
1073
  "%1$s is maintained and developed by %2$s with contributions from many others."
1074
  msgstr ""
1075
 
1076
+ #: wp-cache.php:1193
1077
  msgid "He blogs at %1$s and posts photos at %2$s."
1078
  msgstr ""
1079
 
1080
+ #: wp-cache.php:1194
1081
  msgid "Please say hi to him on %s too!"
1082
  msgstr ""
1083
 
1084
+ #: wp-cache.php:1195
1085
  msgid "Need Help?"
1086
  msgstr ""
1087
 
1088
+ #: wp-cache.php:1197
1089
  msgid ""
1090
  "Use the debug system in the Debug tab above. It will tell you what the "
1091
  "plugin is doing."
1092
  msgstr ""
1093
 
1094
+ #: wp-cache.php:1198
1095
  msgid "<a href=\"%1$s\">Installation Help</a>"
1096
  msgstr ""
1097
 
1098
+ #: wp-cache.php:1199
1099
  msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
1100
  msgstr ""
1101
 
1102
+ #: wp-cache.php:1200
1103
  msgid "<a href=\"%1$s\">Support Forum</a>"
1104
  msgstr ""
1105
 
1106
+ #: wp-cache.php:1201
1107
  msgid "<a href=\"%1$s\">Development Version</a>"
1108
  msgstr ""
1109
 
1110
+ #: wp-cache.php:1203
1111
  msgid "Rate This Plugin!"
1112
  msgstr ""
1113
 
1114
+ #: wp-cache.php:1204
1115
  msgid ""
1116
  "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you "
1117
  "or not. It really helps development."
1118
  msgstr ""
1119
 
1120
+ #: wp-cache.php:1213
1121
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
1122
  msgstr ""
1123
 
1124
+ #: wp-cache.php:1214
1125
  msgid "Newest Cached Pages:"
1126
  msgstr ""
1127
 
1128
+ #: wp-cache.php:1218
1129
  msgid "Cached %s seconds ago"
1130
  msgstr ""
1131
 
1132
+ #: wp-cache.php:1221
1133
  msgid "(may not always be accurate on busy sites)"
1134
  msgstr ""
1135
 
1136
+ #: wp-cache.php:1237
1137
  msgid ""
1138
  "Cache plugins are PHP scripts that live in a plugins folder inside the wp-"
1139
  "super-cache folder. They are loaded when Supercache loads, much sooner than "
1140
  "regular WordPress plugins."
1141
  msgstr ""
1142
 
1143
+ #: wp-cache.php:1238
1144
  msgid ""
1145
  "This is strictly an advanced feature only and knowledge of both PHP and "
1146
  "WordPress actions is required to create them."
1147
  msgstr ""
1148
 
1149
+ #: wp-cache.php:1239
1150
  msgid ""
1151
  "<strong>Warning</strong>! Due to the way WordPress upgrades plugins the "
1152
  "plugins you upload to wp-super-cache/plugins/ will be deleted when you "
1157
  "\">developer documentation</a>."
1158
  msgstr ""
1159
 
1160
+ #: wp-cache.php:1249
1161
  msgid "Available Plugins"
1162
  msgstr ""
1163
 
1164
+ #: wp-cache.php:1266
1165
  msgid "Easy"
1166
  msgstr ""
1167
 
1168
+ #: wp-cache.php:1266
1169
  msgid "CDN"
1170
  msgstr ""
1171
 
1172
+ #: wp-cache.php:1266
1173
  msgid "Contents"
1174
  msgstr ""
1175
 
1176
+ #: wp-cache.php:1266
1177
  msgid "Preload"
1178
  msgstr ""
1179
 
1180
+ #: wp-cache.php:1266
1181
  msgid "Plugins"
1182
  msgstr ""
1183
 
1184
+ #: wp-cache.php:1266
1185
  msgid "Debug"
1186
  msgstr ""
1187
 
1188
+ #: wp-cache.php:1304
1189
  msgid ""
1190
  "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a "
1191
  "href=\"%s\">the main site</a> of this network."
1192
  msgstr ""
1193
 
1194
+ #: wp-cache.php:1313
1195
  msgid "Mod Rewrite Rules"
1196
  msgstr ""
1197
 
1198
+ #: wp-cache.php:1319
1199
  msgid "WordPress MU Detected"
1200
  msgstr ""
1201
 
1202
+ #: wp-cache.php:1319
1203
  msgid ""
1204
  "Unfortunately the rewrite rules cannot be updated automatically when running "
1205
  "WordPress MU. Please open your .htaccess and add the following mod_rewrite "
1206
  "rules above any other rules in that file."
1207
  msgstr ""
1208
 
1209
+ #: wp-cache.php:1321
1210
  msgid "Mod Rewrite rules cannot be updated!"
1211
  msgstr ""
1212
 
1213
+ #: wp-cache.php:1322
1214
  msgid ""
1215
  "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s."
1216
  "htaccess for the auto update to work. They look like this and surround the "
1217
  "main WordPress mod_rewrite rules:"
1218
  msgstr ""
1219
 
1220
+ #: wp-cache.php:1324
1221
  msgid "Refresh this page when you have updated your .htaccess file."
1222
  msgstr ""
1223
 
1224
+ #: wp-cache.php:1328
1225
  msgid "Thank you for upgrading."
1226
  msgstr ""
1227
 
1228
+ #: wp-cache.php:1328
1229
  msgid ""
1230
  "The mod_rewrite rules changed since you last installed this plugin. "
1231
  "Unfortunately you must remove the old supercache rules before the new ones "
1237
  "brave enough to use them."
1238
  msgstr ""
1239
 
1240
+ #: wp-cache.php:1332
1241
  msgid "Trailing slash check required."
1242
  msgstr ""
1243
 
1244
+ #: wp-cache.php:1332
1245
  msgid ""
1246
  "It looks like your blog has URLs that end with a \"/\". Unfortunately since "
1247
  "you installed this plugin a duplicate content bug has been found where URLs "
1250
  "and add these two rules to the two groups of Super Cache rules:"
1251
  msgstr ""
1252
 
1253
+ #: wp-cache.php:1334
1254
  msgid ""
1255
  "You can see where the rules go and examine the complete rules by clicking "
1256
  "the \"View mod_rewrite rules\" link below."
1257
  msgstr ""
1258
 
1259
+ #: wp-cache.php:1348
1260
  msgid "Mod Rewrite rules updated!"
1261
  msgstr ""
1262
 
1263
+ #: wp-cache.php:1349
1264
  msgid ""
1265
  "%s.htaccess has been updated with the necessary mod_rewrite rules. Please "
1266
  "verify they are correct. They should look like this:"
1267
  msgstr ""
1268
 
1269
+ #: wp-cache.php:1351
1270
  msgid "Mod Rewrite rules must be updated!"
1271
  msgstr ""
1272
 
1273
+ #: wp-cache.php:1352
1274
  msgid ""
1275
  "Your %s.htaccess is not writable by the webserver and must be updated with "
1276
  "the necessary mod_rewrite rules. The new rules go above the regular "
1277
  "WordPress rules as shown in the code below:"
1278
  msgstr ""
1279
 
1280
+ #: wp-cache.php:1357
1281
  msgid ""
1282
  "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /"
1283
  "> Click the following link to see the lines added to that file. If you have "
1284
  "upgraded the plugin make sure these rules match."
1285
  msgstr ""
1286
 
1287
+ #: wp-cache.php:1360
1288
  msgid ""
1289
  "A difference between the rules in your .htaccess file and the plugin rewrite "
1290
  "rules has been found. This could be simple whitespace differences but you "
1292
  "Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
1293
  msgstr ""
1294
 
1295
+ #: wp-cache.php:1362
1296
  msgid "View Mod_Rewrite Rules"
1297
  msgstr ""
1298
 
1299
+ #: wp-cache.php:1368 wp-cache.php:2737
1300
  msgid "Rules must be added to %s too:"
1301
  msgstr ""
1302
 
1303
+ #: wp-cache.php:1375
1304
  msgid "Gzip encoding rules in %s.htaccess created."
1305
  msgstr ""
1306
 
1307
+ #: wp-cache.php:1382
1308
  msgid "Fix Configuration"
1309
  msgstr ""
1310
 
1311
+ #: wp-cache.php:1385
1312
  msgid "Restore Default Configuration"
1313
  msgstr ""
1314
 
1315
+ #: wp-cache.php:1393
1316
  msgid ""
1317
  "Comment moderation is enabled. Your comment may take some time to appear."
1318
  msgstr ""
1319
 
1320
+ #: wp-cache.php:1418
1321
  msgid "Lock Down:"
1322
  msgstr ""
1323
 
1324
+ #: wp-cache.php:1419
1325
  msgid ""
1326
  "Prepare your server for an expected spike in traffic by enabling the lock "
1327
  "down. When this is enabled, new comments on a post will not refresh the "
1328
  "cached static files."
1329
  msgstr ""
1330
 
1331
+ #: wp-cache.php:1420
1332
  msgid ""
1333
  "Developers: Make your plugin lock down compatible by checking the "
1334
  "\"WPLOCKDOWN\" constant. The following code will make sure your plugin "
1335
  "respects the WPLOCKDOWN setting."
1336
  msgstr ""
1337
 
1338
+ #: wp-cache.php:1422
1339
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
1340
  msgstr ""
1341
 
1342
+ #: wp-cache.php:1426
1343
  msgid ""
1344
  "WordPress is locked down. Super Cache static files will not be deleted when "
1345
  "new comments are made."
1346
  msgstr ""
1347
 
1348
+ #: wp-cache.php:1428
1349
  msgid ""
1350
  "WordPress is not locked down. New comments will refresh Super Cache static "
1351
  "files as normal."
1352
  msgstr ""
1353
 
1354
+ #: wp-cache.php:1434
1355
  msgid "Lock Down"
1356
  msgstr ""
1357
 
1358
+ #: wp-cache.php:1442
1359
  msgid "Directly Cached Files"
1360
  msgstr ""
1361
 
1362
+ #: wp-cache.php:1500
1363
  msgid "%s removed!"
1364
  msgstr ""
1365
 
1366
+ #: wp-cache.php:1508
1367
  msgid ""
1368
  "You must make %s writable to enable this feature. As this is a security risk "
1369
  "please make it readonly after your page is generated."
1370
  msgstr ""
1371
 
1372
+ #: wp-cache.php:1513
1373
  msgid ""
1374
  "%s is writable. Please make it readonly after your page is generated as this "
1375
  "is a security risk."
1376
  msgstr ""
1377
 
1378
+ #: wp-cache.php:1528
1379
  msgid "Existing direct page"
1380
  msgstr ""
1381
 
1382
+ #: wp-cache.php:1528
1383
  msgid "Delete cached file"
1384
  msgstr ""
1385
 
1386
+ #: wp-cache.php:1533
1387
  msgid "Add direct page:"
1388
  msgstr ""
1389
 
1390
+ #: wp-cache.php:1535
1391
  msgid ""
1392
  "Directly cached files are files created directly off %s where your blog "
1393
  "lives. This feature is only useful if you are expecting a major Digg or "
1394
  "Slashdot level of traffic to one post or page."
1395
  msgstr ""
1396
 
1397
+ #: wp-cache.php:1537
1398
  msgid ""
1399
  "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /"
1400
  "about/. The cached file will be generated the next time an anonymous user "
1401
  "visits that page."
1402
  msgstr ""
1403
 
1404
+ #: wp-cache.php:1538
1405
  msgid ""
1406
  "Make the textbox blank to remove it from the list of direct pages and delete "
1407
  "the cached file."
1408
  msgstr ""
1409
 
1410
+ #: wp-cache.php:1543
1411
  msgid "Update Direct Pages"
1412
  msgstr ""
1413
 
1414
+ #: wp-cache.php:1571
1415
  msgctxt "timezone date format"
1416
  msgid "Y-m-d G:i:s"
1417
  msgstr ""
1418
 
1419
+ #: wp-cache.php:1633
1420
  msgid "Expiry Time &amp; Garbage Collection"
1421
  msgstr ""
1422
 
1423
+ #: wp-cache.php:1635
1424
  msgid ""
1425
  "<abbr title=\"Coordinated Universal Time\">UTC</abbr> time is <code>%s</code>"
1426
  msgstr ""
1427
 
1428
+ #: wp-cache.php:1638
1429
  msgid "Local time is <code>%1$s</code>"
1430
  msgstr ""
1431
 
1432
+ #: wp-cache.php:1642
1433
  msgid "Next scheduled garbage collection will be at <strong>%s UTC</strong>"
1434
  msgstr ""
1435
 
1436
+ #: wp-cache.php:1646
1437
  msgid ""
1438
  "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not "
1439
  "be deleted regardless of age."
1440
  msgstr ""
1441
 
1442
+ #: wp-cache.php:1663
1443
  msgid "Cache Timeout"
1444
  msgstr ""
1445
 
1446
+ #: wp-cache.php:1664 wp-cache.php:1667
1447
  msgid "seconds"
1448
  msgstr ""
1449
 
1450
+ #: wp-cache.php:1665
1451
  msgid ""
1452
  "How long should cached pages remain fresh? Set to 0 to disable garbage "
1453
  "collection. A good starting point is 3600 seconds."
1454
  msgstr ""
1455
 
1456
+ #: wp-cache.php:1666
1457
  msgid "Scheduler"
1458
  msgstr ""
1459
 
1460
+ #: wp-cache.php:1666
1461
  msgid "Timer:"
1462
  msgstr ""
1463
 
1464
+ #: wp-cache.php:1667
1465
  msgid "Check for stale cached files every <em>interval</em> seconds."
1466
  msgstr ""
1467
 
1468
+ #: wp-cache.php:1668
1469
  msgid "Clock:"
1470
  msgstr ""
1471
 
1472
+ #: wp-cache.php:1669
1473
  msgid "HH:MM"
1474
  msgstr ""
1475
 
1476
+ #: wp-cache.php:1669
1477
  msgid ""
1478
  "Check for stale cached files at this time <strong>(UTC)</strong> or starting "
1479
  "at this time every <em>interval</em> below."
1480
  msgstr ""
1481
 
1482
+ #: wp-cache.php:1671
1483
  msgid "Interval:"
1484
  msgstr ""
1485
 
1486
+ #: wp-cache.php:1677
1487
  msgid "Notification Emails"
1488
  msgstr ""
1489
 
1490
+ #: wp-cache.php:1678
1491
  msgid "Email me when the garbage collection runs."
1492
  msgstr ""
1493
 
1494
+ #: wp-cache.php:1680
1495
  msgid "Garbage Collection"
1496
  msgstr ""
1497
 
1498
+ #: wp-cache.php:1681
1499
  msgid ""
1500
  "<em>Garbage collection</em> is the simple act of throwing out your garbage. "
1501
  "For this plugin that would be old or <em>stale</em> cached files that may be "
1502
  "out of date. New cached files are described as <em>fresh</em>."
1503
  msgstr ""
1504
 
1505
+ #: wp-cache.php:1682
1506
  msgid ""
1507
  "Cached files are fresh for a limited length of time. You can set that time "
1508
  "in the <em>Cache Timeout</em> text box on this page."
1509
  msgstr ""
1510
 
1511
+ #: wp-cache.php:1683
1512
  msgid ""
1513
  "Stale cached files are not removed as soon as they become stale. They have "
1514
  "to be removed by the garbage collecter. That is why you have to tell the "
1515
  "plugin when the garbage collector should run."
1516
  msgstr ""
1517
 
1518
+ #: wp-cache.php:1684
1519
  msgid ""
1520
  "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the "
1521
  "garbage collector should run."
1522
  msgstr ""
1523
 
1524
+ #: wp-cache.php:1685
1525
  msgid ""
1526
  "The <em>Timer</em> scheduler tells the plugin to run the garbage collector "
1527
  "at regular intervals. When one garbage collection is done, the next run is "
1528
  "scheduled."
1529
  msgstr ""
1530
 
1531
+ #: wp-cache.php:1686
1532
  msgid ""
1533
  "Or, the <em>Clock</em> scheduler allows the garbage collection to run at "
1534
  "specific times. If set to run hourly or twicedaily the garbage collector "
1537
  "time specified."
1538
  msgstr ""
1539
 
1540
+ #: wp-cache.php:1688
1541
  msgid ""
1542
  "There are no best garbage collection settings but here are a few scenarios. "
1543
  "Garbage collection is separate to other actions that clear our cached files "
1544
  "like leaving a comment or publishing a post."
1545
  msgstr ""
1546
 
1547
+ #: wp-cache.php:1690
1548
  msgid ""
1549
  "Sites that want to serve lots of newly generated data should set the "
1550
  "<em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 "
1551
  "seconds."
1552
  msgstr ""
1553
 
1554
+ #: wp-cache.php:1691
1555
  msgid ""
1556
  "Sites with widgets and rss feeds in their sidebar should probably use a "
1557
  "timeout of 3600 seconds and set the timer to 600 seconds. Stale files will "
1558
  "be caught within 10 minutes of going stale."
1559
  msgstr ""
1560
 
1561
+ #: wp-cache.php:1692
1562
  msgid ""
1563
  "Sites with lots of static content, no widgets or rss feeds in their sidebar "
1564
  "can use a timeout of 86400 seconds or even more and set the timer to "
1565
  "something equally long."
1566
  msgstr ""
1567
 
1568
+ #: wp-cache.php:1693
1569
  msgid ""
1570
  "Sites where an external data source updates at a particular time every day "
1571
  "should set the timeout to 86400 seconds and use the Clock scheduler set "
1572
  "appropriately."
1573
  msgstr ""
1574
 
1575
+ #: wp-cache.php:1695
1576
  msgid ""
1577
  "Checking for and deleting expired files is expensive, but it&#8217;s "
1578
  "expensive leaving them there too. On a very busy site you should set the "
1583
  "using mod_rewrite or PHP caching."
1584
  msgstr ""
1585
 
1586
+ #: wp-cache.php:1696
1587
  msgid "Set the expiry time to 0 seconds to disable garbage collection."
1588
  msgstr ""
1589
 
1590
+ #: wp-cache.php:1697
1591
  msgid "Change Expiration"
1592
  msgstr ""
1593
 
1594
+ #: wp-cache.php:1741
1595
  msgid "Rejected User Agents"
1596
  msgstr ""
1597
 
1598
+ #: wp-cache.php:1742
1599
  msgid ""
1600
  "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache "
1601
  "from caching bot, spiders, and crawlers&#8217; requests. Note that super "
1602
  "cached files are still sent to these agents if they already exists."
1603
  msgstr ""
1604
 
1605
+ #: wp-cache.php:1749
1606
  msgid "Save UA Strings"
1607
  msgstr ""
1608
 
1609
+ #: wp-cache.php:1772
1610
  msgid ""
1611
  "Do not cache the following page types. See the <a href=\"http://codex."
1612
  "wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a "
1613
  "complete discussion on each type."
1614
  msgstr ""
1615
 
1616
+ #: wp-cache.php:1775
1617
  msgid "Single Posts"
1618
  msgstr ""
1619
 
1620
+ #: wp-cache.php:1776
1621
  msgid "Pages"
1622
  msgstr ""
1623
 
1624
+ #: wp-cache.php:1777
1625
  msgid "Front Page"
1626
  msgstr ""
1627
 
1628
+ #: wp-cache.php:1778
1629
  msgid "Home"
1630
  msgstr ""
1631
 
1632
+ #: wp-cache.php:1779
1633
  msgid "Archives"
1634
  msgstr ""
1635
 
1636
+ #: wp-cache.php:1780
1637
  msgid "Tags"
1638
  msgstr ""
1639
 
1640
+ #: wp-cache.php:1781
1641
  msgid "Category"
1642
  msgstr ""
1643
 
1644
+ #: wp-cache.php:1782
1645
  msgid "Feeds"
1646
  msgstr ""
1647
 
1648
+ #: wp-cache.php:1783
1649
  msgid "Search Pages"
1650
  msgstr ""
1651
 
1652
+ #: wp-cache.php:1784
1653
  msgid "Author Pages"
1654
  msgstr ""
1655
 
1656
+ #: wp-cache.php:1786 wp-cache.php:1898
1657
  msgid "Save"
1658
  msgstr ""
1659
 
1660
+ #: wp-cache.php:1803
1661
  msgid ""
1662
  "Add here strings (not a filename) that forces a page not to be cached. For "
1663
  "example, if your URLs include year and you dont want to cache last year "
1666
  "cache that page."
1667
  msgstr ""
1668
 
1669
+ #: wp-cache.php:1809
1670
  msgid "Save Strings"
1671
  msgstr ""
1672
 
1673
+ #: wp-cache.php:1825
1674
  msgid ""
1675
  "Add here those filenames that can be cached, even if they match one of the "
1676
  "rejected substring specified above."
1677
  msgstr ""
1678
 
1679
+ #: wp-cache.php:1831
1680
  msgid "Save Files"
1681
  msgstr ""
1682
 
1683
+ #: wp-cache.php:1872
1684
  msgid "Currently logging to: %s"
1685
  msgstr ""
1686
 
1687
+ #: wp-cache.php:1875
1688
  msgid ""
1689
  "Fix problems with the plugin by debugging it here. It can log them to a file "
1690
  "in your cache directory."
1691
  msgstr ""
1692
 
1693
+ #: wp-cache.php:1879
1694
  msgid "Debugging"
1695
  msgstr ""
1696
 
1697
+ #: wp-cache.php:1880
1698
  msgid "IP Address"
1699
  msgstr ""
1700
 
1701
+ #: wp-cache.php:1880
1702
  msgid "(only log requests from this IP address. Your IP is %s)"
1703
  msgstr ""
1704
 
1705
+ #: wp-cache.php:1881
1706
  msgid "Cache Status Messages"
1707
  msgstr ""
1708
 
1709
+ #: wp-cache.php:1882
1710
  msgid "Display comments at the end of every page like this:"
1711
  msgstr ""
1712
 
1713
+ #: wp-cache.php:1888
1714
  msgid ""
1715
  "In very rare cases two problems may arise on some blogs:<ol><li> The front "
1716
  "page may start downloading as a zip file.</li><li> The wrong page is "
1718
  "and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
1719
  msgstr ""
1720
 
1721
+ #: wp-cache.php:1889
1722
  msgid ""
1723
  "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they "
1724
  "only happen in very rare cases but you can run a simple check once every 5 "
1726
  "emailed if there is a problem."
1727
  msgstr ""
1728
 
1729
+ #: wp-cache.php:1891
1730
  msgid "Check front page every 5 minutes."
1731
  msgstr ""
1732
 
1733
+ #: wp-cache.php:1892
1734
  msgid "Front page text"
1735
  msgstr ""
1736
 
1737
+ #: wp-cache.php:1892
1738
  msgid ""
1739
  "Text to search for on your front page. If this text is missing the cache "
1740
  "will be cleared. Leave blank to disable."
1741
  msgstr ""
1742
 
1743
+ #: wp-cache.php:1893
1744
  msgid "Clear cache on error."
1745
  msgstr ""
1746
 
1747
+ #: wp-cache.php:1894
1748
  msgid "Email the blog admin when checks are made. (useful for testing)"
1749
  msgstr ""
1750
 
1751
+ #: wp-cache.php:1908
1752
  msgid ""
1753
  "Error: GZIP compression is enabled, disable it if you want to enable wp-"
1754
  "cache."
1755
  msgstr ""
1756
 
1757
+ #: wp-cache.php:1958 wp-cache.php:2099 wp-cache.php:2135
1758
  msgid "Warning"
1759
  msgstr ""
1760
 
1761
+ #: wp-cache.php:1958
1762
  msgid ""
1763
  "GZIP compression is enabled in WordPress, wp-cache will be bypassed until "
1764
  "you disable gzip compression."
1765
  msgstr ""
1766
 
1767
+ #: wp-cache.php:2020 wp-cache.php:2025 wp-cache.php:2058 wp-cache.php:2063
1768
+ #: wp-cache.php:2069
1769
  msgid "Error"
1770
  msgstr ""
1771
 
1772
+ #: wp-cache.php:2020
1773
  msgid ""
1774
  "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;"
1775
  "t be created by the web server. Check %1$s permissions."
1776
  msgstr ""
1777
 
1778
+ #: wp-cache.php:2025
1779
  msgid ""
1780
  "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need "
1781
  "to be writable for this plugin to work. Double-check it."
1782
  msgstr ""
1783
 
1784
+ #: wp-cache.php:2058
1785
  msgid ""
1786
  "Your WP-Cache config file (<strong>%s</strong>) is out of date and not "
1787
  "writable by the Web server.Please delete it and refresh this page."
1788
  msgstr ""
1789
 
1790
+ #: wp-cache.php:2063
1791
  msgid ""
1792
  "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is "
1793
  "not writable by the Web server.Check its permissions."
1794
  msgstr ""
1795
 
1796
+ #: wp-cache.php:2069
1797
  msgid ""
1798
  "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you "
1799
  "installation."
1800
  msgstr ""
1801
 
1802
+ #: wp-cache.php:2099
1803
  msgid "Could not update %s!</em> WPCACHEHOME must be set in config file."
1804
  msgstr ""
1805
 
1806
+ #: wp-cache.php:2135
1807
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
1808
  msgstr ""
1809
 
1810
+ #: wp-cache.php:2136
1811
  msgid "1. If it already exists please delete the file first."
1812
  msgstr ""
1813
 
1814
+ #: wp-cache.php:2137
1815
  msgid ""
1816
  "2. Make %1$s writable using the chmod command through your ftp or server "
1817
  "software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a "
1819
  "again. (Change 777 to 755 in the previous command)"
1820
  msgstr ""
1821
 
1822
+ #: wp-cache.php:2138
1823
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
1824
  msgstr ""
1825
 
1826
+ #: wp-cache.php:2139
1827
  msgid ""
1828
  "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</"
1829
  "em> doesn&#8217;t exist:"
1830
  msgstr ""
1831
 
1832
+ #: wp-cache.php:2140
1833
  msgid ""
1834
  "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change "
1835
  "the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and "
1836
  "copy it to <em>%3$s</em> and refresh this page.</li>"
1837
  msgstr ""
1838
 
1839
+ #: wp-cache.php:2163
1840
  msgid ""
1841
  "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by "
1842
  "WordPress to load the code that serves cached pages. Unfortunately it is set "
1845
  "true);</code></p>"
1846
  msgstr ""
1847
 
1848
+ #: wp-cache.php:2165
1849
  msgid ""
1850
  "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</"
1851
  "code> file and I couldn&#8217;t modify it."
1852
  msgstr ""
1853
 
1854
+ #: wp-cache.php:2166
1855
  msgid ""
1856
  "Edit <code>%s</code> and add the following line:<br /> <code>define"
1857
  "('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be "
1858
  "executed</strong> by WordPress core. "
1859
  msgstr ""
1860
 
1861
+ #: wp-cache.php:2170
1862
  msgid ""
1863
  "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see "
1864
  "this warning message please see point 5 of the <a href=\"http://wordpress."
1866
  "WP_CACHE line must be moved up."
1867
  msgstr ""
1868
 
1869
+ #: wp-cache.php:2198
1870
  msgid "Cache Contents"
1871
  msgstr ""
1872
 
1873
+ #: wp-cache.php:2201
1874
  msgid "Object cache in use. No cache listing available."
1875
  msgstr ""
1876
 
1877
+ #: wp-cache.php:2225
1878
  msgid "Deleting supercache file: <strong>%s</strong><br />"
1879
  msgstr ""
1880
 
1881
+ #: wp-cache.php:2242
1882
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
1883
  msgstr ""
1884
 
1885
+ #: wp-cache.php:2307
1886
  msgid ""
1887
  "Cache stats are not automatically generated. You must click the link below "
1888
  "to regenerate the stats on this page."
1889
  msgstr ""
1890
 
1891
+ #: wp-cache.php:2308
1892
  msgid "Regenerate cache stats"
1893
  msgstr ""
1894
 
1895
+ #: wp-cache.php:2310
1896
  msgid "Cache stats last generated: %s minutes ago."
1897
  msgstr ""
1898
 
1899
+ #: wp-cache.php:2316
1900
  msgid "WP-Cache"
1901
  msgstr ""
1902
 
1903
+ #: wp-cache.php:2317 wp-cache.php:2332
1904
  msgid "%s Cached Pages"
1905
  msgstr ""
1906
 
1907
+ #: wp-cache.php:2318 wp-cache.php:2337
1908
  msgid "%s Expired Pages"
1909
  msgstr ""
1910
 
1911
+ #: wp-cache.php:2331
1912
  msgid "WP-Super-Cache"
1913
  msgstr ""
1914
 
1915
+ #: wp-cache.php:2341
1916
  msgid "Fresh WP-Cached Files"
1917
  msgstr ""
1918
 
1919
+ #: wp-cache.php:2342 wp-cache.php:2358 wp-cache.php:2374 wp-cache.php:2390
1920
  msgid "URI"
1921
  msgstr ""
1922
 
1923
+ #: wp-cache.php:2342 wp-cache.php:2358
1924
  msgid "Key"
1925
  msgstr ""
1926
 
1927
+ #: wp-cache.php:2342 wp-cache.php:2358 wp-cache.php:2374 wp-cache.php:2390
1928
  msgid "Age"
1929
  msgstr ""
1930
 
1931
+ #: wp-cache.php:2342 wp-cache.php:2358 wp-cache.php:2374 wp-cache.php:2390
1932
  msgid "Delete"
1933
  msgstr ""
1934
 
1935
+ #: wp-cache.php:2357
1936
  msgid "Stale WP-Cached Files"
1937
  msgstr ""
1938
 
1939
+ #: wp-cache.php:2373
1940
  msgid "Fresh Super Cached Files"
1941
  msgstr ""
1942
 
1943
+ #: wp-cache.php:2389
1944
  msgid "Stale Super Cached Files"
1945
  msgstr ""
1946
 
1947
+ #: wp-cache.php:2405
1948
  msgid "Hide file list"
1949
  msgstr ""
1950
 
1951
+ #: wp-cache.php:2407
1952
  msgid "Too many cached files, no listing possible."
1953
  msgstr ""
1954
 
1955
+ #: wp-cache.php:2409
1956
  msgid "List all cached files"
1957
  msgstr ""
1958
 
1959
+ #: wp-cache.php:2412
1960
  msgid ""
1961
  "Expired files are files older than %s seconds. They are still used by the "
1962
  "plugin and are deleted periodically."
1963
  msgstr ""
1964
 
1965
+ #: wp-cache.php:2423
1966
  msgid "Delete Expired"
1967
  msgstr ""
1968
 
1969
+ #: wp-cache.php:2448
1970
  msgid "Delete Super Cache cached files (opens in new window)"
1971
  msgstr ""
1972
 
1973
+ #: wp-cache.php:2595
1974
  msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
1975
  msgstr ""
1976
 
1977
+ #: wp-cache.php:2628
1978
  msgid ""
1979
  "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> "
1980
  "to enable and configure the plugin."
1981
  msgstr ""
1982
 
1983
+ #: wp-cache.php:2634
1984
  msgid "Settings"
1985
  msgstr ""
1986
 
1987
+ #: wp-cache.php:2644
1988
  msgid ""
1989
  "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin "
1990
  "page</a> to enable caching."
1991
  msgstr ""
1992
 
1993
+ #: wp-cache.php:2647
1994
  msgid ""
1995
+ "Warning! WP Super Cache caching <strong>was</strong> broken but has been "
1996
+ "<strong>fixed</strong>! The script advanced-cache.php could not load wp-"
1997
+ "cache-phase1.php.<br /><br />The file %1$s/advanced-cache.php has been "
1998
+ "recreated and WPCACHEHOME fixed in your wp-config.php. Reload to hide this "
1999
+ "message."
2000
  msgstr ""
2001
 
2002
+ #: wp-cache.php:2668
2003
  msgid "[%s] Front page is gzipped! Please clear cache!"
2004
  msgstr ""
2005
 
2006
+ #: wp-cache.php:2668
2007
  msgid ""
2008
  "Please visit %s to clear the cache as the front page of your site is now "
2009
  "downloading!"
2010
  msgstr ""
2011
 
2012
+ #: wp-cache.php:2671
2013
  msgid "[%s] Front page is gzipped! Cache Cleared!"
2014
  msgstr ""
2015
 
2016
+ #: wp-cache.php:2671
2017
  msgid ""
2018
  "The cache on your blog has been cleared because the front page of your site "
2019
  "is now downloading. Please visit %s to verify the cache has been cleared."
2020
  msgstr ""
2021
 
2022
+ #: wp-cache.php:2678
2023
  msgid "[%s] Front page is not correct! Please clear cache!"
2024
  msgstr ""
2025
 
2026
+ #: wp-cache.php:2678
2027
  msgid ""
2028
  "Please visit %1$s to clear the cache as the front page of your site is not "
2029
  "correct and missing the text, \"%2$s\"!"
2030
  msgstr ""
2031
 
2032
+ #: wp-cache.php:2681
2033
  msgid "[%s] Front page is not correct! Cache Cleared!"
2034
  msgstr ""
2035
 
2036
+ #: wp-cache.php:2681
2037
  msgid ""
2038
  "The cache on your blog has been cleared because the front page of your site "
2039
  "is missing the text \"%2$s\". Please visit %1$s to verify the cache has been "
2040
  "cleared."
2041
  msgstr ""
2042
 
2043
+ #: wp-cache.php:2686
2044
  msgid "[%s] Front page check!"
2045
  msgstr ""
2046
 
2047
+ #: wp-cache.php:2686
2048
  msgid ""
2049
  "WP Super Cache has checked the front page of your blog. Please visit %s if "
2050
  "you would like to disable this."
2051
  msgstr ""
2052
 
2053
+ #: wp-cache.php:2729
2054
  msgid "Cannot update .htaccess"
2055
  msgstr ""
2056
 
2057
+ #: wp-cache.php:2729
2058
  msgid ""
2059
  "The file <code>%s.htaccess</code> cannot be modified by the web server. "
2060
  "Please correct this using the chmod command or your ftp client."
2061
  msgstr ""
2062
 
2063
+ #: wp-cache.php:2729
2064
  msgid "Refresh this page when the file permissions have been modified."
2065
  msgstr ""
2066
 
2067
+ #: wp-cache.php:2729
2068
  msgid ""
2069
  "Alternatively, you can edit your <code>%s.htaccess</code> file manually and "
2070
  "add the following code (before any WordPress rules):"
2071
  msgstr ""
2072
 
2073
+ #: wp-cache.php:2733
2074
  msgid ""
2075
  "To serve static html files your server must have the correct mod_rewrite "
2076
  "rules added to a file called <code>%s.htaccess</code>"
2077
  msgstr ""
2078
 
2079
+ #: wp-cache.php:2734
2080
  msgid "You can edit the file yourself add the following rules."
2081
  msgstr ""
2082
 
2083
+ #: wp-cache.php:2735
2084
  msgid " Make sure they appear before any existing WordPress rules. "
2085
  msgstr ""
2086
 
2087
+ #: wp-cache.php:2743
2088
  msgid "Update Mod_Rewrite Rules"
2089
  msgstr ""
2090
 
2091
+ #: wp-cache.php:2906
2092
  msgid "[%1$s] Cache Preload Started"
2093
  msgstr ""
2094
 
2095
+ #: wp-cache.php:2936
2096
  msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
2097
  msgstr ""
2098
 
2099
+ #: wp-cache.php:2982
2100
  msgid "[%1$s] Refreshing posts from %2$d to %3$d"
2101
  msgstr ""
2102
 
2103
+ #: wp-cache.php:3003
2104
  msgid "[%1$s] Cache Preload Stopped"
2105
  msgstr ""
2106
 
2107
+ #: wp-cache.php:3013
2108
  msgid "[%1$s] %2$d posts refreshed"
2109
  msgstr ""
2110
 
2111
+ #: wp-cache.php:3013
2112
  msgid "Refreshed the following posts:"
2113
  msgstr ""
2114
 
2115
+ #: wp-cache.php:3023
2116
  msgid "Scheduling next preload refresh in %d minutes."
2117
  msgstr ""
2118
 
2119
+ #: wp-cache.php:3034
2120
  msgid "[%s] Cache Preload Completed"
2121
  msgstr ""
2122
 
2123
+ #: wp-cache.php:3034
2124
  msgid "Cleaning up old supercache files."
2125
  msgstr ""
2126
 
2127
+ #: wp-cache.php:3077
2128
  msgid "[%s] Preload may have stalled."
2129
  msgstr ""
2130
 
2131
+ #: wp-cache.php:3077
2132
  msgid ""
2133
  "Preload has been restarted.\n"
2134
  "%s"
2135
  msgstr ""
2136
 
2137
+ #: wp-cache.php:3120
2138
  msgid "Supercache Uninstall Problems"
2139
  msgstr ""
2140
 
2141
+ #: wp-cache.php:3120
2142
  msgid ""
2143
  "Dear User,\n"
2144
  "\n"
2156
  "http://wordpress.org/extend/plugins/wp-super-cache/"
2157
  msgstr ""
2158
 
2159
+ #: wp-cache.php:3157
2160
  msgid "Delete cache of the current page"
2161
  msgstr ""