LiteSpeed Cache - Version 3.2.1

Version Description

  • Jun 1 2020 =
  • Cloud LQIP/CCSS rate limit tweaks. (@ianpegg)
  • Admin Improved frontend Admin Bar menu functionality. (#708642)
  • Crawler Fixed an issue where cleaning up a crawler map with a leftover page number would cause a MySQL error. (@saowp)
  • Image Optimize Added WP default thumbnails to image optimization summary list. (@johnny Nguyen)
  • REST Improved REST compatibility w/ WP4.4-. (#767203)
  • GUI Moved Use Primary Site Configuration to General menu. (@joshua)
Download this release

Release Info

Developer LiteSpeedTech
Plugin Icon 128x128 LiteSpeed Cache
Version 3.2.1
Comparing to
See all releases

Code changes from version 3.2 to 3.2.1

lang/litespeed-cache.pot CHANGED
@@ -2,9 +2,9 @@
2
# This file is distributed under the same license as the LiteSpeed Cache package.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: LiteSpeed Cache 3.4\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/litespeed-cache\n"
7
- "POT-Creation-Date: 2020-05-26 16:41:52+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
@@ -53,7 +53,7 @@ msgstr ""
53
msgid "CDN"
54
msgstr ""
55
56
- #: src/admin-display.cls.php:162 src/gui.cls.php:609
57
#: tpl/dash/dashboard.tpl.php:52 tpl/dash/network_dash.tpl.php:27
58
msgid "Image Optimization"
59
msgstr ""
@@ -74,7 +74,7 @@ msgstr ""
74
msgid "Toolbox"
75
msgstr ""
76
77
- #: src/admin-display.cls.php:254 src/gui.cls.php:600
78
msgid "Settings"
79
msgstr ""
80
@@ -182,8 +182,8 @@ msgid "Server variable(s) %s available to override this setting."
182
msgstr ""
183
184
#: src/admin-display.cls.php:1083 src/doc.cls.php:38 tpl/cdn/manage.tpl.php:66
185
- #: tpl/dash/dashboard.tpl.php:46 tpl/img_optm/summary.tpl.php:57
186
- #: tpl/img_optm/summary.tpl.php:97 tpl/inc/check_cache_disabled.php:42
187
msgid "Learn More"
188
msgstr ""
189
@@ -252,7 +252,7 @@ msgid "Failed to communicate with Cloudflare"
252
msgstr ""
253
254
#: src/cloud.cls.php:320 src/cloud.cls.php:339 src/cloud.cls.php:376
255
- #: src/cloud.cls.php:472
256
msgid "Cloud Error"
257
msgstr ""
258
@@ -260,61 +260,61 @@ msgstr ""
260
msgid "No available Cloud Node."
261
msgstr ""
262
263
- #: src/cloud.cls.php:472
264
msgid "Please try after %1$s for service %2$s."
265
msgstr ""
266
267
- #: src/cloud.cls.php:558 src/cloud.cls.php:570
268
msgid "Failed to request via WordPress"
269
msgstr ""
270
271
- #: src/cloud.cls.php:580
272
msgid ""
273
"We are working hard to improve your online service experience. The service "
274
"will be unavailable while we work. We apologize for any inconvenience."
275
msgstr ""
276
277
- #: src/cloud.cls.php:589 src/cloud.cls.php:597 src/cloud.cls.php:841
278
msgid "Message from QUIC.cloud server"
279
msgstr ""
280
281
- #: src/cloud.cls.php:605
282
msgid "Good news from QUIC.cloud server"
283
msgstr ""
284
285
- #: src/cloud.cls.php:614
286
msgid "%1$s plugin version %2$s required for this action."
287
msgstr ""
288
289
- #: src/cloud.cls.php:656 src/cloud.cls.php:830
290
msgid "Failed to communicate with QUIC.cloud server"
291
msgstr ""
292
293
- #: src/cloud.cls.php:805
294
msgid "CLoud Error"
295
msgstr ""
296
297
- #: src/cloud.cls.php:849
298
msgid ""
299
"Applied for Domain key successfully. Please wait for result. Domain key will "
300
"be automatically sent to your WordPress."
301
msgstr ""
302
303
- #: src/cloud.cls.php:902
304
msgid ""
305
"Congratulations, your Domain Key has been approved! The setting has been "
306
"updated accordingly."
307
msgstr ""
308
309
- #: src/cloud.cls.php:977
310
msgid "Domain key hash mismatch"
311
msgstr ""
312
313
- #: src/cloud.cls.php:1047
314
msgid "Sync credit allowance with Cloud Server successfully."
315
msgstr ""
316
317
- #: src/conf.cls.php:721
318
msgid "Changed setting successfully."
319
msgstr ""
320
@@ -455,97 +455,102 @@ msgid "You have too many requested images, please try again in a few minutes."
455
msgstr ""
456
457
#: src/error.cls.php:63
458
- msgid "The image list is empty."
459
msgstr ""
460
461
#: src/error.cls.php:67
462
- msgid "Not enough parameters. Please check if the domain key is set correctly"
463
msgstr ""
464
465
#: src/error.cls.php:71
466
- msgid "There is proceeding queue not pulled yet."
467
msgstr ""
468
469
#: src/error.cls.php:75
470
- msgid "There is proceeding queue not pulled yet. Queue info: %s."
471
msgstr ""
472
473
#: src/error.cls.php:79
474
msgid ""
475
"The domain key is not correct. Please try to sync your domain key again."
476
msgstr ""
477
478
- #: src/error.cls.php:83
479
msgid "Credits are not enough to proceed the current request."
480
msgstr ""
481
482
- #: src/error.cls.php:87 src/error.cls.php:111
483
msgid "%s file not writable."
484
msgstr ""
485
486
- #: src/error.cls.php:95
487
msgid "Could not find %1$s in %2$s."
488
msgstr ""
489
490
- #: src/error.cls.php:99
491
msgid "Invalid login cookie. Please check the %s file."
492
msgstr ""
493
494
- #: src/error.cls.php:103
495
msgid "Failed to back up %s file, aborted changes."
496
msgstr ""
497
498
- #: src/error.cls.php:107
499
msgid "%s file not readable."
500
msgstr ""
501
502
- #: src/error.cls.php:115
503
msgid "Failed to get %s file contents."
504
msgstr ""
505
506
- #: src/error.cls.php:119
507
msgid "Failed to create table %s! SQL: %s."
508
msgstr ""
509
510
- #: src/error.cls.php:123
511
msgid "Crawler disabled by the server admin."
512
msgstr ""
513
514
- #: src/error.cls.php:128
515
msgid "Previous request too recent. Please try again later."
516
msgstr ""
517
518
- #: src/error.cls.php:132
519
msgid "Previous request too recent. Please try again after %s."
520
msgstr ""
521
522
- #: src/error.cls.php:136
523
msgid "Your application is waiting for approval."
524
msgstr ""
525
526
- #: src/error.cls.php:140
527
msgid "The callback validation to your domain failed due to hash mismatch."
528
msgstr ""
529
530
- #: src/error.cls.php:144
531
msgid ""
532
"The callback validation to your domain failed. Please make sure there is no "
533
"firewall blocking our servers."
534
msgstr ""
535
536
- #: src/error.cls.php:148
537
msgid ""
538
"The callback validation to your domain failed. Please make sure there is no "
539
"firewall blocking our servers. Response code: "
540
msgstr ""
541
542
- #: src/error.cls.php:152
543
msgid ""
544
"Your domain has been forbidden from using our services due to a previous "
545
"policy violation."
546
msgstr ""
547
548
- #: src/error.cls.php:156
549
msgid "Unknown error"
550
msgstr ""
551
@@ -593,32 +598,32 @@ msgstr ""
593
msgid "Mark this page as "
594
msgstr ""
595
596
- #: src/gui.cls.php:439
597
msgid "Forced cacheable"
598
msgstr ""
599
600
- #: src/gui.cls.php:450
601
msgid "Non cacheable"
602
msgstr ""
603
604
- #: src/gui.cls.php:461
605
msgid "Private cache"
606
msgstr ""
607
608
- #: src/gui.cls.php:472
609
msgid "No optimization"
610
msgstr ""
611
612
- #: src/gui.cls.php:479
613
msgid "More settings"
614
msgstr ""
615
616
- #: src/gui.cls.php:486 src/gui.cls.php:494 src/gui.cls.php:502
617
- #: src/gui.cls.php:511 src/gui.cls.php:521 src/gui.cls.php:531
618
- #: src/gui.cls.php:541 src/gui.cls.php:551 src/gui.cls.php:618
619
- #: src/gui.cls.php:626 src/gui.cls.php:634 src/gui.cls.php:643
620
- #: src/gui.cls.php:653 src/gui.cls.php:663 src/gui.cls.php:673
621
- #: src/gui.cls.php:683 src/gui.cls.php:693 tpl/toolbox/purge.tpl.php:39
622
#: tpl/toolbox/purge.tpl.php:45 tpl/toolbox/purge.tpl.php:54
623
#: tpl/toolbox/purge.tpl.php:63 tpl/toolbox/purge.tpl.php:72
624
#: tpl/toolbox/purge.tpl.php:81 tpl/toolbox/purge.tpl.php:90
@@ -626,77 +631,77 @@ msgstr ""
626
msgid "Purge All"
627
msgstr ""
628
629
- #: src/gui.cls.php:494 src/gui.cls.php:576 src/gui.cls.php:626
630
msgid "LSCache"
631
msgstr ""
632
633
- #: src/gui.cls.php:502 src/gui.cls.php:634 tpl/toolbox/purge.tpl.php:45
634
msgid "CSS/JS Cache"
635
msgstr ""
636
637
- #: src/gui.cls.php:511 src/gui.cls.php:653 src/lang.cls.php:79
638
#: tpl/dash/dashboard.tpl.php:361 tpl/toolbox/purge.tpl.php:54
639
msgid "Object Cache"
640
msgstr ""
641
642
- #: src/gui.cls.php:521 src/gui.cls.php:663 tpl/toolbox/purge.tpl.php:63
643
msgid "Opcode Cache"
644
msgstr ""
645
646
- #: src/gui.cls.php:531 src/gui.cls.php:673 tpl/dash/dashboard.tpl.php:53
647
#: tpl/dash/dashboard.tpl.php:402 tpl/toolbox/purge.tpl.php:72
648
msgid "Critical CSS"
649
msgstr ""
650
651
- #: src/gui.cls.php:541 src/gui.cls.php:683 tpl/toolbox/purge.tpl.php:81
652
msgid "LQIP Cache"
653
msgstr ""
654
655
- #: src/gui.cls.php:551 src/gui.cls.php:693 src/lang.cls.php:141
656
#: tpl/toolbox/purge.tpl.php:90
657
msgid "Gravatar Cache"
658
msgstr ""
659
660
- #: src/gui.cls.php:576
661
msgid "LiteSpeed Cache Purge All"
662
msgstr ""
663
664
- #: src/gui.cls.php:592 tpl/cdn/entry.tpl.php:7 tpl/cdn/settings.tpl.php:253
665
#: tpl/db_optm/entry.tpl.php:6
666
msgid "Manage"
667
msgstr ""
668
669
- #: src/gui.cls.php:643 tpl/cdn/manage.tpl.php:17
670
msgid "Cloudflare"
671
msgstr ""
672
673
- #: src/gui.cls.php:713 tpl/img_optm/summary.tpl.php:170
674
msgid "Remove all previous unfinished image optimization requests."
675
msgstr ""
676
677
- #: src/gui.cls.php:714 tpl/img_optm/summary.tpl.php:172
678
msgid "Clean Up Unfinished Data"
679
msgstr ""
680
681
- #: src/gui.cls.php:733
682
msgid "Install %s"
683
msgstr ""
684
685
- #: src/gui.cls.php:734
686
msgid "Install Now"
687
msgstr ""
688
689
- #: src/gui.cls.php:754
690
msgid ""
691
"<a href=\"%1$s\" %2$s>View version %3$s details</a> or <a href=\"%4$s\" %5$s "
692
"target=\"_blank\">update now</a>."
693
msgstr ""
694
695
- #: src/gui.cls.php:757
696
msgid "View %1$s version %2$s details"
697
msgstr ""
698
699
- #: src/gui.cls.php:762
700
msgid "Update %s now"
701
msgstr ""
702
@@ -722,95 +727,95 @@ msgstr ""
722
msgid "Gathered %d images successfully."
723
msgstr ""
724
725
- #: src/img-optm.cls.php:408
726
msgid "Pushed %1$s to Cloud server, accepted %2$s."
727
msgstr ""
728
729
- #: src/img-optm.cls.php:446
730
msgid "Bypassed %1$s duplicated images."
731
msgstr ""
732
733
- #: src/img-optm.cls.php:484
734
msgid "Cleared %1$s invalid images."
735
msgstr ""
736
737
- #: src/img-optm.cls.php:563
738
msgid "No valid image found in the current request."
739
msgstr ""
740
741
- #: src/img-optm.cls.php:586
742
msgid "No valid image found by Cloud server in the current request."
743
msgstr ""
744
745
- #: src/img-optm.cls.php:817
746
msgid "Pull Cron is running"
747
msgstr ""
748
749
- #: src/img-optm.cls.php:873
750
msgid "Some optimized image file(s) has expired and was cleared."
751
msgstr ""
752
753
- #: src/img-optm.cls.php:890
754
msgid "One or more pulled images does not match with the notified image md5"
755
msgstr ""
756
757
- #: src/img-optm.cls.php:934
758
msgid "Optimized WebP file expired and was cleared."
759
msgstr ""
760
761
- #: src/img-optm.cls.php:951
762
msgid "Pulled WebP image md5 does not match the notified WebP image md5."
763
msgstr ""
764
765
- #: src/img-optm.cls.php:1011
766
msgid "Pulled %d image(s)"
767
msgstr ""
768
769
- #: src/img-optm.cls.php:1098
770
msgid "Cleaned up unfinished data successfully."
771
msgstr ""
772
773
- #: src/img-optm.cls.php:1169
774
msgid "Destroy all optimization data successfully."
775
msgstr ""
776
777
- #: src/img-optm.cls.php:1204 src/img-optm.cls.php:1277
778
msgid "Rescaned successfully."
779
msgstr ""
780
781
- #: src/img-optm.cls.php:1290
782
msgid "Rescaned %d images successfully."
783
msgstr ""
784
785
- #: src/img-optm.cls.php:1349
786
msgid "Calculated backups successfully."
787
msgstr ""
788
789
- #: src/img-optm.cls.php:1411
790
msgid "Removed backups successfully."
791
msgstr ""
792
793
- #: src/img-optm.cls.php:1608
794
msgid "Switched images successfully."
795
msgstr ""
796
797
- #: src/img-optm.cls.php:1637
798
msgid "Disabled WebP file successfully."
799
msgstr ""
800
801
- #: src/img-optm.cls.php:1643
802
msgid "Enabled WebP file successfully."
803
msgstr ""
804
805
- #: src/img-optm.cls.php:1659
806
msgid "Restored original file successfully."
807
msgstr ""
808
809
- #: src/img-optm.cls.php:1666
810
msgid "Switched to optimized file successfully."
811
msgstr ""
812
813
- #: src/img-optm.cls.php:1729
814
msgid "Reset the optimized data successfully."
815
msgstr ""
816
@@ -1720,11 +1725,11 @@ msgstr ""
1720
msgid " %s ago"
1721
msgstr ""
1722
1723
- #: src/utility.cls.php:840
1724
msgid "&laquo;"
1725
msgstr ""
1726
1727
- #: src/utility.cls.php:841
1728
msgid "&raquo;"
1729
msgstr ""
1730
@@ -1839,7 +1844,7 @@ msgstr ""
1839
msgid "Dismiss this notice"
1840
msgstr ""
1841
1842
- #. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 3.4) #-#-#-#-#
1843
#. Plugin Name of the plugin/theme
1844
#: tpl/banner/new_version.php:59 tpl/banner/new_version_dev.tpl.php:12
1845
#: tpl/cache/more_settings_tip.tpl.php:15 tpl/inc/admin_footer.php:8
@@ -2020,19 +2025,6 @@ msgid ""
2020
"This is to ensure compatibility prior to enabling the cache for all sites."
2021
msgstr ""
2022
2023
- #: tpl/cache/network_settings-cache.tpl.php:25
2024
- msgid "Use Primary Site Configuration"
2025
- msgstr ""
2026
-
2027
- #: tpl/cache/network_settings-cache.tpl.php:29
2028
- msgid ""
2029
- "Check this option to use the primary site's configuration for all subsites."
2030
- msgstr ""
2031
-
2032
- #: tpl/cache/network_settings-cache.tpl.php:30
2033
- msgid "This will disable the settings page on all subsites."
2034
- msgstr ""
2035
-
2036
#: tpl/cache/network_settings-excludes.tpl.php:7
2037
#: tpl/cache/settings-excludes.tpl.php:7
2038
msgid "Exclude Settings"
@@ -2881,7 +2873,7 @@ msgstr ""
2881
msgid "Blacklist"
2882
msgstr ""
2883
2884
- #: tpl/crawler/blacklist.tpl.php:22 tpl/img_optm/summary.tpl.php:195
2885
msgid "Total"
2886
msgstr ""
2887
@@ -3378,7 +3370,7 @@ msgstr ""
3378
msgid "Current closest Cloud server is %s.&#10;Click to redetect."
3379
msgstr ""
3380
3381
- #: tpl/dash/dashboard.tpl.php:202 tpl/img_optm/summary.tpl.php:52
3382
#: tpl/page_optm/settings_css.tpl.php:121
3383
#: tpl/page_optm/settings_media.tpl.php:172
3384
msgid "Are you sure to redetect the closest cloud server for this service?"
@@ -3400,7 +3392,7 @@ msgstr ""
3400
msgid "Images Requested"
3401
msgstr ""
3402
3403
- #: tpl/dash/dashboard.tpl.php:322 tpl/img_optm/summary.tpl.php:337
3404
msgid "Last Request"
3405
msgstr ""
3406
@@ -3652,6 +3644,19 @@ msgstr ""
3652
msgid "LiteSpeed Cache General Settings"
3653
msgstr ""
3654
3655
#: tpl/general/settings.tpl.php:18
3656
msgid "Request Domain Key"
3657
msgstr ""
@@ -3822,11 +3827,11 @@ msgid ""
3822
"images."
3823
msgstr ""
3824
3825
- #: tpl/img_optm/settings.tpl.php:66 tpl/img_optm/summary.tpl.php:231
3826
msgid "This is irreversible."
3827
msgstr ""
3828
3829
- #: tpl/img_optm/settings.tpl.php:67 tpl/img_optm/summary.tpl.php:232
3830
msgid "You will be unable to Revert Optimization once the backups are deleted!"
3831
msgstr ""
3832
@@ -3867,211 +3872,211 @@ msgstr ""
3867
msgid "The image compression quality setting of WordPress out of 100."
3868
msgstr ""
3869
3870
- #: tpl/img_optm/summary.tpl.php:52 tpl/page_optm/settings_css.tpl.php:121
3871
#: tpl/page_optm/settings_media.tpl.php:172
3872
msgid "Current closest Cloud server is %s.&#10; Click to redetect."
3873
msgstr ""
3874
3875
- #: tpl/img_optm/summary.tpl.php:56
3876
msgid "Optimize images with our cloud server"
3877
msgstr ""
3878
3879
- #: tpl/img_optm/summary.tpl.php:61
3880
msgid "You can request a maximum of %s images at once."
3881
msgstr ""
3882
3883
- #: tpl/img_optm/summary.tpl.php:66
3884
msgid ""
3885
"To make sure our server can communicate with your server without any issues "
3886
"and everything works fine, for the few first requests the amount images "
3887
"allowed in single request is limited."
3888
msgstr ""
3889
3890
- #: tpl/img_optm/summary.tpl.php:67
3891
msgid "Current limit is"
3892
msgstr ""
3893
3894
- #: tpl/img_optm/summary.tpl.php:79
3895
msgid "Gather Image Data"
3896
msgstr ""
3897
3898
- #: tpl/img_optm/summary.tpl.php:79
3899
msgid "Send Optimization Request"
3900
msgstr ""
3901
3902
- #: tpl/img_optm/summary.tpl.php:82
3903
msgid "Only press the button if the pull cron job is disabled."
3904
msgstr ""
3905
3906
- #: tpl/img_optm/summary.tpl.php:82
3907
msgid "Images will be pulled automatically if the cron job is running."
3908
msgstr ""
3909
3910
- #: tpl/img_optm/summary.tpl.php:89
3911
msgid "Pull Images"
3912
msgstr ""
3913
3914
- #: tpl/img_optm/summary.tpl.php:95
3915
msgid "Optimization Status"
3916
msgstr ""
3917
3918
- #: tpl/img_optm/summary.tpl.php:112
3919
msgid ""
3920
"After LiteSpeed's Image Optimization Server finishes optimization, it will "
3921
"notify your site to pull the optimized images."
3922
msgstr ""
3923
3924
- #: tpl/img_optm/summary.tpl.php:113
3925
msgid "This process is automatic."
3926
msgstr ""
3927
3928
- #: tpl/img_optm/summary.tpl.php:128
3929
msgid "Last pull initiated by cron at %s."
3930
msgstr ""
3931
3932
- #: tpl/img_optm/summary.tpl.php:177
3933
msgid "Storage Optimization"
3934
msgstr ""
3935
3936
- #: tpl/img_optm/summary.tpl.php:181
3937
msgid "A backup of each image is saved before it is optimized."
3938
msgstr ""
3939
3940
- #: tpl/img_optm/summary.tpl.php:188
3941
msgid "Last calculated"
3942
msgstr ""
3943
3944
- #: tpl/img_optm/summary.tpl.php:192 tpl/img_optm/summary.tpl.php:243
3945
msgid "Files"
3946
msgstr ""
3947
3948
- #: tpl/img_optm/summary.tpl.php:203
3949
msgid "Calculate Original Image Storage"
3950
msgstr ""
3951
3952
- #: tpl/img_optm/summary.tpl.php:210
3953
msgid "Calculate Backups Disk Space"
3954
msgstr ""
3955
3956
- #: tpl/img_optm/summary.tpl.php:217
3957
msgid "Thumbnail Size Set"
3958
msgstr ""
3959
3960
- #: tpl/img_optm/summary.tpl.php:228
3961
msgid "Delete all backups of the original images"
3962
msgstr ""
3963
3964
- #: tpl/img_optm/summary.tpl.php:240
3965
#: tpl/page_optm/settings_discussion.tpl.php:51
3966
msgid "Last ran"
3967
msgstr ""
3968
3969
- #: tpl/img_optm/summary.tpl.php:246
3970
msgid "Saved"
3971
msgstr ""
3972
3973
- #: tpl/img_optm/summary.tpl.php:250
3974
msgid "Are you sure to remove all image backups?"
3975
msgstr ""
3976
3977
- #: tpl/img_optm/summary.tpl.php:251
3978
msgid "Remove Original Image Backups"
3979
msgstr ""
3980
3981
- #: tpl/img_optm/summary.tpl.php:262
3982
msgid "Image Information"
3983
msgstr ""
3984
3985
- #: tpl/img_optm/summary.tpl.php:271 tpl/img_optm/summary.tpl.php:298
3986
msgid "Images total"
3987
msgstr ""
3988
3989
- #: tpl/img_optm/summary.tpl.php:275 tpl/img_optm/summary.tpl.php:302
3990
msgid "What is a group?"
3991
msgstr ""
3992
3993
- #: tpl/img_optm/summary.tpl.php:277 tpl/img_optm/summary.tpl.php:304
3994
msgid "What is an image group?"
3995
msgstr ""
3996
3997
- #: tpl/img_optm/summary.tpl.php:282
3998
msgid "Images not yet gathered"
3999
msgstr ""
4000
4001
- #: tpl/img_optm/summary.tpl.php:285
4002
msgid "Congratulations, all gathered!"
4003
msgstr ""
4004
4005
- #: tpl/img_optm/summary.tpl.php:309
4006
msgid "Images not yet requested"
4007
msgstr ""
4008
4009
- #: tpl/img_optm/summary.tpl.php:312
4010
msgid "Congratulations, all requested!"
4011
msgstr ""
4012
4013
- #: tpl/img_optm/summary.tpl.php:319
4014
msgid ""
4015
"Scan for any new unoptimized image thumbnail sizes and resend necessary "
4016
"image optimization requests."
4017
msgstr ""
4018
4019
- #: tpl/img_optm/summary.tpl.php:320
4020
msgid "Rescan New Thumbnails"
4021
msgstr ""
4022
4023
- #: tpl/img_optm/summary.tpl.php:328
4024
msgid "Optimization Summary"
4025
msgstr ""
4026
4027
- #: tpl/img_optm/summary.tpl.php:331
4028
msgid "Total Reduction"
4029
msgstr ""
4030
4031
- #: tpl/img_optm/summary.tpl.php:334
4032
msgid "Images Pulled"
4033
msgstr ""
4034
4035
- #: tpl/img_optm/summary.tpl.php:341
4036
msgid "Results can be checked in <a %s>Media Library</a>."
4037
msgstr ""
4038
4039
- #: tpl/img_optm/summary.tpl.php:347
4040
msgid "Optimization Tools"
4041
msgstr ""
4042
4043
- #: tpl/img_optm/summary.tpl.php:350
4044
msgid ""
4045
"You can quickly switch between using original (unoptimized versions) and "
4046
"optimized image files. It will affect all images on your website, both "
4047
"regular and webp versions if available."
4048
msgstr ""
4049
4050
- #: tpl/img_optm/summary.tpl.php:355
4051
msgid "Use original images (unoptimized) on your site"
4052
msgstr ""
4053
4054
- #: tpl/img_optm/summary.tpl.php:356
4055
msgid "Use Original Files"
4056
msgstr ""
4057
4058
- #: tpl/img_optm/summary.tpl.php:359
4059
msgid "Switch back to using optimized images on your site"
4060
msgstr ""
4061
4062
- #: tpl/img_optm/summary.tpl.php:360
4063
msgid "Use Optimized Files"
4064
msgstr ""
4065
4066
- #: tpl/img_optm/summary.tpl.php:368
4067
msgid "Are you sure to destroy all optimized images?"
4068
msgstr ""
4069
4070
- #: tpl/img_optm/summary.tpl.php:369
4071
msgid "Destroy All Optimization Data"
4072
msgstr ""
4073
4074
- #: tpl/img_optm/summary.tpl.php:373
4075
msgid ""
4076
"Remove all previous image optimization requests/results, revert completed "
4077
"optimizations, and delete all optimization files."
2
# This file is distributed under the same license as the LiteSpeed Cache package.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: LiteSpeed Cache 3.2.1\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/litespeed-cache\n"
7
+ "POT-Creation-Date: 2020-06-01 18:05:00+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
53
msgid "CDN"
54
msgstr ""
55
56
+ #: src/admin-display.cls.php:162 src/gui.cls.php:611
57
#: tpl/dash/dashboard.tpl.php:52 tpl/dash/network_dash.tpl.php:27
58
msgid "Image Optimization"
59
msgstr ""
74
msgid "Toolbox"
75
msgstr ""
76
77
+ #: src/admin-display.cls.php:254 src/gui.cls.php:602
78
msgid "Settings"
79
msgstr ""
80
182
msgstr ""
183
184
#: src/admin-display.cls.php:1083 src/doc.cls.php:38 tpl/cdn/manage.tpl.php:66
185
+ #: tpl/dash/dashboard.tpl.php:46 tpl/img_optm/summary.tpl.php:56
186
+ #: tpl/img_optm/summary.tpl.php:96 tpl/inc/check_cache_disabled.php:42
187
msgid "Learn More"
188
msgstr ""
189
252
msgstr ""
253
254
#: src/cloud.cls.php:320 src/cloud.cls.php:339 src/cloud.cls.php:376
255
+ #: src/cloud.cls.php:478
256
msgid "Cloud Error"
257
msgstr ""
258
260
msgid "No available Cloud Node."
261
msgstr ""
262
263
+ #: src/cloud.cls.php:478
264
msgid "Please try after %1$s for service %2$s."
265
msgstr ""
266
267
+ #: src/cloud.cls.php:564 src/cloud.cls.php:576
268
msgid "Failed to request via WordPress"
269
msgstr ""
270
271
+ #: src/cloud.cls.php:586
272
msgid ""
273
"We are working hard to improve your online service experience. The service "
274
"will be unavailable while we work. We apologize for any inconvenience."
275
msgstr ""
276
277
+ #: src/cloud.cls.php:595 src/cloud.cls.php:603 src/cloud.cls.php:847
278
msgid "Message from QUIC.cloud server"
279
msgstr ""
280
281
+ #: src/cloud.cls.php:611
282
msgid "Good news from QUIC.cloud server"
283
msgstr ""
284
285
+ #: src/cloud.cls.php:620
286
msgid "%1$s plugin version %2$s required for this action."
287
msgstr ""
288
289
+ #: src/cloud.cls.php:662 src/cloud.cls.php:836
290
msgid "Failed to communicate with QUIC.cloud server"
291
msgstr ""
292
293
+ #: src/cloud.cls.php:811
294
msgid "CLoud Error"
295
msgstr ""
296
297
+ #: src/cloud.cls.php:855
298
msgid ""
299
"Applied for Domain key successfully. Please wait for result. Domain key will "
300
"be automatically sent to your WordPress."
301
msgstr ""
302
303
+ #: src/cloud.cls.php:908
304
msgid ""
305
"Congratulations, your Domain Key has been approved! The setting has been "
306
"updated accordingly."
307
msgstr ""
308
309
+ #: src/cloud.cls.php:983
310
msgid "Domain key hash mismatch"
311
msgstr ""
312
313
+ #: src/cloud.cls.php:1053
314
msgid "Sync credit allowance with Cloud Server successfully."
315
msgstr ""
316
317
+ #: src/conf.cls.php:706
318
msgid "Changed setting successfully."
319
msgstr ""
320
455
msgstr ""
456
457
#: src/error.cls.php:63
458
+ msgid ""
459
+ "You have too many notified images, please pull down notified images first."
460
msgstr ""
461
462
#: src/error.cls.php:67
463
+ msgid "The image list is empty."
464
msgstr ""
465
466
#: src/error.cls.php:71
467
+ msgid "Not enough parameters. Please check if the domain key is set correctly"
468
msgstr ""
469
470
#: src/error.cls.php:75
471
+ msgid "There is proceeding queue not pulled yet."
472
msgstr ""
473
474
#: src/error.cls.php:79
475
+ msgid "There is proceeding queue not pulled yet. Queue info: %s."
476
+ msgstr ""
477
+
478
+ #: src/error.cls.php:83
479
msgid ""
480
"The domain key is not correct. Please try to sync your domain key again."
481
msgstr ""
482
483
+ #: src/error.cls.php:87
484
msgid "Credits are not enough to proceed the current request."
485
msgstr ""
486
487
+ #: src/error.cls.php:91 src/error.cls.php:115
488
msgid "%s file not writable."
489
msgstr ""
490
491
+ #: src/error.cls.php:99
492
msgid "Could not find %1$s in %2$s."
493
msgstr ""
494
495
+ #: src/error.cls.php:103
496
msgid "Invalid login cookie. Please check the %s file."
497
msgstr ""
498
499
+ #: src/error.cls.php:107
500
msgid "Failed to back up %s file, aborted changes."
501
msgstr ""
502
503
+ #: src/error.cls.php:111
504
msgid "%s file not readable."
505
msgstr ""
506
507
+ #: src/error.cls.php:119
508
msgid "Failed to get %s file contents."
509
msgstr ""
510
511
+ #: src/error.cls.php:123
512
msgid "Failed to create table %s! SQL: %s."
513
msgstr ""
514
515
+ #: src/error.cls.php:127
516
msgid "Crawler disabled by the server admin."
517
msgstr ""
518
519
+ #: src/error.cls.php:132
520
msgid "Previous request too recent. Please try again later."
521
msgstr ""
522
523
+ #: src/error.cls.php:136
524
msgid "Previous request too recent. Please try again after %s."
525
msgstr ""
526
527
+ #: src/error.cls.php:140
528
msgid "Your application is waiting for approval."
529
msgstr ""
530
531
+ #: src/error.cls.php:144
532
msgid "The callback validation to your domain failed due to hash mismatch."
533
msgstr ""
534
535
+ #: src/error.cls.php:148
536
msgid ""
537
"The callback validation to your domain failed. Please make sure there is no "
538
"firewall blocking our servers."
539
msgstr ""
540
541
+ #: src/error.cls.php:152
542
msgid ""
543
"The callback validation to your domain failed. Please make sure there is no "
544
"firewall blocking our servers. Response code: "
545
msgstr ""
546
547
+ #: src/error.cls.php:156
548
msgid ""
549
"Your domain has been forbidden from using our services due to a previous "
550
"policy violation."
551
msgstr ""
552
553
+ #: src/error.cls.php:160
554
msgid "Unknown error"
555
msgstr ""
556
598
msgid "Mark this page as "
599
msgstr ""
600
601
+ #: src/gui.cls.php:440
602
msgid "Forced cacheable"
603
msgstr ""
604
605
+ #: src/gui.cls.php:451
606
msgid "Non cacheable"
607
msgstr ""
608
609
+ #: src/gui.cls.php:462
610
msgid "Private cache"
611
msgstr ""
612
613
+ #: src/gui.cls.php:473
614
msgid "No optimization"
615
msgstr ""
616
617
+ #: src/gui.cls.php:481
618
msgid "More settings"
619
msgstr ""
620
621
+ #: src/gui.cls.php:488 src/gui.cls.php:496 src/gui.cls.php:504
622
+ #: src/gui.cls.php:513 src/gui.cls.php:523 src/gui.cls.php:533
623
+ #: src/gui.cls.php:543 src/gui.cls.php:553 src/gui.cls.php:620
624
+ #: src/gui.cls.php:628 src/gui.cls.php:636 src/gui.cls.php:645
625
+ #: src/gui.cls.php:655 src/gui.cls.php:665 src/gui.cls.php:675
626
+ #: src/gui.cls.php:685 src/gui.cls.php:695 tpl/toolbox/purge.tpl.php:39
627
#: tpl/toolbox/purge.tpl.php:45 tpl/toolbox/purge.tpl.php:54
628
#: tpl/toolbox/purge.tpl.php:63 tpl/toolbox/purge.tpl.php:72
629
#: tpl/toolbox/purge.tpl.php:81 tpl/toolbox/purge.tpl.php:90
631
msgid "Purge All"
632
msgstr ""
633
634
+ #: src/gui.cls.php:496 src/gui.cls.php:578 src/gui.cls.php:628
635
msgid "LSCache"
636
msgstr ""
637
638
+ #: src/gui.cls.php:504 src/gui.cls.php:636 tpl/toolbox/purge.tpl.php:45
639
msgid "CSS/JS Cache"
640
msgstr ""
641
642
+ #: src/gui.cls.php:513 src/gui.cls.php:655 src/lang.cls.php:79
643
#: tpl/dash/dashboard.tpl.php:361 tpl/toolbox/purge.tpl.php:54
644
msgid "Object Cache"
645
msgstr ""
646
647
+ #: src/gui.cls.php:523 src/gui.cls.php:665 tpl/toolbox/purge.tpl.php:63
648
msgid "Opcode Cache"
649
msgstr ""
650
651
+ #: src/gui.cls.php:533 src/gui.cls.php:675 tpl/dash/dashboard.tpl.php:53
652
#: tpl/dash/dashboard.tpl.php:402 tpl/toolbox/purge.tpl.php:72
653
msgid "Critical CSS"
654
msgstr ""
655
656
+ #: src/gui.cls.php:543 src/gui.cls.php:685 tpl/toolbox/purge.tpl.php:81
657
msgid "LQIP Cache"
658
msgstr ""
659
660
+ #: src/gui.cls.php:553 src/gui.cls.php:695 src/lang.cls.php:141
661
#: tpl/toolbox/purge.tpl.php:90
662
msgid "Gravatar Cache"
663
msgstr ""
664
665
+ #: src/gui.cls.php:578
666
msgid "LiteSpeed Cache Purge All"
667
msgstr ""
668
669
+ #: src/gui.cls.php:594 tpl/cdn/entry.tpl.php:7 tpl/cdn/settings.tpl.php:253
670
#: tpl/db_optm/entry.tpl.php:6
671
msgid "Manage"
672
msgstr ""
673
674
+ #: src/gui.cls.php:645 tpl/cdn/manage.tpl.php:17
675
msgid "Cloudflare"
676
msgstr ""
677
678
+ #: src/gui.cls.php:715 tpl/img_optm/summary.tpl.php:169
679
msgid "Remove all previous unfinished image optimization requests."
680
msgstr ""
681
682
+ #: src/gui.cls.php:716 tpl/img_optm/summary.tpl.php:171
683
msgid "Clean Up Unfinished Data"
684
msgstr ""
685
686
+ #: src/gui.cls.php:735
687
msgid "Install %s"
688
msgstr ""
689
690
+ #: src/gui.cls.php:736
691
msgid "Install Now"
692
msgstr ""
693
694
+ #: src/gui.cls.php:756
695
msgid ""
696
"<a href=\"%1$s\" %2$s>View version %3$s details</a> or <a href=\"%4$s\" %5$s "
697
"target=\"_blank\">update now</a>."
698
msgstr ""
699
700
+ #: src/gui.cls.php:759
701
msgid "View %1$s version %2$s details"
702
msgstr ""
703
704
+ #: src/gui.cls.php:764
705
msgid "Update %s now"
706
msgstr ""
707
727
msgid "Gathered %d images successfully."
728
msgstr ""
729
730
+ #: src/img-optm.cls.php:420
731
msgid "Pushed %1$s to Cloud server, accepted %2$s."
732
msgstr ""
733
734
+ #: src/img-optm.cls.php:458
735
msgid "Bypassed %1$s duplicated images."
736
msgstr ""
737
738
+ #: src/img-optm.cls.php:496
739
msgid "Cleared %1$s invalid images."
740
msgstr ""
741
742
+ #: src/img-optm.cls.php:575
743
msgid "No valid image found in the current request."
744
msgstr ""
745
746
+ #: src/img-optm.cls.php:598
747
msgid "No valid image found by Cloud server in the current request."
748
msgstr ""
749
750
+ #: src/img-optm.cls.php:829
751
msgid "Pull Cron is running"
752
msgstr ""
753
754
+ #: src/img-optm.cls.php:885
755
msgid "Some optimized image file(s) has expired and was cleared."
756
msgstr ""
757
758
+ #: src/img-optm.cls.php:902
759
msgid "One or more pulled images does not match with the notified image md5"
760
msgstr ""
761
762
+ #: src/img-optm.cls.php:946
763
msgid "Optimized WebP file expired and was cleared."
764
msgstr ""
765
766
+ #: src/img-optm.cls.php:963
767
msgid "Pulled WebP image md5 does not match the notified WebP image md5."
768
msgstr ""
769
770
+ #: src/img-optm.cls.php:1023
771
msgid "Pulled %d image(s)"
772
msgstr ""
773
774
+ #: src/img-optm.cls.php:1110
775
msgid "Cleaned up unfinished data successfully."
776
msgstr ""
777
778
+ #: src/img-optm.cls.php:1181
779
msgid "Destroy all optimization data successfully."
780
msgstr ""
781
782
+ #: src/img-optm.cls.php:1216 src/img-optm.cls.php:1289
783
msgid "Rescaned successfully."
784
msgstr ""
785
786
+ #: src/img-optm.cls.php:1302
787
msgid "Rescaned %d images successfully."
788
msgstr ""
789
790
+ #: src/img-optm.cls.php:1361
791
msgid "Calculated backups successfully."
792
msgstr ""
793
794
+ #: src/img-optm.cls.php:1423
795
msgid "Removed backups successfully."
796
msgstr ""
797
798
+ #: src/img-optm.cls.php:1620
799
msgid "Switched images successfully."
800
msgstr ""
801
802
+ #: src/img-optm.cls.php:1649
803
msgid "Disabled WebP file successfully."
804
msgstr ""
805
806
+ #: src/img-optm.cls.php:1655
807
msgid "Enabled WebP file successfully."
808
msgstr ""
809
810
+ #: src/img-optm.cls.php:1671
811
msgid "Restored original file successfully."
812
msgstr ""
813
814
+ #: src/img-optm.cls.php:1678
815
msgid "Switched to optimized file successfully."
816
msgstr ""
817
818
+ #: src/img-optm.cls.php:1741
819
msgid "Reset the optimized data successfully."
820
msgstr ""
821
1725
msgid " %s ago"
1726
msgstr ""
1727
1728
+ #: src/utility.cls.php:844
1729
msgid "&laquo;"
1730
msgstr ""
1731
1732
+ #: src/utility.cls.php:845
1733
msgid "&raquo;"
1734
msgstr ""
1735
1844
msgid "Dismiss this notice"
1845
msgstr ""
1846
1847
+ #. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 3.2.1) #-#-#-#-#
1848
#. Plugin Name of the plugin/theme
1849
#: tpl/banner/new_version.php:59 tpl/banner/new_version_dev.tpl.php:12
1850
#: tpl/cache/more_settings_tip.tpl.php:15 tpl/inc/admin_footer.php:8
2025
"This is to ensure compatibility prior to enabling the cache for all sites."
2026
msgstr ""
2027
2028
#: tpl/cache/network_settings-excludes.tpl.php:7
2029
#: tpl/cache/settings-excludes.tpl.php:7
2030
msgid "Exclude Settings"
2873
msgid "Blacklist"
2874
msgstr ""
2875
2876
+ #: tpl/crawler/blacklist.tpl.php:22 tpl/img_optm/summary.tpl.php:194
2877
msgid "Total"
2878
msgstr ""
2879
3370
msgid "Current closest Cloud server is %s.&#10;Click to redetect."
3371
msgstr ""
3372
3373
+ #: tpl/dash/dashboard.tpl.php:202 tpl/img_optm/summary.tpl.php:51
3374
#: tpl/page_optm/settings_css.tpl.php:121
3375
#: tpl/page_optm/settings_media.tpl.php:172
3376
msgid "Are you sure to redetect the closest cloud server for this service?"
3392
msgid "Images Requested"
3393
msgstr ""
3394
3395
+ #: tpl/dash/dashboard.tpl.php:322 tpl/img_optm/summary.tpl.php:336
3396
msgid "Last Request"
3397
msgstr ""
3398
3644
msgid "LiteSpeed Cache General Settings"
3645
msgstr ""
3646
3647
+ #: tpl/general/network_settings.tpl.php:20
3648
+ msgid "Use Primary Site Configuration"
3649
+ msgstr ""
3650
+
3651
+ #: tpl/general/network_settings.tpl.php:24
3652
+ msgid ""
3653
+ "Check this option to use the primary site's configuration for all subsites."
3654
+ msgstr ""
3655
+
3656
+ #: tpl/general/network_settings.tpl.php:25
3657
+ msgid "This will disable the settings page on all subsites."
3658
+ msgstr ""
3659
+
3660
#: tpl/general/settings.tpl.php:18
3661
msgid "Request Domain Key"
3662
msgstr ""
3827
"images."
3828
msgstr ""
3829
3830
+ #: tpl/img_optm/settings.tpl.php:66 tpl/img_optm/summary.tpl.php:230
3831
msgid "This is irreversible."
3832
msgstr ""
3833
3834
+ #: tpl/img_optm/settings.tpl.php:67 tpl/img_optm/summary.tpl.php:231
3835
msgid "You will be unable to Revert Optimization once the backups are deleted!"
3836
msgstr ""
3837
3872
msgid "The image compression quality setting of WordPress out of 100."
3873
msgstr ""
3874
3875
+ #: tpl/img_optm/summary.tpl.php:51 tpl/page_optm/settings_css.tpl.php:121
3876
#: tpl/page_optm/settings_media.tpl.php:172
3877
msgid "Current closest Cloud server is %s.&#10; Click to redetect."
3878
msgstr ""
3879
3880
+ #: tpl/img_optm/summary.tpl.php:55
3881
msgid "Optimize images with our cloud server"
3882
msgstr ""
3883
3884
+ #: tpl/img_optm/summary.tpl.php:60
3885
msgid "You can request a maximum of %s images at once."
3886
msgstr ""
3887
3888
+ #: tpl/img_optm/summary.tpl.php:65
3889
msgid ""
3890
"To make sure our server can communicate with your server without any issues "
3891
"and everything works fine, for the few first requests the amount images "
3892
"allowed in single request is limited."
3893
msgstr ""
3894
3895
+ #: tpl/img_optm/summary.tpl.php:66
3896
msgid "Current limit is"
3897
msgstr ""
3898
3899
+ #: tpl/img_optm/summary.tpl.php:78
3900
msgid "Gather Image Data"
3901
msgstr ""
3902
3903
+ #: tpl/img_optm/summary.tpl.php:78
3904
msgid "Send Optimization Request"
3905
msgstr ""
3906
3907
+ #: tpl/img_optm/summary.tpl.php:81
3908
msgid "Only press the button if the pull cron job is disabled."
3909
msgstr ""
3910
3911
+ #: tpl/img_optm/summary.tpl.php:81
3912
msgid "Images will be pulled automatically if the cron job is running."
3913
msgstr ""
3914
3915
+ #: tpl/img_optm/summary.tpl.php:88
3916
msgid "Pull Images"
3917
msgstr ""
3918
3919
+ #: tpl/img_optm/summary.tpl.php:94
3920
msgid "Optimization Status"
3921
msgstr ""
3922
3923
+ #: tpl/img_optm/summary.tpl.php:111
3924
msgid ""
3925
"After LiteSpeed's Image Optimization Server finishes optimization, it will "
3926
"notify your site to pull the optimized images."
3927
msgstr ""
3928
3929
+ #: tpl/img_optm/summary.tpl.php:112
3930
msgid "This process is automatic."
3931
msgstr ""
3932
3933
+ #: tpl/img_optm/summary.tpl.php:127
3934
msgid "Last pull initiated by cron at %s."
3935
msgstr ""
3936
3937
+ #: tpl/img_optm/summary.tpl.php:176
3938
msgid "Storage Optimization"
3939
msgstr ""
3940
3941
+ #: tpl/img_optm/summary.tpl.php:180
3942
msgid "A backup of each image is saved before it is optimized."
3943
msgstr ""
3944
3945
+ #: tpl/img_optm/summary.tpl.php:187
3946
msgid "Last calculated"
3947
msgstr ""
3948
3949
+ #: tpl/img_optm/summary.tpl.php:191 tpl/img_optm/summary.tpl.php:242
3950
msgid "Files"
3951
msgstr ""
3952
3953
+ #: tpl/img_optm/summary.tpl.php:202
3954
msgid "Calculate Original Image Storage"
3955
msgstr ""
3956
3957
+ #: tpl/img_optm/summary.tpl.php:209
3958
msgid "Calculate Backups Disk Space"
3959
msgstr ""
3960
3961
+ #: tpl/img_optm/summary.tpl.php:216
3962
msgid "Thumbnail Size Set"
3963
msgstr ""
3964
3965
+ #: tpl/img_optm/summary.tpl.php:227
3966
msgid "Delete all backups of the original images"
3967
msgstr ""
3968
3969
+ #: tpl/img_optm/summary.tpl.php:239
3970
#: tpl/page_optm/settings_discussion.tpl.php:51
3971
msgid "Last ran"
3972
msgstr ""
3973
3974
+ #: tpl/img_optm/summary.tpl.php:245
3975
msgid "Saved"
3976
msgstr ""
3977
3978
+ #: tpl/img_optm/summary.tpl.php:249
3979
msgid "Are you sure to remove all image backups?"
3980
msgstr ""
3981
3982
+ #: tpl/img_optm/summary.tpl.php:250
3983
msgid "Remove Original Image Backups"
3984
msgstr ""
3985
3986
+ #: tpl/img_optm/summary.tpl.php:261
3987
msgid "Image Information"
3988
msgstr ""
3989
3990
+ #: tpl/img_optm/summary.tpl.php:270 tpl/img_optm/summary.tpl.php:297
3991
msgid "Images total"
3992
msgstr ""
3993
3994
+ #: tpl/img_optm/summary.tpl.php:274 tpl/img_optm/summary.tpl.php:301
3995
msgid "What is a group?"
3996
msgstr ""
3997
3998
+ #: tpl/img_optm/summary.tpl.php:276 tpl/img_optm/summary.tpl.php:303
3999
msgid "What is an image group?"
4000
msgstr ""
4001
4002
+ #: tpl/img_optm/summary.tpl.php:281
4003
msgid "Images not yet gathered"
4004
msgstr ""
4005
4006
+ #: tpl/img_optm/summary.tpl.php:284
4007
msgid "Congratulations, all gathered!"
4008
msgstr ""
4009
4010
+ #: tpl/img_optm/summary.tpl.php:308
4011
msgid "Images not yet requested"
4012
msgstr ""
4013
4014
+ #: tpl/img_optm/summary.tpl.php:311
4015
msgid "Congratulations, all requested!"
4016
msgstr ""
4017
4018
+ #: tpl/img_optm/summary.tpl.php:318
4019
msgid ""
4020
"Scan for any new unoptimized image thumbnail sizes and resend necessary "
4021
"image optimization requests."
4022
msgstr ""
4023
4024
+ #: tpl/img_optm/summary.tpl.php:319
4025
msgid "Rescan New Thumbnails"
4026
msgstr ""
4027
4028
+ #: tpl/img_optm/summary.tpl.php:327
4029
msgid "Optimization Summary"
4030
msgstr ""
4031
4032
+ #: tpl/img_optm/summary.tpl.php:330
4033
msgid "Total Reduction"
4034
msgstr ""
4035
4036
+ #: tpl/img_optm/summary.tpl.php:333
4037
msgid "Images Pulled"
4038
msgstr ""
4039
4040
+ #: tpl/img_optm/summary.tpl.php:340
4041
msgid "Results can be checked in <a %s>Media Library</a>."
4042
msgstr ""
4043
4044
+ #: tpl/img_optm/summary.tpl.php:346
4045
msgid "Optimization Tools"
4046
msgstr ""
4047
4048
+ #: tpl/img_optm/summary.tpl.php:349
4049
msgid ""
4050
"You can quickly switch between using original (unoptimized versions) and "
4051
"optimized image files. It will affect all images on your website, both "
4052
"regular and webp versions if available."
4053
msgstr ""
4054
4055
+ #: tpl/img_optm/summary.tpl.php:354
4056
msgid "Use original images (unoptimized) on your site"
4057
msgstr ""
4058
4059
+ #: tpl/img_optm/summary.tpl.php:355
4060
msgid "Use Original Files"
4061
msgstr ""
4062
4063
+ #: tpl/img_optm/summary.tpl.php:358
4064
msgid "Switch back to using optimized images on your site"
4065
msgstr ""
4066
4067
+ #: tpl/img_optm/summary.tpl.php:359
4068
msgid "Use Optimized Files"
4069
msgstr ""
4070
4071
+ #: tpl/img_optm/summary.tpl.php:367
4072
msgid "Are you sure to destroy all optimized images?"
4073
msgstr ""
4074
4075
+ #: tpl/img_optm/summary.tpl.php:368
4076
msgid "Destroy All Optimization Data"
4077
msgstr ""
4078
4079
+ #: tpl/img_optm/summary.tpl.php:372
4080
msgid ""
4081
"Remove all previous image optimization requests/results, revert completed "
4082
"optimizations, and delete all optimization files."
litespeed-cache.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: LiteSpeed Cache
4
* Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
5
* Description: High-performance page caching and site optimization from LiteSpeed
6
- * Version: 3.2
7
* Author: LiteSpeed Technologies
8
* Author URI: https://www.litespeedtech.com
9
* License: GPLv3
@@ -33,7 +33,7 @@ if ( class_exists( 'LiteSpeed\Core' ) || defined( 'LSCWP_DIR' ) ) {
33
return;
34
}
35
36
- ! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '3.2' );
37
38
! defined( 'LSCWP_CONTENT_DIR' ) && define( 'LSCWP_CONTENT_DIR', WP_CONTENT_DIR ) ;
39
! defined( 'LSCWP_DIR' ) && define( 'LSCWP_DIR', __DIR__ . '/' ) ;// Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU
3
* Plugin Name: LiteSpeed Cache
4
* Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
5
* Description: High-performance page caching and site optimization from LiteSpeed
6
+ * Version: 3.2.1
7
* Author: LiteSpeed Technologies
8
* Author URI: https://www.litespeedtech.com
9
* License: GPLv3
33
return;
34
}
35
36
+ ! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '3.2.1' );
37
38
! defined( 'LSCWP_CONTENT_DIR' ) && define( 'LSCWP_CONTENT_DIR', WP_CONTENT_DIR ) ;
39
! defined( 'LSCWP_DIR' ) && define( 'LSCWP_DIR', __DIR__ . '/' ) ;// Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: LiteSpeedTech
3
Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
Requires at least: 4.0
5
Tested up to: 5.4.1
6
- Stable tag: 3.2
7
License: GPLv3
8
License URI: http://www.gnu.org/licenses/gpl.html
9
@@ -244,6 +244,14 @@ The vast majority of plugins and themes are compatible with LiteSpeed Cache. The
244
245
== Changelog ==
246
247
= 3.2 - May 27 2020 =
248
* **Image Optimize** Major improvements in queue management, scalability, and speed. (@Lucas Rolff)
249
* **Cloud** Implemented a series of communication enhancements. (@Lucas Rolff)
3
Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
Requires at least: 4.0
5
Tested up to: 5.4.1
6
+ Stable tag: 3.2.1
7
License: GPLv3
8
License URI: http://www.gnu.org/licenses/gpl.html
9
244
245
== Changelog ==
246
247
+ = 3.2.1 - Jun 1 2020 =
248
+ * **Cloud** LQIP/CCSS rate limit tweaks. (@ianpegg)
249
+ * **Admin** Improved frontend Admin Bar menu functionality. (#708642)
250
+ * **Crawler** Fixed an issue where cleaning up a crawler map with a leftover page number would cause a MySQL error. (@saowp)
251
+ * **Image Optimize** Added WP default thumbnails to image optimization summary list. (@johnny Nguyen)
252
+ * **REST** Improved REST compatibility w/ WP4.4-. (#767203)
253
+ * **GUI** Moved Use Primary Site Configuration to General menu. (@joshua)
254
+
255
= 3.2 - May 27 2020 =
256
* **Image Optimize** Major improvements in queue management, scalability, and speed. (@Lucas Rolff)
257
* **Cloud** Implemented a series of communication enhancements. (@Lucas Rolff)
src/cdn/quic.cls.php CHANGED
@@ -51,7 +51,7 @@ class Quic extends Instance
51
}
52
53
// Rest url
54
- $options[ '_rest' ] = rest_get_url_prefix() ;
55
56
// Add server env vars
57
$options[ '_server' ] = Base::get_instance()->server_vars() ;
51
}
52
53
// Rest url
54
+ $options[ '_rest' ] = function_exists( 'rest_get_url_prefix' ) ? rest_get_url_prefix() : apply_filters( 'rest_url_prefix', 'wp-json' );
55
56
// Add server env vars
57
$options[ '_server' ] = Base::get_instance()->server_vars() ;
src/cloud.cls.php CHANGED
@@ -344,7 +344,7 @@ class Cloud extends Base
344
if ( ! empty( $this->_summary[ 'server.' . $service ] ) ){
345
return $this->_summary[ 'server.' . $service ];
346
}
347
-
348
return false;
349
}
350
@@ -354,7 +354,7 @@ class Cloud extends Base
354
foreach ( $json[ 'list' ] as $v ) {
355
$speed_list[ $v ] = Utility::ping( $v );
356
}
357
-
358
$min = min( $speed_list );
359
360
if ( $min == 99999 ) {
@@ -458,14 +458,20 @@ class Cloud extends Base
458
*/
459
private function _maybe_cloud( $service_tag )
460
{
461
// Limit frequent unfinished request to 5min
462
- if ( ! empty( $this->_summary[ 'last_request.' . $service_tag ] ) ) {
463
- $expired = $this->_summary[ 'last_request.' . $service_tag ] + self::EXPIRATION_REQ - time();
464
if ( $expired > 0 ) {
465
- if ( $service_tag == self::IMGOPTM_TAKEN) {
466
- // we don't want the `img_optm-taken` to fail at any given time
467
- return true;
468
- }
469
Debug2::debug( "[Cloud] ❌ try [$service_tag] after $expired seconds" );
470
471
if ( $service_tag !== self::API_VER ) {
@@ -791,7 +797,7 @@ class Cloud extends Base
791
{
792
$data = array(
793
'site_url' => home_url(),
794
- 'rest' => rest_get_url_prefix(),
795
'server_ip' => Conf::val( Base::O_SERVER_IP ),
796
);
797
if ( ! empty( $this->_summary[ 'token' ] ) ) {
344
if ( ! empty( $this->_summary[ 'server.' . $service ] ) ){
345
return $this->_summary[ 'server.' . $service ];
346
}
347
+
348
return false;
349
}
350
354
foreach ( $json[ 'list' ] as $v ) {
355
$speed_list[ $v ] = Utility::ping( $v );
356
}
357
+
358
$min = min( $speed_list );
359
360
if ( $min == 99999 ) {
458
*/
459
private function _maybe_cloud( $service_tag )
460
{
461
+ // we don't want the `img_optm-taken` to fail at any given time
462
+ if ( $service_tag == self::IMGOPTM_TAKEN ) {
463
+ return true;
464
+ }
465
+
466
// Limit frequent unfinished request to 5min
467
+ $timestamp_tag = 'curr_request.';
468
+ if ( $service_tag == self::SVC_IMG_OPTM . '-' . Img_Optm::TYPE_NEW_REQ ) {
469
+ $timestamp_tag = 'last_request.';
470
+ }
471
+
472
+ if ( ! empty( $this->_summary[ $timestamp_tag . $service_tag ] ) ) {
473
+ $expired = $this->_summary[ $timestamp_tag . $service_tag ] + self::EXPIRATION_REQ - time();
474
if ( $expired > 0 ) {
475
Debug2::debug( "[Cloud] ❌ try [$service_tag] after $expired seconds" );
476
477
if ( $service_tag !== self::API_VER ) {
797
{
798
$data = array(
799
'site_url' => home_url(),
800
+ 'rest' => function_exists( 'rest_get_url_prefix' ) ? rest_get_url_prefix() : apply_filters( 'rest_url_prefix', 'wp-json' ),
801
'server_ip' => Conf::val( Base::O_SERVER_IP ),
802
);
803
if ( ! empty( $this->_summary[ 'token' ] ) ) {
src/conf.cls.php CHANGED
@@ -667,64 +667,49 @@ class Conf extends Base
667
* @access private
668
*/
669
private function _set_conf()
670
- {exit('');
671
if ( empty( $_GET[ self::TYPE_SET ] ) || ! is_array( $_GET[ self::TYPE_SET ] ) ) {
672
- return ;
673
- }
674
-
675
- $options = $this->_options ;
676
- // Get items
677
- foreach ( $this->stored_items() as $v ) {//xxx
678
- $options[ $v ] = $this->get_item( $v ) ;
679
}
680
681
- $changed = false ;
682
- foreach ( $_GET[ self::TYPE_SET ] as $k => $v ) {
683
- if ( ! isset( $options[ $k ] ) ) {
684
- continue ;
685
- }
686
-
687
- if ( is_bool( $options[ $k ] ) ) {//xx
688
- $v = (bool) $v ;
689
}
690
691
- // Change for items
692
- if ( is_array( $v ) && is_array( $options[ $k ] ) ) {
693
- $changed = true ;
694
-
695
- $options[ $k ] = array_merge( $options[ $k ], $v ) ;
696
697
- Debug2::debug( '[Conf] Appended to item [' . $k . ']: ' . var_export( $v, true ) ) ;
698
}
699
-
700
- // Chnage for single option
701
- if ( ! is_array( $v ) ) {
702
- $changed = true ;
703
-
704
- $options[ $k ] = $v ;
705
-
706
- Debug2::debug( '[Conf] Changed [' . $k . '] to ' . var_export( $v, true ) ) ;
707
}
708
709
}
710
711
- if ( ! $changed ) {
712
return ;
713
}
714
715
- $output = Admin_Settings::get_instance()->validate_plugin_settings( $options, true ) ; // Purge will be auto run in validating items when found diff
716
- // Save settings now (options & items)
717
- foreach ( $output as $k => $v ) {
718
- self::update_option( $k, $v ) ;
719
- }
720
721
- $msg = __( 'Changed setting successfully.', 'litespeed-cache' ) ;
722
- Admin_Display::succeed( $msg ) ;
723
724
// Redirect if changed frontend URL
725
if ( ! empty( $_GET[ 'redirect' ] ) ) {
726
- wp_redirect( $_GET[ 'redirect' ] ) ;
727
- exit() ;
728
}
729
}
730
@@ -736,19 +721,19 @@ class Conf extends Base
736
*/
737
public static function handler()
738
{
739
- $instance = self::get_instance() ;
740
741
- $type = Router::verify_type() ;
742
743
switch ( $type ) {
744
case self::TYPE_SET :
745
- $instance->_set_conf() ;
746
- break ;
747
748
default:
749
- break ;
750
}
751
752
- Admin::redirect() ;
753
}
754
}
667
* @access private
668
*/
669
private function _set_conf()
670
+ {
671
+ /**
672
+ * NOTE: For URL Query String setting,
673
+ * 1. If append lines to an array setting e.g. `cache-force_uri`, use `set[cache-force_uri][]=the_url`.
674
+ * 2. If replace the array setting with one line, use `set[cache-force_uri]=the_url`.
675
+ * 3. If replace the array setting with multi lines value, use 2 then 1.
676
+ */
677
if ( empty( $_GET[ self::TYPE_SET ] ) || ! is_array( $_GET[ self::TYPE_SET ] ) ) {
678
+ return;
679
}
680
681
+ $the_matrix = array();
682
+ foreach ( $_GET[ self::TYPE_SET ] as $id => $v ) {
683
+ if ( ! array_key_exists( $id, $this->_options ) ) {
684
+ continue;
685
}
686
687
+ // Append new item to array type settings
688
+ if ( is_array( $v ) && is_array( $this->_options[ $id ] ) ) {
689
+ $v = array_merge( $this->_options[ $id ], $v ) ;
690
691
+ Debug2::debug( '[Conf] Appended to settings [' . $id . ']: ' . var_export( $v, true ) );
692
}
693
+ else {
694
+ Debug2::debug( '[Conf] Set setting [' . $id . ']: ' . var_export( $v, true ) );
695
}
696
697
+ $the_matrix[ $id ] = $v;
698
}
699
700
+ if ( ! $the_matrix ) {
701
return ;
702
}
703
704
+ $this->update_confs( $the_matrix );
705
706
+ $msg = __( 'Changed setting successfully.', 'litespeed-cache' );
707
+ Admin_Display::succeed( $msg );
708
709
// Redirect if changed frontend URL
710
if ( ! empty( $_GET[ 'redirect' ] ) ) {
711
+ wp_redirect( $_GET[ 'redirect' ] );
712
+ exit();
713
}
714
}
715
721
*/
722
public static function handler()
723
{
724
+ $instance = self::get_instance();
725
726
+ $type = Router::verify_type();
727
728
switch ( $type ) {
729
case self::TYPE_SET :
730
+ $instance->_set_conf();
731
+ break;
732
733
default:
734
+ break;
735
}
736
737
+ Admin::redirect();
738
}
739
}
src/gui.cls.php CHANGED
@@ -429,49 +429,51 @@ class GUI extends Base
429
'meta' => array( 'tabindex' => '0' ),
430
) );
431
432
- $append_arr = array(
433
- Conf::TYPE_SET . '[' . Base::O_CACHE_FORCE_URI . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
434
- 'redirect' => $_SERVER[ 'REQUEST_URI' ],
435
- ) ;
436
- $wp_admin_bar->add_menu( array(
437
- 'parent' => 'litespeed-single-action',
438
- 'id' => 'litespeed-single-forced_cache',
439
- 'title' => __( 'Forced cacheable', 'litespeed-cache' ),
440
- 'href' => Utility::build_url( Router::ACTION_CONF, false, false, true, $append_arr ),
441
- ) );
442
443
- $append_arr = array(
444
- Conf::TYPE_SET . '[' . Base::O_CACHE_EXC . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
445
- 'redirect' => $_SERVER[ 'REQUEST_URI' ],
446
- ) ;
447
- $wp_admin_bar->add_menu( array(
448
- 'parent' => 'litespeed-single-action',
449
- 'id' => 'litespeed-single-noncache',
450
- 'title' => __( 'Non cacheable', 'litespeed-cache' ),
451
- 'href' => Utility::build_url( Router::ACTION_CONF, false, false, true, $append_arr ),
452
- ) );
453
454
- $append_arr = array(
455
- Conf::TYPE_SET . '[' . Base::O_CACHE_PRIV_URI . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
456
- 'redirect' => $_SERVER[ 'REQUEST_URI' ],
457
- ) ;
458
- $wp_admin_bar->add_menu( array(
459
- 'parent' => 'litespeed-single-action',
460
- 'id' => 'litespeed-single-private',
461
- 'title' => __( 'Private cache', 'litespeed-cache' ),
462
- 'href' => Utility::build_url( Router::ACTION_CONF, false, false, true, $append_arr ),
463
- ) );
464
465
- $append_arr = array(
466
- Conf::TYPE_SET . '[' . Base::O_OPTM_EXC . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
467
- 'redirect' => $_SERVER[ 'REQUEST_URI' ],
468
- ) ;
469
- $wp_admin_bar->add_menu( array(
470
- 'parent' => 'litespeed-single-action',
471
- 'id' => 'litespeed-single-nonoptimize',
472
- 'title' => __( 'No optimization', 'litespeed-cache' ),
473
- 'href' => Utility::build_url( Router::ACTION_CONF, false, false, true, $append_arr ),
474
- ) );
475
476
$wp_admin_bar->add_menu( array(
477
'parent' => 'litespeed-single-action',
429
'meta' => array( 'tabindex' => '0' ),
430
) );
431
432
+ if ( ! empty( $_SERVER[ 'REQUEST_URI' ] ) ) {
433
+ $append_arr = array(
434
+ Conf::TYPE_SET . '[' . Base::O_CACHE_FORCE_URI . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
435
+ 'redirect' => $_SERVER[ 'REQUEST_URI' ],
436
+ ) ;
437
+ $wp_admin_bar->add_menu( array(
438
+ 'parent' => 'litespeed-single-action',
439
+ 'id' => 'litespeed-single-forced_cache',
440
+ 'title' => __( 'Forced cacheable', 'litespeed-cache' ),
441
+ 'href' => Utility::build_url( Router::ACTION_CONF, Conf::TYPE_SET, false, true, $append_arr ),
442
+ ) );
443
444
+ $append_arr = array(
445
+ Conf::TYPE_SET . '[' . Base::O_CACHE_EXC . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
446
+ 'redirect' => $_SERVER[ 'REQUEST_URI' ],
447
+ ) ;
448
+ $wp_admin_bar->add_menu( array(
449
+ 'parent' => 'litespeed-single-action',
450
+ 'id' => 'litespeed-single-noncache',
451
+ 'title' => __( 'Non cacheable', 'litespeed-cache' ),
452
+ 'href' => Utility::build_url( Router::ACTION_CONF, Conf::TYPE_SET, false, true, $append_arr ),
453
+ ) );
454
455
+ $append_arr = array(
456
+ Conf::TYPE_SET . '[' . Base::O_CACHE_PRIV_URI . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
457
+ 'redirect' => $_SERVER[ 'REQUEST_URI' ],
458
+ ) ;
459
+ $wp_admin_bar->add_menu( array(
460
+ 'parent' => 'litespeed-single-action',
461
+ 'id' => 'litespeed-single-private',
462
+ 'title' => __( 'Private cache', 'litespeed-cache' ),
463
+ 'href' => Utility::build_url( Router::ACTION_CONF, Conf::TYPE_SET, false, true, $append_arr ),
464
+ ) );
465
466
+ $append_arr = array(
467
+ Conf::TYPE_SET . '[' . Base::O_OPTM_EXC . '][]' => $_SERVER[ 'REQUEST_URI' ] . '#x27;,
468
+ 'redirect' => $_SERVER[ 'REQUEST_URI' ],
469
+ ) ;
470
+ $wp_admin_bar->add_menu( array(
471
+ 'parent' => 'litespeed-single-action',
472
+ 'id' => 'litespeed-single-nonoptimize',
473
+ 'title' => __( 'No optimization', 'litespeed-cache' ),
474
+ 'href' => Utility::build_url( Router::ACTION_CONF, Conf::TYPE_SET, false, true, $append_arr ),
475
+ ) );
476
+ }
477
478
$wp_admin_bar->add_menu( array(
479
'parent' => 'litespeed-single-action',
src/media.cls.php CHANGED
@@ -378,10 +378,9 @@ class Media extends Instance
378
* NOTE: this is not used because it has to be after admin_init
379
*
380
* @since 1.6.2
381
- * @access private
382
* @return array $sizes Data for all currently-registered image sizes.
383
*/
384
- private function get_image_sizes() {
385
global $_wp_additional_image_sizes ;
386
$sizes = array();
387
378
* NOTE: this is not used because it has to be after admin_init
379
*
380
* @since 1.6.2
381
* @return array $sizes Data for all currently-registered image sizes.
382
*/
383
+ public function get_image_sizes() {
384
global $_wp_additional_image_sizes ;
385
$sizes = array();
386
src/router.cls.php CHANGED
@@ -146,8 +146,9 @@ class Router extends Instance
146
* Bypass post/page link setting
147
* @since 2.9.8.5
148
*/
149
if (
150
- strpos( $_SERVER[ 'REQUEST_URI' ], rest_get_url_prefix() . '/wp/v2/media' ) !== false
151
&& strpos( $_SERVER[ 'HTTP_REFERER' ], 'wp-admin') !== false
152
) {
153
Debug2::debug( '[Router] CDN bypassed: wp-json on admin page' ) ;
146
* Bypass post/page link setting
147
* @since 2.9.8.5
148
*/
149
+ $rest_prefix = function_exists( 'rest_get_url_prefix' ) ? rest_get_url_prefix() : apply_filters( 'rest_url_prefix', 'wp-json' );
150
if (
151
+ strpos( $_SERVER[ 'REQUEST_URI' ], $rest_prefix . '/wp/v2/media' ) !== false
152
&& strpos( $_SERVER[ 'HTTP_REFERER' ], 'wp-admin') !== false
153
) {
154
Debug2::debug( '[Router] CDN bypassed: wp-json on admin page' ) ;
src/utility.cls.php CHANGED
@@ -830,6 +830,10 @@ class Utility extends Instance
830
$offset = $total - $limit;
831
}
832
833
if ( $return_offset ) {
834
return $offset;
835
}
830
$offset = $total - $limit;
831
}
832
833
+ if ( $offset < 0 ) {
834
+ $offset = 0;
835
+ }
836
+
837
if ( $return_offset ) {
838
return $offset;
839
}
tpl/cache/network_settings-cache.tpl.php CHANGED
@@ -21,17 +21,6 @@ defined( 'WPINC' ) || exit;
21
</td>
22
</tr>
23
24
- <tr>
25
- <th><?php echo __('Use Primary Site Configuration', 'litespeed-cache'); ?></th>
26
- <td>
27
- <?php $this->build_switch( Base::NETWORK_O_USE_PRIMARY ); ?>
28
- <div class="litespeed-desc">
29
- <?php echo __("Check this option to use the primary site's configuration for all subsites.", 'litespeed-cache'); ?>
30
- <?php echo __('This will disable the settings page on all subsites.', 'litespeed-cache'); ?>
31
- </div>
32
- </td>
33
- </tr>
34
-
35
<?php
36
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_favicon.tpl.php';
37
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_resources.tpl.php';
21
</td>
22
</tr>
23
24
<?php
25
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_favicon.tpl.php';
26
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_resources.tpl.php';
tpl/general/network_settings.tpl.php CHANGED
@@ -16,6 +16,17 @@ $this->form_action( Router::ACTION_SAVE_SETTINGS_NETWORK );
16
<table class="wp-list-table striped litespeed-table"><tbody>
17
<?php require LSCWP_DIR . 'tpl/general/settings_inc.auto_upgrade.tpl.php'; ?>
18
19
</tbody></table>
20
21
<?php
16
<table class="wp-list-table striped litespeed-table"><tbody>
17
<?php require LSCWP_DIR . 'tpl/general/settings_inc.auto_upgrade.tpl.php'; ?>
18
19
+ <tr>
20
+ <th><?php echo __('Use Primary Site Configuration', 'litespeed-cache'); ?></th>
21
+ <td>
22
+ <?php $this->build_switch( Base::NETWORK_O_USE_PRIMARY ); ?>
23
+ <div class="litespeed-desc">
24
+ <?php echo __("Check this option to use the primary site's configuration for all subsites.", 'litespeed-cache'); ?>
25
+ <?php echo __('This will disable the settings page on all subsites.', 'litespeed-cache'); ?>
26
+ </div>
27
+ </td>
28
+ </tr>
29
+
30
</tbody></table>
31
32
<?php
tpl/general/settings.tpl.php CHANGED
@@ -85,7 +85,7 @@ $this->form_action();
85
<h4><?php echo __( 'Notice', 'litespeed-cache' ); ?>:</h4>
86
<p><?php echo sprintf( __( 'There is a problem receiving your domain key. Please click the %s button to retry.', 'litespeed-cache' ), '<code>' . $apply_btn_txt . '</code>' ); ?></p>
87
<p><?php echo __( 'There are two reasons why we might not be able to communicate with your domain:', 'litespeed-cache' ); ?>:</p>
88
- <p>1) <?php echo sprintf( __( 'The POST callback to %s failed.', 'litespeed-cache' ), '<code>' . home_url() . '/' . rest_get_url_prefix() . '/litespeed/v1/token</code>' ); ?> </p>
89
<p>2) <?php echo sprintf( __( 'Our %s was not whitelisted.', 'litespeed-cache' ), __( 'Current Online Server IPs', 'litespeed-cache' ) ); ?></p>
90
<p><?php echo __( 'Please verify that your other plugins are not blocking REST API calls, whitelist our server IPs, or contact your server admin for assistance.', 'litespeed-cache' ); ?>:</p>
91
</div>
85
<h4><?php echo __( 'Notice', 'litespeed-cache' ); ?>:</h4>
86
<p><?php echo sprintf( __( 'There is a problem receiving your domain key. Please click the %s button to retry.', 'litespeed-cache' ), '<code>' . $apply_btn_txt . '</code>' ); ?></p>
87
<p><?php echo __( 'There are two reasons why we might not be able to communicate with your domain:', 'litespeed-cache' ); ?>:</p>
88
+ <p>1) <?php echo sprintf( __( 'The POST callback to %s failed.', 'litespeed-cache' ), '<code>' . home_url() . '/' . ( function_exists( 'rest_get_url_prefix' ) ? rest_get_url_prefix() : apply_filters( 'rest_url_prefix', 'wp-json' ) ) . '/litespeed/v1/token</code>' ); ?> </p>
89
<p>2) <?php echo sprintf( __( 'Our %s was not whitelisted.', 'litespeed-cache' ), __( 'Current Online Server IPs', 'litespeed-cache' ) ); ?></p>
90
<p><?php echo __( 'Please verify that your other plugins are not blocking REST API calls, whitelist our server IPs, or contact your server admin for assistance.', 'litespeed-cache' ); ?>:</p>
91
</div>
tpl/img_optm/summary.tpl.php CHANGED
@@ -1,7 +1,6 @@
1
<?php
2
namespace LiteSpeed;
3
defined( 'WPINC' ) || exit;
4
- global $_wp_additional_image_sizes;
5
6
$closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_IMG_OPTM );
7
$usage_cloud = Cloud::get_summary( 'usage.' . Cloud::SVC_IMG_OPTM );
@@ -216,7 +215,7 @@ if ( ! empty( $img_count[ 'img.' . Img_Optm::STATUS_ERR_FETCH ] ) ) {
216
<div>
217
<h4><?php echo __( 'Thumbnail Size Set', 'litespeed-cache' ) ; ?></h4>
218
<div class="litespeed-desc litespeed-left20">
219
- <?php foreach ( $_wp_additional_image_sizes as $title => $size ) {
220
echo "<div>$title ( " . ( $size[ 'width' ] ? $size[ 'width' ] . 'px' : '*' ) . ' x ' . ( $size[ 'height' ] ? $size[ 'height' ] . 'px' : '*' ) . ' )</div>';
221
} ; ?>
222
</div>
1
<?php
2
namespace LiteSpeed;
3
defined( 'WPINC' ) || exit;
4
5
$closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_IMG_OPTM );
6
$usage_cloud = Cloud::get_summary( 'usage.' . Cloud::SVC_IMG_OPTM );
215
<div>
216
<h4><?php echo __( 'Thumbnail Size Set', 'litespeed-cache' ) ; ?></h4>
217
<div class="litespeed-desc litespeed-left20">
218
+ <?php foreach ( Media::get_instance()->get_image_sizes() as $title => $size ) {
219
echo "<div>$title ( " . ( $size[ 'width' ] ? $size[ 'width' ] . 'px' : '*' ) . ' x ' . ( $size[ 'height' ] ? $size[ 'height' ] . 'px' : '*' ) . ' )</div>';
220
} ; ?>
221
</div>