WP-Optimize - Version 2.1.0

Version Description

  • 28/Dec/2016 =

  • FOCUS: This release concentrates upon the user-interface, and in particular upon improving the clarity of each part, and making optimizations, saves and other actions possible without page reloads.

  • FEATURE: Any optimisation can now be run individually with a single button press

  • TWEAK: All optimisations run via the dashboard page are now run via AJAX (no page refresh)

  • TWEAK: Settings saving now takes place via AJAX (no page refresh)

  • TWEAK: Navigation between different tabs now takes place without a page refresh

  • TWEAK: The "trackback/comments" actions section now operates via AJAX (no page refresh needed)

  • TWEAK: "Refresh" button in the "Status" widget now refreshes via AJAX (no page refresh needed)

  • TWEAK: When saving settings or running an optimization, the "Status" widget now automatically refreshes

  • TWEAK: Make the admin bar menu into a drop-down, making it quicker to access individual tabs

  • TWEAK: Call set_time_limit to reduce the chances of PHP self-terminating via reaching max_execution_time

  • TWEAK: Introduce dashboard notice infrastructure

  • TWEAK: The lines showing information on how many spam/trashed posts and comments existed were incomplete

Download this release

Release Info

Developer DavidAnderson
Plugin Icon 128x128 WP-Optimize
Version 2.1.0
Comparing to
See all releases

Code changes from version 2.0.1 to 2.1.0

Files changed (52) hide show
  1. css/admin.css +132 -0
  2. css/admin.min.css +2 -0
  3. css/admin.min.css.map +1 -0
  4. css/wp-optimize-notices.css +52 -0
  5. css/wp-optimize-notices.min.css +2 -0
  6. css/wp-optimize-notices.min.css.map +1 -0
  7. css/wpo_admin.css +0 -102
  8. images/notices/updraft_logo.png +0 -0
  9. images/notices/wp_optimize_logo.png +0 -0
  10. includes/class-commands.php +118 -0
  11. includes/class-updraftcentral-wp-optimize-commands.php +35 -0
  12. includes/class-wp-optimization.php +23 -25
  13. includes/class-wp-optimize-options.php +24 -59
  14. includes/class-wp-optimizer.php +38 -1
  15. includes/updraft-notices.php +142 -0
  16. includes/updraftcentral.php +33 -0
  17. includes/wp-optimize-notices.php +146 -0
  18. js/admin.js +0 -56
  19. js/queue.js +141 -0
  20. js/queue.min.js +1 -0
  21. js/wpadmin.js +346 -0
  22. js/wpadmin.min.js +1 -0
  23. languages/wp-optimize-fi.mo +0 -0
  24. languages/wp-optimize-fi.po +0 -747
  25. languages/wp-optimize-id_ID.mo +0 -0
  26. languages/wp-optimize-id_ID.po +0 -747
  27. languages/wp-optimize-it_IT.mo +0 -0
  28. languages/wp-optimize-it_IT.po +0 -747
  29. languages/wp-optimize-lt_LT.mo +0 -0
  30. languages/wp-optimize-lt_LT.po +0 -713
  31. languages/wp-optimize-pt_PT.mo +0 -0
  32. languages/wp-optimize-pt_PT.po +0 -896
  33. languages/wp-optimize-sk_SK.mo +0 -0
  34. languages/wp-optimize-sk_SK.po +0 -713
  35. languages/wp-optimize-zh_CN.mo +0 -0
  36. languages/wp-optimize-zh_CN.po +0 -745
  37. languages/wp-optimize.pot +877 -0
  38. optimizations/autodraft.php +18 -4
  39. optimizations/optimizetables.php +2 -1
  40. optimizations/spam.php +20 -4
  41. readme.txt +17 -2
  42. templates/admin-page-header.php +10 -9
  43. templates/admin-settings.php +55 -49
  44. templates/may-also-like.php +5 -5
  45. templates/notices/horizontal-notice.php +52 -0
  46. templates/notices/thanks-for-using-main-dash.php +46 -0
  47. templates/optimizations-table.php +58 -0
  48. templates/optimize-table.php +15 -130
  49. templates/status-box-contents.php +107 -0
  50. templates/tables-body.php +78 -0
  51. templates/tables.php +9 -86
  52. wp-optimize.php +203 -66
css/admin.css ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* big button */
2
+ .wpo_primary_big {
3
+ padding: 4px 6px !important;
4
+ font-size: 22px !important;
5
+ min-height: 34px;
6
+ min-width: 200px; }
7
+
8
+ /* SECTIONS */
9
+ .wpo_section {
10
+ clear: both;
11
+ padding: 0;
12
+ margin: 0; }
13
+
14
+ .wp-optimize-settings {
15
+ margin-bottom: 16px; }
16
+
17
+ /* COLUMN SETUP */
18
+ .wpo_col {
19
+ display: block;
20
+ float: left;
21
+ margin: 1% 0 1% 1%; }
22
+
23
+ .wpo_col:first-child {
24
+ margin-left: 0; }
25
+
26
+ /* GROUPING */
27
+ .wpo_group:before,
28
+ .wpo_group:after {
29
+ content: "";
30
+ display: table; }
31
+
32
+ .wpo_group:after {
33
+ clear: both; }
34
+
35
+ .wpo_half_width {
36
+ width: 48%; }
37
+
38
+ /* GRID OF THREE */
39
+ .wpo_span_3_of_3 {
40
+ width: 100%; }
41
+
42
+ .wpo_span_2_of_3 {
43
+ width: 65.3%; }
44
+
45
+ .wpo_span_1_of_3 {
46
+ width: 32.1%; }
47
+
48
+ .nav-tab-wrapper {
49
+ margin: 14px 0px; }
50
+
51
+ @media screen and (min-width: 549px) {
52
+ .show_on_default_sizes {
53
+ display: block !important; }
54
+ .show_on_mobile_sizes {
55
+ display: none !important; } }
56
+
57
+ @media screen and (max-width: 548px) {
58
+ .show_on_default_sizes {
59
+ display: none !important; }
60
+ .show_on_mobile_sizes {
61
+ display: block !important; } }
62
+
63
+ @media screen and (max-width: 768px) {
64
+ .wpo_col {
65
+ margin: 1% 0; }
66
+ .wpo_span_3_of_3 {
67
+ width: 100%; }
68
+ .wpo_span_2_of_3 {
69
+ width: 100%; }
70
+ .wpo_span_1_of_3 {
71
+ width: 100%; }
72
+ .wpo_half_width {
73
+ width: 100%; } }
74
+
75
+ .wp-optimize-settings-clean-transient label, .wp-optimize-settings-clean-pingbacks label, .wp-optimize-settings-clean-trackbacks label, .wp-optimize-settings-clean-postmeta label, .wp-optimize-settings-clean-orphandata label, .wp-optimize-settings-clean-commentmeta label {
76
+ color: red; }
77
+
78
+ td.wp-optimize-settings-optimization-checkbox {
79
+ width: 18px;
80
+ padding-left: 4px;
81
+ padding-right: 0px; }
82
+
83
+ .wp-optimize-settings-optimization-checkbox input {
84
+ margin: 0px;
85
+ padding: 0px; }
86
+
87
+ #retention-period {
88
+ width: 60px; }
89
+
90
+ .wp-optimize-settings-optimization-info {
91
+ font-size: 80%;
92
+ padding-left: 32px;
93
+ font-style: italic; }
94
+
95
+ .wp-optimize-settings input[type="checkbox"] {
96
+ width: 18px; }
97
+
98
+ /* Added for the Image on Addons tab*/
99
+ img.addons {
100
+ display: block;
101
+ margin-left: auto;
102
+ margin-right: auto;
103
+ width: 260px;
104
+ height: 220px; }
105
+
106
+ .wpo_spinner {
107
+ width: 18px;
108
+ height: 18px;
109
+ padding-left: 10px;
110
+ display: none;
111
+ position: relative;
112
+ top: 4px; }
113
+
114
+ #wp-optimize-auto-options {
115
+ margin-left: 28px; }
116
+
117
+ .display-none {
118
+ display: none; }
119
+
120
+ #save_done {
121
+ color: #d94f00;
122
+ font-size: 250%; }
123
+
124
+ .wp-optimize-settings-optimization-run-spinner {
125
+ position: relative;
126
+ top: 2px; }
127
+
128
+ #wp_optimize_table_list_refresh {
129
+ float: right; }
130
+
131
+ #wp_optimize_table_list_refresh:hover {
132
+ cursor: pointer; }
css/admin.min.css ADDED
@@ -0,0 +1,2 @@
 
 
1
+ .wpo_primary_big{padding:4px 6px !important;font-size:22px !important;min-height:34px;min-width:200px}.wpo_section{clear:both;padding:0;margin:0}.wp-optimize-settings{margin-bottom:16px}.wpo_col{display:block;float:left;margin:1% 0 1% 1%}.wpo_col:first-child{margin-left:0}.wpo_group:before,.wpo_group:after{content:"";display:table}.wpo_group:after{clear:both}.wpo_half_width{width:48%}.wpo_span_3_of_3{width:100%}.wpo_span_2_of_3{width:65.3%}.wpo_span_1_of_3{width:32.1%}.nav-tab-wrapper{margin:14px 0}@media screen and (min-width:549px){.show_on_default_sizes{display:block !important}.show_on_mobile_sizes{display:none !important}}@media screen and (max-width:548px){.show_on_default_sizes{display:none !important}.show_on_mobile_sizes{display:block !important}}@media screen and (max-width:768px){.wpo_col{margin:1% 0}.wpo_span_3_of_3{width:100%}.wpo_span_2_of_3{width:100%}.wpo_span_1_of_3{width:100%}.wpo_half_width{width:100%}}.wp-optimize-settings-clean-transient label,.wp-optimize-settings-clean-pingbacks label,.wp-optimize-settings-clean-trackbacks label,.wp-optimize-settings-clean-postmeta label,.wp-optimize-settings-clean-orphandata label,.wp-optimize-settings-clean-commentmeta label{color:red}td.wp-optimize-settings-optimization-checkbox{width:18px;padding-left:4px;padding-right:0}.wp-optimize-settings-optimization-checkbox input{margin:0;padding:0}#retention-period{width:60px}.wp-optimize-settings-optimization-info{font-size:80%;padding-left:32px;font-style:italic}.wp-optimize-settings input[type="checkbox"]{width:18px}img.addons{display:block;margin-left:auto;margin-right:auto;width:260px;height:220px}.wpo_spinner{width:18px;height:18px;padding-left:10px;display:none;position:relative;top:4px}#wp-optimize-auto-options{margin-left:28px}.display-none{display:none}#save_done{color:#d94f00;font-size:250%}.wp-optimize-settings-optimization-run-spinner{position:relative;top:2px}#wp_optimize_table_list_refresh{float:right}#wp_optimize_table_list_refresh:hover{cursor:pointer}
2
+ /*# sourceMappingURL=admin.min.css.map */
css/admin.min.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["admin.css"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,gBAAgB,CAAC;EAChB,OAAO,EAAE,kBAAmB;EAC5B,SAAS,EAAC,eAAgB;EAC1B,UAAU,EAAE,IAAK;EACjB,SAAS,EAAE,KAAM,GACjB;;AAED,gBAAgB;AAChB,YAAY,CAAC;EACZ,KAAK,EAAE,IAAK;EACZ,OAAO,EAAE,CAAE;EACX,MAAM,EAAE,CAAE,GACV;;AAED,qBAAqB,CAAC;EACrB,aAAa,EAAE,IAAK,GACpB;;AAED,oBAAoB;AACpB,QAAQ,CAAC;EACR,OAAO,EAAE,KAAM;EACf,KAAK,EAAE,IAAK;EACZ,MAAM,EAAE,UAAW,GACnB;;AACD,AAAQ,QAAA,YAAY,CAAC;EACpB,WAAW,EAAE,CAAE,GACf;;AAED,gBAAgB;AAChB,AAAU,UAAA,OAAO;AACjB,AAAU,UAAA,MAAM,CAAC;EAChB,OAAO,EAAE,EAAG;EACZ,OAAO,EAAE,KAAM,GACf;;AACD,AAAU,UAAA,MAAM,CAAC;EAChB,KAAK,EAAE,IAAK,GACZ;;AAED,eAAe,CAAC;EACf,KAAK,EAAE,GAAI,GACX;;AAED,qBAAqB;AACrB,gBAAgB,CAAC;EAChB,KAAK,EAAE,IAAK,GACZ;;AACD,gBAAgB,CAAC;EAChB,KAAK,EAAE,KAAM,GACb;;AACD,gBAAgB,CAAC;EAChB,KAAK,EAAE,KAAM,GACb;;AAED,gBAAgB,CAAC;EAChB,MAAM,EAAE,QAAS,GACjB;;AAED,MAAM,CAAN,MAAM,MAAM,SAAS,EAAE,KAAK;EAC3B,sBAAsB,CAAC;IACtB,OAAO,EAAE,gBAAiB,GAC1B;EACD,qBAAqB,CAAC;IACrB,OAAO,EAAE,eAAgB,GACzB;;AAGF,MAAM,CAAN,MAAM,MAAM,SAAS,EAAE,KAAK;EAC3B,sBAAsB,CAAC;IACtB,OAAO,EAAE,eAAgB,GACzB;EACD,qBAAqB,CAAC;IACrB,OAAO,EAAE,gBAAiB,GAC1B;;AAGF,MAAM,CAAN,MAAM,MAAM,SAAS,EAAE,KAAK;EAC3B,QAAQ,CAAC;IACR,MAAM,EAAE,IAAK,GACb;EACD,gBAAgB,CAAC;IAChB,KAAK,EAAE,IAAK,GACZ;EACD,gBAAgB,CAAC;IAChB,KAAK,EAAE,IAAK,GACZ;EACD,gBAAgB,CAAC;IAChB,KAAK,EAAE,IAAK,GACZ;EACD,eAAe,CAAC;IACf,KAAK,EAAE,IAAK,GACZ;;AAGF,AAAsC,qCAAD,CAAC,KAAK,EAAE,AAAsC,qCAAD,CAAC,KAAK,EAAE,AAAuC,sCAAD,CAAC,KAAK,EAAE,AAAqC,oCAAD,CAAC,KAAK,EAAE,AAAuC,sCAAD,CAAC,KAAK,EAAE,AAAwC,uCAAD,CAAC,KAAK,CAAC;EAC/Q,KAAK,EAAE,GAAI,GACX;;AAED,AAAE,EAAA,2CAA2C,CAAC;EAC7C,KAAK,EAAE,IAAK;EACZ,YAAY,EAAE,GAAI;EAClB,aAAa,EAAE,GAAI,GACnB;;AACD,AAA4C,2CAAD,CAAC,KAAK,CAAC;EACjD,MAAM,EAAE,GAAI;EACZ,OAAO,EAAE,GAAI,GACb;;AAED,iBAAiB,CAAC;EACjB,KAAK,EAAE,IAAK,GACZ;;AAED,uCAAuC,CAAC;EACvC,SAAS,EAAE,GAAI;EACf,YAAY,EAAE,IAAK;EACnB,UAAU,EAAE,MAAO,GACnB;;AAED,AAA2C,qBAAtB,CAAC,KAAK,CAAA,IAAC,CAAK,UAAL,AAAe,EAAE;EAC5C,KAAK,EAAE,IAAK,GACZ;;AAED,sCAAsC;AACtC,AAAG,GAAA,OAAO,CAAC;EACT,OAAO,EAAE,KAAM;EACf,WAAW,EAAE,IAAK;EAClB,YAAY,EAAE,IAAK;EACnB,KAAK,EAAE,KAAM;EACb,MAAM,EAAE,KAAM,GACf;;AAED,YAAY,CAAC;EACZ,KAAK,EAAE,IAAK;EACZ,MAAM,EAAE,IAAK;EACb,YAAY,EAAE,IAAK;EACnB,OAAO,EAAE,IAAK;EACd,QAAQ,EAAE,QAAS;EACnB,GAAG,EAAE,GAAI,GACT;;AAED,yBAAyB,CAAC;EACzB,WAAW,EAAE,IAAK,GAClB;;AAED,aAAa,CAAC;EACb,OAAO,EAAE,IAAK,GACd;;AAED,UAAU,CAAC;EACV,KAAK,EAAE,OAAQ;EACf,SAAS,EAAE,IAAK,GAChB;;AAED,8CAA8C,CAAC;EAC9C,QAAQ,EAAE,QAAS;EACnB,GAAG,EAAE,GAAI,GACT;;AAED,+BAA+B,CAAC;EAC/B,KAAK,EAAE,KAAM,GACb;;AACD,AAA+B,+BAAA,MAAM,CAAC;EACrC,MAAM,EAAE,OAAQ,GAChB","file":"admin.min.css","sourcesContent":["/* big button */\n.wpo_primary_big {\n\tpadding: 4px 6px !important;\n\tfont-size:22px !important;\n\tmin-height: 34px;\n\tmin-width: 200px;\n}\n\n/* SECTIONS */\n.wpo_section {\n\tclear: both;\n\tpadding: 0;\n\tmargin: 0;\n}\n\n.wp-optimize-settings {\n\tmargin-bottom: 16px;\n}\n\n/* COLUMN SETUP */\n.wpo_col {\n\tdisplay: block;\n\tfloat: left;\n\tmargin: 1% 0 1% 1%;\n}\n.wpo_col:first-child {\n\tmargin-left: 0;\n}\n\n/* GROUPING */\n.wpo_group:before,\n.wpo_group:after {\n\tcontent: \"\";\n\tdisplay: table;\n}\n.wpo_group:after {\n\tclear: both;\n}\n\n.wpo_half_width {\n\twidth: 48%;\n}\n\n/* GRID OF THREE */\n.wpo_span_3_of_3 {\n\twidth: 100%;\n}\n.wpo_span_2_of_3 {\n\twidth: 65.3%;\n}\n.wpo_span_1_of_3 {\n\twidth: 32.1%;\n}\n\n.nav-tab-wrapper {\n\tmargin: 14px 0px;\n}\n\n@media screen and (min-width: 549px) {\n\t.show_on_default_sizes {\n\t\tdisplay: block !important;\n\t}\n\t.show_on_mobile_sizes {\n\t\tdisplay: none !important;\n\t}\n}\n\n@media screen and (max-width: 548px) {\n\t.show_on_default_sizes {\n\t\tdisplay: none !important;\n\t}\n\t.show_on_mobile_sizes {\n\t\tdisplay: block !important;\n\t}\n}\n\n@media screen and (max-width: 768px) {\n\t.wpo_col {\n\t\tmargin: 1% 0;\n\t}\n\t.wpo_span_3_of_3 {\n\t\twidth: 100%;\n\t}\n\t.wpo_span_2_of_3 {\n\t\twidth: 100%;\n\t}\n\t.wpo_span_1_of_3 {\n\t\twidth: 100%;\n\t}\n\t.wpo_half_width {\n\t\twidth: 100%;\n\t}\n}\n\n.wp-optimize-settings-clean-transient label, .wp-optimize-settings-clean-pingbacks label, .wp-optimize-settings-clean-trackbacks label, .wp-optimize-settings-clean-postmeta label, .wp-optimize-settings-clean-orphandata label, .wp-optimize-settings-clean-commentmeta label {\n\tcolor: red;\n}\n\ntd.wp-optimize-settings-optimization-checkbox {\n\twidth: 18px;\n\tpadding-left: 4px;\n\tpadding-right: 0px;\n}\n.wp-optimize-settings-optimization-checkbox input {\n\tmargin: 0px;\n\tpadding: 0px;\n}\n\n#retention-period {\n\twidth: 60px;\n}\n\n.wp-optimize-settings-optimization-info {\n\tfont-size: 80%;\n\tpadding-left: 32px;\n\tfont-style: italic;\n}\n\n.wp-optimize-settings input[type=\"checkbox\"] {\n\twidth: 18px;\n}\n\n/* Added for the Image on Addons tab*/\nimg.addons {\n display: block;\n margin-left: auto;\n margin-right: auto;\n width: 260px;\n height: 220px;\n}\n\n.wpo_spinner {\n\twidth: 18px;\n\theight: 18px;\n\tpadding-left: 10px;\n\tdisplay: none;\n\tposition: relative;\n\ttop: 4px;\n}\n\n#wp-optimize-auto-options {\n\tmargin-left: 28px;\n}\n\n.display-none {\n\tdisplay: none;\n}\n\n#save_done {\n\tcolor: #d94f00;\n\tfont-size: 250%;\n}\n\n.wp-optimize-settings-optimization-run-spinner {\n\tposition: relative;\n\ttop: 2px;\n}\n\n#wp_optimize_table_list_refresh {\n\tfloat: right;\n}\n#wp_optimize_table_list_refresh:hover {\n\tcursor: pointer;\n}\n"]}
css/wp-optimize-notices.css ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* CSS for adverts */
2
+ .updraft-ad-container {
3
+ margin-left: 0px !important; }
4
+
5
+ .updraft_notice_container {
6
+ height: auto;
7
+ overflow: hidden; }
8
+
9
+ .updraft_advert_content_left {
10
+ float: none;
11
+ width: 65px; }
12
+
13
+ .updraft_advert_content_right {
14
+ float: none;
15
+ width: auto;
16
+ overflow: hidden; }
17
+
18
+ .updraft_advert_bottom {
19
+ margin: 10px 0;
20
+ padding: 10px;
21
+ font-size: 140%;
22
+ background-color: white;
23
+ border-color: #E6DB55;
24
+ border: 1px solid;
25
+ border-radius: 4px; }
26
+
27
+ .updraft-advert-dismiss {
28
+ float: right;
29
+ font-size: 13px;
30
+ font-weight: normal; }
31
+
32
+ h3.updraft_advert_heading {
33
+ margin-top: 5px !important;
34
+ margin-bottom: 5px !important; }
35
+
36
+ h4.updraft_advert_heading {
37
+ margin-top: 2px !important;
38
+ margin-bottom: 3px !important; }
39
+
40
+ .updraft_center_content {
41
+ text-align: center;
42
+ margin-bottom: 5px; }
43
+
44
+ .updraft_notice_link {
45
+ padding-left: 5px; }
46
+
47
+ .updraft_text_center {
48
+ text-align: center; }
49
+
50
+ @media screen and (min-width: 560px) {
51
+ .updraft_advert_content_left {
52
+ float: left; } }
css/wp-optimize-notices.min.css ADDED
@@ -0,0 +1,2 @@
 
 
1
+ .updraft-ad-container{margin-left:0 !important}.updraft_notice_container{height:auto;overflow:hidden}.updraft_advert_content_left{float:none;width:65px}.updraft_advert_content_right{float:none;width:auto;overflow:hidden}.updraft_advert_bottom{margin:10px 0;padding:10px;font-size:140%;background-color:white;border-color:#e6db55;border:1px solid;border-radius:4px}.updraft-advert-dismiss{float:right;font-size:13px;font-weight:normal}h3.updraft_advert_heading{margin-top:5px !important;margin-bottom:5px !important}h4.updraft_advert_heading{margin-top:2px !important;margin-bottom:3px !important}.updraft_center_content{text-align:center;margin-bottom:5px}.updraft_notice_link{padding-left:5px}.updraft_text_center{text-align:center}@media screen and (min-width:560px){.updraft_advert_content_left{float:left}}
2
+ /*# sourceMappingURL=wp-optimize-notices.min.css.map */
css/wp-optimize-notices.min.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["wp-optimize-notices.css"],"names":[],"mappings":"AAAA,qBAAqB;AAErB,qBAAqB,CAAC;EACrB,WAAW,EAAE,cAAe,GAC5B;;AAED,yBAAyB,CAAC;EACzB,MAAM,EAAE,IAAK;EACb,QAAQ,EAAE,MAAO,GACjB;;AAED,4BAA4B,CAAC;EAC5B,KAAK,EAAC,IAAK;EACX,KAAK,EAAC,IAAK,GACX;;AAED,6BAA6B,CAAC;EAC7B,KAAK,EAAC,IAAK;EACX,KAAK,EAAC,IAAK;EACX,QAAQ,EAAE,MAAO,GACjB;;AAED,sBAAsB,CAAC;EACtB,MAAM,EAAE,MAAO;EACf,OAAO,EAAE,IAAK;EACd,SAAS,EAAE,IAAK;EAChB,gBAAgB,EAAE,KAAM;EACxB,YAAY,EAAE,OAAQ;EACtB,MAAM,EAAE,SAAU;EAClB,aAAa,EAAE,GAAI,GACnB;;AAED,uBAAuB,CAAC;EACvB,KAAK,EAAE,KAAM;EACb,SAAS,EAAE,IAAK;EAChB,WAAW,EAAE,MAAO,GACpB;;AAED,AAAE,EAAA,uBAAuB,CAAC;EACzB,UAAU,EAAE,cAAe;EAC3B,aAAa,EAAE,cAAe,GAC9B;;AAED,AAAE,EAAA,uBAAuB,CAAC;EACzB,UAAU,EAAE,cAAe;EAC3B,aAAa,EAAE,cAAe,GAC9B;;AAED,uBAAuB,CAAC;EACvB,UAAU,EAAE,MAAO;EACnB,aAAa,EAAC,GAAI,GAClB;;AAED,oBAAoB,CAAC;EACpB,YAAY,EAAC,GAAI,GACjB;;AAED,oBAAoB,CAAC;EACpB,UAAU,EAAE,MAAO,GACnB;;AAED,MAAM,CAAN,MAAM,MAAM,SAAS,EAAE,KAAK;EAC3B,4BAA4B,CAAC;IAC5B,KAAK,EAAE,IAAK,GACZ","file":"wp-optimize-notices.min.css","sourcesContent":["/* CSS for adverts */\n\n.updraft-ad-container {\n\tmargin-left: 0px !important;\n}\n\n.updraft_notice_container {\n\theight: auto;\n\toverflow: hidden;\n}\n\n.updraft_advert_content_left {\n\tfloat:none; \n\twidth:65px;\n}\n\n.updraft_advert_content_right {\n\tfloat:none;\n\twidth:auto;\n\toverflow: hidden;\n}\n\n.updraft_advert_bottom {\n\tmargin: 10px 0; \n\tpadding: 10px; \n\tfont-size: 140%; \n\tbackground-color: white; \n\tborder-color: #E6DB55; \n\tborder: 1px solid; \n\tborder-radius: 4px;\n}\n\n.updraft-advert-dismiss {\n\tfloat: right;\n\tfont-size: 13px;\n\tfont-weight: normal;\n}\n\nh3.updraft_advert_heading {\n\tmargin-top: 5px !important;\n\tmargin-bottom: 5px !important;\n}\n\nh4.updraft_advert_heading {\n\tmargin-top: 2px !important;\n\tmargin-bottom: 3px !important;\n}\n\n.updraft_center_content {\n\ttext-align: center;\n\tmargin-bottom:5px;\n}\n\n.updraft_notice_link {\n\tpadding-left:5px;\n}\n\n.updraft_text_center {\n\ttext-align: center;\n}\n\n@media screen and (min-width: 560px) {\n\t.updraft_advert_content_left {\n\t\tfloat: left;\n\t}\n}\n"]}
css/wpo_admin.css DELETED
@@ -1,102 +0,0 @@
1
- /* big button */
2
- .wpo_primary_big {
3
- padding: 4px 6px !important;
4
- font-size:22px !important;
5
- min-height: 34px;
6
- min-width: 200px;
7
- }
8
-
9
- /* SECTIONS */
10
- .wpo_section {
11
- clear: both;
12
- padding: 0;
13
- margin: 0;
14
- }
15
-
16
- .wp-optimize-settings {
17
- margin-bottom: 16px;
18
- }
19
-
20
- /* COLUMN SETUP */
21
- .wpo_col {
22
- display: block;
23
- float: left;
24
- margin: 1% 0 1% 1%;
25
- }
26
- .wpo_col:first-child {
27
- margin-left: 0;
28
- }
29
-
30
- /* GROUPING */
31
- .wpo_group:before,
32
- .wpo_group:after {
33
- content: "";
34
- display: table;
35
- }
36
- .wpo_group:after {
37
- clear: both;
38
- }
39
-
40
- .wpo_half_width {
41
- width: 48%;
42
- }
43
-
44
- /* GRID OF THREE */
45
- .wpo_span_3_of_3 {
46
- width: 100%;
47
- }
48
- .wpo_span_2_of_3 {
49
- width: 66.3%;
50
- }
51
- .wpo_span_1_of_3 {
52
- width: 32.1%;
53
- }
54
-
55
- .nav-tab-wrapper {
56
- margin: 14px 0px;
57
- }
58
-
59
- @media screen and (max-width: 768px) {
60
- .wpo_col {
61
- margin: 1% 0;
62
- }
63
- .wpo_span_3_of_3 {
64
- width: 100%;
65
- }
66
- .wpo_span_2_of_3 {
67
- width: 100%;
68
- }
69
- .wpo_span_1_of_3 {
70
- width: 100%;
71
- }
72
- .wpo_half_width {
73
- width: 100%;
74
- }
75
- }
76
-
77
- .wp-optimize-settings-clean-transient label, .wp-optimize-settings-clean-pingbacks label, .wp-optimize-settings-clean-trackbacks label, .wp-optimize-settings-clean-postmeta label, .wp-optimize-settings-clean-orphandata label, .wp-optimize-settings-clean-commentmeta label {
78
- color: red;
79
- }
80
-
81
- #retention-period {
82
- width: 60px;
83
- }
84
-
85
- .wp-optimize-settings-optimization-info {
86
- font-size: 80%;
87
- padding-left: 32px;
88
- font-style: italic;
89
- }
90
-
91
- .wp-optimize-settings input[type="checkbox"] {
92
- width: 18px;
93
- }
94
-
95
- /* Added for the Image on Addons tab*/
96
- img.addons {
97
- display: block;
98
- margin-left: auto;
99
- margin-right: auto;
100
- width: 260px;
101
- height: 220px;
102
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
images/notices/updraft_logo.png ADDED
Binary file
images/notices/wp_optimize_logo.png ADDED
Binary file
includes/class-commands.php ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('WPO_PLUGIN_MAIN_PATH')) die('No direct access allowed');
4
+
5
+ /*
6
+
7
+ All commands that are intended to be available for calling from any sort of control interface (e.g. wp-admin, UpdraftCentral) go in here.
8
+
9
+ All public methods should either return the data to be returned, or a WP_Error with associated error code, message and error data.
10
+
11
+ */
12
+
13
+ class WP_Optimize_Commands {
14
+
15
+ private $optimizer;
16
+ private $options;
17
+
18
+ public function __construct() {
19
+ $this->optimizer = WP_Optimize()->get_optimizer();
20
+ $this->options = WP_Optimize()->get_options();
21
+ }
22
+
23
+ public function get_version() {
24
+ return WPO_VERSION;
25
+ }
26
+
27
+ public function enable_or_disable_feature($data) {
28
+
29
+ $type = (string)$data['type'];
30
+ $enable = (boolean)$data['enable'];
31
+
32
+ $options = array($type => $enable);
33
+
34
+ return $this->optimizer->trackback_comment_actions($options);
35
+
36
+ }
37
+
38
+ public function save_manual_run_optimization_options($sent_options) {
39
+ return $this->options->save_sent_manual_run_optimization_options($sent_options);
40
+ }
41
+
42
+ public function get_status_box_contents() {
43
+ return WP_Optimize()->include_template('status-box-contents.php', true, array('optimize_db' => false));
44
+ }
45
+
46
+ public function get_optimizations_table() {
47
+ return WP_Optimize()->include_template('optimizations-table.php', true);
48
+ }
49
+
50
+ public function save_settings($data) {
51
+
52
+ parse_str(stripslashes($data), $posted_settings);
53
+
54
+ // We now have $posted_settings as an array
55
+
56
+ return array(
57
+ 'save_results' => $this->options->save_settings($posted_settings),
58
+ 'status_box_contents' => $this->get_status_box_contents(),
59
+ 'optimizations_table' => $this->get_optimizations_table(),
60
+ );
61
+
62
+ }
63
+
64
+ public function do_optimization($data) {
65
+
66
+ if (!isset($data['optimization_id'])) {
67
+
68
+ $results = array(
69
+ 'result' => false,
70
+ 'messages' => array(),
71
+ 'errors' => array(
72
+ __('No optimization was indicated.', 'wp-optimize')
73
+ )
74
+ );
75
+
76
+ } else {
77
+
78
+ $optimization_id = $data['optimization_id'];
79
+
80
+ $optimization = $this->optimizer->get_optimization($optimization_id);
81
+
82
+ $result = is_a($optimization, 'WP_Optimization') ? $optimization->do_optimization() : null;
83
+
84
+ $results = array(
85
+ 'result' => $result,
86
+ 'messages' => array(),
87
+ 'errors' => array(),
88
+ 'status_box_contents' => $this->get_status_box_contents()
89
+ );
90
+
91
+ if (is_wp_error($optimization)) {
92
+ $results['errors'][] = $optimization->get_error_message().' ('.$optimization->get_error_code().')';
93
+ }
94
+
95
+ if ($optimization->get_changes_table_data()) {
96
+ $table_list = $this->get_table_list();
97
+ $results['table_list'] = $table_list['table_list'];
98
+ $results['total_size'] = $table_list['total_size'];
99
+ }
100
+
101
+ }
102
+
103
+ return $results;
104
+
105
+ }
106
+
107
+ public function get_table_list() {
108
+
109
+ list ($total_size, $part2) = $this->optimizer->get_current_db_size();
110
+
111
+ return array(
112
+ 'table_list' => WP_Optimize()->include_template('tables-body.php', true, array('optimize_db' => false)),
113
+ 'total_size' => $total_size
114
+ );
115
+
116
+ }
117
+
118
+ }
includes/class-updraftcentral-wp-optimize-commands.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('WPO_PLUGIN_MAIN_PATH')) die('No direct access allowed');
3
+
4
+ /*
5
+ This is a small glue class, which makes available all the commands in WP_Optimize_Commands, and translates the response from WP_Optimize_Commands (which is either data to return, or a WP_Error) into the format used by UpdraftCentral.
6
+ */
7
+
8
+ class UpdraftCentral_WP_Optimize_Commands extends UpdraftCentral_Commands {
9
+
10
+ private $commands;
11
+
12
+ public function __construct() {
13
+
14
+ if (!class_exists('WP_Optimize_Commands')) require_once(WPO_PLUGIN_MAIN_PATH.'includes/class-commands.php');
15
+ $this->commands = new WP_Optimize_Commands();
16
+
17
+ }
18
+
19
+ public function __call($name, $arguments) {
20
+
21
+ $result = call_user_func_array(array($this->commands, $name), $arguments);
22
+
23
+ if (is_wp_error($result)) {
24
+
25
+ return $this->_generic_error_response($result->get_error_code(), $result->get_error_data());
26
+
27
+ } else {
28
+
29
+ return $this->_response($result);
30
+
31
+ }
32
+
33
+ }
34
+
35
+ }
includes/class-wp-optimization.php CHANGED
@@ -19,6 +19,8 @@ abstract class WP_Optimization {
19
 
20
  protected $ui_sort_order;
21
  protected $run_sort_order = 1000;
 
 
22
 
23
  protected $optimizer;
24
  protected $options;
@@ -101,11 +103,20 @@ abstract class WP_Optimization {
101
  return empty($this->auto_id) ? $this->id : $this->auto_id;
102
  }
103
 
 
 
 
 
 
 
 
 
104
  // Only used if $available_for_auto is true, in which case this function should be over-ridden
105
  public function get_auto_option_description() {
106
  return 'Error: missing automatic option description ('.$this->id.')';
107
  }
108
 
 
109
  public function get_results() {
110
 
111
  // As yet, we have no need for a dedicated object type for our results
@@ -118,7 +129,7 @@ abstract class WP_Optimization {
118
  return apply_filters('wp_optimize_optimization_results', $results, $this->id, $this);
119
  }
120
 
121
- public function output_settings_html() {
122
 
123
  $wpo_user_selection = $this->options->get_main_settings();
124
  $setting_id = $this->get_setting_id();
@@ -127,35 +138,22 @@ abstract class WP_Optimization {
127
  // N.B. Some of the optimizations used to have an onclick call to fCheck(). But that function was commented out, so did nothing.
128
 
129
  $settings_label = $this->settings_label();
130
-
131
  $setting_activated = (empty($wpo_user_selection[$setting_id]) || 'false' == $wpo_user_selection[$setting_id]) ? false : true;
132
 
133
- if (!empty($settings_label)) {
134
-
135
- ?>
136
- <div class="wp-optimize-settings wp-optimize-settings-<?php echo $dom_id;?>">
137
-
138
- <input name="<?php echo $dom_id;?>" id="<?php echo $dom_id;?>" type="checkbox" value="true" <?php if ($setting_activated) echo 'checked="checked"';?>>
139
-
140
- <label for="<?php echo $dom_id;?>"><?php echo $settings_label; ?></label>
141
-
142
- <br>
143
-
144
- <div class="wp-optimize-settings-optimization-info"><?php
145
- $results = $this->get_optimization_info()->output;
146
- $subsequent_one = false;
147
- foreach ($results as $key => $line) {
148
- if ($subsequent_one) { echo '<br>'; } else { $subsequent_one = true; }
149
- echo $line;
150
- }
151
- ?></div>
152
-
153
- </div>
154
- <?php
155
- } else {
156
  // error_log, as this is a defect
157
  error_log("Optimization with setting ID ".$setting_id." lacks a settings label (method: settings_label())");
158
  }
 
 
159
  }
160
 
161
  }
19
 
20
  protected $ui_sort_order;
21
  protected $run_sort_order = 1000;
22
+ // This property indicates whether running this optimization is likely to change the overall table optimization state. We set this to 'true' on optimizations that run SQL OPTIMIZE commands. It is only used for the UI. Strictly, of course, any optimization that deletes something can cause increased fragmentation; so; in that sense, it would be true for every optimization; but since we are just using it to keep the UI reasonably fresh, and since there is a manual "refresh" button, we set it only on some optimisations.
23
+ protected $changes_table_data;
24
 
25
  protected $optimizer;
26
  protected $options;
103
  return empty($this->auto_id) ? $this->id : $this->auto_id;
104
  }
105
 
106
+ public function get_changes_table_data() {
107
+ return empty($this->changes_table_data) ? false : true;
108
+ }
109
+
110
+ public function get_run_sort_order() {
111
+ return empty($this->run_sort_order) ? 0 : $this->run_sort_order;
112
+ }
113
+
114
  // Only used if $available_for_auto is true, in which case this function should be over-ridden
115
  public function get_auto_option_description() {
116
  return 'Error: missing automatic option description ('.$this->id.')';
117
  }
118
 
119
+ // What is returned must be at least convertible to an array
120
  public function get_results() {
121
 
122
  // As yet, we have no need for a dedicated object type for our results
129
  return apply_filters('wp_optimize_optimization_results', $results, $this->id, $this);
130
  }
131
 
132
+ public function get_settings_html() {
133
 
134
  $wpo_user_selection = $this->options->get_main_settings();
135
  $setting_id = $this->get_setting_id();
138
  // N.B. Some of the optimizations used to have an onclick call to fCheck(). But that function was commented out, so did nothing.
139
 
140
  $settings_label = $this->settings_label();
141
+
142
  $setting_activated = (empty($wpo_user_selection[$setting_id]) || 'false' == $wpo_user_selection[$setting_id]) ? false : true;
143
 
144
+ $settings_html = array(
145
+ 'dom_id' => $dom_id,
146
+ 'activated' => $setting_activated,
147
+ 'settings_label' => $settings_label,
148
+ 'info' => $this->get_optimization_info()->output,
149
+ );
150
+
151
+ if (empty($settings_label)) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  // error_log, as this is a defect
153
  error_log("Optimization with setting ID ".$setting_id." lacks a settings label (method: settings_label())");
154
  }
155
+
156
+ return $settings_html;
157
  }
158
 
159
  }
includes/class-wp-optimize-options.php CHANGED
@@ -38,32 +38,27 @@ class WP_Optimize_Options {
38
 
39
  return apply_filters(
40
  'wp_optimize_option_keys',
41
- array('weekly-schedule', 'schedule', 'retention-enabled', 'retention-period', 'last-optimized', 'enable-admin-menu', 'schedule-type', 'total-cleaned', 'current-cleaned', 'email-address', 'email', 'auto', 'settings')
42
  );
43
  }
44
 
45
  // This particular option has its own functions abstracted to make it easier to change the format in future, and to allow callers to always assume the latest format (because get_main_settings() will convert, if needed)
46
- private function save_main_settings($settings) {
47
  $settings['last_saved_in'] = WPO_VERSION;
48
- $this->update_option('settings', $settings);
49
  }
50
 
51
  public function get_main_settings() {
52
  return $this->get_option('settings');
53
  }
54
 
55
- public function save_posted_settings() {
56
-
57
- if ('POST' != $_SERVER['REQUEST_METHOD']) return array();
58
-
59
- // Nonce check
60
- check_admin_referer('wpo_settings');
61
 
62
  $optimizer = WP_Optimize()->get_optimizer();
63
 
64
- $output = array();
65
 
66
- if (isset($_POST["enable-schedule"])) {
67
 
68
  $this->update_option('schedule', 'true');
69
 
@@ -75,8 +70,8 @@ class WP_Optimize_Options {
75
 
76
  }*/
77
 
78
- if (isset($_POST["schedule_type"])) {
79
- $schedule_type = (string)$_POST['schedule_type'];
80
  $this->update_option('schedule-type', $schedule_type);
81
  } else {
82
  $this->update_option('schedule-type', 'wpo_weekly');
@@ -89,35 +84,35 @@ class WP_Optimize_Options {
89
  $this->update_option('schedule-type', 'wpo_weekly');
90
  wpo_cron_deactivate();
91
  }
92
- if (isset($_POST["enable-retention"])) {
93
- $retention_period = (int)$_POST['retention-period'];
94
  $this->update_option('retention-enabled', 'true');
95
  $this->update_option('retention-period', $retention_period);
96
  } else {
97
  $this->update_option('retention-enabled', 'false');
98
  }
99
 
100
- if (isset($_POST['enable-admin-bar'])) {
101
  $this->update_option('enable-admin-menu', 'true');
102
  } else {
103
  $this->update_option('enable-admin-menu', 'false');
104
  }
105
 
106
- if (isset($_POST["enable-email"])) {
107
  // $this->update_option('enable-email', 'true');
108
  } else {
109
  //$this->update_option('enable-email', 'false');
110
  }
111
 
112
- if (isset($_POST["enable-email-address"])) {
113
- //$this->update_option('enable-email-address', wp_unslash( $_POST["enable-email-address"] ) );
114
  } else {
115
  //$this->update_option('enable-email-address', get_bloginfo ( 'admin_email' ) );
116
  }
117
 
118
- if (isset($_POST['wp-optimize-settings'])) {
119
 
120
- $new_options = isset($_POST['wp-optimize-auto']) ? $_POST['wp-optimize-auto'] : array();
121
 
122
  if (!is_array($new_options)) $new_options = array();
123
 
@@ -139,57 +134,27 @@ class WP_Optimize_Options {
139
 
140
  }
141
 
142
- if (isset($_POST['wp-optimize-disable-enable-trackbacks'])) {
143
-
144
- if (0 == $_POST['wp-optimize-disable-enable-trackbacks']) {
145
- $optimizer->enable_linkbacks('trackbacks', false);
146
- $output[] = __('Trackbacks disabled on all current and previously published posts', 'wp-optimize');
147
-
148
- }
149
-
150
- if (1 == $_POST['wp-optimize-disable-enable-trackbacks']) {
151
- $optimizer->enable_linkbacks('trackbacks');
152
- $output[] = __('Trackbacks enabled on all current and previously published posts', 'wp-optimize');
153
- }
154
- }
155
-
156
- if( isset($_POST['wp-optimize-disable-enable-comments']) ) {
157
-
158
- if (0 == $_POST['wp-optimize-disable-enable-comments']) {
159
- $optimizer->enable_linkbacks('comments', false);
160
- $output[] = __('Comments disabled on all current and previously published posts', 'wp-optimize');
161
- }
162
-
163
- if (1 == $_POST['wp-optimize-disable-enable-comments']) {
164
- $optimizer->enable_linkbacks('comments');
165
- $output[] = __('Comments enabled on all current and previously published posts', 'wp-optimize');
166
- }
167
- }
168
-
169
- $output[] = __('Settings updated', 'wp-optimize');
170
 
171
  return $output;
172
 
173
  }
174
 
175
- public function save_posted_options() {
 
176
 
177
- if (!isset($_POST['wp-optimize'])) return;
178
-
179
  $optimizations = WP_Optimize()->get_optimizer()->get_optimizations();
180
  $user_options = array();
181
-
182
- foreach ($optimizations as $optimization) {
183
  // In current code, not all options can be saved.
184
  ///: revisions, drafts, spams, unapproved, optimize
185
  if (empty($optimization->available_for_saving)) continue;
186
  $setting_id = $optimization->get_setting_id();
187
- $dom_id = $optimization->get_dom_id();
188
  // 'true' / 'false' are indeed strings here; this is the historical state. It may be possible to change later using our abstraction interface.
189
- $user_options[$setting_id] = isset($_POST[$dom_id]) ? 'true' : 'false';
190
  }
191
-
192
- $this->save_main_settings($user_options);
193
 
194
  }
195
 
@@ -300,7 +265,7 @@ class WP_Optimize_Options {
300
 
301
  }
302
 
303
- $this->save_main_settings($new_settings);
304
  }
305
 
306
  }
38
 
39
  return apply_filters(
40
  'wp_optimize_option_keys',
41
+ array('weekly-schedule', 'schedule', 'retention-enabled', 'retention-period', 'last-optimized', 'enable-admin-menu', 'schedule-type', 'total-cleaned', 'current-cleaned', 'email-address', 'email', 'auto', 'settings', 'dismiss_page_notice_until', 'dismiss_dash_notice_until')
42
  );
43
  }
44
 
45
  // This particular option has its own functions abstracted to make it easier to change the format in future, and to allow callers to always assume the latest format (because get_main_settings() will convert, if needed)
46
+ private function save_manual_run_optimizations_settings($settings) {
47
  $settings['last_saved_in'] = WPO_VERSION;
48
+ return $this->update_option('settings', $settings);
49
  }
50
 
51
  public function get_main_settings() {
52
  return $this->get_option('settings');
53
  }
54
 
55
+ public function save_settings($settings) {
 
 
 
 
 
56
 
57
  $optimizer = WP_Optimize()->get_optimizer();
58
 
59
+ $output = array('messages' => array(), 'errors' => array());
60
 
61
+ if (!empty($settings["enable-schedule"])) {
62
 
63
  $this->update_option('schedule', 'true');
64
 
70
 
71
  }*/
72
 
73
+ if (isset($settings["schedule_type"])) {
74
+ $schedule_type = (string)$settings['schedule_type'];
75
  $this->update_option('schedule-type', $schedule_type);
76
  } else {
77
  $this->update_option('schedule-type', 'wpo_weekly');
84
  $this->update_option('schedule-type', 'wpo_weekly');
85
  wpo_cron_deactivate();
86
  }
87
+ if (!empty($settings["enable-retention"])) {
88
+ $retention_period = (int)$settings['retention-period'];
89
  $this->update_option('retention-enabled', 'true');
90
  $this->update_option('retention-period', $retention_period);
91
  } else {
92
  $this->update_option('retention-enabled', 'false');
93
  }
94
 
95
+ if (!empty($settings['enable-admin-bar'])) {
96
  $this->update_option('enable-admin-menu', 'true');
97
  } else {
98
  $this->update_option('enable-admin-menu', 'false');
99
  }
100
 
101
+ if (!empty($settings["enable-email"])) {
102
  // $this->update_option('enable-email', 'true');
103
  } else {
104
  //$this->update_option('enable-email', 'false');
105
  }
106
 
107
+ if (!empty($settings["enable-email-address"])) {
108
+ //$this->update_option('enable-email-address', wp_unslash( $settings["enable-email-address"] ) );
109
  } else {
110
  //$this->update_option('enable-email-address', get_bloginfo ( 'admin_email' ) );
111
  }
112
 
113
+ if (!empty($settings["schedule_type"])) {
114
 
115
+ $new_options = isset($settings['wp-optimize-auto']) ? $settings['wp-optimize-auto'] : array();
116
 
117
  if (!is_array($new_options)) $new_options = array();
118
 
134
 
135
  }
136
 
137
+ $output['messages'][] = __('Settings updated.', 'wp-optimize');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
 
139
  return $output;
140
 
141
  }
142
 
143
+ // The $use_dom_id parameter is legacy, for when saving options not with AJAX (in which case the dom ID comes via the $_POST array)
144
+ public function save_sent_manual_run_optimization_options($sent_options, $use_dom_id = false) {
145
 
 
 
146
  $optimizations = WP_Optimize()->get_optimizer()->get_optimizations();
147
  $user_options = array();
148
+ foreach ($optimizations as $optimization_id => $optimization) {
 
149
  // In current code, not all options can be saved.
150
  ///: revisions, drafts, spams, unapproved, optimize
151
  if (empty($optimization->available_for_saving)) continue;
152
  $setting_id = $optimization->get_setting_id();
153
+ $id_in_sent = $use_dom_id ? $optimization->get_dom_id() : $optimization_id;
154
  // 'true' / 'false' are indeed strings here; this is the historical state. It may be possible to change later using our abstraction interface.
155
+ $user_options[$setting_id] = isset($sent_options[$id_in_sent]) ? 'true' : 'false';
156
  }
157
+ return $this->save_manual_run_optimizations_settings($user_options);
 
158
 
159
  }
160
 
265
 
266
  }
267
 
268
+ $this->save_manual_run_optimizations_settings($new_settings);
269
  }
270
 
271
  }
includes/class-wp-optimizer.php CHANGED
@@ -88,7 +88,7 @@ class WP_Optimizer {
88
 
89
  // This method returns an object for a specific optimization
90
  // This will return a WP_Error if the requested optimization is not found
91
- private function get_optimization($which_optimization) {
92
 
93
  $optimization_class = apply_filters('wp_optimize_optimization_class', 'WP_Optimization_'.$which_optimization);
94
 
@@ -160,8 +160,12 @@ class WP_Optimizer {
160
 
161
  $results = array();
162
 
 
 
163
  $optimizations = $this->sort_optimizations($this->get_optimizations(), 'run_sort_order');
164
 
 
 
165
  foreach ($optimizations as $optimization_id => $optimization) {
166
 
167
  $option_id = call_user_func(array($optimization, 'get_'.$which_option.'_id'));
@@ -170,6 +174,9 @@ class WP_Optimizer {
170
 
171
  if ('auto' == $which_option && empty($optimization->available_for_auto)) continue;
172
 
 
 
 
173
  $results[$optimization_id] = $this->do_optimization($optimization_id);
174
 
175
  }
@@ -322,4 +329,34 @@ class WP_Optimizer {
322
  return $total_now;
323
  }
324
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  }
88
 
89
  // This method returns an object for a specific optimization
90
  // This will return a WP_Error if the requested optimization is not found
91
+ public function get_optimization($which_optimization) {
92
 
93
  $optimization_class = apply_filters('wp_optimize_optimization_class', 'WP_Optimization_'.$which_optimization);
94
 
160
 
161
  $results = array();
162
 
163
+ if (empty($optimization_options)) return $results;
164
+
165
  $optimizations = $this->sort_optimizations($this->get_optimizations(), 'run_sort_order');
166
 
167
+ $time_limit = (defined('WP_OPTIMIZE_SET_TIME_LIMIT') && WP_OPTIMIZE_SET_TIME_LIMIT>15) ? WP_OPTIMIZE_SET_TIME_LIMIT : 1800;
168
+
169
  foreach ($optimizations as $optimization_id => $optimization) {
170
 
171
  $option_id = call_user_func(array($optimization, 'get_'.$which_option.'_id'));
174
 
175
  if ('auto' == $which_option && empty($optimization->available_for_auto)) continue;
176
 
177
+ // Try to reduce the chances of PHP self-terminating via reaching max_execution_time
178
+ @set_time_limit($time_limit);
179
+
180
  $results[$optimization_id] = $this->do_optimization($optimization_id);
181
 
182
  }
329
  return $total_now;
330
  }
331
 
332
+
333
+ public function trackback_comment_actions($options) {
334
+
335
+ $output = array();
336
+
337
+ if(isset($options['comments'])) {
338
+
339
+ if (!$options['comments']) {
340
+ $this->enable_linkbacks('comments', false);
341
+ $output[] = __('Comments have now been disabled on all current and previously published posts.', 'wp-optimize');
342
+ } else {
343
+ $this->enable_linkbacks('comments');
344
+ $output[] = __('Comments have now been enabled on all current and previously published posts.', 'wp-optimize');
345
+ }
346
+ }
347
+
348
+ if (isset($options['trackbacks'])) {
349
+ if (!$options['trackbacks']) {
350
+ $this->enable_linkbacks('trackbacks', false);
351
+ $output[] = __('Trackbacks have now been disabled on all current and previously published posts.', 'wp-optimize');
352
+
353
+ } else {
354
+ $this->enable_linkbacks('trackbacks');
355
+ $output[] = __('Trackbacks have now been enabled on all current and previously published posts.', 'wp-optimize');
356
+ }
357
+ }
358
+
359
+ return array('output' => $output);
360
+ }
361
+
362
  }
includes/updraft-notices.php ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) die('No direct access allowed');
4
+
5
+ // If we ever change the API of the Updraft_Notices class, then we'll need to rename and version it, e.g. Updraft_Notices_1_0, because otherwise a plugin may find that it's loaded an older instance than it wanted from another plugin.
6
+ abstract class Updraft_Notices_1_0 {
7
+
8
+ protected $notices_content;
9
+
10
+ // These variables are just short-hands to be used in advert content.
11
+ protected $dashboard_top = array('top');
12
+ protected $dashboard_top_or_report = array('top', 'report', 'report-plain');
13
+ protected $dashboard_bottom_or_report = array('bottom', 'report', 'report-plain');
14
+ protected $anywhere = array('top', 'bottom', 'report', 'report-plain');
15
+ protected $autobackup = array('autobackup');
16
+ protected $autobackup_bottom_or_report = array('autobackup', 'bottom', 'report', 'report-plain');
17
+
18
+ protected function populate_notices_content() {
19
+ //Global adverts that appear in all products will be returned to the child to display
20
+ return array(
21
+ );
22
+ }
23
+
24
+ // Call this method to setup the notices
25
+ abstract protected function notices_init();
26
+
27
+ protected function is_plugin_installed($product = null, $also_require_active = false) {
28
+ if ($also_require_active) return class_exists($product);
29
+ if (!function_exists('get_plugins')) require_once(ABSPATH.'wp-admin/includes/plugin.php');
30
+ $plugins = get_plugins();
31
+ $product_file = false;
32
+ foreach ($plugins as $key => $value) {
33
+ if ($value['TextDomain'] == $product) {
34
+ // we have found the plugin so return false so that we do not display this advert
35
+ return false;
36
+ }
37
+ }
38
+ return true;
39
+ }
40
+
41
+ protected function translation_needed($plugin_base_dir, $product_name) {
42
+ $wplang = get_locale();
43
+ if (strlen($wplang) < 1 || $wplang == 'en_US' || $wplang == 'en_GB') return false;
44
+ if (defined('WP_LANG_DIR') && is_file(WP_LANG_DIR.'/plugins/'.$product_name.'-'.$wplang.'.mo')) return false;
45
+ if (is_file($plugin_base_dir.'/languages/'.$product_name.'-'.$wplang.'.mo')) return false;
46
+ return true;
47
+ }
48
+
49
+ protected function url_start($html_allowed = false, $url, $https = false, $website_home = null) {
50
+ $proto = ($https) ? 'https' : 'http';
51
+ if (strpos($url, $website_home) !== false){
52
+ return $html_allowed ? "<a href=".apply_filters(str_replace('.', '_', $website_home).'_link',$proto.'://'.$url).">" : "";
53
+ }else{
54
+ return $html_allowed ? "<a href=\"$proto://$url\">" : "";
55
+ }
56
+ }
57
+
58
+ protected function url_end($html_allowed, $url, $https = false) {
59
+ $proto = ($https) ? 'https' : 'http';
60
+ return $html_allowed ? '</a>' : " ($proto://$url)";
61
+ }
62
+
63
+ public function do_notice($notice = false, $position = 'top', $return_instead_of_echo = false) {
64
+
65
+ $this->notices_init();
66
+
67
+ if (false === $notice) $notice = apply_filters('updraft_notices_force_id', false, $this);
68
+
69
+ $notice_content = $this->get_notice_data($notice, $position);
70
+
71
+ if (false != $notice_content) {
72
+ return $this->render_specified_notice($notice_content, $return_instead_of_echo, $position);
73
+ }
74
+ }
75
+
76
+ /*
77
+ This method will return a notice ready for display.
78
+ */
79
+ protected function get_notice_data($notice = false, $position = 'top') {
80
+
81
+ // If a specific notice has been passed to this method then return that notice.
82
+ if ($notice) {
83
+ if (!isset($this->notices_content[$notice])) return false;
84
+
85
+ // Does the notice support the position specified?
86
+ if (isset($this->notices_content[$notice]['supported_positions']) && !in_array($position, $this->notices_content[$notice]['supported_positions'])) return false;
87
+
88
+ /*
89
+ first check if the advert passed can be displayed and hasn't been dismissed, we do this by checking what dismissed value we should be checking.
90
+ */
91
+ $dismiss_time = $this->notices_content[$notice]['dismiss_time'];
92
+
93
+ $dismiss = $this->check_notice_dismissed($dismiss_time);
94
+
95
+ if ($dismiss) return false;
96
+
97
+ return $this->notices_content[$notice];
98
+ }
99
+
100
+ //create an array to add non-seasonal adverts to so that if a seasonal advert can't be returned we can choose a random advert from this array.
101
+ $available_notices = array();
102
+
103
+ //If Advert wasn't passed then next we should check to see if a seasonal advert can be returned.
104
+ foreach ($this->notices_content as $notice_id => $notice_data) {
105
+ // Does the notice support the position specified?
106
+ if (isset($this->notices_content[$notice_id]['supported_positions']) && !in_array($position, $this->notices_content[$notice_id]['supported_positions'])) continue;
107
+
108
+ // If the advert has a validity function, then require the advert to be valid
109
+ if (!empty($notice_data['validity_function']) && !call_user_func(array($this, $notice_data['validity_function']))) continue;
110
+
111
+
112
+ if (isset($notice_data['valid_from']) && isset($notice_data['valid_to'])) {
113
+
114
+ if ($this->skip_seasonal_notices($notice_data)) return $notice_data;
115
+
116
+ } else {
117
+
118
+ $dismiss_time = $this->notices_content[$notice_id]['dismiss_time'];
119
+ $dismiss = $this->check_notice_dismissed($dismiss_time);
120
+
121
+ if (!$dismiss) $available_notices[$notice_id] = $notice_data;
122
+ }
123
+ }
124
+
125
+ if (empty($available_notices)) return false;
126
+
127
+ //If a seasonal advert can't be returned then we will return a random advert
128
+
129
+ /*
130
+ Using shuffle here as something like rand which produces a random number and uses that as the array index fails, this is because in future an advert may not be numbered and could have a string as its key which will then cause errors.
131
+ */
132
+ shuffle($available_notices);
133
+ return $available_notices[0];
134
+ }
135
+
136
+ protected function skip_seasonal_notices($notice_data) {
137
+ return false;
138
+ }
139
+
140
+ abstract protected function check_notice_dismissed($dismiss_time);
141
+
142
+ }
includes/updraftcentral.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('WPO_PLUGIN_MAIN_PATH')) die('No direct access allowed');
4
+
5
+ // This file is the bootstrapper for UpdraftCentral integration: i.e. it registers what is necessary to deal with commands in the wpoptimize namespace.
6
+
7
+ class WP_Optimize_UpdraftCentral {
8
+
9
+ public function __construct() {
10
+ add_action('updraftplus_remotecontrol_command_classes', array($this, 'updraftplus_remotecontrol_command_classes'));
11
+ add_action('updraftcentral_command_class_wanted', array($this, 'updraftcentral_command_class_wanted'));
12
+ }
13
+
14
+ // Register our class
15
+ public function updraftplus_remotecontrol_command_classes($command_classes) {
16
+ if (is_array($command_classes)) $command_classes['wpoptimize'] = 'UpdraftCentral_WP_Optimize_Commands';
17
+ return $command_classes;
18
+ }
19
+
20
+ // Load the class when required
21
+ public function updraftcentral_command_class_wanted($command_php_class) {
22
+ if ('UpdraftCentral_WP_Optimize_Commands' == $command_php_class) {
23
+ // This fragment is only needed for compatibility with UD < 1.12.30 - thenceforth, the class can be assumed to exist
24
+ if (!class_exists('UpdraftCentral_Commands')) {
25
+ require_once(apply_filters('updraftcentral_command_base_class_at', UPDRAFTPLUS_DIR.'/central/commands.php'));
26
+ }
27
+ require_once(WPO_PLUGIN_MAIN_PATH.'includes/class-updraftcentral-wp-optimize-commands.php');
28
+ }
29
+ }
30
+
31
+ }
32
+
33
+ new WP_Optimize_UpdraftCentral();
includes/wp-optimize-notices.php ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('WPO_PLUGIN_MAIN_PATH')) die('No direct access allowed');
4
+
5
+ if (!class_exists('Updraft_Notices_1_0')) require_once(WPO_PLUGIN_MAIN_PATH.'/includes/updraft-notices.php');
6
+
7
+ class WP_Optimize_Notices extends Updraft_Notices_1_0 {
8
+
9
+ protected static $_instance = null;
10
+
11
+ private $initialized = false;
12
+
13
+ protected $notices_content = array();
14
+
15
+ public static function instance() {
16
+ if (empty(self::$_instance)) {
17
+ self::$_instance = new self();
18
+ }
19
+ return self::$_instance;
20
+ }
21
+
22
+ protected function populate_notices_content() {
23
+
24
+ $parent_notice_content = parent::populate_notices_content();
25
+
26
+ $child_notice_content = array(
27
+ 'updraftplus' => array(
28
+ 'prefix' => '',
29
+ 'title' => __('Make sure you backup as well as optimize your database', 'wp-optimize'),
30
+ 'text' => __("UpdraftPlus is the world's most trusted backup plugin from the owners of WP-Optimize", 'wp-optimize'),
31
+ 'image' => 'notices/updraft_logo.png',
32
+ 'button_link' => 'https://wordpress.org/plugins/updraftplus/',
33
+ 'button_meta' => 'updraftplus',
34
+ 'dismiss_time' => 'dismiss_page_notice_until',
35
+ 'supported_positions' => $this->dashboard_top_or_report,
36
+ 'validity_function' => 'is_updraftplus_installed',
37
+ ),
38
+ 'updraftcentral' => array(
39
+ 'prefix' => '',
40
+ 'title' => __('Introducing UpdraftCentral - from the team behind WP-Optimize', 'wp-optimize'),
41
+ 'text' => __('UpdraftCentral is a highly efficient way to manage, update and backup multiple websites from one place.', 'wp-optimize'),
42
+ 'image' => 'notices/updraft_logo.png',
43
+ 'button_link' => 'https://updraftcentral.com',
44
+ 'button_meta' => 'updraftcentral',
45
+ 'dismiss_time' => 'dismiss_page_notice_until',
46
+ 'supported_positions' => $this->dashboard_top_or_report,
47
+ 'validity_function' => 'is_updraftcentral_installed',
48
+ ),
49
+ 'rate_plugin' => array(
50
+ 'prefix' => '',
51
+ 'title' => __('Like WP-Optimize and can spare one minute?', 'wp-optimize'),
52
+ 'text' => __('Please help WP-Optimize by giving a positive review at wordpress.org.', 'wp-optimize'),
53
+ 'image' => 'notices/wp_optimize_logo.png',
54
+ 'button_link' => 'https://wordpress.org/support/plugin/wp-optimize/reviews/?rate=5#new-post',
55
+ 'button_meta' => 'review',
56
+ 'dismiss_time' => 'dismiss_page_notice_until',
57
+ 'supported_positions' => $this->anywhere,
58
+ ),
59
+ 'translation_needed' => array(
60
+ 'prefix' => '',
61
+ 'title' => 'Can you translate? Want to improve WP-Optimize for speakers of your language?',
62
+ 'text' => $this->url_start(true,'translate.wordpress.org/projects/wp-plugins/wp-optimize')."Please go here for instructions - it is easy.".$this->url_end(true,'translate.wordpress.org/projects/wp-plugins/wp-optimize'),
63
+ 'text_plain' => $this->url_start(false,'translate.wordpress.org/projects/wp-plugins/wp-optimize')."Please go here for instructions - it is easy.".$this->url_end(false,'translate.wordpress.org/projects/wp-plugins/wp-optimize'),
64
+ 'image' => 'notices/wp_optimize_logo.png',
65
+ 'button_link' => false,
66
+ 'dismiss_time' => false,
67
+ 'supported_positions' => $this->anywhere,
68
+ 'validity_function' => 'translation_needed',
69
+ ),
70
+ );
71
+
72
+ return array_merge($parent_notice_content, $child_notice_content);
73
+ }
74
+
75
+ // Call this method to setup the notices
76
+ public function notices_init() {
77
+ if ($this->initialized) return;
78
+ $this->initialized = true;
79
+ $this->notices_content = (defined('WP_OPTIMIZE_NOADS_B') && WP_OPTIMIZE_NOADS_B) ? array() : $this->populate_notices_content();
80
+ $our_version = (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) ? WPO_VERSION.'.'.time() : WPO_VERSION;
81
+ $min_or_not = (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) ? '' : '.min';
82
+ wp_enqueue_style('wp-optimize-notices-css', WPO_PLUGIN_URL.'/css/wp-optimize-notices'.$min_or_not.'.css', array(), $our_version);
83
+ }
84
+
85
+ protected function is_updraftplus_installed($product = 'updraftplus', $also_require_active = false) {
86
+ return parent::is_plugin_installed($product, $also_require_active);
87
+ }
88
+
89
+ protected function is_updraftcentral_installed($product = 'updraftcentral', $also_require_active = false) {
90
+ return parent::is_plugin_installed($product, $also_require_active);
91
+ }
92
+
93
+ public function is_backup_plugin_installed($product = null, $also_require_active = false) {
94
+ $backup_plugins = array('updraftplus' => 'UpdraftPlus', 'backwpup' => 'BackWPup', 'backupwordpress' => 'BackupWordPress', 'vaultpress' => 'VaultPress', 'wp-db-backup' => 'WP-DB-Backup', 'backupbuddy' => 'BackupBuddy');
95
+
96
+ foreach ($backup_plugins as $slug => $title) {
97
+ if (!parent::is_plugin_installed($slug, $also_require_active)) {
98
+ return $title;
99
+ }
100
+ }
101
+
102
+ return apply_filters('wp_optimize_is_backup_plugin_installed', false);
103
+ }
104
+
105
+ protected function translation_needed($plugin_base_dir = null, $product_name = null) {
106
+ return parent::translation_needed(WPO_PLUGIN_MAIN_PATH, 'wp-optimize');
107
+ }
108
+
109
+ protected function url_start($html_allowed = false, $url, $https = false, $website_home = 'updraftplus.com/wp-optimize') {
110
+ return parent::url_start($html_allowed, $url, $https, $website_home);
111
+ }
112
+
113
+ protected function check_notice_dismissed($dismiss_time){
114
+
115
+ $time_now = defined('WP_OPTIMIZE_NOTICES_FORCE_TIME') ? WP_OPTIMIZE_NOTICES_FORCE_TIME : time();
116
+
117
+ $options = WP_Optimize()->get_options();
118
+
119
+ $notice_dismiss = ($time_now < $options->get_option('dismiss_page_notice_until', 0));
120
+
121
+ $dismiss = false;
122
+
123
+ if ('dismiss_page_notice_until' == $dismiss_time) $dismiss = $notice_dismiss;
124
+
125
+ return $dismiss;
126
+ }
127
+
128
+ protected function render_specified_notice($advert_information, $return_instead_of_echo = false, $position = 'top') {
129
+
130
+ if ('bottom' == $position) {
131
+ $template_file = 'bottom-notice.php';
132
+ } elseif ('report' == $position) {
133
+ $template_file = 'report.php';
134
+ } elseif ('report-plain' == $position) {
135
+ $template_file = 'report-plain.php';
136
+ } else {
137
+ $template_file = 'horizontal-notice.php';
138
+ }
139
+
140
+ $extract_variables = array_merge($advert_information, array('wp_optimize_notices' => $this));
141
+
142
+ return WP_Optimize()->include_template('notices/'.$template_file, $return_instead_of_echo, $extract_variables);
143
+ }
144
+ }
145
+
146
+ $GLOBALS['wp_optimize_notices'] = WP_Optimize_Notices::instance();
js/admin.js DELETED
@@ -1,56 +0,0 @@
1
- function fCheck() {
2
- var vCleanPingbacks = document.getElementById('clean-pingbacks');
3
- var vCleanTrackbacks = document.getElementById('clean-trackbacks');
4
- var vCleanPostmeta = document.getElementById('clean-postmeta');
5
- var vCleanCommentmeta = document.getElementById('clean-commentmeta');
6
- var vCleanOrphandata = document.getElementById('clean-orphandata');
7
- var vCleanTransient = document.getElementById('clean-transient');
8
-
9
- /* vCleanTransient.onclick = function () {
10
- return confirm('<?php _e('Transient options are automatically re-created by WordPress. Select this option, if you have a large number of Transient.', 'wp-optimize'); ?>');
11
- }
12
-
13
- if ( vCleanPingbacks.checked )
14
- return confirm('<?php _e('This will delete all pingbacks in the database. Are you sure?', 'wp-optimize'); ?>');
15
-
16
- if ( vCleanTrackbacks.checked )
17
- return confirm('<?php _e('This will delete all trackbacks in the database. Are you sure?', 'wp-optimize'); ?>');
18
-
19
- if ( vCleanPostmeta.checked )
20
- return confirm('<?php _e('Cleaning up post meta can have unexpected results on some servers. Are you sure?', 'wp-optimize'); ?>');
21
-
22
- if ( vCleanCommentmeta.checked )
23
- return confirm('<?php _e('Cleaning up comments meta can have unexpected results on some servers. Are you sure?', 'wp-optimize'); ?>');
24
-
25
- if ( vCleanOrphandata.checked )
26
- return confirm('<?php _e('Cleaning up orphaned post relationship data can have unexpected result. Are you sure?', 'wp-optimize'); ?>');*/
27
-
28
- }
29
-
30
- function SetDefaults() {
31
- document.getElementById("clean-revisions").checked = true;
32
- document.getElementById("clean-comments").checked = true;
33
- document.getElementById("clean-autodraft").checked = true;
34
- document.getElementById("optimize-db").checked = true;
35
- return false;
36
- }
37
- // SetDefaults();
38
-
39
- jQuery(document).ready(function($) {
40
- function enable_or_disable_schedule_options() {
41
- var schedule_enabled = $('#enable-schedule').is(':checked');
42
- if (schedule_enabled) {
43
- $('#wp-optimize-auto-options').css('opacity', '1');
44
- //.find('input').prop('disabled', false);
45
- } else {
46
- $('#wp-optimize-auto-options').css('opacity', '0.5')
47
- //.find('input').prop('disabled', true);
48
- }
49
- }
50
-
51
- enable_or_disable_schedule_options();
52
-
53
- $('#enable-schedule').change(function() { enable_or_disable_schedule_options(); });
54
-
55
-
56
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/queue.js ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Adapted and extended from the work of Stephen Morley - http://code.stephenmorley.org/javascript/queues/
4
+
5
+ Queue.js
6
+
7
+ A function to represent a queue
8
+
9
+ Created by Stephen Morley - http://code.stephenmorley.org/ - and released under
10
+ the terms of the CC0 1.0 Universal legal code:
11
+
12
+ http://creativecommons.org/publicdomain/zero/1.0/legalcode
13
+
14
+ */
15
+
16
+ /**
17
+ * Creates a new queue. A queue is a first-in-first-out (FIFO) data structure -
18
+ * items are added to the end of the queue and removed from the front.
19
+ * @returns {void}
20
+ */
21
+ function Updraft_Queue() {
22
+
23
+ // initialise the queue and offset
24
+ var queue = [];
25
+ var offset = 0;
26
+ var locked = false;
27
+
28
+ /**
29
+ * Returns the length of the queue.
30
+ *
31
+ * @returns {number} - the length of the queue
32
+ */
33
+ this.get_length = function() {
34
+ return (queue.length - offset);
35
+ }
36
+
37
+ /**
38
+ * Query whether the queue is empty or not
39
+ *
40
+ * @returns {boolean} - returns true if the queue is empty, and false otherwise.
41
+ */
42
+ this.is_empty = function() {
43
+ return (queue.length == 0);
44
+ }
45
+
46
+ /**
47
+ *
48
+ * Enqueues the specified item. The parameter is:
49
+ *
50
+ * @param {*} item - the item to enqueue
51
+ * @returns {void}
52
+ */
53
+ this.enqueue = function(item) {
54
+ queue.push(item);
55
+ }
56
+
57
+ /**
58
+ * Returns the queue lock status
59
+ *
60
+ * @returns {boolean} - whether the queue is locked or not
61
+ */
62
+ this.is_locked = function() {
63
+ return locked;
64
+ }
65
+
66
+ /**
67
+ * Attempt to get the queue lock
68
+ *
69
+ * @returns {boolean} - whether the attempt succeeded or not
70
+ */
71
+ this.get_lock = function() {
72
+ if (locked) { return false; }
73
+ this.lock();
74
+ return true;
75
+ }
76
+
77
+ /**
78
+ * Dequeues an item and returns it. If the queue is empty, the value
79
+ * 'undefined' is returned.
80
+ *
81
+ * @returns {*} - returns and removes the item at the front of the queue, or undefined if the queue is empty
82
+ */
83
+ this.dequeue = function() {
84
+
85
+ // if the queue is empty, return immediately
86
+ if (queue.length == 0) return undefined;
87
+
88
+ // store the item at the front of the queue
89
+ var item = queue[offset];
90
+
91
+ // increment the offset and remove the free space if necessary
92
+ if (++ offset * 2 >= queue.length) {
93
+ queue = queue.slice(offset);
94
+ offset = 0;
95
+ }
96
+
97
+ // return the dequeued item
98
+ return item;
99
+
100
+ }
101
+
102
+ /**
103
+ * Lock the queue
104
+ * @returns {void}
105
+ */
106
+ this.lock = function() {
107
+ locked = true;
108
+ }
109
+
110
+ /**
111
+ * Unlock the queue
112
+ * @returns {void}
113
+ */
114
+ this.unlock = function() {
115
+ locked = false;
116
+ }
117
+
118
+ /**
119
+ * Returns the item at the front of the queue (without dequeuing it). If the
120
+ * queue is empty then undefined is returned.
121
+ *
122
+ * @returns {*} - returns the item at the front of the queue, or undefined if the queue is empty
123
+ */
124
+ this.peek = function() {
125
+ return (queue.length > 0 ? queue[offset] : undefined);
126
+ }
127
+
128
+ /**
129
+ * Replaces the item at the front of the queue (if any)
130
+ *
131
+ * @param {*} item - the item to put at the front of the queue
132
+ *
133
+ * @returns {boolean} - whether or not the item was successfully replaced
134
+ */
135
+ this.replace_front = function(item) {
136
+ if (queue.length < 1) { return false; }
137
+ queue[offset] = item;
138
+ return true;
139
+ }
140
+
141
+ }
js/queue.min.js ADDED
@@ -0,0 +1 @@
 
1
+ function Updraft_Queue(){var t=[],n=0,e=!1;this.get_length=function(){return t.length-n},this.is_empty=function(){return 0==t.length},this.enqueue=function(n){t.push(n)},this.is_locked=function(){return e},this.get_lock=function(){return!e&&(this.lock(),!0)},this.dequeue=function(){if(0!=t.length){var e=t[n];return 2*++n>=t.length&&(t=t.slice(n),n=0),e}},this.lock=function(){e=!0},this.unlock=function(){e=!1},this.peek=function(){return t.length>0?t[n]:void 0},this.replace_front=function(e){return!(t.length<1)&&(t[n]=e,!0)}}
js/wpadmin.js ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($) {
2
+
3
+ var debug_level = 0;
4
+ var queue = new Updraft_Queue();
5
+
6
+ /**
7
+ * Either display normally, or grey-out, the scheduling options, depending on whether any schedule has been selected
8
+ */
9
+ function enable_or_disable_schedule_options() {
10
+ var schedule_enabled = $('#enable-schedule').is(':checked');
11
+ if (schedule_enabled) {
12
+ $('#wp-optimize-auto-options').css('opacity', '1');
13
+ //.find('input').prop('disabled', false);
14
+ } else {
15
+ $('#wp-optimize-auto-options').css('opacity', '0.5')
16
+ //.find('input').prop('disabled', true);
17
+ }
18
+ }
19
+
20
+ enable_or_disable_schedule_options();
21
+
22
+ $('#enable-schedule').change(function() { enable_or_disable_schedule_options(); });
23
+
24
+ /**
25
+ * Send an action over AJAX
26
+ *
27
+ * @param {string} action - the action to send
28
+ * @param * data - data to send
29
+ * @param Callback [callback] - will be called with the results
30
+ * @param {boolean} [json_parse=true] - JSON parse the results
31
+ */
32
+ function send_command(action, data, callback, json_parse) {
33
+
34
+ json_parse = ('undefined' === typeof json_parse) ? true : json_parse;
35
+
36
+ var ajax_data = {
37
+ action: 'wp_optimize_ajax',
38
+ subaction: action,
39
+ nonce: wp_optimize_ajax_nonce,
40
+ data: data
41
+ };
42
+
43
+ jQuery.post(ajaxurl, ajax_data, function(response) {
44
+
45
+ if (json_parse) {
46
+ try {
47
+ var resp = JSON.parse(response);
48
+ } catch (e) {
49
+ console.log(e);
50
+ console.log(response);
51
+ // TODO: Tell the user that it didn't work out
52
+ return;
53
+ }
54
+ if ('undefined' !== typeof callback) callback(resp);
55
+ } else {
56
+ if ('undefined' !== typeof callback) callback(response);
57
+ }
58
+
59
+ });
60
+
61
+ }
62
+
63
+ /**
64
+ * Temporarily show a dashboard notice, and then remove it. The HTML will be prepended to the .wrap.wp-optimize-wrap element.
65
+ *
66
+ * @param {string} html_contents - HTML to display
67
+ * @param {string} where - CSS selector of where to prepend the HTML to
68
+ * @param {number} [delay=15] - the number of seconds to wait before removing the message
69
+ */
70
+ function temporarily_display_notice(html_contents, where, delay) {
71
+ where = ('undefined' === typeof where) ? '#wp-optimize-wrap' : where;
72
+ delay = ('undefined' === typeof delay) ? 15 : delay;
73
+ $(html_contents).hide().prependTo(where).slideDown('slow').delay(delay*1000).slideUp('slow', function() {
74
+ $(this).remove();
75
+ });;
76
+ }
77
+
78
+ /**
79
+ * Send a request to disable or enable comments or trackbacks
80
+ *
81
+ * @param (string) type - either "comments" or "trackbacks"
82
+ * @param (boolean) enable - whether to enable, or, to disable
83
+ */
84
+ function enable_or_disable_feature(type, enable) {
85
+
86
+ var data = {
87
+ type: type,
88
+ enable: enable ? 1 : 0
89
+ };
90
+
91
+ $('#'+type+'_spinner').show();
92
+
93
+ send_command('enable_or_disable_feature', data, function(resp) {
94
+
95
+ $('#'+type+'_spinner').hide();
96
+
97
+ if (resp && resp.hasOwnProperty('output')) {
98
+ for (var i = 0, len = resp.output.length; i < len; i++) {
99
+ var new_html = '<div class="updated">'+resp.output[i]+'</div>';
100
+ temporarily_display_notice(new_html, '#actions-results-area');
101
+ }
102
+ }
103
+
104
+ });
105
+ }
106
+
107
+ $('#wp-optimize-disable-enable-trackbacks-enable').click(function() {
108
+ enable_or_disable_feature('trackbacks', true);
109
+ });
110
+
111
+ $('#wp-optimize-disable-enable-trackbacks-disable').click(function() {
112
+ enable_or_disable_feature('trackbacks', false);
113
+ });
114
+
115
+ $('#wp-optimize-disable-enable-comments-enable').click(function() {
116
+ enable_or_disable_feature('comments', true);
117
+ });
118
+
119
+ $('#wp-optimize-disable-enable-comments-disable').click(function() {
120
+ enable_or_disable_feature('comments', false);
121
+ });
122
+
123
+ $('#wp-optimize-nav-tab-wrapper .nav-tab').click(function(e) {
124
+
125
+ var clicked_tab_id = $(this).attr('id');
126
+ if (!clicked_tab_id) { return; }
127
+ if ('wp-optimize-nav-tab-' != clicked_tab_id.substring(0, 20)) { return; }
128
+
129
+ var clicked_tab_id = clicked_tab_id.substring(20);
130
+
131
+ e.preventDefault();
132
+
133
+ $('#wp-optimize-nav-tab-wrapper .nav-tab:not(#wp-optimize-nav-tab-'+clicked_tab_id+')').removeClass('nav-tab-active');
134
+ $(this).addClass('nav-tab-active');
135
+
136
+ $('#wp-optimize-wrap .wp-optimize-nav-tab-contents:not(#wp-optimize-nav-tab-contents-'+clicked_tab_id+')').hide();
137
+ $('#wp-optimize-nav-tab-contents-'+clicked_tab_id).show();
138
+
139
+ });
140
+
141
+ /**
142
+ * Gathers the settings from the settings tab
143
+ *
144
+ * @returns (string) - serialized settings
145
+ */
146
+ function gather_settings() {
147
+ // Excluding the unnecessary 'action' input avoids triggering a very mis-conceived mod_security rule seen on one user's site
148
+ var form_data = $("#wp-optimize-nav-tab-contents-settings form input[name!='action'], #wp-optimize-nav-tab-contents-settings form textarea, #wp-optimize-nav-tab-contents-settings form select").serialize();
149
+
150
+ //include unchecked checkboxes. user filter to only include unchecked boxes.
151
+ $.each($('#wp-optimize-nav-tab-contents-settings form input[type=checkbox]')
152
+ .filter(function(idx){
153
+ return $(this).prop('checked') == false
154
+ }),
155
+ function(idx, el){
156
+ //attach matched element names to the form_data with chosen value.
157
+ var empty_val = '0';
158
+ form_data += '&' + $(el).attr('name') + '=' + empty_val;
159
+ }
160
+ );
161
+
162
+ return form_data;
163
+ }
164
+
165
+ /**
166
+ * Proceses the queue
167
+ */
168
+ function process_queue() {
169
+
170
+ if (!queue.get_lock()) {
171
+ if (debug_level > 0) {
172
+ console.log("WP-Optimize: process_queue(): queue is currently locked - exiting");
173
+ }
174
+ return;
175
+ }
176
+
177
+ if (debug_level > 0) {
178
+ console.log("WP-Optimize: process_queue(): got queue lock");
179
+ }
180
+
181
+ var id = queue.peek();
182
+
183
+ if ('undefined' === typeof id) {
184
+ if (debug_level > 0) console.log("WP-Optimize: process_queue(): queue is apparently empty - exiting");
185
+ queue.unlock();
186
+ return;
187
+ }
188
+
189
+ if (debug_level > 0) console.log("WP-Optimize: process_queue(): processing item: "+id);
190
+
191
+ queue.dequeue();
192
+
193
+ send_command('do_optimization', { optimization_id: id }, function(response) {
194
+ console.log(response);
195
+ $('#optimization_spinner_'+id).hide();
196
+ $('#optimization_checkbox_'+id).show();
197
+ $('.optimization_button_'+id).prop('disabled', false);
198
+
199
+ if (response) {
200
+ var total_output = '';
201
+ for (var i = 0, len = response.errors.length; i < len; i++) {
202
+ total_output += '<span class="error">'+response.errors[i]+'</span><br>';
203
+ }
204
+ for (var i = 0, len = response.messages.length; i < len; i++) {
205
+ total_output += response.errors[i]+'<br>';
206
+ }
207
+ for (var i = 0, len = response.result.output.length; i < len; i++) {
208
+ total_output += response.result.output[i]+'<br>';
209
+ }
210
+ $('#optimization_info_'+id).html(total_output);
211
+ if (response.hasOwnProperty('status_box_contents')) {
212
+ $('#wp_optimize_status_box').css('opacity', '1').find('.inside').html(response.status_box_contents);
213
+ }
214
+ if (response.hasOwnProperty('table_list')) {
215
+ $('#wpoptimize_table_list tbody').replaceWith(response.table_list);
216
+ }
217
+ if (response.hasOwnProperty('total_size')) {
218
+ $('#optimize_current_db_size').html(response.total_size);
219
+ }
220
+ }
221
+
222
+ setTimeout(function() { queue.unlock(); process_queue(); }, 10);
223
+
224
+ });
225
+ }
226
+
227
+ /**
228
+ * Runs a specified optimization, displaying the progress and results in the optimization's row
229
+ *
230
+ * @param {string} id - The optimization ID
231
+ */
232
+ function do_optimization(id) {
233
+ var $optimization_row = $('#wp-optimize-nav-tab-contents-optimize .wp-optimize-settings-'+id);
234
+ if (!$optimization_row) {
235
+ console.log("do_optimization: row corresponding to this optimization ("+id+") not found");
236
+ }
237
+ $('#optimization_checkbox_'+id).hide();
238
+ $('#optimization_spinner_'+id).show();
239
+ $('.optimization_button_'+id).prop('disabled', true);
240
+
241
+ $('#optimization_info_'+id).html('...');
242
+
243
+ queue.enqueue(id);
244
+
245
+ process_queue();
246
+
247
+ }
248
+
249
+ $('#wp-optimize-nav-tab-contents-optimize').on('click', 'button.wp-optimize-settings-optimization-run-button', function() {
250
+ var optimization_id = $(this).closest('.wp-optimize-settings').data('optimization_id');
251
+ if (!optimization_id) {
252
+ console.log("Optimization ID corresponding to pressed button not found");
253
+ return;
254
+ }
255
+ do_optimization(optimization_id);
256
+ });
257
+
258
+ $('#wp-optimize-nav-tab-contents-optimize').on('click', '#wp-optimize', function(e) {
259
+
260
+ e.preventDefault();
261
+
262
+ $optimizations = $('#optimizations_list .optimization_checkbox:checked');
263
+
264
+ $optimizations.sort(function(a, b) {
265
+ // convert to IDs
266
+ a = $(a).closest('.wp-optimize-settings').data('optimization_run_sort_order');
267
+ b = $(b).closest('.wp-optimize-settings').data('optimization_run_sort_order');
268
+ if (a > b) {
269
+ return 1;
270
+ } else if (a < b) {
271
+ return -1;
272
+ } else {
273
+ return 0;
274
+ }
275
+ });
276
+
277
+ var optimization_options = {};
278
+
279
+ $optimizations.each(function(index) {
280
+ var optimization_id = $(this).closest('.wp-optimize-settings').data('optimization_id');
281
+ if (!optimization_id) {
282
+ console.log("Optimization ID corresponding to pressed button not found");
283
+ return;
284
+ }
285
+ // An empty object - in future, options may be implemented
286
+ optimization_options[optimization_id] = { active: 1 };
287
+ do_optimization(optimization_id);
288
+ });
289
+
290
+ send_command('save_manual_run_optimization_options', optimization_options);
291
+
292
+ });
293
+
294
+ $('#wp_optimize_table_list_refresh').click(function() {
295
+
296
+ $('#wpoptimize_table_list tbody').css('opacity', '0.5');
297
+ send_command('get_table_list', false, function(response) {
298
+ $('#wpoptimize_table_list tbody').css('opacity', '1');
299
+ if (response.hasOwnProperty('table_list')) {
300
+ $('#wpoptimize_table_list tbody').replaceWith(response.table_list);
301
+ }
302
+ if (response.hasOwnProperty('total_size')) {
303
+ $('#optimize_current_db_size').html(response.total_size);
304
+ }
305
+ });
306
+
307
+ });
308
+
309
+ $('#wp-optimize-settings-save').click(function(e) {
310
+
311
+ e.preventDefault();
312
+
313
+ $('#save_spinner').show();
314
+
315
+ var form_data = gather_settings();
316
+
317
+ send_command('save_settings', form_data, function(resp) {
318
+
319
+ $('#save_spinner').hide();
320
+ $('#save_done').show().delay(5000).fadeOut();
321
+
322
+ if (resp && resp.hasOwnProperty('save_results') && resp.save_results && resp.save_results.hasOwnProperty('errors')) {
323
+ for (var i = 0, len = resp.save_results.errors.length; i < len; i++) {
324
+ var new_html = '<div class="error">'+resp.errors[i]+'</div>';
325
+ temporarily_display_notice(new_html, '#wp-optimize-settings-save-results');
326
+ }
327
+ console.log(resp.save_results.messages);
328
+ }
329
+ if (resp && resp.hasOwnProperty('status_box_contents')) {
330
+ $('#wp_optimize_status_box .inside').html(resp.status_box_contents);
331
+ }
332
+ if (resp && resp.hasOwnProperty('optimizations_table')) {
333
+ $('#optimizations_list').replaceWith(resp.optimizations_table);
334
+ }
335
+ });
336
+
337
+ });
338
+
339
+ $('#wp_optimize_status_box').on('click', '#wp_optimize_status_box_refresh', function(e) {
340
+ e.preventDefault();
341
+ $('#wp_optimize_status_box').css('opacity', '0.5');
342
+ send_command('get_status_box_contents', null, function(resp) {
343
+ $('#wp_optimize_status_box').css('opacity', '1').find('.inside').html(resp);
344
+ });
345
+ });
346
+ });
js/wpadmin.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(document).ready(function(t){function e(){var e=t("#enable-schedule").is(":checked");e?t("#wp-optimize-auto-options").css("opacity","1"):t("#wp-optimize-auto-options").css("opacity","0.5")}function i(t,e,i,o){o="undefined"==typeof o||o;var n={action:"wp_optimize_ajax",subaction:t,nonce:wp_optimize_ajax_nonce,data:e};jQuery.post(ajaxurl,n,function(t){if(o){try{var e=JSON.parse(t)}catch(n){return console.log(n),void console.log(t)}"undefined"!=typeof i&&i(e)}else"undefined"!=typeof i&&i(t)})}function o(e,i,o){i="undefined"==typeof i?"#wp-optimize-wrap":i,o="undefined"==typeof o?15:o,t(e).hide().prependTo(i).slideDown("slow").delay(1e3*o).slideUp("slow",function(){t(this).remove()})}function n(e,n){var s={type:e,enable:n?1:0};t("#"+e+"_spinner").show(),i("enable_or_disable_feature",s,function(i){if(t("#"+e+"_spinner").hide(),i&&i.hasOwnProperty("output"))for(var n=0,s=i.output.length;n<s;n++){var a='<div class="updated">'+i.output[n]+"</div>";o(a,"#actions-results-area")}})}function s(){var e=t("#wp-optimize-nav-tab-contents-settings form input[name!='action'], #wp-optimize-nav-tab-contents-settings form textarea, #wp-optimize-nav-tab-contents-settings form select").serialize();return t.each(t("#wp-optimize-nav-tab-contents-settings form input[type=checkbox]").filter(function(e){return 0==t(this).prop("checked")}),function(i,o){var n="0";e+="&"+t(o).attr("name")+"="+n}),e}function a(){if(!c.get_lock())return void(r>0&&console.log("WP-Optimize: process_queue(): queue is currently locked - exiting"));r>0&&console.log("WP-Optimize: process_queue(): got queue lock");var e=c.peek();return"undefined"==typeof e?(r>0&&console.log("WP-Optimize: process_queue(): queue is apparently empty - exiting"),void c.unlock()):(r>0&&console.log("WP-Optimize: process_queue(): processing item: "+e),c.dequeue(),void i("do_optimization",{optimization_id:e},function(i){if(console.log(i),t("#optimization_spinner_"+e).hide(),t("#optimization_checkbox_"+e).show(),t(".optimization_button_"+e).prop("disabled",!1),i){for(var o="",n=0,s=i.errors.length;n<s;n++)o+='<span class="error">'+i.errors[n]+"</span><br>";for(var n=0,s=i.messages.length;n<s;n++)o+=i.errors[n]+"<br>";for(var n=0,s=i.result.output.length;n<s;n++)o+=i.result.output[n]+"<br>";t("#optimization_info_"+e).html(o),i.hasOwnProperty("status_box_contents")&&t("#wp_optimize_status_box").css("opacity","1").find(".inside").html(i.status_box_contents),i.hasOwnProperty("table_list")&&t("#wpoptimize_table_list tbody").replaceWith(i.table_list),i.hasOwnProperty("total_size")&&t("#optimize_current_db_size").html(i.total_size)}setTimeout(function(){c.unlock(),a()},10)}))}function p(e){var i=t("#wp-optimize-nav-tab-contents-optimize .wp-optimize-settings-"+e);i||console.log("do_optimization: row corresponding to this optimization ("+e+") not found"),t("#optimization_checkbox_"+e).hide(),t("#optimization_spinner_"+e).show(),t(".optimization_button_"+e).prop("disabled",!0),t("#optimization_info_"+e).html("..."),c.enqueue(e),a()}var r=0,c=new Updraft_Queue;e(),t("#enable-schedule").change(function(){e()}),t("#wp-optimize-disable-enable-trackbacks-enable").click(function(){n("trackbacks",!0)}),t("#wp-optimize-disable-enable-trackbacks-disable").click(function(){n("trackbacks",!1)}),t("#wp-optimize-disable-enable-comments-enable").click(function(){n("comments",!0)}),t("#wp-optimize-disable-enable-comments-disable").click(function(){n("comments",!1)}),t("#wp-optimize-nav-tab-wrapper .nav-tab").click(function(e){var i=t(this).attr("id");if(i&&"wp-optimize-nav-tab-"==i.substring(0,20)){var i=i.substring(20);e.preventDefault(),t("#wp-optimize-nav-tab-wrapper .nav-tab:not(#wp-optimize-nav-tab-"+i+")").removeClass("nav-tab-active"),t(this).addClass("nav-tab-active"),t("#wp-optimize-wrap .wp-optimize-nav-tab-contents:not(#wp-optimize-nav-tab-contents-"+i+")").hide(),t("#wp-optimize-nav-tab-contents-"+i).show()}}),t("#wp-optimize-nav-tab-contents-optimize").on("click","button.wp-optimize-settings-optimization-run-button",function(){var e=t(this).closest(".wp-optimize-settings").data("optimization_id");return e?void p(e):void console.log("Optimization ID corresponding to pressed button not found")}),t("#wp-optimize-nav-tab-contents-optimize").on("click","#wp-optimize",function(e){e.preventDefault(),$optimizations=t("#optimizations_list .optimization_checkbox:checked"),$optimizations.sort(function(e,i){return e=t(e).closest(".wp-optimize-settings").data("optimization_run_sort_order"),i=t(i).closest(".wp-optimize-settings").data("optimization_run_sort_order"),e>i?1:e<i?-1:0});var o={};$optimizations.each(function(e){var i=t(this).closest(".wp-optimize-settings").data("optimization_id");return i?(o[i]={active:1},void p(i)):void console.log("Optimization ID corresponding to pressed button not found")}),i("save_manual_run_optimization_options",o)}),t("#wp_optimize_table_list_refresh").click(function(){t("#wpoptimize_table_list tbody").css("opacity","0.5"),i("get_table_list",!1,function(e){t("#wpoptimize_table_list tbody").css("opacity","1"),e.hasOwnProperty("table_list")&&t("#wpoptimize_table_list tbody").replaceWith(e.table_list),e.hasOwnProperty("total_size")&&t("#optimize_current_db_size").html(e.total_size)})}),t("#wp-optimize-settings-save").click(function(e){e.preventDefault(),t("#save_spinner").show();var n=s();i("save_settings",n,function(e){if(t("#save_spinner").hide(),t("#save_done").show().delay(5e3).fadeOut(),e&&e.hasOwnProperty("save_results")&&e.save_results&&e.save_results.hasOwnProperty("errors")){for(var i=0,n=e.save_results.errors.length;i<n;i++){var s='<div class="error">'+e.errors[i]+"</div>";o(s,"#wp-optimize-settings-save-results")}console.log(e.save_results.messages)}e&&e.hasOwnProperty("status_box_contents")&&t("#wp_optimize_status_box .inside").html(e.status_box_contents),e&&e.hasOwnProperty("optimizations_table")&&t("#optimizations_list").replaceWith(e.optimizations_table)})}),t("#wp_optimize_status_box").on("click","#wp_optimize_status_box_refresh",function(e){e.preventDefault(),t("#wp_optimize_status_box").css("opacity","0.5"),i("get_status_box_contents",null,function(e){t("#wp_optimize_status_box").css("opacity","1").find(".inside").html(e)})})});
languages/wp-optimize-fi.mo DELETED
Binary file
languages/wp-optimize-fi.po DELETED
@@ -1,747 +0,0 @@
1
- # Translation of WP-Optimize in Finnish
2
- # This file is distributed under the same license as the WP-Optimize package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2015-03-21 19:00:50+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: WP-Optimize\n"
12
-
13
- #: wp-optimize-common.php:72
14
- msgid "Automatic Operation Completed"
15
- msgstr "Automaattinen operaatio suoritettu"
16
-
17
- #: wp-optimize-common.php:74
18
- msgid "Scheduled optimization was executed at"
19
- msgstr "Ajastettu optimointi on suoritettu"
20
-
21
- #: wp-optimize-common.php:76
22
- msgid "You can safely delete this email."
23
- msgstr "Voit huoletta poistaa tämän sähköpostin."
24
-
25
- #: wp-optimize-common.php:78
26
- msgid "Regards,"
27
- msgstr "Terveisin,"
28
-
29
- #: wp-optimize-common.php:79
30
- msgid "WP-Optimize Plugin"
31
- msgstr "WP-Optimize-plugin"
32
-
33
- #: wp-optimize-settings.php:233 wp-optimize-settings.php:255
34
- msgid "Everyday"
35
- msgstr "Joka päivä"
36
-
37
- #: wp-optimize-settings.php:322
38
- msgid "Enable email notification"
39
- msgstr "Ota sähköposti-ilmoitukset käyttöön"
40
-
41
- #: wp-optimize-settings.php:329
42
- msgid "Send email to"
43
- msgstr "Lähetä sähköposti osoitteeseen"
44
-
45
- msgid "http://wp-optimize.ruhanirabin.com/"
46
- msgstr "http://wp-optimize.ruhanirabin.com/"
47
-
48
- #: wp-optimize-settings.php:191
49
- msgid "Disable/Enable Comments"
50
- msgstr "Kommentit päälle/pois"
51
-
52
- #: wp-optimize-settings.php:180 wp-optimize-settings.php:195
53
- msgid "Enable"
54
- msgstr "Ota käyttöön"
55
-
56
- #: wp-optimize-settings.php:179 wp-optimize-settings.php:194
57
- msgid "Disable"
58
- msgstr "Poista käytöstä"
59
-
60
- #: wp-optimize-settings.php:178 wp-optimize-settings.php:193
61
- msgid "SELECT"
62
- msgstr "VALITSE"
63
-
64
- #: wp-optimize-settings.php:176
65
- msgid "Disable/Enable Trackbacks"
66
- msgstr "Ota käytöstä/Laita käyttöön Viittausosoitteet"
67
-
68
- #: wp-optimize-settings.php:174
69
- msgid "Trackback/Comments Actions"
70
- msgstr "Viittausosoite-/kommenttivalinnat"
71
-
72
- #: wp-optimize-settings.php:200
73
- msgid "This will disable/enable Comments on all your current and previously published posts"
74
- msgstr "Tämä laittaa käyttöön/ottaa käytöstä kommentit kaikkiin nykyisiin ja aiemmin julkaistuihin posteihin"
75
-
76
- #: wp-optimize-settings.php:185
77
- msgid "This will disable/enable Trackbacks on all your current and previously published posts"
78
- msgstr "Tämä poistaa käytöstä/ottaa käyttöön Viittausosoitteet kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
79
-
80
- #: wp-optimize-settings.php:94
81
- msgid "Trackbacks enabled on all current and previously published posts"
82
- msgstr "Viittausosoitteet otettu käyttöön kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
83
-
84
- #: wp-optimize-main.php:272
85
- msgid "Do not select RED marked items unless you really need to use them"
86
- msgstr "ÄLÄ valitse punaisella olevia kohteita ellet välttämättä halua käyttää niitä"
87
-
88
- #: wp-optimize-common.php:704
89
- #, fuzzy
90
- msgid "%d comment removed from Trash"
91
- msgid_plural "%d comments removed from Trash"
92
- msgstr[0] "%d kommenttia poistettu Roskakorista"
93
-
94
- #: wp-optimize-common.php:543
95
- msgid "KB"
96
- msgstr "KB"
97
-
98
- #: wp-optimize-common.php:541
99
- msgid "MB"
100
- msgstr "MB"
101
-
102
- #: wp-optimize-settings.php:88
103
- msgid "Trackbacks disabled on all current and previously published posts"
104
- msgstr "Viittausosoitteet poistettu käytöstä kaikista nykyisistä ja aiemmin julkaistuista posteista"
105
-
106
- #: wp-optimize-settings.php:103
107
- msgid "Comments disabled on all current and previously published posts"
108
- msgstr "Kommentit poistettu käytöstä kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
109
-
110
- #: wp-optimize-settings.php:109
111
- msgid "Comments enabled on all current and previously published posts"
112
- msgstr "Kommentit otettu käyttöön kaikissa nykyisissä ja aiemmin julkaistuissa posteissa"
113
-
114
- #: wp-optimize-main.php:278 wp-optimize-settings.php:207
115
- msgid "Optimize your YouTube embedding in WordPress with this plugin"
116
- msgstr "Optimoi Youtube-upotuksesi WordPressiin tällä pluginilla"
117
-
118
- #: wp-optimize-common.php:539
119
- msgid "GB"
120
- msgstr "GB"
121
-
122
- #: wp-optimize-common.php:710
123
- #, fuzzy
124
- msgid "%d unused comment metadata item removed"
125
- msgid_plural "%d unused comment metadata items removed"
126
- msgstr[0] "%d käyttämätöntä kommenttien metadatakohdetta poistettu"
127
-
128
- #: wp-optimize-common.php:716
129
- #, fuzzy
130
- msgid "%d unused akismet comment metadata item removed"
131
- msgid_plural "%d unused akismet comment metadata items removed"
132
- msgstr[0] "%d käyttämätöntä Akismet-kommenttien metadatakohdetta poistettu"
133
-
134
- #: wp-optimize-credits.php:67
135
- msgid "GitHub Development Log"
136
- msgstr "GitHub Development-loki"
137
-
138
- #: wp-optimize-credits.php:41
139
- msgid "(Translator name)"
140
- msgstr "Kari Nahkuri - Finnish (Suomen kieli)"
141
-
142
- #: wp-optimize-credits.php:41
143
- msgid "http://(Translator Website)"
144
- msgstr "http://www.vahti.net"
145
-
146
- #: wp-optimize-credits.php:43
147
- msgid "Read Translation Instructions"
148
- msgstr "Lue käännösohjeet"
149
-
150
- #: wp-optimize-credits.php:56
151
- msgid "Support E-mail"
152
- msgstr "Tukisähköposti"
153
-
154
- #: wp-optimize-credits.php:53
155
- msgid "Request New Language"
156
- msgstr "Pyydä uutta kieltä"
157
-
158
- #: wp-optimize-credits.php:52
159
- msgid "Plugin Translation Portal (needs translator account)"
160
- msgstr "Pluginin käännösportaali (vaatii kääntäjän tilin)"
161
-
162
- #: wp-optimize-credits.php:51
163
- msgid "Get a Translator Account"
164
- msgstr "Hanki kääntäjän tili"
165
-
166
- #: wp-optimize-main.php:329
167
- msgid "Rating"
168
- msgstr "Luokittelu"
169
-
170
- #: wp-optimize-main.php:328
171
- msgid "Please give a proper rating :)"
172
- msgstr "Ole hyvä ja anna kunnollinen luokitus :)"
173
-
174
- #: wp-optimize-main.php:327
175
- msgid "Donate!"
176
- msgstr "Lahjoita!"
177
-
178
- #: wp-optimize-main.php:327
179
- msgid "Please donate! It really helps me keep improvising"
180
- msgstr "Lahjoita! Se todella auttaa minua pitämään improvisoinnin päällä"
181
-
182
- #: wp-optimize-credits.php:49
183
- msgid "Plugin Resources"
184
- msgstr "Pluginin resurssit"
185
-
186
- #: wp-optimize-credits.php:54
187
- msgid "Plugin Homepage"
188
- msgstr "Pluginin kotisivu"
189
-
190
- #: wp-optimize-credits.php:55
191
- msgid "Support (GitHub)"
192
- msgstr "Tuki (GitHub)"
193
-
194
- #: wp-optimize-credits.php:57
195
- msgid "Change Log"
196
- msgstr "Muutosloki"
197
-
198
- #: wp-optimize-credits.php:58
199
- msgid "FAQ"
200
- msgstr "FAQ"
201
-
202
- #: wp-optimize-credits.php:87
203
- msgid "No items"
204
- msgstr "Ei kohteita"
205
-
206
- #: wp-optimize-main.php:76
207
- #, fuzzy, php-format
208
- msgctxt "%s is the Database Name"
209
- msgid "%s Database Optimized!"
210
- msgstr "%s Tietokanta optimoitu!"
211
-
212
- #: wp-optimize-main.php:154 wp-optimize-main.php:156
213
- msgid "Clean-up options"
214
- msgstr "Puhdistusvalinnat"
215
-
216
- #: wp-optimize-main.php:165
217
- #, fuzzy
218
- msgid "Clean post revisions which are older than %d weeks"
219
- msgstr "Poista postiversiot, jotka ovat vanhempia kuin %d viikkoa"
220
-
221
- #: wp-optimize-main.php:170
222
- msgid "Clean all post revisions"
223
- msgstr "Poista kaikki postiversiot"
224
-
225
- #: wp-optimize-main.php:183
226
- #, fuzzy
227
- msgid "Clean auto draft posts which are older than %d weeks"
228
- msgstr "Poista automaattiset vedokset, jotka ovat vanhempia kuin %d viikkoa"
229
-
230
- #: wp-optimize-main.php:188
231
- msgid "Clean all auto draft posts and posts in trash"
232
- msgstr "Poista kaikki automaattiset vedokset ja roskakorissa olevat postit"
233
-
234
- #: wp-optimize-main.php:203
235
- #, fuzzy
236
- msgid "Remove spam comments which are older than %d weeks"
237
- msgstr "Poista roskakommenti, jotka ovat vanhempia kuin %d viikkoa"
238
-
239
- #: wp-optimize-main.php:208
240
- msgid "Remove spam comments and comments in trash"
241
- msgstr "Poista roskakommentit ja kommentit Roskakorista"
242
-
243
- #: wp-optimize-main.php:222
244
- #, fuzzy
245
- msgid "Remove unapproved comments which are older than %d weeks"
246
- msgstr "Poista hyväksymättömät kommentit, jotka ovat vanhempia kuin %d viikkoa"
247
-
248
- #: wp-optimize-main.php:227 wp-optimize-settings.php:288
249
- msgid "Remove unapproved comments"
250
- msgstr "Poista hyväksymättömät kommentit"
251
-
252
- #: wp-optimize-main.php:240 wp-optimize-settings.php:293
253
- msgid "Remove transient options"
254
- msgstr "Poista tilapäiset valinnat"
255
-
256
- #: wp-optimize-main.php:251
257
- msgid "Remove pingbacks"
258
- msgstr "Poista pingbackit"
259
-
260
- #: wp-optimize-main.php:262
261
- msgid "Remove trackbacks"
262
- msgstr "Poista viittausosoitteet"
263
-
264
- #: wp-optimize-main.php:288
265
- msgid "Actions"
266
- msgstr "Toiminnot"
267
-
268
- #: wp-optimize-main.php:297
269
- msgid "Optimize database tables"
270
- msgstr "Optimoi tietokantataulut"
271
-
272
- #: wp-optimize-main.php:305
273
- msgid "Note:"
274
- msgstr "Huomautus:"
275
-
276
- #: wp-optimize-main.php:308
277
- msgid "InnoDB tables will not be optimized"
278
- msgstr "InnoDB-tauluja EI opimoida"
279
-
280
- #: wp-optimize-main.php:314
281
- msgid "Select safe options"
282
- msgstr "Valitse turvalliset valinnat"
283
-
284
- #: wp-optimize-main.php:315
285
- msgid "Warning:"
286
- msgstr "Varoitus:"
287
-
288
- #: wp-optimize-main.php:316
289
- msgid "Always make a backup of your DB when you upgrade to major versions"
290
- msgstr "Tee AINA varmuuskopio tietokannastasi kun päivität uudempaan versioon"
291
-
292
- #: wp-optimize-main.php:321
293
- msgid "PROCESS"
294
- msgstr "PROSESSOI"
295
-
296
- #: wp-optimize-main.php:334
297
- msgid "Status log"
298
- msgstr "Tilaloki"
299
-
300
- #: wp-optimize-main.php:349
301
- msgid "Last automatic optimization was at"
302
- msgstr "Viimeisin automaattinen optimointi tehtiin"
303
-
304
- #: wp-optimize-main.php:361
305
- msgid "There was no automatic optimization"
306
- msgstr "Automaattista optimointia ei ollut"
307
-
308
- #: wp-optimize-main.php:411 wp-optimize-main.php:436
309
- msgid "Check settings"
310
- msgstr "Tarkista asetukset"
311
-
312
- #: wp-optimize-main.php:376
313
- msgid "Scheduled cleaning enabled"
314
- msgstr "Ajastettu puhdistus on käytössä"
315
-
316
- #: wp-optimize-main.php:388
317
- msgid "Next schedule:"
318
- msgstr "Seuraava aikataulu:"
319
-
320
- #: wp-optimize-main.php:399
321
- msgid "Refresh"
322
- msgstr "Päivitä"
323
-
324
- #: wp-optimize-main.php:408
325
- msgid "Scheduled cleaning disabled"
326
- msgstr "Ajastettu puhdistus ei ole käytössä"
327
-
328
- #: wp-optimize-main.php:422
329
- #, fuzzy
330
- msgid "Keeping last %s weeks data"
331
- msgstr "Pidetään uusin %s viikon data"
332
-
333
- #: wp-optimize-main.php:433
334
- msgid "Not keeping recent data"
335
- msgstr "Viimeaikaisia tietoja ei pidetä"
336
-
337
- #: wp-optimize-main.php:450 wp-optimize-main.php:462
338
- msgid "Current database size:"
339
- msgstr "Nykyisen tietokannan koko:"
340
-
341
- #: wp-optimize-main.php:455
342
- msgid "You have saved:"
343
- msgstr "Olet säästänyt:"
344
-
345
- #: wp-optimize-main.php:470
346
- msgid "You can save almost:"
347
- msgstr "Voit säästää melkein:"
348
-
349
- #: wp-optimize-main.php:487
350
- msgid "Total clean up overall:"
351
- msgstr "Kaikkiaan puhdistettu:"
352
-
353
- #: wp-optimize-main.php:508
354
- msgid "Sponsor"
355
- msgstr "Sponsori"
356
-
357
- #: wp-optimize-settings.php:115
358
- msgid "Settings updated"
359
- msgstr "Asetukset päivitetty"
360
-
361
- #: wp-optimize-settings.php:132
362
- msgid "General Settings"
363
- msgstr "Yleiset asetukset"
364
-
365
- #: wp-optimize-settings.php:137
366
- #, fuzzy
367
- msgid "Keep last %s weeks data"
368
- msgstr "Pidä uusin %s viikon data"
369
-
370
- #: wp-optimize-settings.php:153
371
- msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
372
- msgstr "Tämä valinta säilyttää uusimma valittujen viikkojen datan ja poistaa kaiken roskadatan ennen valittua aikajaksoa. Tämä vaikuttaa myös Automaattiseen puhdistusprosessiin."
373
-
374
- #: wp-optimize-settings.php:162
375
- msgid "Enable admin bar link"
376
- msgstr "Näytä Admin-palkin linkki"
377
-
378
- #: wp-optimize-settings.php:164
379
- msgid "(Click here to refresh)"
380
- msgstr " (Klikkaa tästä päivittääksesi)"
381
-
382
- #: wp-optimize-settings.php:170
383
- msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
384
- msgstr "Tämä valinta laittaa WP-Optimize-linkin Admin-palkin yläosaan (oletus on ei ruksia=pois päältä). Vaatii sivun päivityksen."
385
-
386
- #: wp-optimize-settings.php:211
387
- msgid "SAVE SETTINGS"
388
- msgstr "TALLENNA ASETUKSET"
389
-
390
- #: wp-optimize-settings.php:221
391
- msgid "Auto Clean-up Settings"
392
- msgstr "Automaattisen puhdistuksen asetukset"
393
-
394
- #: wp-optimize-settings.php:224
395
- msgid "Enable scheduled clean-up and optimization (Beta feature!)"
396
- msgstr "Laita päälle automaattinen puhdistus ja optimointi (Beta-ominaisuus!)"
397
-
398
- #: wp-optimize-settings.php:226
399
- msgid "Select schedule type (default is Weekly)"
400
- msgstr "Valitse ajastustyyppi (oletus on 'Joka viikko')"
401
-
402
- #: wp-optimize-settings.php:237 wp-optimize-settings.php:249
403
- #: wp-optimize-settings.php:256
404
- msgid "Every week"
405
- msgstr "Joka viikko"
406
-
407
- #: wp-optimize-settings.php:241 wp-optimize-settings.php:257
408
- msgid "Every other week (every 14 days)"
409
- msgstr "Joka toinen viikko (14 päivän välein)"
410
-
411
- #: wp-optimize-settings.php:245 wp-optimize-settings.php:258
412
- msgid "Every month (every 31 days)"
413
- msgstr "Joka kuukausi (31 päivän välein)"
414
-
415
- #: wp-optimize-settings.php:262
416
- msgid "Automatic cleanup will perform the following:"
417
- msgstr "Automaattinen puhdistus tekee seuraavaa:"
418
-
419
- #: wp-optimize-settings.php:264
420
- msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
421
- msgstr "Poistaa versiot, automaattiset vedokset, postit/kommentit Roskakorissa, tilapäiset valinnat. Tämän jälkeen tietokanta optimoidaan."
422
-
423
- #: wp-optimize-settings.php:271
424
- msgid "These options will only work if the automatic clean-up schedule has been enabled"
425
- msgstr "Tämä valinta toimii VAIN, jos automaattinen puhdistusajastus on laitettu päälle"
426
-
427
- #: wp-optimize-settings.php:276
428
- msgid "Remove auto revisions"
429
- msgstr "Poista automaattiset versiot"
430
-
431
- #: wp-optimize-settings.php:280
432
- msgid "Remove auto drafts"
433
- msgstr "Poista automaattiset vedokset"
434
-
435
- #: wp-optimize-settings.php:284
436
- msgid "Remove spam comments"
437
- msgstr "Poista roskakommentit"
438
-
439
- #: wp-optimize-settings.php:297
440
- msgid "Remove orphaned post meta"
441
- msgstr "Poista orpo postidata"
442
-
443
- #: wp-optimize-settings.php:301
444
- msgid "Remove unused tags"
445
- msgstr "Poista käyttämättömät tagit"
446
-
447
- #: wp-optimize-settings.php:307
448
- msgid "Optimize database"
449
- msgstr "Optimoi tietokanta"
450
-
451
- #: wp-optimize-settings.php:313
452
- msgid "If you have InnoDB tables. They will not be optimized!"
453
- msgstr "Mikäli sinulla on InnoDB-tauluja. Niitä EI optimoida!"
454
-
455
- #: wp-optimize-settings.php:335
456
- msgid "SAVE AUTO CLEAN-UP SETTINGS"
457
- msgstr "TALLENNA AUTOMAATTIPUHDISTUS ASETUKSET"
458
-
459
- #: wp-optimize-tables.php:20
460
- msgid "Database Name:"
461
- msgstr "Tietokannan nimi:"
462
-
463
- #: wp-optimize-tables.php:28
464
- msgid "Optimized all the tables found in the database."
465
- msgstr "Optimoitiin kaikki tietokannasta löytyneet taulut."
466
-
467
- #: wp-optimize-tables.php:36
468
- msgid "No."
469
- msgstr "Nro."
470
-
471
- #: wp-optimize-tables.php:38
472
- msgid "Records"
473
- msgstr "Tietuetta"
474
-
475
- #: wp-optimize-tables.php:39
476
- msgid "Data Size"
477
- msgstr "Datakoko"
478
-
479
- #: wp-optimize-tables.php:40
480
- msgid "Index Size"
481
- msgstr "Indeksin koko"
482
-
483
- #: wp-optimize-tables.php:41
484
- msgid "Type"
485
- msgstr "Tyyppi"
486
-
487
- #: wp-optimize-tables.php:42
488
- msgid "Overhead"
489
- msgstr "Pirstoutuminen"
490
-
491
- #: wp-optimize-tables.php:137
492
- msgid "Total:"
493
- msgstr "Kaikkiaan:"
494
-
495
- #: wp-optimize-tables.php:138
496
- msgid "%d Table"
497
- msgid_plural "%d Tables"
498
- msgstr[0] "%d taulu"
499
- msgstr[1] "%d taulua"
500
-
501
- #: wp-optimize-tables.php:139
502
- msgid "%d Record"
503
- msgid_plural "%d Records"
504
- msgstr[0] "%d tietue"
505
- msgstr[1] "%d tietuetta"
506
-
507
- #: wp-optimize-tables.php:179
508
- msgid "Total Size of Database:"
509
- msgstr "Tietokannan kokonaiskoko:"
510
-
511
- #: wp-optimize-tables.php:191
512
- msgid "Optimization Results:"
513
- msgstr "Optimoinnin tulokset:"
514
-
515
- #: wp-optimize-tables.php:196
516
- msgid "Total Space Saved:"
517
- msgstr "Kaikkiaan tilaa säästettiin:"
518
-
519
- #: wp-optimize-tables.php:208
520
- msgid "Optimization Possibility:"
521
- msgstr "Optimointimahdollisuus:"
522
-
523
- #: wp-optimize-tables.php:215
524
- msgid "Total space can be saved:"
525
- msgstr "Kaikkiaan tilaa voidaan säästää:"
526
-
527
- msgid "WP-Optimize"
528
- msgstr "WP-Optimize"
529
-
530
- msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
531
- msgstr "Tämä plugin auttaa sinua pitämään tietokantasi puhtaana poistamalla postiversiot ja roskapostin salamannopeasti. Lisäksi se mahdollistaa WordPress-ytimen taulujen optimointikomennon suorittamisen (käytä VAROVASTI)."
532
-
533
- msgid "Ruhani Rabin"
534
- msgstr "Ruhani Rabin"
535
-
536
- msgid "https://github.com/ruhanirabin/WP-Optimize"
537
- msgstr "https://github.com/ruhanirabin/WP-Optimize"
538
-
539
- #: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
540
- msgid "Optimizer"
541
- msgstr "Optimizer"
542
-
543
- #: wp-optimize-admin.php:28 wp-optimize-admin.php:46
544
- msgid "MYSQL"
545
- msgstr "MYSQL"
546
-
547
- #: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
548
- msgid "Settings"
549
- msgstr "Asetukset"
550
-
551
- #: wp-optimize-admin.php:34 wp-optimize-admin.php:56
552
- msgid "Info"
553
- msgstr "Tietoa"
554
-
555
- #: wp-optimize-admin.php:52 wp-optimize-tables.php:37
556
- msgid "Tables"
557
- msgstr "Taulut"
558
-
559
- #: wp-optimize-common.php:545
560
- msgid "bytes"
561
- msgstr "bittiä"
562
-
563
- #: wp-optimize-common.php:635
564
- #, fuzzy
565
- msgid "%d transient option deleted"
566
- msgid_plural "%d transient options deleted"
567
- msgstr[0] "%d väliaikaiset valinnat poistettu"
568
-
569
- #: wp-optimize-common.php:662
570
- #, fuzzy
571
- msgid "%d post revision deleted"
572
- msgid_plural "%d post revisions deleted"
573
- msgstr[0] "%d postiversiota poistettu"
574
-
575
- #: wp-optimize-common.php:673
576
- #, fuzzy
577
- msgid "%d auto draft deleted"
578
- msgid_plural "%d auto drafts deleted"
579
- msgstr[0] "%d automaattivedosta poistettu"
580
-
581
- #: wp-optimize-common.php:683
582
- #, fuzzy
583
- msgid "%d item removed from Trash"
584
- msgid_plural "%d items removed from Trash"
585
- msgstr[0] "%d kohdetta poistettu Roskakorista"
586
-
587
- #: wp-optimize-common.php:695
588
- #, fuzzy
589
- msgid "%d spam comment deleted"
590
- msgid_plural "%d spam comments deleted"
591
- msgstr[0] "%d roskapostikommenttia poistettu"
592
-
593
- #: wp-optimize-common.php:726
594
- #, fuzzy
595
- msgid "%d unapproved comment deleted"
596
- msgid_plural "%d unapproved comments deleted"
597
- msgstr[0] "%d hyväksymätöntä kommenttia poistettu"
598
-
599
- #: wp-optimize-common.php:732
600
- #, fuzzy
601
- msgid "%d pingback deleted"
602
- msgid_plural "%d pingbacks deleted"
603
- msgstr[0] "%d pingbackit poistettu"
604
-
605
- #: wp-optimize-common.php:738
606
- #, fuzzy
607
- msgid "%d trackback deleted"
608
- msgid_plural "%d trackbacks deleted"
609
- msgstr[0] "%d viittausosoitetta poistettu"
610
-
611
- #: wp-optimize-common.php:745
612
- msgid "Enabled weekly processing"
613
- msgstr "Laita päälle viikoittainen prosessointi"
614
-
615
- #: wp-optimize-common.php:751
616
- msgid "Disabled weekly processing"
617
- msgstr "Poista käytöstä viikoittainen prosessointi"
618
-
619
- #: wp-optimize-common.php:760
620
- msgid "NO Actions Taken"
621
- msgstr "EI tehty toimintoja"
622
-
623
- #: wp-optimize-common.php:787
624
- #, fuzzy
625
- msgid "%d transient option in your database"
626
- msgid_plural "%d transient options in your database"
627
- msgstr[0] "%d väliaikaista valintaa tietokannassasi"
628
-
629
- #: wp-optimize-common.php:789
630
- msgid "No transient options found"
631
- msgstr "Väliaikaisia valintoja ei löytynyt"
632
-
633
- #: wp-optimize-common.php:798
634
- #, fuzzy
635
- msgid "%d orphaned postmeta in your database"
636
- msgid_plural "%d orphaned postmeta in your database"
637
- msgstr[0] "%d orpo postimetadata tietokannassasi"
638
-
639
- #: wp-optimize-common.php:800
640
- msgid "No orphaned postmeta in your database"
641
- msgstr "Ei orpoa postimetadataa tietokannassasi"
642
-
643
- #: wp-optimize-common.php:809
644
- #, fuzzy
645
- msgid "%d unused tag in your database"
646
- msgid_plural "%d unused tags in your database"
647
- msgstr[0] "%d käyttämätöntä tägiä tietokannassasi"
648
-
649
- #: wp-optimize-common.php:811
650
- msgid "No unused tags found"
651
- msgstr "Käyttämättömiä tagejä ei löytynyt"
652
-
653
- #: wp-optimize-common.php:824
654
- #, fuzzy
655
- msgid "%d post revision in your database"
656
- msgid_plural "%d post revisions in your database"
657
- msgstr[0] "%d postiversiota tietokannassasi"
658
-
659
- #: wp-optimize-common.php:826
660
- msgid "No post revisions found"
661
- msgstr "Postiversioita ei löytynyt"
662
-
663
- #: wp-optimize-common.php:839
664
- #, fuzzy
665
- msgid "%d auto draft post in your database"
666
- msgid_plural "%d auto draft posts in your database"
667
- msgstr[0] "%d automaattista postivedosta tietokannassasi"
668
-
669
- #: wp-optimize-common.php:841
670
- msgid "No auto draft posts found"
671
- msgstr "Ei löydetty automaattisia vedoksia"
672
-
673
- #: wp-optimize-common.php:853
674
- #, fuzzy
675
- msgid "%d spam comment found"
676
- msgid_plural "%d spam comments found"
677
- msgstr[0] "%d löytyi roskapostikommentteja"
678
-
679
- #: wp-optimize-common.php:853 wp-optimize-common.php:884
680
- msgid "Review"
681
- msgstr "Arvostelu"
682
-
683
- #: wp-optimize-common.php:855
684
- msgid "No spam comments found"
685
- msgstr "Roskakommentteja ei löytynyt"
686
-
687
- #: wp-optimize-common.php:884
688
- #, fuzzy
689
- msgid "%d unapproved comment found"
690
- msgid_plural "%d unapproved comments found"
691
- msgstr[0] "%d hyväksymätöntä kommenttia löydetty"
692
-
693
- #: wp-optimize-common.php:886
694
- msgid "No unapproved comments found"
695
- msgstr "Hyväksymättömiä kommentteja ei löytynyt"
696
-
697
- #: wp-optimize-common.php:894
698
- #, fuzzy
699
- msgid "%d Pingback found"
700
- msgid_plural "%d Pingbacks found"
701
- msgstr[0] "%d Pingbackejä löytyi"
702
-
703
- #: wp-optimize-common.php:896
704
- msgid "No pingbacks found"
705
- msgstr "Pingbackeja ei löytynyt"
706
-
707
- #: wp-optimize-common.php:904
708
- #, fuzzy
709
- msgid "%d Trackback found"
710
- msgid_plural "%d Trackbacks found"
711
- msgstr[0] "%d Viittausosoitteita löytyi"
712
-
713
- #: wp-optimize-common.php:906
714
- msgid "No trackbacks found"
715
- msgstr "Viittausosoitteita ei löytynyt"
716
-
717
- #: wp-optimize-common.php:912
718
- msgid "nothing"
719
- msgstr "ei mitään"
720
-
721
- #: wp-optimize-credits.php:14
722
- msgid "Credits"
723
- msgstr "Alkutekstit"
724
-
725
- #: wp-optimize-credits.php:15
726
- msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
727
- msgstr "WP-Optimizer alkoi apuohjelmana omalle projektilleni. Havaitsin pian, että tämä plugin saattaisi auttaa monia muitakin ihmisiä. Kiitän henkilökohtaisesti kaikkia henkilöitä, jotka käyttävät tätä pluginia päivittäin. Kiitos kuuluu myös kaikille kääntäjille ja anteliaille ihmisille, jotka ovat lahjoittaneet tälle projektille."
728
-
729
- #: wp-optimize-credits.php:29
730
- msgid "Contributing Developers"
731
- msgstr "Tuetaan kehittäjiä"
732
-
733
- #: wp-optimize-credits.php:30
734
- msgid "Help me make this plugin better"
735
- msgstr "Auta tekemään tästä pluginista parempi"
736
-
737
- #: wp-optimize-credits.php:30
738
- msgid "I am looking for contributing developers."
739
- msgstr "Etsin tukea kehittäjille."
740
-
741
- #: wp-optimize-credits.php:31
742
- msgid "Your name and website will be credited here in the plugin"
743
- msgstr "Nimesi ja kotisivusi mainitaan tällä pluginilla."
744
-
745
- #: wp-optimize-credits.php:40
746
- msgid "Translators"
747
- msgstr "Kääntäjät"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-optimize-id_ID.mo DELETED
Binary file
languages/wp-optimize-id_ID.po DELETED
@@ -1,747 +0,0 @@
1
- # Translation of WP-Optimize in Indonesian
2
- # This file is distributed under the same license as the WP-Optimize package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2015-04-07 07:09:27+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n > 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: WP-Optimize\n"
12
-
13
- #: wp-optimize-common.php:72
14
- msgid "Automatic Operation Completed"
15
- msgstr "Operasi Otomatis Selesai"
16
-
17
- #: wp-optimize-common.php:74
18
- msgid "Scheduled optimization was executed at"
19
- msgstr "Optimasi terjadwal telah dilakukan pada"
20
-
21
- #: wp-optimize-common.php:76
22
- msgid "You can safely delete this email."
23
- msgstr "Kamu dapat menghapus email ini."
24
-
25
- #: wp-optimize-common.php:78
26
- msgid "Regards,"
27
- msgstr "Salam,"
28
-
29
- #: wp-optimize-common.php:79
30
- msgid "WP-Optimize Plugin"
31
- msgstr "Plugin WP-Optimize"
32
-
33
- #: wp-optimize-settings.php:233 wp-optimize-settings.php:255
34
- msgid "Everyday"
35
- msgstr "Tiaphari"
36
-
37
- #: wp-optimize-settings.php:322
38
- msgid "Enable email notification"
39
- msgstr "Aktifkan notifikasi email"
40
-
41
- #: wp-optimize-settings.php:329
42
- msgid "Send email to"
43
- msgstr "Kirim email ke"
44
-
45
- msgid "http://wp-optimize.ruhanirabin.com/"
46
- msgstr "http://wp-optimize.ruhanirabin.com/"
47
-
48
- #: wp-optimize-settings.php:191
49
- msgid "Disable/Enable Comments"
50
- msgstr "Nonaktifkan / Aktifkan Komentar"
51
-
52
- #: wp-optimize-settings.php:180 wp-optimize-settings.php:195
53
- msgid "Enable"
54
- msgstr "Aktifkan"
55
-
56
- #: wp-optimize-settings.php:179 wp-optimize-settings.php:194
57
- msgid "Disable"
58
- msgstr "Nonaktifkan"
59
-
60
- #: wp-optimize-settings.php:178 wp-optimize-settings.php:193
61
- msgid "SELECT"
62
- msgstr "Pilih"
63
-
64
- #: wp-optimize-settings.php:176
65
- msgid "Disable/Enable Trackbacks"
66
- msgstr "Nonaktifkan / Aktifkan Trackbacks"
67
-
68
- #: wp-optimize-settings.php:174
69
- msgid "Trackback/Comments Actions"
70
- msgstr "Trackback / Komentar Actions"
71
-
72
- #: wp-optimize-settings.php:200
73
- msgid "This will disable/enable Comments on all your current and previously published posts"
74
- msgstr "Ini akan mengaktifkan / menonaktifkan Komentar untuk semua posting Anda saat ini dan sebelumnya diterbitkan"
75
-
76
- #: wp-optimize-settings.php:185
77
- msgid "This will disable/enable Trackbacks on all your current and previously published posts"
78
- msgstr "Ini akan mengaktifkan / menonaktifkan Trackbacks pada semua posting Anda saat ini dan sebelumnya diterbitkan"
79
-
80
- #: wp-optimize-settings.php:94
81
- msgid "Trackbacks enabled on all current and previously published posts"
82
- msgstr "Trackbacks diaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
83
-
84
- #: wp-optimize-main.php:272
85
- msgid "Do not select RED marked items unless you really need to use them"
86
- msgstr "Jangan pilih MERAH ditandai item kecuali jika anda benar-benar perlu untuk menggunakannya"
87
-
88
- #: wp-optimize-common.php:704
89
- #, fuzzy
90
- msgid "%d comment removed from Trash"
91
- msgid_plural "%d comments removed from Trash"
92
- msgstr[0] "%d komentar dihapus dari Sampah"
93
-
94
- #: wp-optimize-common.php:543
95
- msgid "KB"
96
- msgstr "KB"
97
-
98
- #: wp-optimize-common.php:541
99
- msgid "MB"
100
- msgstr "MB"
101
-
102
- #: wp-optimize-settings.php:88
103
- msgid "Trackbacks disabled on all current and previously published posts"
104
- msgstr "Trackbacks dinonaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
105
-
106
- #: wp-optimize-settings.php:103
107
- msgid "Comments disabled on all current and previously published posts"
108
- msgstr "Komentar dinonaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
109
-
110
- #: wp-optimize-settings.php:109
111
- msgid "Comments enabled on all current and previously published posts"
112
- msgstr "Komentar diaktifkan pada semua posting saat ini dan sebelumnya diterbitkan"
113
-
114
- #: wp-optimize-main.php:278 wp-optimize-settings.php:207
115
- msgid "Optimize your YouTube embedding in WordPress with this plugin"
116
- msgstr "Optimalkan embedding YouTube di WordPress dengan plugin ini"
117
-
118
- #: wp-optimize-common.php:539
119
- msgid "GB"
120
- msgstr "GB"
121
-
122
- #: wp-optimize-common.php:710
123
- #, fuzzy
124
- msgid "%d unused comment metadata item removed"
125
- msgid_plural "%d unused comment metadata items removed"
126
- msgstr[0] "%d Terpakai item komentar metadata dihapus"
127
-
128
- #: wp-optimize-common.php:716
129
- #, fuzzy
130
- msgid "%d unused akismet comment metadata item removed"
131
- msgid_plural "%d unused akismet comment metadata items removed"
132
- msgstr[0] "%d Akismet yang tidak terpakai item komentar metadata dihapus"
133
-
134
- #: wp-optimize-credits.php:67
135
- msgid "GitHub Development Log"
136
- msgstr "Log Pengembangan GitHub"
137
-
138
- #: wp-optimize-credits.php:41
139
- msgid "(Translator name)"
140
- msgstr "RMvalues"
141
-
142
- #: wp-optimize-credits.php:41
143
- msgid "http://(Translator Website)"
144
- msgstr "https://www.rmvalues.com/"
145
-
146
- #: wp-optimize-credits.php:43
147
- msgid "Read Translation Instructions"
148
- msgstr "Baca Instruksi pada"
149
-
150
- #: wp-optimize-credits.php:56
151
- msgid "Support E-mail"
152
- msgstr "Dukungan E-mail"
153
-
154
- #: wp-optimize-credits.php:53
155
- msgid "Request New Language"
156
- msgstr "Meminta Bahasa Baru"
157
-
158
- #: wp-optimize-credits.php:52
159
- msgid "Plugin Translation Portal (needs translator account)"
160
- msgstr "Plugin pada Portal (perlu akun penerjemah)"
161
-
162
- #: wp-optimize-credits.php:51
163
- msgid "Get a Translator Account"
164
- msgstr "Dapatkan akun penerjemah"
165
-
166
- #: wp-optimize-main.php:329
167
- msgid "Rating"
168
- msgstr "Penilaian"
169
-
170
- #: wp-optimize-main.php:328
171
- msgid "Please give a proper rating :)"
172
- msgstr "Tolong beri rating yang tepat :)"
173
-
174
- #: wp-optimize-main.php:327
175
- msgid "Donate!"
176
- msgstr "Donasi!"
177
-
178
- #: wp-optimize-main.php:327
179
- msgid "Please donate! It really helps me keep improvising"
180
- msgstr "Harap menyumbang! Itu benar-benar membantu saya tetap improvisasi"
181
-
182
- #: wp-optimize-credits.php:49
183
- msgid "Plugin Resources"
184
- msgstr "Sumberdaya Plugin"
185
-
186
- #: wp-optimize-credits.php:54
187
- msgid "Plugin Homepage"
188
- msgstr "Beranda Plugin"
189
-
190
- #: wp-optimize-credits.php:55
191
- msgid "Support (GitHub)"
192
- msgstr "Membantu (GitHub)"
193
-
194
- #: wp-optimize-credits.php:57
195
- msgid "Change Log"
196
- msgstr "Log Perubahan"
197
-
198
- #: wp-optimize-credits.php:58
199
- msgid "FAQ"
200
- msgstr "FAQ"
201
-
202
- #: wp-optimize-credits.php:87
203
- msgid "No items"
204
- msgstr "Tidak ada item"
205
-
206
- #: wp-optimize-main.php:76
207
- #, fuzzy, php-format
208
- msgctxt "%s is the Database Name"
209
- msgid "%s Database Optimized!"
210
- msgstr "%s Database Teroptimasi!"
211
-
212
- #: wp-optimize-main.php:154 wp-optimize-main.php:156
213
- msgid "Clean-up options"
214
- msgstr "Pilihan Clean-up"
215
-
216
- #: wp-optimize-main.php:165
217
- #, fuzzy
218
- msgid "Clean post revisions which are older than %d weeks"
219
- msgstr "Pasca revisi bersih yang lebih tua dari %d minggu"
220
-
221
- #: wp-optimize-main.php:170
222
- msgid "Clean all post revisions"
223
- msgstr "Bersihkan semua revisi posting"
224
-
225
- #: wp-optimize-main.php:183
226
- #, fuzzy
227
- msgid "Clean auto draft posts which are older than %d weeks"
228
- msgstr "Auto posting konsep Clean yang lebih tua dari %d minggu"
229
-
230
- #: wp-optimize-main.php:188
231
- msgid "Clean all auto draft posts and posts in trash"
232
- msgstr "Bersihkan semua posting auto konsep dan posting di tong sampah"
233
-
234
- #: wp-optimize-main.php:203
235
- #, fuzzy
236
- msgid "Remove spam comments which are older than %d weeks"
237
- msgstr "Hapus komentar sampah yang lebih lama dari %d minggu"
238
-
239
- #: wp-optimize-main.php:208
240
- msgid "Remove spam comments and comments in trash"
241
- msgstr "Hapus komentar spam dan komentar di tempat sampah"
242
-
243
- #: wp-optimize-main.php:222
244
- #, fuzzy
245
- msgid "Remove unapproved comments which are older than %d weeks"
246
- msgstr "Hapus komentar yang tidak disetujui yang lebih lama dari %d minggu"
247
-
248
- #: wp-optimize-main.php:227 wp-optimize-settings.php:288
249
- msgid "Remove unapproved comments"
250
- msgstr "Hapus komentar yang tidak disetujui"
251
-
252
- #: wp-optimize-main.php:240 wp-optimize-settings.php:293
253
- msgid "Remove transient options"
254
- msgstr "Hapus pilihan sementara"
255
-
256
- #: wp-optimize-main.php:251
257
- msgid "Remove pingbacks"
258
- msgstr "Hapus pingback"
259
-
260
- #: wp-optimize-main.php:262
261
- msgid "Remove trackbacks"
262
- msgstr "Hapus trackback"
263
-
264
- #: wp-optimize-main.php:288
265
- msgid "Actions"
266
- msgstr "Tindakan"
267
-
268
- #: wp-optimize-main.php:297
269
- msgid "Optimize database tables"
270
- msgstr "Optimasi tabel database"
271
-
272
- #: wp-optimize-main.php:305
273
- msgid "Note:"
274
- msgstr "Catatan:"
275
-
276
- #: wp-optimize-main.php:308
277
- msgid "InnoDB tables will not be optimized"
278
- msgstr "Table InnoDB tidak akan dioptimalkan"
279
-
280
- #: wp-optimize-main.php:314
281
- msgid "Select safe options"
282
- msgstr "Pilih opsi yang selamat"
283
-
284
- #: wp-optimize-main.php:315
285
- msgid "Warning:"
286
- msgstr "Amaran:"
287
-
288
- #: wp-optimize-main.php:316
289
- msgid "Always make a backup of your DB when you upgrade to major versions"
290
- msgstr "Selalu membuat cadangan dari DB Anda ketika Anda meng-upgrade ke versi utama"
291
-
292
- #: wp-optimize-main.php:321
293
- msgid "PROCESS"
294
- msgstr "PROSES"
295
-
296
- #: wp-optimize-main.php:334
297
- msgid "Status log"
298
- msgstr "Status log"
299
-
300
- #: wp-optimize-main.php:349
301
- msgid "Last automatic optimization was at"
302
- msgstr "Terakhir optimasi otomatis berada di"
303
-
304
- #: wp-optimize-main.php:361
305
- msgid "There was no automatic optimization"
306
- msgstr "Tidak ada optimasi otomatis"
307
-
308
- #: wp-optimize-main.php:411 wp-optimize-main.php:436
309
- msgid "Check settings"
310
- msgstr "Cek Pengaturan"
311
-
312
- #: wp-optimize-main.php:376
313
- msgid "Scheduled cleaning enabled"
314
- msgstr "Jadwal pembersihan diaktifkan"
315
-
316
- #: wp-optimize-main.php:388
317
- msgid "Next schedule:"
318
- msgstr "Jadwal berikutnya:"
319
-
320
- #: wp-optimize-main.php:399
321
- msgid "Refresh"
322
- msgstr "Segarkan"
323
-
324
- #: wp-optimize-main.php:408
325
- msgid "Scheduled cleaning disabled"
326
- msgstr "Pembersihan dijadwalkan dinonaktifkan"
327
-
328
- #: wp-optimize-main.php:422
329
- #, fuzzy
330
- msgid "Keeping last %s weeks data"
331
- msgstr "Menjaga terakhir %s data minggu"
332
-
333
- #: wp-optimize-main.php:433
334
- msgid "Not keeping recent data"
335
- msgstr "Tidak menjaga data terbaru"
336
-
337
- #: wp-optimize-main.php:450 wp-optimize-main.php:462
338
- msgid "Current database size:"
339
- msgstr "Ukuran database saat ini:"
340
-
341
- #: wp-optimize-main.php:455
342
- msgid "You have saved:"
343
- msgstr "Anda telah menyimpan:"
344
-
345
- #: wp-optimize-main.php:470
346
- msgid "You can save almost:"
347
- msgstr "Anda dapat menyimpan hampir:"
348
-
349
- #: wp-optimize-main.php:487
350
- msgid "Total clean up overall:"
351
- msgstr "Total pembersihan:"
352
-
353
- #: wp-optimize-main.php:508
354
- msgid "Sponsor"
355
- msgstr "Sponsor"
356
-
357
- #: wp-optimize-settings.php:115
358
- msgid "Settings updated"
359
- msgstr "Pengaturan Diperbaharui"
360
-
361
- #: wp-optimize-settings.php:132
362
- msgid "General Settings"
363
- msgstr "Pengaturan Umum"
364
-
365
- #: wp-optimize-settings.php:137
366
- #, fuzzy
367
- msgid "Keep last %s weeks data"
368
- msgstr "Jaga terakhir %s data minggu"
369
-
370
- #: wp-optimize-settings.php:153
371
- msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
372
- msgstr "Pilihan ini akan menyimpan data minggu yang dipilih terakhir dan menghapus data sampah sebelum masa itu. Ini juga akan mempengaruhi Auto Clean-up proses"
373
-
374
- #: wp-optimize-settings.php:162
375
- msgid "Enable admin bar link"
376
- msgstr "Aktifkan balok tautan admin"
377
-
378
- #: wp-optimize-settings.php:164
379
- msgid "(Click here to refresh)"
380
- msgstr "( Klik untuk menyegarkan)"
381
-
382
- #: wp-optimize-settings.php:170
383
- msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
384
- msgstr "Pilihan ini menempatkan tautan WP-Optimize diatas balok admin (default mati). Segarkan halaman"
385
-
386
- #: wp-optimize-settings.php:211
387
- msgid "SAVE SETTINGS"
388
- msgstr "SIMPAN PENGATURAN"
389
-
390
- #: wp-optimize-settings.php:221
391
- msgid "Auto Clean-up Settings"
392
- msgstr "Setting Merapikan Otomatis"
393
-
394
- #: wp-optimize-settings.php:224
395
- msgid "Enable scheduled clean-up and optimization (Beta feature!)"
396
- msgstr "Aktifkan dijadwalkan pembersihan dan optimasi (fitur Beta!)"
397
-
398
- #: wp-optimize-settings.php:226
399
- msgid "Select schedule type (default is Weekly)"
400
- msgstr "Pilih tipe Skedul ( default adalah mingguan)"
401
-
402
- #: wp-optimize-settings.php:237 wp-optimize-settings.php:249
403
- #: wp-optimize-settings.php:256
404
- msgid "Every week"
405
- msgstr "Tiap minggu"
406
-
407
- #: wp-optimize-settings.php:241 wp-optimize-settings.php:257
408
- msgid "Every other week (every 14 days)"
409
- msgstr "Setiap beberapa minggu ( tiap 14 hari )"
410
-
411
- #: wp-optimize-settings.php:245 wp-optimize-settings.php:258
412
- msgid "Every month (every 31 days)"
413
- msgstr "Tiap bulan (tiap 31 hari)"
414
-
415
- #: wp-optimize-settings.php:262
416
- msgid "Automatic cleanup will perform the following:"
417
- msgstr "Pembersihan otomatis akan berlangsung pada:"
418
-
419
- #: wp-optimize-settings.php:264
420
- msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
421
- msgstr "Hapus revisi, draf otomatis, tulisan/komentar di tempat sampah, pilihan sementara. Setelah itu akan mengoptimasi database."
422
-
423
- #: wp-optimize-settings.php:271
424
- msgid "These options will only work if the automatic clean-up schedule has been enabled"
425
- msgstr "Pilihan akan berfungsi jika jadwal pembersihan otomatis telah diaktifkan"
426
-
427
- #: wp-optimize-settings.php:276
428
- msgid "Remove auto revisions"
429
- msgstr "Hapus revisi otomatis"
430
-
431
- #: wp-optimize-settings.php:280
432
- msgid "Remove auto drafts"
433
- msgstr "Hapus draf otomatis"
434
-
435
- #: wp-optimize-settings.php:284
436
- msgid "Remove spam comments"
437
- msgstr "Hapus komentar sampah"
438
-
439
- #: wp-optimize-settings.php:297
440
- msgid "Remove orphaned post meta"
441
- msgstr "Hapus post meta tersendiri"
442
-
443
- #: wp-optimize-settings.php:301
444
- msgid "Remove unused tags"
445
- msgstr "Hapus tag tidak terpakai"
446
-
447
- #: wp-optimize-settings.php:307
448
- msgid "Optimize database"
449
- msgstr "Optimasi Database"
450
-
451
- #: wp-optimize-settings.php:313
452
- msgid "If you have InnoDB tables. They will not be optimized!"
453
- msgstr "Jika anda pakai table InnoDB. Ia tidak akan dioptimalkan!"
454
-
455
- #: wp-optimize-settings.php:335
456
- msgid "SAVE AUTO CLEAN-UP SETTINGS"
457
- msgstr "SIMPAN PENGATURAN PEMBERSIHAN OTOMATIS"
458
-
459
- #: wp-optimize-tables.php:20
460
- msgid "Database Name:"
461
- msgstr "Nama Database:"
462
-
463
- #: wp-optimize-tables.php:28
464
- msgid "Optimized all the tables found in the database."
465
- msgstr "Optimasi semua tabel yang ditemukan di database"
466
-
467
- #: wp-optimize-tables.php:36
468
- msgid "No."
469
- msgstr "Tiada"
470
-
471
- #: wp-optimize-tables.php:38
472
- msgid "Records"
473
- msgstr "Rekaman"
474
-
475
- #: wp-optimize-tables.php:39
476
- msgid "Data Size"
477
- msgstr "Ukuran Data"
478
-
479
- #: wp-optimize-tables.php:40
480
- msgid "Index Size"
481
- msgstr "Ukuran Indek"
482
-
483
- #: wp-optimize-tables.php:41
484
- msgid "Type"
485
- msgstr "Jenis"
486
-
487
- #: wp-optimize-tables.php:42
488
- msgid "Overhead"
489
- msgstr "Overhead"
490
-
491
- #: wp-optimize-tables.php:137
492
- msgid "Total:"
493
- msgstr "Jumlah"
494
-
495
- #: wp-optimize-tables.php:138
496
- msgid "%d Table"
497
- msgid_plural "%d Tables"
498
- msgstr[0] "%d Table"
499
- msgstr[1] "%d Tables"
500
-
501
- #: wp-optimize-tables.php:139
502
- msgid "%d Record"
503
- msgid_plural "%d Records"
504
- msgstr[0] "%d Rekod"
505
- msgstr[1] "%d Rekod"
506
-
507
- #: wp-optimize-tables.php:179
508
- msgid "Total Size of Database:"
509
- msgstr "Ukuran total Database:"
510
-
511
- #: wp-optimize-tables.php:191
512
- msgid "Optimization Results:"
513
- msgstr "Hasil Optimasi:"
514
-
515
- #: wp-optimize-tables.php:196
516
- msgid "Total Space Saved:"
517
- msgstr "Total Ruang Tersimpan:"
518
-
519
- #: wp-optimize-tables.php:208
520
- msgid "Optimization Possibility:"
521
- msgstr "Kemungkinan Optimasi:"
522
-
523
- #: wp-optimize-tables.php:215
524
- msgid "Total space can be saved:"
525
- msgstr "Total ruang yang dapat disimpan:"
526
-
527
- msgid "WP-Optimize"
528
- msgstr "WP-Optimize"
529
-
530
- msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
531
- msgstr "Plugin ini membantu anda untuk menjaga database anda bersih dengan membuang pos revisi dan spam dalam satu klik saja. Selain itu memungkinkan anda untuk menjalankan mengoptimalkan perintah pada anda table inti WordPress (gunakan dengan prihatian)."
532
-
533
- msgid "Ruhani Rabin"
534
- msgstr "Ruhani Rabin"
535
-
536
- msgid "https://github.com/ruhanirabin/WP-Optimize"
537
- msgstr "https://github.com/ruhanirabin/WP-Optimize"
538
-
539
- #: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
540
- msgid "Optimizer"
541
- msgstr "Pengoptimasi"
542
-
543
- #: wp-optimize-admin.php:28 wp-optimize-admin.php:46
544
- msgid "MYSQL"
545
- msgstr "MYSQL"
546
-
547
- #: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
548
- msgid "Settings"
549
- msgstr "Pengaturan"
550
-
551
- #: wp-optimize-admin.php:34 wp-optimize-admin.php:56
552
- msgid "Info"
553
- msgstr "Info"
554
-
555
- #: wp-optimize-admin.php:52 wp-optimize-tables.php:37
556
- msgid "Tables"
557
- msgstr "Tables"
558
-
559
- #: wp-optimize-common.php:545
560
- msgid "bytes"
561
- msgstr "bytes"
562
-
563
- #: wp-optimize-common.php:635
564
- #, fuzzy
565
- msgid "%d transient option deleted"
566
- msgid_plural "%d transient options deleted"
567
- msgstr[0] "%d pilihan sementara dihapus"
568
-
569
- #: wp-optimize-common.php:662
570
- #, fuzzy
571
- msgid "%d post revision deleted"
572
- msgid_plural "%d post revisions deleted"
573
- msgstr[0] "%d revisi tulisan dihapus"
574
-
575
- #: wp-optimize-common.php:673
576
- #, fuzzy
577
- msgid "%d auto draft deleted"
578
- msgid_plural "%d auto drafts deleted"
579
- msgstr[0] "%d draft otomatis dihapus"
580
-
581
- #: wp-optimize-common.php:683
582
- #, fuzzy
583
- msgid "%d item removed from Trash"
584
- msgid_plural "%d items removed from Trash"
585
- msgstr[0] "%d item dihapus dari Keranjang Sampah"
586
-
587
- #: wp-optimize-common.php:695
588
- #, fuzzy
589
- msgid "%d spam comment deleted"
590
- msgid_plural "%d spam comments deleted"
591
- msgstr[0] "%d komentar sampah dihapus"
592
-
593
- #: wp-optimize-common.php:726
594
- #, fuzzy
595
- msgid "%d unapproved comment deleted"
596
- msgid_plural "%d unapproved comments deleted"
597
- msgstr[0] "%d komentar tidak sah dihapus"
598
-
599
- #: wp-optimize-common.php:732
600
- #, fuzzy
601
- msgid "%d pingback deleted"
602
- msgid_plural "%d pingbacks deleted"
603
- msgstr[0] "%d pingback dihapus"
604
-
605
- #: wp-optimize-common.php:738
606
- #, fuzzy
607
- msgid "%d trackback deleted"
608
- msgid_plural "%d trackbacks deleted"
609
- msgstr[0] "%d trackback dihapus"
610
-
611
- #: wp-optimize-common.php:745
612
- msgid "Enabled weekly processing"
613
- msgstr "Aktifkan proses mingguan"
614
-
615
- #: wp-optimize-common.php:751
616
- msgid "Disabled weekly processing"
617
- msgstr "Non Aktifkan proses mingguan"
618
-
619
- #: wp-optimize-common.php:760
620
- msgid "NO Actions Taken"
621
- msgstr "Tidak Ada Aksi yang dilakukan"
622
-
623
- #: wp-optimize-common.php:787
624
- #, fuzzy
625
- msgid "%d transient option in your database"
626
- msgid_plural "%d transient options in your database"
627
- msgstr[0] "%d pilihan sementara di database anda"
628
-
629
- #: wp-optimize-common.php:789
630
- msgid "No transient options found"
631
- msgstr "Pilihan sementara tidak ditemukan"
632
-
633
- #: wp-optimize-common.php:798
634
- #, fuzzy
635
- msgid "%d orphaned postmeta in your database"
636
- msgid_plural "%d orphaned postmeta in your database"
637
- msgstr[0] "%d postmeta tersendiri di database anda"
638
-
639
- #: wp-optimize-common.php:800
640
- msgid "No orphaned postmeta in your database"
641
- msgstr "Tidak postmeta tersendiri di database anda"
642
-
643
- #: wp-optimize-common.php:809
644
- #, fuzzy
645
- msgid "%d unused tag in your database"
646
- msgid_plural "%d unused tags in your database"
647
- msgstr[0] "%d tag tidak terpakai di database anda "
648
-
649
- #: wp-optimize-common.php:811
650
- msgid "No unused tags found"
651
- msgstr "Tidak menemukan tag tidak terpakai"
652
-
653
- #: wp-optimize-common.php:824
654
- #, fuzzy
655
- msgid "%d post revision in your database"
656
- msgid_plural "%d post revisions in your database"
657
- msgstr[0] "%d revisi posting di database anda "
658
-
659
- #: wp-optimize-common.php:826
660
- msgid "No post revisions found"
661
- msgstr "tidak ada revisi tulisan ditemukan"
662
-
663
- #: wp-optimize-common.php:839
664
- #, fuzzy
665
- msgid "%d auto draft post in your database"
666
- msgid_plural "%d auto draft posts in your database"
667
- msgstr[0] "%d draf tulisan otomatis di database anda"
668
-
669
- #: wp-optimize-common.php:841
670
- msgid "No auto draft posts found"
671
- msgstr "Tidak ada draf tulisan otomatis ditemukan"
672
-
673
- #: wp-optimize-common.php:853
674
- #, fuzzy
675
- msgid "%d spam comment found"
676
- msgid_plural "%d spam comments found"
677
- msgstr[0] "%d komentar sampah ditemukan"
678
-
679
- #: wp-optimize-common.php:853 wp-optimize-common.php:884
680
- msgid "Review"
681
- msgstr "Ulasan"
682
-
683
- #: wp-optimize-common.php:855
684
- msgid "No spam comments found"
685
- msgstr "Tidak ada komentar ditemukan"
686
-
687
- #: wp-optimize-common.php:884
688
- #, fuzzy
689
- msgid "%d unapproved comment found"
690
- msgid_plural "%d unapproved comments found"
691
- msgstr[0] "%d komentar belum sah ditemukan"
692
-
693
- #: wp-optimize-common.php:886
694
- msgid "No unapproved comments found"
695
- msgstr "Tidak menemukan komentar belum sah"
696
-
697
- #: wp-optimize-common.php:894
698
- #, fuzzy
699
- msgid "%d Pingback found"
700
- msgid_plural "%d Pingbacks found"
701
- msgstr[0] "%d Menemukan Pingback"
702
-
703
- #: wp-optimize-common.php:896
704
- msgid "No pingbacks found"
705
- msgstr "Tidak ada Pingback ditemukan"
706
-
707
- #: wp-optimize-common.php:904
708
- #, fuzzy
709
- msgid "%d Trackback found"
710
- msgid_plural "%d Trackbacks found"
711
- msgstr[0] "%d Trackback ditemukan"
712
-
713
- #: wp-optimize-common.php:906
714
- msgid "No trackbacks found"
715
- msgstr "Tidak ada trackback ditemukan"
716
-
717
- #: wp-optimize-common.php:912
718
- msgid "nothing"
719
- msgstr "tidak ada"
720
-
721
- #: wp-optimize-credits.php:14
722
- msgid "Credits"
723
- msgstr "Kredit"
724
-
725
- #: wp-optimize-credits.php:15
726
- msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
727
- msgstr "WP-Optimize awalnya sebagai bantuan untuk proyek pribadiku, hingga akhirnya nampak bahwa plugin ini bisa membantu banyak orang. secara pribadi saya berterimakasih pada seluruh pengguna yang menggunakan plugin ini sehari-hari, juga terimakasih kepada pengalih bahasa dan orang yang berbudi baik yang telah membantu proyek ini"
728
-
729
- #: wp-optimize-credits.php:29
730
- msgid "Contributing Developers"
731
- msgstr "Kontribusi Pengembang"
732
-
733
- #: wp-optimize-credits.php:30
734
- msgid "Help me make this plugin better"
735
- msgstr "Bantu agar plugin ini menjadi lebih baik"
736
-
737
- #: wp-optimize-credits.php:30
738
- msgid "I am looking for contributing developers."
739
- msgstr "Saya mencari pengembang pendukung"
740
-
741
- #: wp-optimize-credits.php:31
742
- msgid "Your name and website will be credited here in the plugin"
743
- msgstr "Nama dan website anda akan dihargai didalam plugin"
744
-
745
- #: wp-optimize-credits.php:40
746
- msgid "Translators"
747
- msgstr "Penerjemah"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-optimize-it_IT.mo DELETED
Binary file
languages/wp-optimize-it_IT.po DELETED
@@ -1,747 +0,0 @@
1
- # Translation of WP-Optimize in Italian
2
- # This file is distributed under the same license as the WP-Optimize package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2015-03-26 09:47:18+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: WP-Optimize\n"
12
-
13
- #: wp-optimize-common.php:72
14
- msgid "Automatic Operation Completed"
15
- msgstr "Operazioni Automatiche Completate"
16
-
17
- #: wp-optimize-common.php:74
18
- msgid "Scheduled optimization was executed at"
19
- msgstr "L'ottimizzazione pianificata è stata eseguita alle"
20
-
21
- #: wp-optimize-common.php:76
22
- msgid "You can safely delete this email."
23
- msgstr "Puoi tranquillamente cancellare questa email."
24
-
25
- #: wp-optimize-common.php:78
26
- msgid "Regards,"
27
- msgstr "Saluti"
28
-
29
- #: wp-optimize-common.php:79
30
- msgid "WP-Optimize Plugin"
31
- msgstr "WP-Optimize Plugin"
32
-
33
- #: wp-optimize-settings.php:233 wp-optimize-settings.php:255
34
- msgid "Everyday"
35
- msgstr "Tutti i giorni"
36
-
37
- #: wp-optimize-settings.php:322
38
- msgid "Enable email notification"
39
- msgstr "Abilita notifica email"
40
-
41
- #: wp-optimize-settings.php:329
42
- msgid "Send email to"
43
- msgstr "Invia email a"
44
-
45
- msgid "http://wp-optimize.ruhanirabin.com/"
46
- msgstr "http://wp-optimize.ruhanirabin.com/"
47
-
48
- #: wp-optimize-settings.php:191
49
- msgid "Disable/Enable Comments"
50
- msgstr "Disattiva/Attiva Commenti"
51
-
52
- #: wp-optimize-settings.php:180 wp-optimize-settings.php:195
53
- msgid "Enable"
54
- msgstr "Attiva"
55
-
56
- #: wp-optimize-settings.php:179 wp-optimize-settings.php:194
57
- msgid "Disable"
58
- msgstr "Disattiva"
59
-
60
- #: wp-optimize-settings.php:178 wp-optimize-settings.php:193
61
- msgid "SELECT"
62
- msgstr "SCEGLI"
63
-
64
- #: wp-optimize-settings.php:176
65
- msgid "Disable/Enable Trackbacks"
66
- msgstr "Disattiva/Attiva Trackback"
67
-
68
- #: wp-optimize-settings.php:174
69
- msgid "Trackback/Comments Actions"
70
- msgstr "Trackback/Commenti Azioni"
71
-
72
- #: wp-optimize-settings.php:200
73
- msgid "This will disable/enable Comments on all your current and previously published posts"
74
- msgstr "Questo disattiverà/attiverà Commenti in tutti gli articoli pubblicati attualmente e precedentemente."
75
-
76
- #: wp-optimize-settings.php:185
77
- msgid "This will disable/enable Trackbacks on all your current and previously published posts"
78
- msgstr "Questo disattiverà/attiverà i Trackback in tutti gli articoli pubblicati attualmente e precedentemente"
79
-
80
- #: wp-optimize-settings.php:94
81
- msgid "Trackbacks enabled on all current and previously published posts"
82
- msgstr "Trackbas abilitati in tutti gli articoli pubblicati attualmente e precedentemente"
83
-
84
- #: wp-optimize-main.php:272
85
- msgid "Do not select RED marked items unless you really need to use them"
86
- msgstr "Non selezionare oggetti marchiati in ROSSO a meno che tu non ne abbia realmente bisogno"
87
-
88
- #: wp-optimize-common.php:704
89
- #, fuzzy
90
- msgid "%d comment removed from Trash"
91
- msgid_plural "%d comments removed from Trash"
92
- msgstr[0] "%d commenti rimossi dal Cestino"
93
-
94
- #: wp-optimize-common.php:543
95
- msgid "KB"
96
- msgstr "KB"
97
-
98
- #: wp-optimize-common.php:541
99
- msgid "MB"
100
- msgstr "MB"
101
-
102
- #: wp-optimize-settings.php:88
103
- msgid "Trackbacks disabled on all current and previously published posts"
104
- msgstr "Trackbacks disattivati in tutti gli articoli pubblicati attualmente e precedentemente"
105
-
106
- #: wp-optimize-settings.php:103
107
- msgid "Comments disabled on all current and previously published posts"
108
- msgstr "Commenti disattivati in tutti gli articoli pubblicati attualmente e precedentemente"
109
-
110
- #: wp-optimize-settings.php:109
111
- msgid "Comments enabled on all current and previously published posts"
112
- msgstr "Commenti abilitati in tutti gli articoli pubblicati attualmente e precedentemente"
113
-
114
- #: wp-optimize-main.php:278 wp-optimize-settings.php:207
115
- msgid "Optimize your YouTube embedding in WordPress with this plugin"
116
- msgstr "Ottimizza l'incorporamente Youtube in Wordpress con questo plugin"
117
-
118
- #: wp-optimize-common.php:539
119
- msgid "GB"
120
- msgstr "GB"
121
-
122
- #: wp-optimize-common.php:710
123
- #, fuzzy
124
- msgid "%d unused comment metadata item removed"
125
- msgid_plural "%d unused comment metadata items removed"
126
- msgstr[0] "%d commenti oggetti metadati inutilizzati rimossi"
127
-
128
- #: wp-optimize-common.php:716
129
- #, fuzzy
130
- msgid "%d unused akismet comment metadata item removed"
131
- msgid_plural "%d unused akismet comment metadata items removed"
132
- msgstr[0] "%d commenti oggetti metadati akismet inutilizzati rimossi"
133
-
134
- #: wp-optimize-credits.php:67
135
- msgid "GitHub Development Log"
136
- msgstr "Registro Sviluppo GitHub"
137
-
138
- #: wp-optimize-credits.php:41
139
- msgid "(Translator name)"
140
- msgstr "Bruno Mantovani"
141
-
142
- #: wp-optimize-credits.php:41
143
- msgid "http://(Translator Website)"
144
- msgstr "http://www.silenx.it"
145
-
146
- #: wp-optimize-credits.php:43
147
- msgid "Read Translation Instructions"
148
- msgstr "Leggi Istruzioni per la traduzione"
149
-
150
- #: wp-optimize-credits.php:56
151
- msgid "Support E-mail"
152
- msgstr "E-Mail di supporto"
153
-
154
- #: wp-optimize-credits.php:53
155
- msgid "Request New Language"
156
- msgstr "Richiedi nuova lingua"
157
-
158
- #: wp-optimize-credits.php:52
159
- msgid "Plugin Translation Portal (needs translator account)"
160
- msgstr "Portale traduzione plugin (necessita di un account traduttore)"
161
-
162
- #: wp-optimize-credits.php:51
163
- msgid "Get a Translator Account"
164
- msgstr "Ottieni un account traduttore"
165
-
166
- #: wp-optimize-main.php:329
167
- msgid "Rating"
168
- msgstr "Votazioni"
169
-
170
- #: wp-optimize-main.php:328
171
- msgid "Please give a proper rating :)"
172
- msgstr "Per favore dai una votazione appropriata :)"
173
-
174
- #: wp-optimize-main.php:327
175
- msgid "Donate!"
176
- msgstr "Dona!"
177
-
178
- #: wp-optimize-main.php:327
179
- msgid "Please donate! It really helps me keep improvising"
180
- msgstr "Per favore dona! Mi aiutebbe molto "
181
-
182
- #: wp-optimize-credits.php:49
183
- msgid "Plugin Resources"
184
- msgstr "Risorse Plugin"
185
-
186
- #: wp-optimize-credits.php:54
187
- msgid "Plugin Homepage"
188
- msgstr "Homepage del plugin"
189
-
190
- #: wp-optimize-credits.php:55
191
- msgid "Support (GitHub)"
192
- msgstr "Supporto (Github)"
193
-
194
- #: wp-optimize-credits.php:57
195
- msgid "Change Log"
196
- msgstr "Registro Modifiche"
197
-
198
- #: wp-optimize-credits.php:58
199
- msgid "FAQ"
200
- msgstr "FAQ"
201
-
202
- #: wp-optimize-credits.php:87
203
- msgid "No items"
204
- msgstr "Nessun oggetto"
205
-
206
- #: wp-optimize-main.php:76
207
- #, fuzzy, php-format
208
- msgctxt "%s is the Database Name"
209
- msgid "%s Database Optimized!"
210
- msgstr "Database %s Ottimizzato"
211
-
212
- #: wp-optimize-main.php:154 wp-optimize-main.php:156
213
- msgid "Clean-up options"
214
- msgstr "Opzioni di pulizia"
215
-
216
- #: wp-optimize-main.php:165
217
- #, fuzzy
218
- msgid "Clean post revisions which are older than %d weeks"
219
- msgstr "Pulisci revisione articoli piu vecchi di %d settimane"
220
-
221
- #: wp-optimize-main.php:170
222
- msgid "Clean all post revisions"
223
- msgstr "Pulisci tutte le revisioni articolo"
224
-
225
- #: wp-optimize-main.php:183
226
- #, fuzzy
227
- msgid "Clean auto draft posts which are older than %d weeks"
228
- msgstr "Pulisci bozze automatiche articole piu vecchie di %d settimane"
229
-
230
- #: wp-optimize-main.php:188
231
- msgid "Clean all auto draft posts and posts in trash"
232
- msgstr "Pulisci tutte le bozze automatiche articoli nel cestino"
233
-
234
- #: wp-optimize-main.php:203
235
- #, fuzzy
236
- msgid "Remove spam comments which are older than %d weeks"
237
- msgstr "Rimuovi commenti di spam piu vecchi di %d settimane"
238
-
239
- #: wp-optimize-main.php:208
240
- msgid "Remove spam comments and comments in trash"
241
- msgstr "Rimuovi commenti di spam e commenti nel cestino"
242
-
243
- #: wp-optimize-main.php:222
244
- #, fuzzy
245
- msgid "Remove unapproved comments which are older than %d weeks"
246
- msgstr "Rimuovi commenti non approvati piu vecchi di %d settimane"
247
-
248
- #: wp-optimize-main.php:227 wp-optimize-settings.php:288
249
- msgid "Remove unapproved comments"
250
- msgstr "Rimuovi commenti non approvati"
251
-
252
- #: wp-optimize-main.php:240 wp-optimize-settings.php:293
253
- msgid "Remove transient options"
254
- msgstr "Rimuovi opzioni transitorie"
255
-
256
- #: wp-optimize-main.php:251
257
- msgid "Remove pingbacks"
258
- msgstr "Rimuovi pingbacks"
259
-
260
- #: wp-optimize-main.php:262
261
- msgid "Remove trackbacks"
262
- msgstr "Rimuovi trackbacks"
263
-
264
- #: wp-optimize-main.php:288
265
- msgid "Actions"
266
- msgstr "Azioni"
267
-
268
- #: wp-optimize-main.php:297
269
- msgid "Optimize database tables"
270
- msgstr "Ottimizza tabelle database"
271
-
272
- #: wp-optimize-main.php:305
273
- msgid "Note:"
274
- msgstr "Note:"
275
-
276
- #: wp-optimize-main.php:308
277
- msgid "InnoDB tables will not be optimized"
278
- msgstr "Le tabelle InnoDB non saranno ottimizzate"
279
-
280
- #: wp-optimize-main.php:314
281
- msgid "Select safe options"
282
- msgstr "Scegli opzioni sicure"
283
-
284
- #: wp-optimize-main.php:315
285
- msgid "Warning:"
286
- msgstr "Attenzione:"
287
-
288
- #: wp-optimize-main.php:316
289
- msgid "Always make a backup of your DB when you upgrade to major versions"
290
- msgstr "Fai sempre un backup del tuo database quando aggiorni ad una versione maggiore."
291
-
292
- #: wp-optimize-main.php:321
293
- msgid "PROCESS"
294
- msgstr "PROCEDI"
295
-
296
- #: wp-optimize-main.php:334
297
- msgid "Status log"
298
- msgstr "Log di stato"
299
-
300
- #: wp-optimize-main.php:349
301
- msgid "Last automatic optimization was at"
302
- msgstr "L'ultima ottimizzazione automatica è stata alle"
303
-
304
- #: wp-optimize-main.php:361
305
- msgid "There was no automatic optimization"
306
- msgstr "Non ci sono ottimizzazioni automatiche"
307
-
308
- #: wp-optimize-main.php:411 wp-optimize-main.php:436
309
- msgid "Check settings"
310
- msgstr "Controlla Impostazioni"
311
-
312
- #: wp-optimize-main.php:376
313
- msgid "Scheduled cleaning enabled"
314
- msgstr "Pulizia pianificata abilitata"
315
-
316
- #: wp-optimize-main.php:388
317
- msgid "Next schedule:"
318
- msgstr "Prossima pianificazione:"
319
-
320
- #: wp-optimize-main.php:399
321
- msgid "Refresh"
322
- msgstr "Ricarica"
323
-
324
- #: wp-optimize-main.php:408
325
- msgid "Scheduled cleaning disabled"
326
- msgstr "Pulizia pianificata disattivata"
327
-
328
- #: wp-optimize-main.php:422
329
- #, fuzzy
330
- msgid "Keeping last %s weeks data"
331
- msgstr "Manetenere l'ultimo %s dati settimanali"
332
-
333
- #: wp-optimize-main.php:433
334
- msgid "Not keeping recent data"
335
- msgstr "Non mantenere dati recenti"
336
-
337
- #: wp-optimize-main.php:450 wp-optimize-main.php:462
338
- msgid "Current database size:"
339
- msgstr "Dimensione attuale database:"
340
-
341
- #: wp-optimize-main.php:455
342
- msgid "You have saved:"
343
- msgstr "Hai salvato:"
344
-
345
- #: wp-optimize-main.php:470
346
- msgid "You can save almost:"
347
- msgstr "E' possibile salvare:"
348
-
349
- #: wp-optimize-main.php:487
350
- msgid "Total clean up overall:"
351
- msgstr "Totale pulizia generale:"
352
-
353
- #: wp-optimize-main.php:508
354
- msgid "Sponsor"
355
- msgstr "Sponsor"
356
-
357
- #: wp-optimize-settings.php:115
358
- msgid "Settings updated"
359
- msgstr "Impostazioni Aggiornate"
360
-
361
- #: wp-optimize-settings.php:132
362
- msgid "General Settings"
363
- msgstr "Impostazioni Generali"
364
-
365
- #: wp-optimize-settings.php:137
366
- #, fuzzy
367
- msgid "Keep last %s weeks data"
368
- msgstr "Mantieni l'ultimo %s dati settimanali"
369
-
370
- #: wp-optimize-settings.php:153
371
- msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
372
- msgstr "Questa opzione manterrà gli ultimi dati settimanali selezionati e rimuoverà tutti i dati della spazzatura prima di tale periodo . Ciò influisce anche sul processo automatico di pulizia."
373
-
374
- #: wp-optimize-settings.php:162
375
- msgid "Enable admin bar link"
376
- msgstr "Abilita collegamento nella barra admin"
377
-
378
- #: wp-optimize-settings.php:164
379
- msgid "(Click here to refresh)"
380
- msgstr "(Click qua per ricaricare)"
381
-
382
- #: wp-optimize-settings.php:170
383
- msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
384
- msgstr "Questa opzione inserirà un collegamento di WP-Optimize nella barra admin in alto (predefinito è spento). Richiede ricaricamento pagina"
385
-
386
- #: wp-optimize-settings.php:211
387
- msgid "SAVE SETTINGS"
388
- msgstr "SALVA IMPOSTAZIONI"
389
-
390
- #: wp-optimize-settings.php:221
391
- msgid "Auto Clean-up Settings"
392
- msgstr "Impostazioni pulizia automatica"
393
-
394
- #: wp-optimize-settings.php:224
395
- msgid "Enable scheduled clean-up and optimization (Beta feature!)"
396
- msgstr "Abilita pianificazione di pulizia e ottimizzazione (BETA!!)"
397
-
398
- #: wp-optimize-settings.php:226
399
- msgid "Select schedule type (default is Weekly)"
400
- msgstr "Scegli tipo di pianificazione (predefinito è settimanale)"
401
-
402
- #: wp-optimize-settings.php:237 wp-optimize-settings.php:249
403
- #: wp-optimize-settings.php:256
404
- msgid "Every week"
405
- msgstr "Ogni settimana"
406
-
407
- #: wp-optimize-settings.php:241 wp-optimize-settings.php:257
408
- msgid "Every other week (every 14 days)"
409
- msgstr "Ogni due settimane (ogni 14 giorni)"
410
-
411
- #: wp-optimize-settings.php:245 wp-optimize-settings.php:258
412
- msgid "Every month (every 31 days)"
413
- msgstr "Ogni mese (ogni 31 giorni)"
414
-
415
- #: wp-optimize-settings.php:262
416
- msgid "Automatic cleanup will perform the following:"
417
- msgstr "Pulizia automatica eseguirà i quanto segue:"
418
-
419
- #: wp-optimize-settings.php:264
420
- msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
421
- msgstr "Rimuoverà revisioni, bozze automatiche, articoli/commenti nel cestino, opzioni transitorie. Dopo ottimizzerà il db."
422
-
423
- #: wp-optimize-settings.php:271
424
- msgid "These options will only work if the automatic clean-up schedule has been enabled"
425
- msgstr "Queste opzioni funzionano solo se la pianificazione automatica di pulizia è stata abilitata"
426
-
427
- #: wp-optimize-settings.php:276
428
- msgid "Remove auto revisions"
429
- msgstr "Rimuovi revisioni automatiche"
430
-
431
- #: wp-optimize-settings.php:280
432
- msgid "Remove auto drafts"
433
- msgstr "Rimuovi bozze automatiche"
434
-
435
- #: wp-optimize-settings.php:284
436
- msgid "Remove spam comments"
437
- msgstr "Rimuovi commenti di spam"
438
-
439
- #: wp-optimize-settings.php:297
440
- msgid "Remove orphaned post meta"
441
- msgstr "Rimuovi post meta orfani"
442
-
443
- #: wp-optimize-settings.php:301
444
- msgid "Remove unused tags"
445
- msgstr "Rimuovi tag non usati"
446
-
447
- #: wp-optimize-settings.php:307
448
- msgid "Optimize database"
449
- msgstr "Ottimizza database"
450
-
451
- #: wp-optimize-settings.php:313
452
- msgid "If you have InnoDB tables. They will not be optimized!"
453
- msgstr "Se hai tabelle InnoDB. Non saranno ottimizzate!"
454
-
455
- #: wp-optimize-settings.php:335
456
- msgid "SAVE AUTO CLEAN-UP SETTINGS"
457
- msgstr "SALVA IMPOSTAZIONE DI PULIZIA AUTOMATICA"
458
-
459
- #: wp-optimize-tables.php:20
460
- msgid "Database Name:"
461
- msgstr "Nome Database:"
462
-
463
- #: wp-optimize-tables.php:28
464
- msgid "Optimized all the tables found in the database."
465
- msgstr "Tutte le tabelle trovate nel database sono state ottimizzate."
466
-
467
- #: wp-optimize-tables.php:36
468
- msgid "No."
469
- msgstr "No."
470
-
471
- #: wp-optimize-tables.php:38
472
- msgid "Records"
473
- msgstr "Registrazioni"
474
-
475
- #: wp-optimize-tables.php:39
476
- msgid "Data Size"
477
- msgstr "Dimensione Dati"
478
-
479
- #: wp-optimize-tables.php:40
480
- msgid "Index Size"
481
- msgstr "Dimensione Indice"
482
-
483
- #: wp-optimize-tables.php:41
484
- msgid "Type"
485
- msgstr "Tipo"
486
-
487
- #: wp-optimize-tables.php:42
488
- msgid "Overhead"
489
- msgstr "OverHead"
490
-
491
- #: wp-optimize-tables.php:137
492
- msgid "Total:"
493
- msgstr "Totale:"
494
-
495
- #: wp-optimize-tables.php:138
496
- msgid "%d Table"
497
- msgid_plural "%d Tables"
498
- msgstr[0] "%d Tabella"
499
- msgstr[1] "%d Tabelle"
500
-
501
- #: wp-optimize-tables.php:139
502
- msgid "%d Record"
503
- msgid_plural "%d Records"
504
- msgstr[0] "%d Record"
505
- msgstr[1] "%d Records"
506
-
507
- #: wp-optimize-tables.php:179
508
- msgid "Total Size of Database:"
509
- msgstr "Spazio totale del Database:"
510
-
511
- #: wp-optimize-tables.php:191
512
- msgid "Optimization Results:"
513
- msgstr "Risultati ottimizzazione:"
514
-
515
- #: wp-optimize-tables.php:196
516
- msgid "Total Space Saved:"
517
- msgstr "Spazio totale salvato:"
518
-
519
- #: wp-optimize-tables.php:208
520
- msgid "Optimization Possibility:"
521
- msgstr "Possibilità di Ottimizzazione:"
522
-
523
- #: wp-optimize-tables.php:215
524
- msgid "Total space can be saved:"
525
- msgstr "Spazio totale che puo essere salvato:"
526
-
527
- msgid "WP-Optimize"
528
- msgstr "WP-Optimize"
529
-
530
- msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
531
- msgstr "Questo plugin vi aiuta a mantenere il vostro database pulito rimuovendo revisioni post e spam in una fiammata. Inoltre permette di eseguire il comando di ottimizzazione sulle vostre tabelle principali di WordPress (utilizzare con cautela) ."
532
-
533
- msgid "Ruhani Rabin"
534
- msgstr "Ruhani Rabin"
535
-
536
- msgid "https://github.com/ruhanirabin/WP-Optimize"
537
- msgstr "https://github.com/ruhanirabin/WP-Optimize"
538
-
539
- #: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
540
- msgid "Optimizer"
541
- msgstr "Ottimizzatore"
542
-
543
- #: wp-optimize-admin.php:28 wp-optimize-admin.php:46
544
- msgid "MYSQL"
545
- msgstr "MySQL"
546
-
547
- #: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
548
- msgid "Settings"
549
- msgstr "Impostazioni"
550
-
551
- #: wp-optimize-admin.php:34 wp-optimize-admin.php:56
552
- msgid "Info"
553
- msgstr "Informazioni"
554
-
555
- #: wp-optimize-admin.php:52 wp-optimize-tables.php:37
556
- msgid "Tables"
557
- msgstr "Tabelle"
558
-
559
- #: wp-optimize-common.php:545
560
- msgid "bytes"
561
- msgstr "bytes"
562
-
563
- #: wp-optimize-common.php:635
564
- #, fuzzy
565
- msgid "%d transient option deleted"
566
- msgid_plural "%d transient options deleted"
567
- msgstr[0] "%d opzioni transitorie cancellate"
568
-
569
- #: wp-optimize-common.php:662
570
- #, fuzzy
571
- msgid "%d post revision deleted"
572
- msgid_plural "%d post revisions deleted"
573
- msgstr[0] "%d revisioni articolo cancellate"
574
-
575
- #: wp-optimize-common.php:673
576
- #, fuzzy
577
- msgid "%d auto draft deleted"
578
- msgid_plural "%d auto drafts deleted"
579
- msgstr[0] "%d bozze automatiche cancellate"
580
-
581
- #: wp-optimize-common.php:683
582
- #, fuzzy
583
- msgid "%d item removed from Trash"
584
- msgid_plural "%d items removed from Trash"
585
- msgstr[0] "%d oggetti rimossi dal Cestino"
586
-
587
- #: wp-optimize-common.php:695
588
- #, fuzzy
589
- msgid "%d spam comment deleted"
590
- msgid_plural "%d spam comments deleted"
591
- msgstr[0] "%d commenti di spam cancellat"
592
-
593
- #: wp-optimize-common.php:726
594
- #, fuzzy
595
- msgid "%d unapproved comment deleted"
596
- msgid_plural "%d unapproved comments deleted"
597
- msgstr[0] "%d Commenti non approvati cancellati"
598
-
599
- #: wp-optimize-common.php:732
600
- #, fuzzy
601
- msgid "%d pingback deleted"
602
- msgid_plural "%d pingbacks deleted"
603
- msgstr[0] "%d pingback cancellati"
604
-
605
- #: wp-optimize-common.php:738
606
- #, fuzzy
607
- msgid "%d trackback deleted"
608
- msgid_plural "%d trackbacks deleted"
609
- msgstr[0] "%d trackback cancellati"
610
-
611
- #: wp-optimize-common.php:745
612
- msgid "Enabled weekly processing"
613
- msgstr "Elaborazione settimanale abilitata"
614
-
615
- #: wp-optimize-common.php:751
616
- msgid "Disabled weekly processing"
617
- msgstr "Elaborazione settimanale disattivata"
618
-
619
- #: wp-optimize-common.php:760
620
- msgid "NO Actions Taken"
621
- msgstr "NESSUNA Azione Intrapresa"
622
-
623
- #: wp-optimize-common.php:787
624
- #, fuzzy
625
- msgid "%d transient option in your database"
626
- msgid_plural "%d transient options in your database"
627
- msgstr[0] "%d opzioni transitorie nel tuo database"
628
-
629
- #: wp-optimize-common.php:789
630
- msgid "No transient options found"
631
- msgstr "Nessuna opzione transitoria trovata"
632
-
633
- #: wp-optimize-common.php:798
634
- #, fuzzy
635
- msgid "%d orphaned postmeta in your database"
636
- msgid_plural "%d orphaned postmeta in your database"
637
- msgstr[0] "%d postmeta orfani nel tuo database"
638
-
639
- #: wp-optimize-common.php:800
640
- msgid "No orphaned postmeta in your database"
641
- msgstr "Nessun postmeta orfano nel tuo database"
642
-
643
- #: wp-optimize-common.php:809
644
- #, fuzzy
645
- msgid "%d unused tag in your database"
646
- msgid_plural "%d unused tags in your database"
647
- msgstr[0] "%d tag inutilizzati nel tuo database"
648
-
649
- #: wp-optimize-common.php:811
650
- msgid "No unused tags found"
651
- msgstr "Nessun tag inutilizzato trovato"
652
-
653
- #: wp-optimize-common.php:824
654
- #, fuzzy
655
- msgid "%d post revision in your database"
656
- msgid_plural "%d post revisions in your database"
657
- msgstr[0] "%d revisioni articolo nel tuo database"
658
-
659
- #: wp-optimize-common.php:826
660
- msgid "No post revisions found"
661
- msgstr "Nessuna revisione articolo trovata"
662
-
663
- #: wp-optimize-common.php:839
664
- #, fuzzy
665
- msgid "%d auto draft post in your database"
666
- msgid_plural "%d auto draft posts in your database"
667
- msgstr[0] "%d bozze automatiche articolo(i) nel tuo database"
668
-
669
- #: wp-optimize-common.php:841
670
- msgid "No auto draft posts found"
671
- msgstr "Nessun bozza automatica articoli trovata"
672
-
673
- #: wp-optimize-common.php:853
674
- #, fuzzy
675
- msgid "%d spam comment found"
676
- msgid_plural "%d spam comments found"
677
- msgstr[0] "%d commenti spam trovati"
678
-
679
- #: wp-optimize-common.php:853 wp-optimize-common.php:884
680
- msgid "Review"
681
- msgstr "Recensione"
682
-
683
- #: wp-optimize-common.php:855
684
- msgid "No spam comments found"
685
- msgstr "Nessun commento di spam trovato"
686
-
687
- #: wp-optimize-common.php:884
688
- #, fuzzy
689
- msgid "%d unapproved comment found"
690
- msgid_plural "%d unapproved comments found"
691
- msgstr[0] "%d commenti non approvati trovati"
692
-
693
- #: wp-optimize-common.php:886
694
- msgid "No unapproved comments found"
695
- msgstr "Nessun commento non approvato trovato"
696
-
697
- #: wp-optimize-common.php:894
698
- #, fuzzy
699
- msgid "%d Pingback found"
700
- msgid_plural "%d Pingbacks found"
701
- msgstr[0] "%d Pingbacks trovati"
702
-
703
- #: wp-optimize-common.php:896
704
- msgid "No pingbacks found"
705
- msgstr "Nessun pingback trovato"
706
-
707
- #: wp-optimize-common.php:904
708
- #, fuzzy
709
- msgid "%d Trackback found"
710
- msgid_plural "%d Trackbacks found"
711
- msgstr[0] "%d Trackback trovati"
712
-
713
- #: wp-optimize-common.php:906
714
- msgid "No trackbacks found"
715
- msgstr "Nessun trackback trovato"
716
-
717
- #: wp-optimize-common.php:912
718
- msgid "nothing"
719
- msgstr "niente"
720
-
721
- #: wp-optimize-credits.php:14
722
- msgid "Credits"
723
- msgstr "Credits"
724
-
725
- #: wp-optimize-credits.php:15
726
- msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
727
- msgstr "WP - Optimize è iniziato come un programma di utilità per i miei progetti. Mi sono reso conto ben presto che questo plugin avrebbe potuto aiutare un sacco di gente. Voglio personalmente ringraziare tutti gli utenti che utilizzano questo plugin come base giornaliera. Grazie a tutti anche ai traduttori e alle persone generose che hanno donato per questo progetto ."
728
-
729
- #: wp-optimize-credits.php:29
730
- msgid "Contributing Developers"
731
- msgstr "Sviluppatori che hanno contribuito"
732
-
733
- #: wp-optimize-credits.php:30
734
- msgid "Help me make this plugin better"
735
- msgstr "Aiutami a rendere questo plugin migliore"
736
-
737
- #: wp-optimize-credits.php:30
738
- msgid "I am looking for contributing developers."
739
- msgstr "Sto cercando sviluppatori che contribuiscano"
740
-
741
- #: wp-optimize-credits.php:31
742
- msgid "Your name and website will be credited here in the plugin"
743
- msgstr "Il tuo nome e il tuo sito saranno nominati qua nel plugin"
744
-
745
- #: wp-optimize-credits.php:40
746
- msgid "Translators"
747
- msgstr "Traduttori"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-optimize-lt_LT.mo DELETED
Binary file
languages/wp-optimize-lt_LT.po DELETED
@@ -1,713 +0,0 @@
1
- # Translation of WP-Optimize in Lithuanian
2
- # This file is distributed under the same license as the WP-Optimize package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-09-04 16:42:35+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: WP-Optimize\n"
12
-
13
- #: wp-optimize-settings.php:296
14
- msgid "This will disable/enable Comments on all your current and previously published posts"
15
- msgstr "Tai bus įjungti/išjungti komentarus visus dabartinius ir anksčiau paskelbtus pranešimuose"
16
-
17
- #: wp-optimize-settings.php:290
18
- msgid "Comments Actions"
19
- msgstr "Komentarai Veiksmai"
20
-
21
- #: wp-optimize-settings.php:286
22
- msgid "This will disable/enable Trackbacks on all your current and previously published posts"
23
- msgstr "Tai bus įjungti/išjungti Trackbacks visus esamus ir anksčiau paskelbtus pranešimuose"
24
-
25
- #: wp-optimize-settings.php:283 wp-optimize-settings.php:293
26
- msgid "Enable all"
27
- msgstr "Įjungti visus"
28
-
29
- #: wp-optimize-settings.php:278
30
- msgid "Trackbacks Actions"
31
- msgstr "Trackback Veiksmai"
32
-
33
- #: wp-optimize-settings.php:97
34
- msgid "Trackbacks enabled on all current and previously published posts"
35
- msgstr "Trackbacks įjungtas visuose dabartiniuose ir anksčiau paskelbtuose pranešimuose"
36
-
37
- #: wp-optimize-settings.php:282 wp-optimize-settings.php:292
38
- msgid "Disable all"
39
- msgstr "Išjungti visus"
40
-
41
- #: wp-optimize-main.php:266
42
- msgid "Do not select RED marked items unless you really need to use them"
43
- msgstr "Nesirinkite raudonai pažymėtus elementus, nebent jums tikrai reikia juos naudoti"
44
-
45
- #: wp-optimize-common.php:623
46
- #, fuzzy
47
- msgid "%d comment removed from Trash"
48
- msgid_plural "%d comments removed from Trash"
49
- msgstr[0] "%d komentarai pašalinti iš šiukšliadėžės"
50
-
51
- #: wp-optimize-common.php:463
52
- msgid "KB"
53
- msgstr "KB"
54
-
55
- #: wp-optimize-common.php:461
56
- msgid "MB"
57
- msgstr "MB"
58
-
59
- #: wp-optimize-settings.php:90
60
- msgid "Trackbacks disabled on all current and previously published posts"
61
- msgstr "Trackbacks išjungtas visuose esamuose ir anksčiau paskelbtuose pranešimuose"
62
-
63
- #: wp-optimize-settings.php:76
64
- msgid "Comments disabled on all current and previously published posts"
65
- msgstr "Komentarai išjungti visuose esamuose ir anksčiau paskelbtuose pranešimuose"
66
-
67
- #: wp-optimize-settings.php:83
68
- msgid "Comments enabled on all current and previously published posts"
69
- msgstr "Komentarai įjungti visuose dabartiniuose ir anksčiau paskelbtuose pranešimuose"
70
-
71
- #: wp-optimize-main.php:272
72
- msgid "Optimize your YouTube embedding in WordPress with this plugin"
73
- msgstr "Optimizuokite savo YouTube Įliedami į WordPress su šiuo įskiepiai"
74
-
75
- #: wp-optimize-common.php:459
76
- msgid "GB"
77
- msgstr "GB"
78
-
79
- #: wp-optimize-common.php:629
80
- #, fuzzy
81
- msgid "%d unused comment metadata item removed"
82
- msgid_plural "%d unused comment metadata items removed"
83
- msgstr[0] "%d nepanaudoti komentaru metaduomenų elementai pašalinami"
84
-
85
- #: wp-optimize-common.php:635
86
- #, fuzzy
87
- msgid "%d unused akismet comment metadata item removed"
88
- msgid_plural "%d unused akismet comment metadata items removed"
89
- msgstr[0] "%d nenaudojami Akismet komentaru metaduomenų elementai pašalinami"
90
-
91
- #: wp-optimize-credits.php:76
92
- msgid "GitHub Development Log"
93
- msgstr "Github plėtros Prisijungti"
94
-
95
- #: wp-optimize-credits.php:50
96
- msgid "(Translator name)"
97
- msgstr "Bronisav Ciuzelis"
98
-
99
- #: wp-optimize-credits.php:50
100
- msgid "http://(Translator Website)"
101
- msgstr "http://internetiniusvetainiukurimas.com/"
102
-
103
- #: wp-optimize-credits.php:52
104
- msgid "Read Translation Instructions"
105
- msgstr "Skaityti Vertimo Instrukcijos"
106
-
107
- #: wp-optimize-credits.php:65
108
- msgid "Support E-mail"
109
- msgstr "Pagalba apiesvetaines@gmail.com"
110
-
111
- #: wp-optimize-credits.php:62
112
- msgid "Request New Language"
113
- msgstr "Užsisakyti naują kalbą"
114
-
115
- #: wp-optimize-credits.php:61
116
- msgid "Plugin Translation Portal (needs translator account)"
117
- msgstr "Įskiepis Vertimas portalas (reikia vertėjas sąskaitą)"
118
-
119
- #: wp-optimize-credits.php:60
120
- msgid "Get a Translator Account"
121
- msgstr "Gaukite Vertėjas paskyrą"
122
-
123
- #: wp-optimize-main.php:323
124
- msgid "Rating"
125
- msgstr "Reitingas"
126
-
127
- #: wp-optimize-main.php:322
128
- msgid "Please give a proper rating :)"
129
- msgstr "Prašome suteikti tinkamą reitingą :)"
130
-
131
- #: wp-optimize-main.php:321
132
- msgid "Donate!"
133
- msgstr "Paaukok!"
134
-
135
- #: wp-optimize-main.php:321
136
- msgid "Please donate! It really helps me keep improvising"
137
- msgstr "Prašome paaukoti! Tai tikrai padeda man išlaikyti improvizacija"
138
-
139
- #: wp-optimize-credits.php:58
140
- msgid "Plugin Resources"
141
- msgstr "Plugin ištekliai"
142
-
143
- #: wp-optimize-credits.php:63
144
- msgid "Plugin Homepage"
145
- msgstr "Įskiepis puslapis"
146
-
147
- #: wp-optimize-credits.php:64
148
- msgid "Support (GitHub)"
149
- msgstr "Pagalba (Github)"
150
-
151
- #: wp-optimize-credits.php:66
152
- msgid "Change Log"
153
- msgstr "Pakeitimai Prisijungti"
154
-
155
- #: wp-optimize-credits.php:67
156
- msgid "FAQ"
157
- msgstr "FAQ"
158
-
159
- #: wp-optimize-credits.php:96
160
- msgid "No items"
161
- msgstr "Nėra elementų"
162
-
163
- #: wp-optimize-main.php:78
164
- #, fuzzy, php-format
165
- msgctxt "%s is the Database Name"
166
- msgid "%s Database Optimized!"
167
- msgstr "%s Duomenų bazės Optimizuotos!"
168
-
169
- #: wp-optimize-main.php:148 wp-optimize-main.php:150
170
- msgid "Clean-up options"
171
- msgstr "Išvalymo parinktys"
172
-
173
- #: wp-optimize-main.php:159
174
- #, fuzzy
175
- msgid "Clean post revisions which are older than %d weeks"
176
- msgstr "Valyti pranešimu pataisymus, kurie yra vyresni nei %d dienos"
177
-
178
- #: wp-optimize-main.php:164
179
- msgid "Clean all post revisions"
180
- msgstr "Nuvalykite visus po patikslinimų"
181
-
182
- #: wp-optimize-main.php:177
183
- #, fuzzy
184
- msgid "Clean auto draft posts which are older than %d weeks"
185
- msgstr "Išvalyti automatiškai sukurtus pranešimų juodraščius, kurie yra vyresni nei %d dienos"
186
-
187
- #: wp-optimize-main.php:182
188
- msgid "Clean all auto draft posts and posts in trash"
189
- msgstr "Nuvalykite visus auto pranešimus ir pranešimus iš šiukšlių dėžės"
190
-
191
- #: wp-optimize-main.php:197
192
- #, fuzzy
193
- msgid "Remove spam comments which are older than %d weeks"
194
- msgstr "Pašalinti šlamštas komentarus, kurie yra vyresni nei %d dienos"
195
-
196
- #: wp-optimize-main.php:202
197
- msgid "Remove spam comments and comments in trash"
198
- msgstr "Pašalinti komentaru šiukšles ir komentarus iš šiukšlių dėžės"
199
-
200
- #: wp-optimize-main.php:216
201
- #, fuzzy
202
- msgid "Remove unapproved comments which are older than %d weeks"
203
- msgstr "Pašalinti nepatvirtintus komentarus, kurie yra vyresni nei %d dienos"
204
-
205
- #: wp-optimize-main.php:221 wp-optimize-settings.php:230
206
- msgid "Remove unapproved comments"
207
- msgstr "Pašalinti nepatvirtintus komentarus"
208
-
209
- #: wp-optimize-main.php:234 wp-optimize-settings.php:235
210
- msgid "Remove transient options"
211
- msgstr "Pašalinti trumpalaikes galimybes"
212
-
213
- #: wp-optimize-main.php:245
214
- msgid "Remove pingbacks"
215
- msgstr "Pašalinti pingbacks"
216
-
217
- #: wp-optimize-main.php:256
218
- msgid "Remove trackbacks"
219
- msgstr "Pašalinti trackbacks"
220
-
221
- #: wp-optimize-main.php:282
222
- msgid "Actions"
223
- msgstr "Veiksmai"
224
-
225
- #: wp-optimize-main.php:291
226
- msgid "Optimize database tables"
227
- msgstr "Optimizuoti duomenų bazės lenteles"
228
-
229
- #: wp-optimize-main.php:299
230
- msgid "Note:"
231
- msgstr "Pastaba:"
232
-
233
- #: wp-optimize-main.php:302
234
- msgid "InnoDB tables will not be optimized"
235
- msgstr "InnoDB lentelės nebus optimizuotos"
236
-
237
- #: wp-optimize-main.php:308
238
- msgid "Select safe options"
239
- msgstr "Pasirinkite saugias galimybes"
240
-
241
- #: wp-optimize-main.php:309
242
- msgid "Warning:"
243
- msgstr "Perspėjimas:"
244
-
245
- #: wp-optimize-main.php:310
246
- msgid "Always make a backup of your DB when you upgrade to major versions"
247
- msgstr "Visada pasidarykite savo DB atsarginę kopiją, kai jūs atnaujinate į pagrindine versija"
248
-
249
- #: wp-optimize-main.php:315
250
- msgid "PROCESS"
251
- msgstr "PROCESAS"
252
-
253
- #: wp-optimize-main.php:328
254
- msgid "Status log"
255
- msgstr "Statusas prisijungti"
256
-
257
- #: wp-optimize-main.php:343
258
- msgid "Last automatic optimization was at"
259
- msgstr "Paskutinis automatinis optimizavimas buvo"
260
-
261
- #: wp-optimize-main.php:355
262
- msgid "There was no automatic optimization"
263
- msgstr "Nebuvo automatinio optimizavimo"
264
-
265
- #: wp-optimize-main.php:405 wp-optimize-main.php:430
266
- msgid "Check settings"
267
- msgstr "Patikrinkite nustatymus"
268
-
269
- #: wp-optimize-main.php:370
270
- msgid "Scheduled cleaning enabled"
271
- msgstr "Numatomas valymas įjungtas"
272
-
273
- #: wp-optimize-main.php:382
274
- msgid "Next schedule:"
275
- msgstr "Kitas grafikas:"
276
-
277
- #: wp-optimize-main.php:393
278
- msgid "Refresh"
279
- msgstr "Atnaujinti"
280
-
281
- #: wp-optimize-main.php:402
282
- msgid "Scheduled cleaning disabled"
283
- msgstr "Numatomas valymas išjungtas"
284
-
285
- #: wp-optimize-main.php:416
286
- #, fuzzy
287
- msgid "Keeping last %s weeks data"
288
- msgstr "Paskutinis išsaugojimas %s dienos duomenys"
289
-
290
- #: wp-optimize-main.php:427
291
- msgid "Not keeping recent data"
292
- msgstr "Nesaugoti senesnius duomenis"
293
-
294
- #: wp-optimize-main.php:444 wp-optimize-main.php:456
295
- msgid "Current database size:"
296
- msgstr "Dabartinis duomenų bazės dydis:"
297
-
298
- #: wp-optimize-main.php:449
299
- msgid "You have saved:"
300
- msgstr "Jūs turite išsaugoti:"
301
-
302
- #: wp-optimize-main.php:464
303
- msgid "You can save almost:"
304
- msgstr "Galite išsaugoti Beveik:"
305
-
306
- #: wp-optimize-main.php:481
307
- msgid "Total clean up overall:"
308
- msgstr "Iš viso išvalyta vietos:"
309
-
310
- #: wp-optimize-main.php:502
311
- msgid "Sponsor"
312
- msgstr "Rėmėjas"
313
-
314
- #: wp-optimize-settings.php:71
315
- msgid "Settings updated"
316
- msgstr "Nustatymai atnaujinti"
317
-
318
- #: wp-optimize-settings.php:114
319
- msgid "General Settings"
320
- msgstr "Generaliniai nustatymai"
321
-
322
- #: wp-optimize-settings.php:119
323
- #, fuzzy
324
- msgid "Keep last %s weeks data"
325
- msgstr "Išsaugoti paskutinius %s dienos duomenys"
326
-
327
- #: wp-optimize-settings.php:135
328
- msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
329
- msgstr "Ši galimybė išlaikyti paskutinius pasirinktus savaitės duomenis ir iki šio laikotarpio pašalinti šiukšlių duomenis. Tai taip pat turės įtakos Auto Valymo procesui"
330
-
331
- #: wp-optimize-settings.php:144
332
- msgid "Enable admin bar link"
333
- msgstr "Įjungti nuorodą į Admin panelę"
334
-
335
- #: wp-optimize-settings.php:146
336
- msgid "(Click here to refresh)"
337
- msgstr "(Spauskite čia norėdami atnaujinti)"
338
-
339
- #: wp-optimize-settings.php:152
340
- msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
341
- msgstr "Ši galimybė įdėti WP-Optimizuoti nuorodą viršuje admin panelės (pagal nutylėjimą yra išjungtas). Reikalingas puslapio atnaujinimas."
342
-
343
- #: wp-optimize-settings.php:158
344
- msgid "SAVE SETTINGS"
345
- msgstr "IŠSAUGOTI NUSTATYMUS"
346
-
347
- #: wp-optimize-settings.php:168
348
- msgid "Auto Clean-up Settings"
349
- msgstr "Automatinis valymas Nustatymai"
350
-
351
- #: wp-optimize-settings.php:171
352
- msgid "Enable scheduled clean-up and optimization (Beta feature!)"
353
- msgstr "Įjungti planuojama išvalyti ir optimizavimas (Beta funkcija!)"
354
-
355
- #: wp-optimize-settings.php:173
356
- msgid "Select schedule type (default is Weekly)"
357
- msgstr "Pasirinkite tvarkaraščio tipą (pagal nutylėjimą yra Savaitinė)"
358
-
359
- #: wp-optimize-settings.php:180 wp-optimize-settings.php:192
360
- #: wp-optimize-settings.php:198
361
- msgid "Every week"
362
- msgstr "Kiekvieną savaitę"
363
-
364
- #: wp-optimize-settings.php:184 wp-optimize-settings.php:199
365
- msgid "Every other week (every 14 days)"
366
- msgstr "Kas antrą savaitę (kas 14 dienų)"
367
-
368
- #: wp-optimize-settings.php:188 wp-optimize-settings.php:200
369
- msgid "Every month (every 31 days)"
370
- msgstr "Kiekvieną mėnesį (kas 31 diena)"
371
-
372
- #: wp-optimize-settings.php:204
373
- msgid "Automatic cleanup will perform the following:"
374
- msgstr "Automatinis valymas atliks taip:"
375
-
376
- #: wp-optimize-settings.php:206
377
- msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
378
- msgstr "Pašalins pakeitimus, automatinius juodraščius, pranešimus / komentarus iš šiukšlių, trumpalaikius nustatymus. Po to bus optimizuota db."
379
-
380
- #: wp-optimize-settings.php:213
381
- msgid "These options will only work if the automatic clean-up schedule has been enabled"
382
- msgstr "Šie variantai dirbs tik tada, kai automatinis valymo grafikas yra įjungtas"
383
-
384
- #: wp-optimize-settings.php:218
385
- msgid "Remove auto revisions"
386
- msgstr "Pašalinti auto pataisymus"
387
-
388
- #: wp-optimize-settings.php:222
389
- msgid "Remove auto drafts"
390
- msgstr "Pašalinti auto juodraščius"
391
-
392
- #: wp-optimize-settings.php:226
393
- msgid "Remove spam comments"
394
- msgstr "Pašalinti šlamšto komentarus"
395
-
396
- #: wp-optimize-settings.php:239
397
- msgid "Remove orphaned post meta"
398
- msgstr "Pašalinti nepanaudotus įrašu meta"
399
-
400
- #: wp-optimize-settings.php:243
401
- msgid "Remove unused tags"
402
- msgstr "Pašalinti nenaudojamas žymes"
403
-
404
- #: wp-optimize-settings.php:249
405
- msgid "Optimize database"
406
- msgstr "Optimizuokite duomenų bazę"
407
-
408
- #: wp-optimize-settings.php:255
409
- msgid "If you have InnoDB tables. They will not be optimized!"
410
- msgstr "Jei turite InnoDB lenteles. Jos nebus optimizuotos!"
411
-
412
- #: wp-optimize-settings.php:262
413
- msgid "SAVE AUTO CLEAN-UP SETTINGS"
414
- msgstr "IŠSAUGOTI NUSTATYMUS AUTOMATINIO VALYMO"
415
-
416
- #: wp-optimize-tables.php:20
417
- msgid "Database Name:"
418
- msgstr "Duomenų bazės pavadinimas:"
419
-
420
- #: wp-optimize-tables.php:28
421
- msgid "Optimized all the tables found in the database."
422
- msgstr "Optimizuotos visos lentelės duomenų bazėje."
423
-
424
- #: wp-optimize-tables.php:36
425
- msgid "No."
426
- msgstr "Nėra"
427
-
428
- #: wp-optimize-tables.php:38
429
- msgid "Records"
430
- msgstr "Įrašai"
431
-
432
- #: wp-optimize-tables.php:39
433
- msgid "Data Size"
434
- msgstr "Duomenų dydis"
435
-
436
- #: wp-optimize-tables.php:40
437
- msgid "Index Size"
438
- msgstr "Pagrindinio puslapio dydis "
439
-
440
- #: wp-optimize-tables.php:41
441
- msgid "Type"
442
- msgstr "Tipas"
443
-
444
- #: wp-optimize-tables.php:42
445
- msgid "Overhead"
446
- msgstr "Virš galvos"
447
-
448
- #: wp-optimize-tables.php:137
449
- msgid "Total:"
450
- msgstr "Iš viso:"
451
-
452
- #: wp-optimize-tables.php:138
453
- msgid "%d Table"
454
- msgid_plural "%d Tables"
455
- msgstr[0] "%d Lentelė"
456
- msgstr[1] "%d Lentelės"
457
- msgstr[2] ""
458
-
459
- #: wp-optimize-tables.php:139
460
- msgid "%d Record"
461
- msgid_plural "%d Records"
462
- msgstr[0] "%d Įrašai"
463
- msgstr[1] "%d Įrašų"
464
- msgstr[2] ""
465
-
466
- #: wp-optimize-tables.php:179
467
- msgid "Total Size of Database:"
468
- msgstr "Visas dydis Duomenų bazės:"
469
-
470
- #: wp-optimize-tables.php:191
471
- msgid "Optimization Results:"
472
- msgstr "Optimizavimo rezultatai:"
473
-
474
- #: wp-optimize-tables.php:196
475
- msgid "Total Space Saved:"
476
- msgstr "Bendras plotas Išsaugota:"
477
-
478
- #: wp-optimize-tables.php:208
479
- msgid "Optimization Possibility:"
480
- msgstr "Optimizavimo Galimybė:"
481
-
482
- #: wp-optimize-tables.php:215
483
- msgid "Total space can be saved:"
484
- msgstr "Bendras plotas gali būti išsaugotas:"
485
-
486
- msgid "WP-Optimize"
487
- msgstr "WP-Optimize"
488
-
489
- msgid "http://www.ruhanirabin.com/wp-optimize/"
490
- msgstr "http://www.ruhanirabin.com/wp-optimize/"
491
-
492
- msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
493
- msgstr "Šis įskiepis padeda jums išlaikyti švaria savo duomenų bazę, pašalinant puslapiu patikslinimus ir nereikalinga spama. Be to, jis leidžia jums paleisti komandą optimizuoti jūsų WordPress pagrindines lenteles (naudoti atsargiai)."
494
-
495
- msgid "Ruhani Rabin"
496
- msgstr "Ruhani Rabin"
497
-
498
- msgid "https://github.com/ruhanirabin/WP-Optimize"
499
- msgstr "https://github.com/ruhanirabin/WP-Optimize"
500
-
501
- #: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
502
- msgid "Optimizer"
503
- msgstr "Optimizavimas"
504
-
505
- #: wp-optimize-admin.php:28 wp-optimize-admin.php:46
506
- msgid "MYSQL"
507
- msgstr "MYSQL"
508
-
509
- #: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
510
- msgid "Settings"
511
- msgstr "Nustatymai"
512
-
513
- #: wp-optimize-admin.php:34 wp-optimize-admin.php:56
514
- msgid "Info"
515
- msgstr "Info"
516
-
517
- #: wp-optimize-admin.php:52 wp-optimize-tables.php:37
518
- msgid "Tables"
519
- msgstr "Lentelės"
520
-
521
- #: wp-optimize-common.php:465
522
- msgid "bytes"
523
- msgstr "baitai"
524
-
525
- #: wp-optimize-common.php:554
526
- #, fuzzy
527
- msgid "%d transient option deleted"
528
- msgid_plural "%d transient options deleted"
529
- msgstr[0] "%d laikini nustatymai ištrinti"
530
-
531
- #: wp-optimize-common.php:581
532
- #, fuzzy
533
- msgid "%d post revision deleted"
534
- msgid_plural "%d post revisions deleted"
535
- msgstr[0] "%d irašu redagavimai ištrinti"
536
-
537
- #: wp-optimize-common.php:592
538
- #, fuzzy
539
- msgid "%d auto draft deleted"
540
- msgid_plural "%d auto drafts deleted"
541
- msgstr[0] "%d auto juodraščiai ištrinti"
542
-
543
- #: wp-optimize-common.php:602
544
- #, fuzzy
545
- msgid "%d item removed from Trash"
546
- msgid_plural "%d items removed from Trash"
547
- msgstr[0] "%d ištrinta iš šiukšliadėžės"
548
-
549
- #: wp-optimize-common.php:614
550
- #, fuzzy
551
- msgid "%d spam comment deleted"
552
- msgid_plural "%d spam comments deleted"
553
- msgstr[0] "%d spam komentarai ištrinti"
554
-
555
- #: wp-optimize-common.php:645
556
- #, fuzzy
557
- msgid "%d unapproved comment deleted"
558
- msgid_plural "%d unapproved comments deleted"
559
- msgstr[0] "%d nepatvirtinti komentarai ištrinti"
560
-
561
- #: wp-optimize-common.php:651
562
- #, fuzzy
563
- msgid "%d pingback deleted"
564
- msgid_plural "%d pingbacks deleted"
565
- msgstr[0] "%d pingbacks ištrinti"
566
-
567
- #: wp-optimize-common.php:657
568
- #, fuzzy
569
- msgid "%d trackback deleted"
570
- msgid_plural "%d trackbacks deleted"
571
- msgstr[0] "%d trackbacks ištrinti"
572
-
573
- #: wp-optimize-common.php:664
574
- msgid "Enabled weekly processing"
575
- msgstr "Įjungta kas savaitę apdorojimas"
576
-
577
- #: wp-optimize-common.php:670
578
- msgid "Disabled weekly processing"
579
- msgstr "Išjungta kias savaitę apdorojimas"
580
-
581
- #: wp-optimize-common.php:679
582
- msgid "NO Actions Taken"
583
- msgstr "Ne Veiksmams, kurių imtasi"
584
-
585
- #: wp-optimize-common.php:706
586
- #, fuzzy
587
- msgid "%d transient option in your database"
588
- msgid_plural "%d transient options in your database"
589
- msgstr[0] "%d laikini nustatymai jūsų duomenų bazėje"
590
-
591
- #: wp-optimize-common.php:708
592
- msgid "No transient options found"
593
- msgstr "Nėrasta jokiu laikinu nustaymu"
594
-
595
- #: wp-optimize-common.php:717
596
- #, fuzzy
597
- msgid "%d orphaned postmeta in your database"
598
- msgid_plural "%d orphaned postmeta in your database"
599
- msgstr[0] "%d našlaičiai postmeta jūsų duomenų bazėje"
600
-
601
- #: wp-optimize-common.php:719
602
- msgid "No orphaned postmeta in your database"
603
- msgstr "Nėra našlaičiu postmeta jūsų duomenų bazėje"
604
-
605
- #: wp-optimize-common.php:728
606
- #, fuzzy
607
- msgid "%d unused tag in your database"
608
- msgid_plural "%d unused tags in your database"
609
- msgstr[0] "%d nepanaudotos žymės jūsų duomenų bazėje"
610
-
611
- #: wp-optimize-common.php:730
612
- msgid "No unused tags found"
613
- msgstr "Nerasta nepanaudotu žymu"
614
-
615
- #: wp-optimize-common.php:743
616
- #, fuzzy
617
- msgid "%d post revision in your database"
618
- msgid_plural "%d post revisions in your database"
619
- msgstr[0] "%d redaguotu irašu duomenų bazeje"
620
-
621
- #: wp-optimize-common.php:745
622
- msgid "No post revisions found"
623
- msgstr "Nerasta redaguotu irašu"
624
-
625
- #: wp-optimize-common.php:758
626
- #, fuzzy
627
- msgid "%d auto draft post in your database"
628
- msgid_plural "%d auto draft posts in your database"
629
- msgstr[0] "%d auto juodraščiai pranešimu (-ai) duomenų bazėje"
630
-
631
- #: wp-optimize-common.php:760
632
- msgid "No auto draft posts found"
633
- msgstr "Automatiniu pranešimų juodraščiu nerasta "
634
-
635
- #: wp-optimize-common.php:772
636
- #, fuzzy
637
- msgid "%d spam comment found"
638
- msgid_plural "%d spam comments found"
639
- msgstr[0] "%d rasta spam Komentarai"
640
-
641
- #: wp-optimize-common.php:772 wp-optimize-common.php:803
642
- msgid "Review"
643
- msgstr "Apžvalga"
644
-
645
- #: wp-optimize-common.php:774
646
- msgid "No spam comments found"
647
- msgstr "Nerasta spam Komentarai"
648
-
649
- #: wp-optimize-common.php:803
650
- #, fuzzy
651
- msgid "%d unapproved comment found"
652
- msgid_plural "%d unapproved comments found"
653
- msgstr[0] "%d rasti nepatvirtinti komentarai"
654
-
655
- #: wp-optimize-common.php:805
656
- msgid "No unapproved comments found"
657
- msgstr "Nerasta nepatvirtintų komentaru"
658
-
659
- #: wp-optimize-common.php:813
660
- #, fuzzy
661
- msgid "%d Pingback found"
662
- msgid_plural "%d Pingbacks found"
663
- msgstr[0] "%d Pingbacks rasti"
664
-
665
- #: wp-optimize-common.php:815
666
- msgid "No pingbacks found"
667
- msgstr "Pingbacks nerasta"
668
-
669
- #: wp-optimize-common.php:823
670
- #, fuzzy
671
- msgid "%d Trackback found"
672
- msgid_plural "%d Trackbacks found"
673
- msgstr[0] "%d Trackbacks rasti"
674
-
675
- #: wp-optimize-common.php:825
676
- msgid "No trackbacks found"
677
- msgstr "Trackbacks nerasta"
678
-
679
- #: wp-optimize-common.php:831
680
- msgid "nothing"
681
- msgstr "nieko"
682
-
683
- #: wp-optimize-credits.php:14
684
- msgid "Credits"
685
- msgstr "Kreditai"
686
-
687
- #: wp-optimize-credits.php:15
688
- msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
689
- msgstr "WP-Optimizuoti projektas prasidėjo kaip mano paties naudojimo naudingumui. Aš supratau, kad šis priedas gali padėti žmonėms. Aš asmeniškai padėkoti visiems vartotojams, kurie naudoja šį priedą kasdien. Taip pat ačiū visiems vertėjams ir dosniems žmonėms, kurie paaukos šiam projektui."
690
-
691
- #: wp-optimize-credits.php:25
692
- msgid "Share this plugin on Facebook"
693
- msgstr "Dalytis šiuo įskiepiai Facebook"
694
-
695
- #: wp-optimize-credits.php:38
696
- msgid "Contributing Developers"
697
- msgstr "Programuotoju Indėlis"
698
-
699
- #: wp-optimize-credits.php:39
700
- msgid "Help me make this plugin better"
701
- msgstr "Padėkite man tobulinti ši įskiepi"
702
-
703
- #: wp-optimize-credits.php:39
704
- msgid "I am looking for contributing developers."
705
- msgstr "Aš ieškau programuotoju kurie gali padėti."
706
-
707
- #: wp-optimize-credits.php:40
708
- msgid "Your name and website will be credited here in the plugin"
709
- msgstr "Jūsų vardas ir svetainė bus paskelbta čia įskiepyje"
710
-
711
- #: wp-optimize-credits.php:49
712
- msgid "Translators"
713
- msgstr "Vertėjai"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-optimize-pt_PT.mo DELETED
Binary file
languages/wp-optimize-pt_PT.po DELETED
@@ -1,896 +0,0 @@
1
- # Copyright (C) 2013 WP-Optimize
2
- # This file is distributed under the same license as the WP-Optimize package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WP-Optimize 1.9\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-optimize\n"
7
- "POT-Creation-Date: 2016-06-21 08:40+0100\n"
8
- "PO-Revision-Date: 2016-06-21 10:49+0100\n"
9
- "Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
10
- "Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
11
- "Language: pt_PT\n"
12
- "MIME-Version: 1.0\n"
13
- "Content-Type: text/plain; charset=UTF-8\n"
14
- "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.8.8\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "X-Poedit-SourceCharset: UTF-8\n"
18
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
19
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
20
- "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
21
- "X-Poedit-Basepath: ..\n"
22
- "X-Poedit-WPHeader: wp-optimize.php\n"
23
- "X-Poedit-SearchPath-0: .\n"
24
-
25
- #: wp-optimize-admin.php:25 wp-optimize-admin.php:44 wp-optimize.php:96
26
- msgid "Optimizer"
27
- msgstr "Optimizador"
28
-
29
- #: wp-optimize-admin.php:28 wp-optimize-admin.php:47
30
- msgid "MYSQL"
31
- msgstr "MYSQL"
32
-
33
- #: wp-optimize-admin.php:33 wp-optimize-admin.php:55 wp-optimize.php:95
34
- msgid "Settings"
35
- msgstr "Definições"
36
-
37
- #: wp-optimize-admin.php:34 wp-optimize-admin.php:57
38
- msgid "Info"
39
- msgstr "Informações"
40
-
41
- #: wp-optimize-admin.php:53 wp-optimize-tables.php:37
42
- msgid "Tables"
43
- msgstr "Tabelas"
44
-
45
- #: wp-optimize-common.php:72
46
- msgid "Automatic Operation Completed"
47
- msgstr "Operação automática concluída"
48
-
49
- #: wp-optimize-common.php:74
50
- msgid "Scheduled optimization was executed at"
51
- msgstr "Optimização agendada foi executada em"
52
-
53
- #: wp-optimize-common.php:76
54
- msgid "You can safely delete this email."
55
- msgstr "Pode eliminar este email em segurança."
56
-
57
- #: wp-optimize-common.php:78
58
- msgid "Regards,"
59
- msgstr "Cumprimentos,"
60
-
61
- #: wp-optimize-common.php:79
62
- msgid "WP-Optimize Plugin"
63
- msgstr "Plugin WP-Optimize"
64
-
65
- #: wp-optimize-common.php:533
66
- msgid "GB"
67
- msgstr "GB"
68
-
69
- #: wp-optimize-common.php:535
70
- msgid "MB"
71
- msgstr "MB"
72
-
73
- #: wp-optimize-common.php:537
74
- msgid "KB"
75
- msgstr "KB"
76
-
77
- #: wp-optimize-common.php:539
78
- msgid "bytes"
79
- msgstr "bytes"
80
-
81
- #: wp-optimize-common.php:629
82
- #, php-format
83
- msgid "%d transient option deleted"
84
- msgid_plural "%d transient options deleted"
85
- msgstr[0] "Foi eliminada %d opção transitória"
86
- msgstr[1] "Foram eliminadas %d opções transitórias"
87
-
88
- #: wp-optimize-common.php:637
89
- #, php-format
90
- msgid "%d orphaned postmeta deleted"
91
- msgid_plural "%d orphaned postmeta deleted"
92
- msgstr[0] "Foi eliminado %d metadado orfão de conteúdo"
93
- msgstr[1] "Foram eliminados %d metadados orfãos de conteúdos"
94
-
95
- #: wp-optimize-common.php:644
96
- #, php-format
97
- msgid "%d unused comment metadata item removed"
98
- msgid_plural "%d unused comment metadata items removed"
99
- msgstr[0] "Foi removido %d metadado de comentário não utilizado"
100
- msgstr[1] "Foram removidos %d metadados de comentários não utilizados"
101
-
102
- #: wp-optimize-common.php:650
103
- #, php-format
104
- msgid "%d unused akismet comment metadata item removed"
105
- msgid_plural "%d unused akismet comment metadata items removed"
106
- msgstr[0] "Foi removido %d metadado de comentário do akismet não utilizado"
107
- msgstr[1] ""
108
- "Foram removidos %d metadados de comentários do akismet não utilizados"
109
-
110
- #: wp-optimize-common.php:659
111
- #, php-format
112
- msgid "%d orphaned meta data deleted"
113
- msgid_plural "%d orphaned meta data deleted"
114
- msgstr[0] "Foi eliminado %d metadado orfão"
115
- msgstr[1] "Foram eliminados %d metadados orfãos"
116
-
117
- #: wp-optimize-common.php:678
118
- #, php-format
119
- msgid "%d post revision deleted"
120
- msgid_plural "%d post revisions deleted"
121
- msgstr[0] "Foi eliminada %d revisão de conteúdo"
122
- msgstr[1] "Foram eliminadas %d revisões de conteúdos"
123
-
124
- #: wp-optimize-common.php:689
125
- #, php-format
126
- msgid "%d auto draft deleted"
127
- msgid_plural "%d auto drafts deleted"
128
- msgstr[0] "Foi eliminado %d rascunho automático"
129
- msgstr[1] "Foram eliminados %d rascunhos automáticos"
130
-
131
- #: wp-optimize-common.php:699
132
- #, php-format
133
- msgid "%d item removed from Trash"
134
- msgid_plural "%d items removed from Trash"
135
- msgstr[0] "Foi removido %d item do lixo"
136
- msgstr[1] "Foram removidos %d itens do lixo"
137
-
138
- #: wp-optimize-common.php:711
139
- #, php-format
140
- msgid "%d spam comment deleted"
141
- msgid_plural "%d spam comments deleted"
142
- msgstr[0] "Foi eliminado %d comentário de spam"
143
- msgstr[1] "Foram eliminados %d comentários de spam"
144
-
145
- #: wp-optimize-common.php:720
146
- #, php-format
147
- msgid "%d comment removed from Trash"
148
- msgid_plural "%d comments removed from Trash"
149
- msgstr[0] "Foi removido %d comentário do lixo"
150
- msgstr[1] "Foram removidos %d comentários do lixo"
151
-
152
- #: wp-optimize-common.php:731
153
- #, php-format
154
- msgid "%d unapproved comment deleted"
155
- msgid_plural "%d unapproved comments deleted"
156
- msgstr[0] "Foi eliminado %d comentário não aprovado"
157
- msgstr[1] "Foram eliminados %d comentários não aprovados"
158
-
159
- #: wp-optimize-common.php:737
160
- #, php-format
161
- msgid "%d pingback deleted"
162
- msgid_plural "%d pingbacks deleted"
163
- msgstr[0] "Foi eliminado %d pingback"
164
- msgstr[1] "Foram eliminados %d pingbacks"
165
-
166
- #: wp-optimize-common.php:743
167
- #, php-format
168
- msgid "%d trackback deleted"
169
- msgid_plural "%d trackbacks deleted"
170
- msgstr[0] "Foi eliminado %d trackback"
171
- msgstr[1] "Foram eliminados %d trackbacks"
172
-
173
- #: wp-optimize-common.php:749
174
- msgid "Enabled weekly processing"
175
- msgstr "Processamento semanal activado"
176
-
177
- #: wp-optimize-common.php:755
178
- msgid "Disabled weekly processing"
179
- msgstr "Processamento semanal desactivado"
180
-
181
- #: wp-optimize-common.php:764
182
- msgid "NO Actions Taken"
183
- msgstr "Não foi realizada nenhuma acção"
184
-
185
- #: wp-optimize-common.php:791
186
- #, php-format
187
- msgid "%d transient option in your database"
188
- msgid_plural "%d transient options in your database"
189
- msgstr[0] "%d opção transitória na sua base de dados"
190
- msgstr[1] "%d opções transitórias na sua base de dados"
191
-
192
- #: wp-optimize-common.php:793
193
- msgid "No transient options found"
194
- msgstr "Não foram encontradas opções transitórias"
195
-
196
- #: wp-optimize-common.php:802
197
- #, php-format
198
- msgid "%d orphaned post meta data in your database"
199
- msgid_plural "%d orphaned postmeta in your database"
200
- msgstr[0] "%d metadado orfão de conteúdo na sua base de dados"
201
- msgstr[1] "%d metadados orfãos de conteúdos na sua base de dados"
202
-
203
- #: wp-optimize-common.php:804
204
- msgid "No orphaned post meta data in your database"
205
- msgstr "Nenhum metadado orfão de conteúdo na sua base de dados"
206
-
207
- #: wp-optimize-common.php:813
208
- #, php-format
209
- msgid "%d orphaned comment meta data in your database"
210
- msgid_plural "%d orphaned comment meta data in your database"
211
- msgstr[0] "%d metadado orfão de comentário na sua base de dados"
212
- msgstr[1] "%d metadados orfãos de comentários na sua base de dados"
213
-
214
- #: wp-optimize-common.php:815
215
- msgid "No orphaned comment meta data in your database"
216
- msgstr "Nenhum metadado orfão de comentário na sua base de dados"
217
-
218
- #: wp-optimize-common.php:824
219
- #, php-format
220
- msgid "%d orphaned relationship data in your database"
221
- msgid_plural "%d orphaned relationship data in your database"
222
- msgstr[0] "%d dado orfão de relação na sua base de dados"
223
- msgstr[1] "%d dados orfãos de relação na sua base de dados"
224
-
225
- #: wp-optimize-common.php:826
226
- msgid "No orphaned relationship data in your database"
227
- msgstr "Nenhum dado orfão de relação na sua base de dados"
228
-
229
- #: wp-optimize-common.php:851
230
- #, php-format
231
- msgid "%d post revision in your database"
232
- msgid_plural "%d post revisions in your database"
233
- msgstr[0] "%d revisão de conteúdo na sua base de dados"
234
- msgstr[1] "%d revisões de conteúdos na sua base de dados"
235
-
236
- #: wp-optimize-common.php:853
237
- msgid "No post revisions found"
238
- msgstr "Não foram encontradas revisões de conteúdos"
239
-
240
- #: wp-optimize-common.php:866
241
- #, php-format
242
- msgid "%d auto draft post in your database"
243
- msgid_plural "%d auto draft posts in your database"
244
- msgstr[0] "%d rascunho automático de conteúdo na sua base de dados"
245
- msgstr[1] "%d rascunhos automáticos de conteúdos na sua base de dados"
246
-
247
- #: wp-optimize-common.php:868
248
- msgid "No auto draft posts found"
249
- msgstr "Não foram encontrados rascunhos automáticos de conteúdos"
250
-
251
- #: wp-optimize-common.php:880
252
- #, php-format
253
- msgid "%d spam comment found"
254
- msgid_plural "%d spam comments found"
255
- msgstr[0] "%d comentário de spam"
256
- msgstr[1] "%d comentários de spam"
257
-
258
- #: wp-optimize-common.php:880 wp-optimize-common.php:894
259
- msgid "Review"
260
- msgstr "Rever"
261
-
262
- #: wp-optimize-common.php:882
263
- msgid "No spam comments found"
264
- msgstr "Não foram encontrados comentários de spam"
265
-
266
- #: wp-optimize-common.php:894
267
- #, php-format
268
- msgid "%d unapproved comment found"
269
- msgid_plural "%d unapproved comments found"
270
- msgstr[0] "%d comentário não aprovado"
271
- msgstr[1] "%d comentários não aprovados"
272
-
273
- #: wp-optimize-common.php:896
274
- msgid "No unapproved comments found"
275
- msgstr "Não foram encontrados comentários não aprovados"
276
-
277
- #: wp-optimize-common.php:904
278
- #, php-format
279
- msgid "%d Pingback found"
280
- msgid_plural "%d Pingbacks found"
281
- msgstr[0] "%d pingback encontrado"
282
- msgstr[1] "%d pingbacks encontrados"
283
-
284
- #: wp-optimize-common.php:906
285
- msgid "No pingbacks found"
286
- msgstr "Não foram encontrados pingbacks"
287
-
288
- #: wp-optimize-common.php:914
289
- #, php-format
290
- msgid "%d Trackback found"
291
- msgid_plural "%d Trackbacks found"
292
- msgstr[0] "%d trackback encontrado"
293
- msgstr[1] "%d trackbacks encontrados"
294
-
295
- #: wp-optimize-common.php:916
296
- msgid "No trackbacks found"
297
- msgstr "Não foram encontrados trackbacks"
298
-
299
- #: wp-optimize-common.php:922
300
- msgid "nothing"
301
- msgstr "nada"
302
-
303
- #: wp-optimize-credits.php:14
304
- msgid "Credits"
305
- msgstr "Créditos"
306
-
307
- #: wp-optimize-credits.php:16
308
- msgid ""
309
- "WP-Optimize started as a utility for my own projects. I soon realized, that "
310
- "this plugin might help a lot of people. I am personally thanking all of the "
311
- "users who use this plugin on a daily basis. Also, thank you to all of the "
312
- "translators and the generous people who have donated to this project."
313
- msgstr ""
314
- "O WP-Optimize começou como um utilitário para os meus próprios projectos. "
315
- "Rapidamente percebi que este plugin poderá ajudar muita gente. Agradeço "
316
- "pessoalmente a todos os que usam este plugin diariamente. Agradeço também a "
317
- "todos os tradutores e pessoas generosas que fizeram donativos para este "
318
- "projecto."
319
-
320
- #: wp-optimize-credits.php:33
321
- msgid "Contributing Developers"
322
- msgstr "Programadores que contribuem"
323
-
324
- #: wp-optimize-credits.php:35
325
- msgid "Help me make this plugin better"
326
- msgstr "Ajude-me a melhorar este plugin"
327
-
328
- #: wp-optimize-credits.php:35
329
- msgid "I am looking for contributing developers."
330
- msgstr "Estou à procura de programadores que possam contribuir."
331
-
332
- #: wp-optimize-credits.php:37
333
- msgid "Your name and website will be credited here in the plugin."
334
- msgstr "O seu nome e site serão creditados aqui no plugin."
335
-
336
- #: wp-optimize-credits.php:46
337
- msgid "Plugin Resources"
338
- msgstr "Recursos do plugin"
339
-
340
- #: wp-optimize-credits.php:48
341
- msgid "Plugin Translation Portal (needs WordPress account)"
342
- msgstr "Portal de tradução do plugin (tem que ter conta WordPress)"
343
-
344
- #: wp-optimize-credits.php:51
345
- msgid "Plugin Homepage"
346
- msgstr "Página do plugin"
347
-
348
- #: wp-optimize-credits.php:54
349
- msgid "Support (GitHub)"
350
- msgstr "Suporte (GitHub)"
351
-
352
- #: wp-optimize-credits.php:57
353
- msgid "Support E-mail"
354
- msgstr "Email de suporte"
355
-
356
- #: wp-optimize-credits.php:60
357
- msgid "Change Log"
358
- msgstr "Registo de alterações"
359
-
360
- #: wp-optimize-credits.php:63
361
- msgid "FAQ"
362
- msgstr "Perguntas frequentes"
363
-
364
- #: wp-optimize-credits.php:73
365
- msgid "What's New"
366
- msgstr "O que há de novo"
367
-
368
- #: wp-optimize-credits.php:84
369
- msgid "GitHub - Develop Branch"
370
- msgstr "GitHub - Develop Branch"
371
-
372
- #: wp-optimize-credits.php:104
373
- msgid "No items"
374
- msgstr "Nenhum item"
375
-
376
- #: wp-optimize-main.php:84
377
- #, php-format
378
- msgctxt "%s is the Database Name"
379
- msgid "%s Database Optimized!"
380
- msgstr "Base de dados %s optimizada!"
381
-
382
- #: wp-optimize-main.php:167
383
- msgid ""
384
- "Transient options are automatically re-created by WordPress. Select this "
385
- "option, if you have a large number of Transient."
386
- msgstr ""
387
- "As opções transitórias são recriadas automaticamente pelo WordPress. "
388
- "Seleccione esta opção se tiver um número elevado de opções transitórias."
389
-
390
- #: wp-optimize-main.php:170
391
- msgid "This will delete all pingbacks in the database. Are you sure?"
392
- msgstr "Isto eliminará todos os pingbacks da sua base de dados. Tem a certeza?"
393
-
394
- #: wp-optimize-main.php:173
395
- msgid "This will delete all trackbacks in the database. Are you sure?"
396
- msgstr ""
397
- "Isto eliminará todos os trackbacks da sua base de dados. Tem a certeza?"
398
-
399
- #: wp-optimize-main.php:176
400
- msgid ""
401
- "Cleaning up post meta can have unexpected results on some servers. Are you "
402
- "sure?"
403
- msgstr ""
404
- "Limpar metadados de conteúdos pode ter resultados inesperados em alguns "
405
- "servidores. Tem a certeza?"
406
-
407
- #: wp-optimize-main.php:179
408
- msgid ""
409
- "Cleaning up comments meta can have unexpected results on some servers. Are "
410
- "you sure?"
411
- msgstr ""
412
- "Limpar metadados de comentários pode ter resultados inesperados em alguns "
413
- "servidores. Tem a certeza?"
414
-
415
- #: wp-optimize-main.php:182
416
- msgid ""
417
- "Cleaning up orphaned post relationship data can have unexpected result. Are "
418
- "you sure?"
419
- msgstr ""
420
- "Limpar dados orfãos de relação pode ter resultados inesperados em alguns "
421
- "servidores. Tem a certeza?"
422
-
423
- #: wp-optimize-main.php:191
424
- msgid "WARNING: This operation is permanent. Continue?"
425
- msgstr "AVISO: Esta operação é irreversível. Continuar?"
426
-
427
- #: wp-optimize-main.php:195
428
- msgid "Clean-up options"
429
- msgstr "Opções de limpeza"
430
-
431
- #: wp-optimize-main.php:204
432
- #, php-format
433
- msgid "Clean post revisions which are older than %d weeks"
434
- msgstr "Limpar revisões de conteúdos com mais de %d semanas"
435
-
436
- #: wp-optimize-main.php:206
437
- msgid "Clean all post revisions"
438
- msgstr "Limpar todas as revisões de conteúdos"
439
-
440
- #: wp-optimize-main.php:217
441
- #, php-format
442
- msgid "Clean auto draft posts which are older than %d weeks"
443
- msgstr "Limpar rascunhos automáticos de conteúdos com mais de %d semanas"
444
-
445
- #: wp-optimize-main.php:219
446
- msgid "Clean all auto draft posts and posts in trash"
447
- msgstr "Limpar todos os rascunhos automáticos de conteúdos e conteúdos no lixo"
448
-
449
- #: wp-optimize-main.php:230
450
- #, php-format
451
- msgid "Remove spam comments which are older than %d weeks"
452
- msgstr "Remover comentários de spam com mais de %d semanas"
453
-
454
- #: wp-optimize-main.php:232
455
- msgid "Remove spam comments and comments in trash"
456
- msgstr "Remover comentários de spam e comentários no lixo"
457
-
458
- #: wp-optimize-main.php:243
459
- #, php-format
460
- msgid "Remove unapproved comments which are older than %d weeks"
461
- msgstr "Remover comentários não aprovados com mais de %d semanas"
462
-
463
- #: wp-optimize-main.php:245 wp-optimize-settings.php:248
464
- msgid "Remove unapproved comments"
465
- msgstr "Remover comentários não aprovados"
466
-
467
- #: wp-optimize-main.php:254 wp-optimize-settings.php:252
468
- msgid "Remove transient options"
469
- msgstr "Remover opções transitórias"
470
-
471
- #: wp-optimize-main.php:262
472
- msgid "Remove pingbacks"
473
- msgstr "Remover pingbacks"
474
-
475
- #: wp-optimize-main.php:270
476
- msgid "Remove trackbacks"
477
- msgstr "Remover trackbacks"
478
-
479
- #: wp-optimize-main.php:280
480
- msgid "Clean post meta data"
481
- msgstr "Limpar metadados de conteúdos"
482
-
483
- #: wp-optimize-main.php:289
484
- msgid "Clean comment meta data"
485
- msgstr "Limpar metadados de comentários"
486
-
487
- #: wp-optimize-main.php:298
488
- msgid "Clean orphaned relationship data"
489
- msgstr "Limpar dados orfãos de relação"
490
-
491
- #: wp-optimize-main.php:305
492
- msgid ""
493
- "WARNING: Do not select RED marked items, they may have unexpected results"
494
- msgstr ""
495
- "AVISO: Não seleccione os itens marcados a VERMELHO, poderão produzir "
496
- "resultados inesperados."
497
-
498
- #: wp-optimize-main.php:309 wp-optimize-settings.php:180
499
- msgid "Optimize YouTube embedding with this free plugin on WordPress.org"
500
- msgstr ""
501
- "Optimize a incorporação do YouTube com este plugin gratuito no WordPress.org"
502
-
503
- #: wp-optimize-main.php:318
504
- msgid "Actions"
505
- msgstr "Acções"
506
-
507
- #: wp-optimize-main.php:326
508
- msgid "Optimize database tables"
509
- msgstr "Optimizar as tabelas da base de dados"
510
-
511
- #: wp-optimize-main.php:332
512
- msgid "Note:"
513
- msgstr "Nota:"
514
-
515
- #: wp-optimize-main.php:334
516
- msgid "InnoDB tables will not be optimized"
517
- msgstr "Tabelas InnoDB não serão optimizadas"
518
-
519
- #: wp-optimize-main.php:338
520
- msgid "Select safe options"
521
- msgstr "Seleccione opções de segurança"
522
-
523
- #: wp-optimize-main.php:339
524
- msgid "Warning:"
525
- msgstr "Aviso:"
526
-
527
- #: wp-optimize-main.php:341
528
- msgid "Always make a backup of your DB when you upgrade to major versions"
529
- msgstr ""
530
- "Faça sempre uma cópia de segurança da sua base de dados quando actualizar "
531
- "para versões principais"
532
-
533
- #: wp-optimize-main.php:345
534
- msgid "PROCESS"
535
- msgstr "Processar"
536
-
537
- #: wp-optimize-main.php:348
538
- msgid "Please donate! It really helps me improving the plugin."
539
- msgstr "Por favor faça um donativo! Isto ajuda-me a melhorar o plugin."
540
-
541
- #: wp-optimize-main.php:348
542
- msgid "Donate!"
543
- msgstr "Doar!"
544
-
545
- #: wp-optimize-main.php:349
546
- msgid "Please give a proper rating :)"
547
- msgstr "Por favor dê uma classificação apropriada :)"
548
-
549
- #: wp-optimize-main.php:350
550
- msgid "Rating"
551
- msgstr "Classificar"
552
-
553
- #: wp-optimize-main.php:353
554
- msgid "Status log"
555
- msgstr "Registo de estado"
556
-
557
- #: wp-optimize-main.php:359
558
- msgid "Last automatic optimization was at"
559
- msgstr "A última optimização automática ocorreu em"
560
-
561
- #: wp-optimize-main.php:370
562
- msgid "There was no automatic optimization"
563
- msgstr "Não ocorreu nenhuma optimização automática"
564
-
565
- #: wp-optimize-main.php:385
566
- msgid "Scheduled cleaning enabled"
567
- msgstr "Limpeza agendada activada"
568
-
569
- #: wp-optimize-main.php:397
570
- msgid "Next schedule:"
571
- msgstr "próximo agendamento:"
572
-
573
- #: wp-optimize-main.php:408
574
- msgid "Refresh"
575
- msgstr "Actualizar"
576
-
577
- #: wp-optimize-main.php:416
578
- msgid "Scheduled cleaning disabled"
579
- msgstr "Limpeza agendada desactivada"
580
-
581
- #: wp-optimize-main.php:419 wp-optimize-main.php:440
582
- msgid "Check settings"
583
- msgstr "Verifique as definições"
584
-
585
- #: wp-optimize-main.php:430
586
- #, php-format
587
- msgid "Keeping last %s weeks data"
588
- msgstr "A manter os dados das últimas %s semanas"
589
-
590
- #: wp-optimize-main.php:437
591
- msgid "Not keeping recent data"
592
- msgstr "Não manter dados recentes"
593
-
594
- #: wp-optimize-main.php:451 wp-optimize-main.php:463
595
- msgid "Current database size:"
596
- msgstr "Tamanho actual da base de dados:"
597
-
598
- #: wp-optimize-main.php:456
599
- msgid "You have saved:"
600
- msgstr "Recuperou:"
601
-
602
- #: wp-optimize-main.php:471
603
- msgid "You can save almost:"
604
- msgstr "Poderá recuperar quase:"
605
-
606
- #: wp-optimize-main.php:485
607
- msgid "Total clean up overall:"
608
- msgstr "Total de limpezas efectuadas:"
609
-
610
- #: wp-optimize-main.php:502
611
- msgid "Sponsor"
612
- msgstr "Patrocinador"
613
-
614
- #: wp-optimize-settings.php:87
615
- msgid "Trackbacks disabled on all current and previously published posts"
616
- msgstr ""
617
- "Foram desactivados os trackbacks em todos os conteúdos actuais e publicados "
618
- "anteriormente"
619
-
620
- #: wp-optimize-settings.php:93
621
- msgid "Trackbacks enabled on all current and previously published posts"
622
- msgstr ""
623
- "Foram activados os trackbacks em todos os conteúdos actuais e publicados "
624
- "anteriormente"
625
-
626
- #: wp-optimize-settings.php:102
627
- msgid "Comments disabled on all current and previously published posts"
628
- msgstr ""
629
- "Foram desactivados os comentários em todos os conteúdos actuais e publicados "
630
- "anteriormente"
631
-
632
- #: wp-optimize-settings.php:108
633
- msgid "Comments enabled on all current and previously published posts"
634
- msgstr ""
635
- "Foram activados os comentários em todos os conteúdos actuais e publicados "
636
- "anteriormente"
637
-
638
- #: wp-optimize-settings.php:113
639
- msgid "Settings updated"
640
- msgstr "Definições actualizadas"
641
-
642
- #: wp-optimize-settings.php:123
643
- msgid "General Settings"
644
- msgstr "Definições gerais"
645
-
646
- #: wp-optimize-settings.php:128
647
- #, php-format
648
- msgid "Keep last %s weeks data"
649
- msgstr "Manter os dados das últimas %s semanas"
650
-
651
- #: wp-optimize-settings.php:141
652
- msgid ""
653
- "This option will retain the last selected weeks data and remove any garbage "
654
- "data before that period. This will also affect Auto Clean-up process"
655
- msgstr ""
656
- "Esta opção manterá os dados das últimas semanas e removerá quaisquer dados "
657
- "desnecessários anteriores a esse período. Isto também afecta o processo de "
658
- "limpeza automática"
659
-
660
- #: wp-optimize-settings.php:146
661
- msgid "Enable admin bar link"
662
- msgstr "Activar ligação na barra de administração"
663
-
664
- #: wp-optimize-settings.php:149
665
- msgid "(Click here to refresh)"
666
- msgstr "(clique aqui para actualizar)"
667
-
668
- #: wp-optimize-settings.php:153
669
- msgid ""
670
- "This option will put WP-Optimize link on the top admin bar (default is off). "
671
- "Requires page refresh."
672
- msgstr ""
673
- "Esta opção coloca a ligação do WP-Optimize na barra superior da "
674
- "administração (por omissão está desligado). Requer atualização da página."
675
-
676
- #: wp-optimize-settings.php:155
677
- msgid "Trackback/Comments Actions"
678
- msgstr "Acções de trackbacks/comentários"
679
-
680
- #: wp-optimize-settings.php:157
681
- msgid "Disable/Enable Trackbacks"
682
- msgstr "Activar/desactivar trackbacks"
683
-
684
- #: wp-optimize-settings.php:160 wp-optimize-settings.php:171
685
- msgid "SELECT"
686
- msgstr "Seleccionar"
687
-
688
- #: wp-optimize-settings.php:161 wp-optimize-settings.php:172
689
- msgid "Disable"
690
- msgstr "Desactivar"
691
-
692
- #: wp-optimize-settings.php:162 wp-optimize-settings.php:173
693
- msgid "Enable"
694
- msgstr "Activar"
695
-
696
- #: wp-optimize-settings.php:165
697
- msgid ""
698
- "This will disable/enable Trackbacks on all your current and previously "
699
- "published posts"
700
- msgstr ""
701
- "Isto desactivará/activará os trackbacks em todos os conteúdos actuais e "
702
- "publicados anteriormente"
703
-
704
- #: wp-optimize-settings.php:168
705
- msgid "Disable/Enable Comments"
706
- msgstr "Desactivar/activar comentários"
707
-
708
- #: wp-optimize-settings.php:176
709
- msgid ""
710
- "This will disable/enable Comments on all your current and previously "
711
- "published posts"
712
- msgstr ""
713
- "Isto desactivará/activará os comentários em todos os conteúdos actuais e "
714
- "publicados anteriormente"
715
-
716
- #: wp-optimize-settings.php:183
717
- msgid "SAVE SETTINGS"
718
- msgstr "Guardar definições"
719
-
720
- #: wp-optimize-settings.php:193
721
- msgid "Auto Clean-up Settings"
722
- msgstr "Definições de limpeza automática"
723
-
724
- #: wp-optimize-settings.php:196
725
- msgid "Enable scheduled clean-up and optimization (Beta feature!)"
726
- msgstr "Activar limpeza e optimização agendadas (recurso Beta!)"
727
-
728
- #: wp-optimize-settings.php:198
729
- msgid "Select schedule type (default is Weekly)"
730
- msgstr "Seleccione o tipo de agendamento (por omissão é semanal)"
731
-
732
- #: wp-optimize-settings.php:205 wp-optimize-settings.php:225
733
- msgid "Every day"
734
- msgstr "Todos os dias"
735
-
736
- #: wp-optimize-settings.php:209 wp-optimize-settings.php:221
737
- #: wp-optimize-settings.php:226
738
- msgid "Every week"
739
- msgstr "A cada semana"
740
-
741
- #: wp-optimize-settings.php:213 wp-optimize-settings.php:227
742
- msgid "Every other week (every 14 days)"
743
- msgstr "A cada duas semanas (14 dias)"
744
-
745
- #: wp-optimize-settings.php:217 wp-optimize-settings.php:228
746
- msgid "Every month (every 31 days)"
747
- msgstr "A cada mês (31 dias)"
748
-
749
- #: wp-optimize-settings.php:231
750
- msgid "Automatic cleanup will perform the following:"
751
- msgstr "A limpeza automática fará o seguinte:"
752
-
753
- #: wp-optimize-settings.php:233
754
- msgid ""
755
- "Remove revisions, auto drafts, posts/comments in trash, transient options. "
756
- "After that it will optimize the db."
757
- msgstr ""
758
- "Remover as revisões, cópias automáticas, comentários no lixo, opções "
759
- "transitórias. De seguida a base de dados será optimizada."
760
-
761
- #: wp-optimize-settings.php:236
762
- msgid ""
763
- "These options will only work if the automatic clean-up schedule has been "
764
- "enabled"
765
- msgstr ""
766
- "Estas opções só funcionarão se o agendamento de limpeza automática estiver "
767
- "activado"
768
-
769
- #: wp-optimize-settings.php:239
770
- msgid "Remove auto revisions"
771
- msgstr "Remover revisões automáticas"
772
-
773
- #: wp-optimize-settings.php:242
774
- msgid "Remove auto drafts"
775
- msgstr "Remover rascunhos automáticos"
776
-
777
- #: wp-optimize-settings.php:245
778
- msgid "Remove spam comments"
779
- msgstr "Remover comentários de spam"
780
-
781
- #: wp-optimize-settings.php:255
782
- msgid "Remove orphaned post meta"
783
- msgstr "Remover metadados orfãos"
784
-
785
- #: wp-optimize-settings.php:258
786
- msgid "Remove unused tags"
787
- msgstr "Remover etiquetas não utilizadas"
788
-
789
- #: wp-optimize-settings.php:261
790
- msgid "Optimize database"
791
- msgstr "Optimizar base de dados"
792
-
793
- #: wp-optimize-settings.php:266
794
- msgid "InnoDB tables will not be optimized!"
795
- msgstr "As tabelas InnoDB não serão optimizadas!"
796
-
797
- #: wp-optimize-settings.php:284
798
- msgid "SAVE AUTO CLEAN-UP SETTINGS"
799
- msgstr "Guardar definições de limpeza automática"
800
-
801
- #: wp-optimize-tables.php:20
802
- msgid "Database Name:"
803
- msgstr "Nome da base de dados:"
804
-
805
- #: wp-optimize-tables.php:28
806
- msgid "Optimized all the tables found in the database."
807
- msgstr "Foram optimizadas todas as tabelas encontradas na base de dados."
808
-
809
- #: wp-optimize-tables.php:36
810
- msgid "No."
811
- msgstr "Nº"
812
-
813
- #: wp-optimize-tables.php:38
814
- msgid "Records"
815
- msgstr "Registos"
816
-
817
- #: wp-optimize-tables.php:39
818
- msgid "Data Size"
819
- msgstr "Tamanho dos dados"
820
-
821
- #: wp-optimize-tables.php:40
822
- msgid "Index Size"
823
- msgstr "Tamanho do índice"
824
-
825
- #: wp-optimize-tables.php:41
826
- msgid "Type"
827
- msgstr "Tipo"
828
-
829
- #: wp-optimize-tables.php:42
830
- msgid "Overhead"
831
- msgstr "Excesso"
832
-
833
- #: wp-optimize-tables.php:137
834
- msgid "Total:"
835
- msgstr "Total:"
836
-
837
- #: wp-optimize-tables.php:138
838
- #, php-format
839
- msgid "%d Table"
840
- msgid_plural "%d Tables"
841
- msgstr[0] "%d tabela"
842
- msgstr[1] "%d tabelas"
843
-
844
- #: wp-optimize-tables.php:139
845
- #, php-format
846
- msgid "%d Record"
847
- msgid_plural "%d Records"
848
- msgstr[0] "%d registo"
849
- msgstr[1] "%d registos"
850
-
851
- #: wp-optimize-tables.php:179
852
- msgid "Total Size of Database:"
853
- msgstr "Tamanho total da base de dados:"
854
-
855
- #: wp-optimize-tables.php:191
856
- msgid "Optimization Results:"
857
- msgstr "Resultados da optimização:"
858
-
859
- #: wp-optimize-tables.php:196
860
- msgid "Total Space Saved:"
861
- msgstr "Total de espaço recuperado:"
862
-
863
- #: wp-optimize-tables.php:207
864
- msgid "Optimization Possibility:"
865
- msgstr "Estimativa de optimização:"
866
-
867
- #: wp-optimize-tables.php:213
868
- msgid "Total space that can be saved:"
869
- msgstr "Total de espaço que pode ser recuperado:"
870
-
871
- #. Plugin Name of the plugin/theme
872
- msgid "WP-Optimize"
873
- msgstr "WP-Optimize"
874
-
875
- #. Plugin URI of the plugin/theme
876
- msgid "http://wp-optimize.ruhanirabin.com/"
877
- msgstr "http://wp-optimize.ruhanirabin.com/"
878
-
879
- #. Description of the plugin/theme
880
- msgid ""
881
- "This plugin helps you to keep your database clean by removing post revisions "
882
- "and spam in a blaze. Additionally, it allows you to run the optimize command "
883
- "on your WordPress core tables (please use with caution)."
884
- msgstr ""
885
- "Este plugin ajuda-o a manter a sua base de dados limpa, removendo as "
886
- "revisões de conteúdos e spam num ápice. Permite-lhe ainda executar o comando "
887
- "de optimização das tabelas principais do seu WordPress (utilizar com "
888
- "cuidado)."
889
-
890
- #. Author of the plugin/theme
891
- msgid "Ruhani Rabin"
892
- msgstr "Ruhani Rabin"
893
-
894
- #. Author URI of the plugin/theme
895
- msgid "https://github.com/ruhanirabin/WP-Optimize"
896
- msgstr "https://github.com/ruhanirabin/WP-Optimize"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-optimize-sk_SK.mo DELETED
Binary file
languages/wp-optimize-sk_SK.po DELETED
@@ -1,713 +0,0 @@
1
- # Translation of WP-Optimize in Slovak
2
- # This file is distributed under the same license as the WP-Optimize package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-09-05 04:06:03+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: WP-Optimize\n"
12
-
13
- #: wp-optimize-settings.php:296
14
- msgid "This will disable/enable Comments on all your current and previously published posts"
15
- msgstr "Toto vypne / zapne komentáre ku všetkým súčasným a aj skôr publikovaným článkom"
16
-
17
- #: wp-optimize-settings.php:290
18
- msgid "Comments Actions"
19
- msgstr "Akcie s komentármi"
20
-
21
- #: wp-optimize-settings.php:286
22
- msgid "This will disable/enable Trackbacks on all your current and previously published posts"
23
- msgstr "Toto vypne / zapne spätné odkazy ku všetkým súčasným a aj skôr publikovaným článkom"
24
-
25
- #: wp-optimize-settings.php:283 wp-optimize-settings.php:293
26
- msgid "Enable all"
27
- msgstr "Zapnúť všetko"
28
-
29
- #: wp-optimize-settings.php:278
30
- msgid "Trackbacks Actions"
31
- msgstr "Akcie zo spätnými odkazmi"
32
-
33
- #: wp-optimize-settings.php:97
34
- msgid "Trackbacks enabled on all current and previously published posts"
35
- msgstr "Spätné odkazy sú zapnuté ku všetkým súčasným a aj skôr publikovaným článkom"
36
-
37
- #: wp-optimize-settings.php:282 wp-optimize-settings.php:292
38
- msgid "Disable all"
39
- msgstr "Vypnúť všetko"
40
-
41
- #: wp-optimize-main.php:266
42
- msgid "Do not select RED marked items unless you really need to use them"
43
- msgstr "Nevyberajte ČERVENOU označené možnosti pokým nieste si istý s tým čo robíte"
44
-
45
- #: wp-optimize-common.php:623
46
- #, fuzzy
47
- msgid "%d comment removed from Trash"
48
- msgid_plural "%d comments removed from Trash"
49
- msgstr[0] "%d Komentáre odstránené z koša"
50
-
51
- #: wp-optimize-common.php:463
52
- msgid "KB"
53
- msgstr "KB"
54
-
55
- #: wp-optimize-common.php:461
56
- msgid "MB"
57
- msgstr "MB"
58
-
59
- #: wp-optimize-settings.php:90
60
- msgid "Trackbacks disabled on all current and previously published posts"
61
- msgstr "Spätné odkazy sú vypnuté ku všetkým súčasným a aj skôr publikovaným článkom"
62
-
63
- #: wp-optimize-settings.php:76
64
- msgid "Comments disabled on all current and previously published posts"
65
- msgstr "Komentáre sú vypnuté ku všetkým súčasným a aj skôr publikovaným článkom"
66
-
67
- #: wp-optimize-settings.php:83
68
- msgid "Comments enabled on all current and previously published posts"
69
- msgstr "Komentáre sú zapnuté ku všetkým súčasným a aj skôr publikovaným článkom"
70
-
71
- #: wp-optimize-main.php:272
72
- msgid "Optimize your YouTube embedding in WordPress with this plugin"
73
- msgstr "Optimize your YouTube embedding in WordPress with this plugin"
74
-
75
- #: wp-optimize-common.php:459
76
- msgid "GB"
77
- msgstr "GB"
78
-
79
- #: wp-optimize-common.php:629
80
- #, fuzzy
81
- msgid "%d unused comment metadata item removed"
82
- msgid_plural "%d unused comment metadata items removed"
83
- msgstr[0] "%d nepoužívané metadáta komentárov odstránené"
84
-
85
- #: wp-optimize-common.php:635
86
- #, fuzzy
87
- msgid "%d unused akismet comment metadata item removed"
88
- msgid_plural "%d unused akismet comment metadata items removed"
89
- msgstr[0] "%d nepoužívané akismet metadáta komentárov odstránené"
90
-
91
- #: wp-optimize-credits.php:76
92
- msgid "GitHub Development Log"
93
- msgstr "GitHub Development Log"
94
-
95
- #: wp-optimize-credits.php:50
96
- msgid "(Translator name)"
97
- msgstr "Martin Šturcel"
98
-
99
- #: wp-optimize-credits.php:50
100
- msgid "http://(Translator Website)"
101
- msgstr "http://sturcel.sk/martin"
102
-
103
- #: wp-optimize-credits.php:52
104
- msgid "Read Translation Instructions"
105
- msgstr "Čítajte návod na prekladanie"
106
-
107
- #: wp-optimize-credits.php:65
108
- msgid "Support E-mail"
109
- msgstr "Podpora e-mailom"
110
-
111
- #: wp-optimize-credits.php:62
112
- msgid "Request New Language"
113
- msgstr "Požiadavka na nový jazyk"
114
-
115
- #: wp-optimize-credits.php:61
116
- msgid "Plugin Translation Portal (needs translator account)"
117
- msgstr "Prekladateľský portál (potrebujete prekladateľský účet)"
118
-
119
- #: wp-optimize-credits.php:60
120
- msgid "Get a Translator Account"
121
- msgstr "Vytvoriť prekladateľský účet"
122
-
123
- #: wp-optimize-main.php:323
124
- msgid "Rating"
125
- msgstr "Hodnotenie"
126
-
127
- #: wp-optimize-main.php:322
128
- msgid "Please give a proper rating :)"
129
- msgstr "Uveďte, prosím, správne hodnotenie :)"
130
-
131
- #: wp-optimize-main.php:321
132
- msgid "Donate!"
133
- msgstr "Príspevok! "
134
-
135
- #: wp-optimize-main.php:321
136
- msgid "Please donate! It really helps me keep improvising"
137
- msgstr "Prosím prispejte. Naozaj mi to pomáha v tvorbe"
138
-
139
- #: wp-optimize-credits.php:58
140
- msgid "Plugin Resources"
141
- msgstr "Odkazy na stránky pluginu"
142
-
143
- #: wp-optimize-credits.php:63
144
- msgid "Plugin Homepage"
145
- msgstr "Stránka pluginu"
146
-
147
- #: wp-optimize-credits.php:64
148
- msgid "Support (GitHub)"
149
- msgstr "Podpora (GitHub)"
150
-
151
- #: wp-optimize-credits.php:66
152
- msgid "Change Log"
153
- msgstr "Zmeny vo verziách"
154
-
155
- #: wp-optimize-credits.php:67
156
- msgid "FAQ"
157
- msgstr "Často kladené otázky"
158
-
159
- #: wp-optimize-credits.php:96
160
- msgid "No items"
161
- msgstr "Žiadne položky"
162
-
163
- #: wp-optimize-main.php:78
164
- #, fuzzy, php-format
165
- msgctxt "%s is the Database Name"
166
- msgid "%s Database Optimized!"
167
- msgstr "%s Databáza optimalizovaná!"
168
-
169
- #: wp-optimize-main.php:148 wp-optimize-main.php:150
170
- msgid "Clean-up options"
171
- msgstr "Možnosti čistenia"
172
-
173
- #: wp-optimize-main.php:159
174
- #, fuzzy
175
- msgid "Clean post revisions which are older than %d weeks"
176
- msgstr "Vyčistiť revízie článkov, ktoré sú staršie ako %d týždne"
177
-
178
- #: wp-optimize-main.php:164
179
- msgid "Clean all post revisions"
180
- msgstr "Vyčistiť všetky revízie článkov"
181
-
182
- #: wp-optimize-main.php:177
183
- #, fuzzy
184
- msgid "Clean auto draft posts which are older than %d weeks"
185
- msgstr "Vyčistiť automatické koncepty ktoré sú staršie ako %d týždne"
186
-
187
- #: wp-optimize-main.php:182
188
- msgid "Clean all auto draft posts and posts in trash"
189
- msgstr "Vyčistiť všetky automatické koncepty článkov a články v koši"
190
-
191
- #: wp-optimize-main.php:197
192
- #, fuzzy
193
- msgid "Remove spam comments which are older than %d weeks"
194
- msgstr "Odstrániť smap komentáre staršie ako %d týždne"
195
-
196
- #: wp-optimize-main.php:202
197
- msgid "Remove spam comments and comments in trash"
198
- msgstr "Vyčistiť spam komentáre a komentáre v koši"
199
-
200
- #: wp-optimize-main.php:216
201
- #, fuzzy
202
- msgid "Remove unapproved comments which are older than %d weeks"
203
- msgstr "Odstrániť neschválené komentáre staršie ako %d týždne"
204
-
205
- #: wp-optimize-main.php:221 wp-optimize-settings.php:230
206
- msgid "Remove unapproved comments"
207
- msgstr "Odstrániť neschválené komentáre"
208
-
209
- #: wp-optimize-main.php:234 wp-optimize-settings.php:235
210
- msgid "Remove transient options"
211
- msgstr "Odstrániť prechodné možnosti"
212
-
213
- #: wp-optimize-main.php:245
214
- msgid "Remove pingbacks"
215
- msgstr "Odstrániť spätné upozornenia"
216
-
217
- #: wp-optimize-main.php:256
218
- msgid "Remove trackbacks"
219
- msgstr "Odstrániť spätné odkazy"
220
-
221
- #: wp-optimize-main.php:282
222
- msgid "Actions"
223
- msgstr "Ďalšie možnosti"
224
-
225
- #: wp-optimize-main.php:291
226
- msgid "Optimize database tables"
227
- msgstr "Optimalizovať databázové tabuľky"
228
-
229
- #: wp-optimize-main.php:299
230
- msgid "Note:"
231
- msgstr "Poznámka:"
232
-
233
- #: wp-optimize-main.php:302
234
- msgid "InnoDB tables will not be optimized"
235
- msgstr "InnoDB tabuľky nebudú optimalizované"
236
-
237
- #: wp-optimize-main.php:308
238
- msgid "Select safe options"
239
- msgstr "Vyberte bezpečné možnosti"
240
-
241
- #: wp-optimize-main.php:309
242
- msgid "Warning:"
243
- msgstr "Upozornenie:"
244
-
245
- #: wp-optimize-main.php:310
246
- msgid "Always make a backup of your DB when you upgrade to major versions"
247
- msgstr "Vždy sa uistite pri aktualizácii na vyššiu verziu že máte zálohovanú celú databázu"
248
-
249
- #: wp-optimize-main.php:315
250
- msgid "PROCESS"
251
- msgstr "VYČISTIŤ"
252
-
253
- #: wp-optimize-main.php:328
254
- msgid "Status log"
255
- msgstr "Protokol"
256
-
257
- #: wp-optimize-main.php:343
258
- msgid "Last automatic optimization was at"
259
- msgstr "Posledná automatická optimalizácia bola vykonaná:"
260
-
261
- #: wp-optimize-main.php:355
262
- msgid "There was no automatic optimization"
263
- msgstr "Nebola žiadna automatická optimalizácia"
264
-
265
- #: wp-optimize-main.php:405 wp-optimize-main.php:430
266
- msgid "Check settings"
267
- msgstr "Pozrieť nastavenia"
268
-
269
- #: wp-optimize-main.php:370
270
- msgid "Scheduled cleaning enabled"
271
- msgstr "Plánované čistenie je povolené"
272
-
273
- #: wp-optimize-main.php:382
274
- msgid "Next schedule:"
275
- msgstr "ďalší plán:"
276
-
277
- #: wp-optimize-main.php:393
278
- msgid "Refresh"
279
- msgstr "Obnoviť"
280
-
281
- #: wp-optimize-main.php:402
282
- msgid "Scheduled cleaning disabled"
283
- msgstr "Plánované čistenie deaktivované"
284
-
285
- #: wp-optimize-main.php:416
286
- #, fuzzy
287
- msgid "Keeping last %s weeks data"
288
- msgstr "Ponechať posledných %s týždňové dáta"
289
-
290
- #: wp-optimize-main.php:427
291
- msgid "Not keeping recent data"
292
- msgstr "Nenechávať žiadne posledné údaje"
293
-
294
- #: wp-optimize-main.php:444 wp-optimize-main.php:456
295
- msgid "Current database size:"
296
- msgstr "Aktuálna veľkosť databázy:"
297
-
298
- #: wp-optimize-main.php:449
299
- msgid "You have saved:"
300
- msgstr "Ušetrili ste:"
301
-
302
- #: wp-optimize-main.php:464
303
- msgid "You can save almost:"
304
- msgstr "Môžete ušetriť:"
305
-
306
- #: wp-optimize-main.php:481
307
- msgid "Total clean up overall:"
308
- msgstr "Celkovo vyčistené:"
309
-
310
- #: wp-optimize-main.php:502
311
- msgid "Sponsor"
312
- msgstr "Sponzor"
313
-
314
- #: wp-optimize-settings.php:71
315
- msgid "Settings updated"
316
- msgstr "Nastavenia aktualizované"
317
-
318
- #: wp-optimize-settings.php:114
319
- msgid "General Settings"
320
- msgstr "Hlavné nastavenia"
321
-
322
- #: wp-optimize-settings.php:119
323
- #, fuzzy
324
- msgid "Keep last %s weeks data"
325
- msgstr "Zachovať posledné %s týždňové dáta"
326
-
327
- #: wp-optimize-settings.php:135
328
- msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
329
- msgstr "Táto voľba zachová údaje vybraný počet týždňov. Všetky staršie údaje budú vyčistené, Toto nastavenie má vplyv aj na automatickú údržbu."
330
-
331
- #: wp-optimize-settings.php:144
332
- msgid "Enable admin bar link"
333
- msgstr "Povoliť odkaz v hornej lište administračného panelu"
334
-
335
- #: wp-optimize-settings.php:146
336
- msgid "(Click here to refresh)"
337
- msgstr "(Kliknite tu pre obnovenie)"
338
-
339
- #: wp-optimize-settings.php:152
340
- msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
341
- msgstr "Táto možnosť pridá odkaz na WP-Optimalizáciu do hornej lišty administračného panelu (predvolene je vypnuté). (Vyžaduje znovunačítanie stránky)"
342
-
343
- #: wp-optimize-settings.php:158
344
- msgid "SAVE SETTINGS"
345
- msgstr "ULOŽIŤ NASTAVENIA"
346
-
347
- #: wp-optimize-settings.php:168
348
- msgid "Auto Clean-up Settings"
349
- msgstr "Nastavenia automatického čistenia"
350
-
351
- #: wp-optimize-settings.php:171
352
- msgid "Enable scheduled clean-up and optimization (Beta feature!)"
353
- msgstr "Zapnúť plánovanú údržbu a optimalizáciu (Beta funkcia!)"
354
-
355
- #: wp-optimize-settings.php:173
356
- msgid "Select schedule type (default is Weekly)"
357
- msgstr "Zvoľte typ plánu (predvolený je týždenný)"
358
-
359
- #: wp-optimize-settings.php:180 wp-optimize-settings.php:192
360
- #: wp-optimize-settings.php:198
361
- msgid "Every week"
362
- msgstr "Každý týždeň"
363
-
364
- #: wp-optimize-settings.php:184 wp-optimize-settings.php:199
365
- msgid "Every other week (every 14 days)"
366
- msgstr "Každý druhý týždeň (každých 14 dní)"
367
-
368
- #: wp-optimize-settings.php:188 wp-optimize-settings.php:200
369
- msgid "Every month (every 31 days)"
370
- msgstr "Každý mesiac (každých 31 dní)"
371
-
372
- #: wp-optimize-settings.php:204
373
- msgid "Automatic cleanup will perform the following:"
374
- msgstr "Automatické čistenie vykoná nasledujúce:"
375
-
376
- #: wp-optimize-settings.php:206
377
- msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
378
- msgstr "Odstráni revízie, automatické koncepty, príspevky/komentáre v koši, prechodné možnosti. Potom optimalizuje databázu."
379
-
380
- #: wp-optimize-settings.php:213
381
- msgid "These options will only work if the automatic clean-up schedule has been enabled"
382
- msgstr "Tieto možnosti budú fungovať len ak je povolené automatické čistenie"
383
-
384
- #: wp-optimize-settings.php:218
385
- msgid "Remove auto revisions"
386
- msgstr "Odstrániť automatické revízie príspevkov"
387
-
388
- #: wp-optimize-settings.php:222
389
- msgid "Remove auto drafts"
390
- msgstr "Odstrániť automatické koncepty"
391
-
392
- #: wp-optimize-settings.php:226
393
- msgid "Remove spam comments"
394
- msgstr "Odstrániť spam komentáre"
395
-
396
- #: wp-optimize-settings.php:239
397
- msgid "Remove orphaned post meta"
398
- msgstr "Odstrániť osamelé meta príspevky"
399
-
400
- #: wp-optimize-settings.php:243
401
- msgid "Remove unused tags"
402
- msgstr "Odstrániť nepoužívané tagy/štítky/značky"
403
-
404
- #: wp-optimize-settings.php:249
405
- msgid "Optimize database"
406
- msgstr "Optimalizovať databázu"
407
-
408
- #: wp-optimize-settings.php:255
409
- msgid "If you have InnoDB tables. They will not be optimized!"
410
- msgstr "Ak máte InnoDB tabuľky. Nebudú optimalizované!"
411
-
412
- #: wp-optimize-settings.php:262
413
- msgid "SAVE AUTO CLEAN-UP SETTINGS"
414
- msgstr "ULOŽIŤ NASTAVENIA AUTOMATICKÉHO ČISTENIA"
415
-
416
- #: wp-optimize-tables.php:20
417
- msgid "Database Name:"
418
- msgstr "Názov databázy:"
419
-
420
- #: wp-optimize-tables.php:28
421
- msgid "Optimized all the tables found in the database."
422
- msgstr "Optimalizované všetky tabuľky v databáze."
423
-
424
- #: wp-optimize-tables.php:36
425
- msgid "No."
426
- msgstr "Nie."
427
-
428
- #: wp-optimize-tables.php:38
429
- msgid "Records"
430
- msgstr "Záznamy"
431
-
432
- #: wp-optimize-tables.php:39
433
- msgid "Data Size"
434
- msgstr "Veľkosť dát"
435
-
436
- #: wp-optimize-tables.php:40
437
- msgid "Index Size"
438
- msgstr "Veľkosť indexov"
439
-
440
- #: wp-optimize-tables.php:41
441
- msgid "Type"
442
- msgstr "Typ"
443
-
444
- #: wp-optimize-tables.php:42
445
- msgid "Overhead"
446
- msgstr "Overhead"
447
-
448
- #: wp-optimize-tables.php:137
449
- msgid "Total:"
450
- msgstr "Spolu:"
451
-
452
- #: wp-optimize-tables.php:138
453
- msgid "%d Table"
454
- msgid_plural "%d Tables"
455
- msgstr[0] "%d Tabuľka"
456
- msgstr[1] "%d Tabuľky"
457
- msgstr[2] "%d Tabuliek "
458
-
459
- #: wp-optimize-tables.php:139
460
- msgid "%d Record"
461
- msgid_plural "%d Records"
462
- msgstr[0] "%d Záznam"
463
- msgstr[1] "%d Záznamy"
464
- msgstr[2] "%d Záznamov"
465
-
466
- #: wp-optimize-tables.php:179
467
- msgid "Total Size of Database:"
468
- msgstr "Celková veľkosť databázy:"
469
-
470
- #: wp-optimize-tables.php:191
471
- msgid "Optimization Results:"
472
- msgstr "Výsledky optimalizácie:"
473
-
474
- #: wp-optimize-tables.php:196
475
- msgid "Total Space Saved:"
476
- msgstr "Celkovo ušetrené miesto:"
477
-
478
- #: wp-optimize-tables.php:208
479
- msgid "Optimization Possibility:"
480
- msgstr "Možnosti optimalizácie:"
481
-
482
- #: wp-optimize-tables.php:215
483
- msgid "Total space can be saved:"
484
- msgstr "Celkovo môže byť ušetrené:"
485
-
486
- msgid "WP-Optimize"
487
- msgstr "WP-Optimize"
488
-
489
- msgid "http://www.ruhanirabin.com/wp-optimize/"
490
- msgstr "http://www.ruhanirabin.com/wp-optimize/"
491
-
492
- msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
493
- msgstr "Tento modul vám pomôže, aby ste udržali vašu databázu čistú odstránením revízií a spamu v komentároch. Navyše umožňuje plánovane spustiť optimalizáciu vašich WordPress základných tabuliek (použite s opatrnosťou)."
494
-
495
- msgid "Ruhani Rabin"
496
- msgstr "Ruhani Rabin"
497
-
498
- msgid "https://github.com/ruhanirabin/WP-Optimize"
499
- msgstr "https://github.com/ruhanirabin/WP-Optimize"
500
-
501
- #: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
502
- msgid "Optimizer"
503
- msgstr "Optimalizátor"
504
-
505
- #: wp-optimize-admin.php:28 wp-optimize-admin.php:46
506
- msgid "MYSQL"
507
- msgstr "MYSQL"
508
-
509
- #: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
510
- msgid "Settings"
511
- msgstr "Nastavenia"
512
-
513
- #: wp-optimize-admin.php:34 wp-optimize-admin.php:56
514
- msgid "Info"
515
- msgstr "Info"
516
-
517
- #: wp-optimize-admin.php:52 wp-optimize-tables.php:37
518
- msgid "Tables"
519
- msgstr "Tabuľky "
520
-
521
- #: wp-optimize-common.php:465
522
- msgid "bytes"
523
- msgstr "bajtov"
524
-
525
- #: wp-optimize-common.php:554
526
- #, fuzzy
527
- msgid "%d transient option deleted"
528
- msgid_plural "%d transient options deleted"
529
- msgstr[0] "%d prechodné možnosti zmazané"
530
-
531
- #: wp-optimize-common.php:581
532
- #, fuzzy
533
- msgid "%d post revision deleted"
534
- msgid_plural "%d post revisions deleted"
535
- msgstr[0] "%d revízie príspevkov odstránené"
536
-
537
- #: wp-optimize-common.php:592
538
- #, fuzzy
539
- msgid "%d auto draft deleted"
540
- msgid_plural "%d auto drafts deleted"
541
- msgstr[0] "%d automaticky uložené verzie článku odstránené"
542
-
543
- #: wp-optimize-common.php:602
544
- #, fuzzy
545
- msgid "%d item removed from Trash"
546
- msgid_plural "%d items removed from Trash"
547
- msgstr[0] "%d položky odstránené z koša"
548
-
549
- #: wp-optimize-common.php:614
550
- #, fuzzy
551
- msgid "%d spam comment deleted"
552
- msgid_plural "%d spam comments deleted"
553
- msgstr[0] "%d spam komentáre zmazané"
554
-
555
- #: wp-optimize-common.php:645
556
- #, fuzzy
557
- msgid "%d unapproved comment deleted"
558
- msgid_plural "%d unapproved comments deleted"
559
- msgstr[0] "%d neschválené komentáre zmazané"
560
-
561
- #: wp-optimize-common.php:651
562
- #, fuzzy
563
- msgid "%d pingback deleted"
564
- msgid_plural "%d pingbacks deleted"
565
- msgstr[0] "%d spätné upozornenia odstránené"
566
-
567
- #: wp-optimize-common.php:657
568
- #, fuzzy
569
- msgid "%d trackback deleted"
570
- msgid_plural "%d trackbacks deleted"
571
- msgstr[0] "%d spätné odkazy odstránené"
572
-
573
- #: wp-optimize-common.php:664
574
- msgid "Enabled weekly processing"
575
- msgstr "Povolené týždenne spracovanie"
576
-
577
- #: wp-optimize-common.php:670
578
- msgid "Disabled weekly processing"
579
- msgstr "Zakázané týždenne spracovanie"
580
-
581
- #: wp-optimize-common.php:679
582
- msgid "NO Actions Taken"
583
- msgstr "Nie sú prijaté žiadne opatrenia"
584
-
585
- #: wp-optimize-common.php:706
586
- #, fuzzy
587
- msgid "%d transient option in your database"
588
- msgid_plural "%d transient options in your database"
589
- msgstr[0] "%d prechodné možnosti v databáze"
590
-
591
- #: wp-optimize-common.php:708
592
- msgid "No transient options found"
593
- msgstr "Neboli nájdené prechodné možnosti v databáze"
594
-
595
- #: wp-optimize-common.php:717
596
- #, fuzzy
597
- msgid "%d orphaned postmeta in your database"
598
- msgid_plural "%d orphaned postmeta in your database"
599
- msgstr[0] "%d osamelé postmeta v databáze"
600
-
601
- #: wp-optimize-common.php:719
602
- msgid "No orphaned postmeta in your database"
603
- msgstr "Nenájdené žiadne postmeta v databáze"
604
-
605
- #: wp-optimize-common.php:728
606
- #, fuzzy
607
- msgid "%d unused tag in your database"
608
- msgid_plural "%d unused tags in your database"
609
- msgstr[0] "%d nepoužívané tagy/štítky/značky v databáze"
610
-
611
- #: wp-optimize-common.php:730
612
- msgid "No unused tags found"
613
- msgstr "Nenájdené žiadne nepoužívané tagy/štítky/značky"
614
-
615
- #: wp-optimize-common.php:743
616
- #, fuzzy
617
- msgid "%d post revision in your database"
618
- msgid_plural "%d post revisions in your database"
619
- msgstr[0] "%d revízie príspevkov v databáze"
620
-
621
- #: wp-optimize-common.php:745
622
- msgid "No post revisions found"
623
- msgstr "Nenájdené žiadne revízie príspevkov"
624
-
625
- #: wp-optimize-common.php:758
626
- #, fuzzy
627
- msgid "%d auto draft post in your database"
628
- msgid_plural "%d auto draft posts in your database"
629
- msgstr[0] "%d auto koncepty v databáze"
630
-
631
- #: wp-optimize-common.php:760
632
- msgid "No auto draft posts found"
633
- msgstr "Nenájdené žiadne auto koncepty v databáze"
634
-
635
- #: wp-optimize-common.php:772
636
- #, fuzzy
637
- msgid "%d spam comment found"
638
- msgid_plural "%d spam comments found"
639
- msgstr[0] "%d spam komentáre"
640
-
641
- #: wp-optimize-common.php:772 wp-optimize-common.php:803
642
- msgid "Review"
643
- msgstr "Recenzie"
644
-
645
- #: wp-optimize-common.php:774
646
- msgid "No spam comments found"
647
- msgstr "Nenájdené žiadne komentáre"
648
-
649
- #: wp-optimize-common.php:803
650
- #, fuzzy
651
- msgid "%d unapproved comment found"
652
- msgid_plural "%d unapproved comments found"
653
- msgstr[0] "%d nájdené neschválené komentáre"
654
-
655
- #: wp-optimize-common.php:805
656
- msgid "No unapproved comments found"
657
- msgstr "Nenájdené neschválené komentáre"
658
-
659
- #: wp-optimize-common.php:813
660
- #, fuzzy
661
- msgid "%d Pingback found"
662
- msgid_plural "%d Pingbacks found"
663
- msgstr[0] "%d Nájdené spätné upozornenia"
664
-
665
- #: wp-optimize-common.php:815
666
- msgid "No pingbacks found"
667
- msgstr "Nenájdené spätné upozornenia"
668
-
669
- #: wp-optimize-common.php:823
670
- #, fuzzy
671
- msgid "%d Trackback found"
672
- msgid_plural "%d Trackbacks found"
673
- msgstr[0] "%d Nájdené spätné odkazy"
674
-
675
- #: wp-optimize-common.php:825
676
- msgid "No trackbacks found"
677
- msgstr "Nenájdené spätné odkazy"
678
-
679
- #: wp-optimize-common.php:831
680
- msgid "nothing"
681
- msgstr "nič"
682
-
683
- #: wp-optimize-credits.php:14
684
- msgid "Credits"
685
- msgstr "Zásluhy"
686
-
687
- #: wp-optimize-credits.php:15
688
- msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
689
- msgstr "Plugin WP-Optimalizácia začínal ako nástroj pre svoje vlastné projekty. Čoskoro som si uvedomil že tento plugin môže pomôcť veľa iným ľudom. Ďakujem všetkým používateľom, ktorí používajú tento plugin denne. Taktiež ďakujem všetkým prekladateľom a štedrým ľudom, ktorí finančne podporili tento projekt."
690
-
691
- #: wp-optimize-credits.php:25
692
- msgid "Share this plugin on Facebook"
693
- msgstr "Zdieľať tento plugin na Facebooku"
694
-
695
- #: wp-optimize-credits.php:38
696
- msgid "Contributing Developers"
697
- msgstr "Prispievajúci vývojári"
698
-
699
- #: wp-optimize-credits.php:39
700
- msgid "Help me make this plugin better"
701
- msgstr "Pomôžte mi spraviť tento plugin lepším"
702
-
703
- #: wp-optimize-credits.php:39
704
- msgid "I am looking for contributing developers."
705
- msgstr "Hľadám vývojárov, ktorý by mali záujem podieľať sa na kódovaní."
706
-
707
- #: wp-optimize-credits.php:40
708
- msgid "Your name and website will be credited here in the plugin"
709
- msgstr "Vaše meno a webstránka bude uvedená tu v plugine"
710
-
711
- #: wp-optimize-credits.php:49
712
- msgid "Translators"
713
- msgstr "Prekladatelia"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-optimize-zh_CN.mo DELETED
Binary file
languages/wp-optimize-zh_CN.po DELETED
@@ -1,745 +0,0 @@
1
- # Translation of WP-Optimize in Chinese (China)
2
- # This file is distributed under the same license as the WP-Optimize package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2015-03-03 01:42:05+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=1; plural=0;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: WP-Optimize\n"
12
-
13
- #: wp-optimize-common.php:72
14
- msgid "Automatic Operation Completed"
15
- msgstr "自动优化清理操作已完成"
16
-
17
- #: wp-optimize-common.php:74
18
- msgid "Scheduled optimization was executed at"
19
- msgstr "预计优化时间"
20
-
21
- #: wp-optimize-common.php:76
22
- msgid "You can safely delete this email."
23
- msgstr "你可以安全地删除此邮件。"
24
-
25
- #: wp-optimize-common.php:78
26
- msgid "Regards,"
27
- msgstr "此致!"
28
-
29
- #: wp-optimize-common.php:79
30
- msgid "WP-Optimize Plugin"
31
- msgstr "WP-Optimize 插件"
32
-
33
- #: wp-optimize-settings.php:233 wp-optimize-settings.php:255
34
- msgid "Everyday"
35
- msgstr "每天"
36
-
37
- #: wp-optimize-settings.php:322
38
- msgid "Enable email notification"
39
- msgstr "启用Email提醒"
40
-
41
- #: wp-optimize-settings.php:329
42
- msgid "Send email to"
43
- msgstr "发送邮件给"
44
-
45
- msgid "http://wp-optimize.ruhanirabin.com/"
46
- msgstr "http://wp-optimize.ruhanirabin.com/"
47
-
48
- #: wp-optimize-settings.php:191
49
- msgid "Disable/Enable Comments"
50
- msgstr "禁用/启用 评论"
51
-
52
- #: wp-optimize-settings.php:180 wp-optimize-settings.php:195
53
- msgid "Enable"
54
- msgstr "启用"
55
-
56
- #: wp-optimize-settings.php:179 wp-optimize-settings.php:194
57
- msgid "Disable"
58
- msgstr "禁用"
59
-
60
- #: wp-optimize-settings.php:178 wp-optimize-settings.php:193
61
- msgid "SELECT"
62
- msgstr "请选择"
63
-
64
- #: wp-optimize-settings.php:176
65
- msgid "Disable/Enable Trackbacks"
66
- msgstr "禁用/启用 引用通告"
67
-
68
- #: wp-optimize-settings.php:174
69
- msgid "Trackback/Comments Actions"
70
- msgstr "引用通告/评论操作"
71
-
72
- #: wp-optimize-settings.php:200
73
- msgid "This will disable/enable Comments on all your current and previously published posts"
74
- msgstr "此选项将禁用/启用所有当前的和以前发布的文章评论"
75
-
76
- #: wp-optimize-settings.php:185
77
- msgid "This will disable/enable Trackbacks on all your current and previously published posts"
78
- msgstr "此选项将禁用/启用所有当前的和以前发布的文章引用通告"
79
-
80
- #: wp-optimize-settings.php:94
81
- msgid "Trackbacks enabled on all current and previously published posts"
82
- msgstr "所有当前和以前发布的文章引用通告已启用"
83
-
84
- #: wp-optimize-main.php:272
85
- msgid "Do not select RED marked items unless you really need to use them"
86
- msgstr "除非你真的需要,不要选择红色标记的选项"
87
-
88
- #: wp-optimize-common.php:704
89
- #, fuzzy
90
- msgid "%d comment removed from Trash"
91
- msgid_plural "%d comments removed from Trash"
92
- msgstr[0] "%d 垃圾箱中的评论已移除"
93
-
94
- #: wp-optimize-common.php:543
95
- msgid "KB"
96
- msgstr "KB"
97
-
98
- #: wp-optimize-common.php:541
99
- msgid "MB"
100
- msgstr "MB"
101
-
102
- #: wp-optimize-settings.php:88
103
- msgid "Trackbacks disabled on all current and previously published posts"
104
- msgstr "所有当前和以前发布的文章引用通告已被禁用"
105
-
106
- #: wp-optimize-settings.php:103
107
- msgid "Comments disabled on all current and previously published posts"
108
- msgstr "所有当前的和以前发布的文章评论已禁用"
109
-
110
- #: wp-optimize-settings.php:109
111
- msgid "Comments enabled on all current and previously published posts"
112
- msgstr "在所有当前和以前发布的文章评论已启用"
113
-
114
- #: wp-optimize-main.php:278 wp-optimize-settings.php:207
115
- msgid "Optimize your YouTube embedding in WordPress with this plugin"
116
- msgstr "通过此插件优化嵌入在 WordPress 中的 YouTube 代码"
117
-
118
- #: wp-optimize-common.php:539
119
- msgid "GB"
120
- msgstr "GB"
121
-
122
- #: wp-optimize-common.php:710
123
- #, fuzzy
124
- msgid "%d unused comment metadata item removed"
125
- msgid_plural "%d unused comment metadata items removed"
126
- msgstr[0] "%d 未使用的评论元数据项已移除"
127
-
128
- #: wp-optimize-common.php:716
129
- #, fuzzy
130
- msgid "%d unused akismet comment metadata item removed"
131
- msgid_plural "%d unused akismet comment metadata items removed"
132
- msgstr[0] "%d 未使用的 Akismet 评论元数据项已移除"
133
-
134
- #: wp-optimize-credits.php:67
135
- msgid "GitHub Development Log"
136
- msgstr "GitHub 开发日志"
137
-
138
- #: wp-optimize-credits.php:41
139
- msgid "(Translator name)"
140
- msgstr "Maie"
141
-
142
- #: wp-optimize-credits.php:41
143
- msgid "http://(Translator Website)"
144
- msgstr "http://maie.name"
145
-
146
- #: wp-optimize-credits.php:43
147
- msgid "Read Translation Instructions"
148
- msgstr "阅读翻译说明"
149
-
150
- #: wp-optimize-credits.php:56
151
- msgid "Support E-mail"
152
- msgstr "支持邮箱"
153
-
154
- #: wp-optimize-credits.php:53
155
- msgid "Request New Language"
156
- msgstr "索取新语言包"
157
-
158
- #: wp-optimize-credits.php:52
159
- msgid "Plugin Translation Portal (needs translator account)"
160
- msgstr "插件翻译门户网站(需要译者账户)"
161
-
162
- #: wp-optimize-credits.php:51
163
- msgid "Get a Translator Account"
164
- msgstr "获取译者帐户"
165
-
166
- #: wp-optimize-main.php:329
167
- msgid "Rating"
168
- msgstr "评分"
169
-
170
- #: wp-optimize-main.php:328
171
- msgid "Please give a proper rating :)"
172
- msgstr "请给予适当的评分 :)"
173
-
174
- #: wp-optimize-main.php:327
175
- msgid "Donate!"
176
- msgstr "捐助!"
177
-
178
- #: wp-optimize-main.php:327
179
- msgid "Please donate! It really helps me keep improvising"
180
- msgstr "请捐助!它真的能帮助我不断改进"
181
-
182
- #: wp-optimize-credits.php:49
183
- msgid "Plugin Resources"
184
- msgstr "插件资源"
185
-
186
- #: wp-optimize-credits.php:54
187
- msgid "Plugin Homepage"
188
- msgstr "插件主页"
189
-
190
- #: wp-optimize-credits.php:55
191
- msgid "Support (GitHub)"
192
- msgstr "支持 (GitHub)"
193
-
194
- #: wp-optimize-credits.php:57
195
- msgid "Change Log"
196
- msgstr "更新日志"
197
-
198
- #: wp-optimize-credits.php:58
199
- msgid "FAQ"
200
- msgstr "常见问题"
201
-
202
- #: wp-optimize-credits.php:87
203
- msgid "No items"
204
- msgstr "没有项目"
205
-
206
- #: wp-optimize-main.php:76
207
- #, fuzzy, php-format
208
- msgctxt "%s is the Database Name"
209
- msgid "%s Database Optimized!"
210
- msgstr "%s 数据库已优化"
211
-
212
- #: wp-optimize-main.php:154 wp-optimize-main.php:156
213
- msgid "Clean-up options"
214
- msgstr "自动清理设置"
215
-
216
- #: wp-optimize-main.php:165
217
- #, fuzzy
218
- msgid "Clean post revisions which are older than %d weeks"
219
- msgstr "删除文章修订记录 (仅删除早于 %d 周的)"
220
-
221
- #: wp-optimize-main.php:170
222
- msgid "Clean all post revisions"
223
- msgstr "删除所有文章修订记录"
224
-
225
- #: wp-optimize-main.php:183
226
- #, fuzzy
227
- msgid "Clean auto draft posts which are older than %d weeks"
228
- msgstr "删除自动草稿 (仅删除早于 %d 周的)"
229
-
230
- #: wp-optimize-main.php:188
231
- msgid "Clean all auto draft posts and posts in trash"
232
- msgstr "删除所有自动草稿和回收站内的文章"
233
-
234
- #: wp-optimize-main.php:203
235
- #, fuzzy
236
- msgid "Remove spam comments which are older than %d weeks"
237
- msgstr "删除垃圾评论 (仅删除早于 %d 周的)"
238
-
239
- #: wp-optimize-main.php:208
240
- msgid "Remove spam comments and comments in trash"
241
- msgstr "删除垃圾评论和回收站内的评论"
242
-
243
- #: wp-optimize-main.php:222
244
- #, fuzzy
245
- msgid "Remove unapproved comments which are older than %d weeks"
246
- msgstr "删除未审核评论 (仅删除早于 %d 周的)"
247
-
248
- #: wp-optimize-main.php:227 wp-optimize-settings.php:288
249
- msgid "Remove unapproved comments"
250
- msgstr "删除未清除未审核的评论"
251
-
252
- #: wp-optimize-main.php:240 wp-optimize-settings.php:293
253
- msgid "Remove transient options"
254
- msgstr "删除临时选项 (保存于数据库中的临时缓存)"
255
-
256
- #: wp-optimize-main.php:251
257
- msgid "Remove pingbacks"
258
- msgstr "删除 Pingbacks"
259
-
260
- #: wp-optimize-main.php:262
261
- msgid "Remove trackbacks"
262
- msgstr "删除 Trackbacks"
263
-
264
- #: wp-optimize-main.php:288
265
- msgid "Actions"
266
- msgstr "操作"
267
-
268
- #: wp-optimize-main.php:297
269
- msgid "Optimize database tables"
270
- msgstr "优化数据库表"
271
-
272
- #: wp-optimize-main.php:305
273
- msgid "Note:"
274
- msgstr "注意:"
275
-
276
- #: wp-optimize-main.php:308
277
- msgid "InnoDB tables will not be optimized"
278
- msgstr "InnoDB 数据表将不会被优化"
279
-
280
- #: wp-optimize-main.php:314
281
- msgid "Select safe options"
282
- msgstr "选择安全选项"
283
-
284
- #: wp-optimize-main.php:315
285
- msgid "Warning:"
286
- msgstr "警告:"
287
-
288
- #: wp-optimize-main.php:316
289
- msgid "Always make a backup of your DB when you upgrade to major versions"
290
- msgstr "当升级到主版本时总是创建一个数据库备份"
291
-
292
- #: wp-optimize-main.php:321
293
- msgid "PROCESS"
294
- msgstr "优化"
295
-
296
- #: wp-optimize-main.php:334
297
- msgid "Status log"
298
- msgstr "状态"
299
-
300
- #: wp-optimize-main.php:349
301
- msgid "Last automatic optimization was at"
302
- msgstr "上一次自动优化于 "
303
-
304
- #: wp-optimize-main.php:361
305
- msgid "There was no automatic optimization"
306
- msgstr "没有自动优化"
307
-
308
- #: wp-optimize-main.php:411 wp-optimize-main.php:436
309
- msgid "Check settings"
310
- msgstr "检查设置"
311
-
312
- #: wp-optimize-main.php:376
313
- msgid "Scheduled cleaning enabled"
314
- msgstr "清理计划已启用"
315
-
316
- #: wp-optimize-main.php:388
317
- msgid "Next schedule:"
318
- msgstr "下次优化时间:"
319
-
320
- #: wp-optimize-main.php:399
321
- msgid "Refresh"
322
- msgstr "刷新"
323
-
324
- #: wp-optimize-main.php:408
325
- msgid "Scheduled cleaning disabled"
326
- msgstr "预设清理已禁用"
327
-
328
- #: wp-optimize-main.php:422
329
- #, fuzzy
330
- msgid "Keeping last %s weeks data"
331
- msgstr "保留最近 %s 周的数据"
332
-
333
- #: wp-optimize-main.php:433
334
- msgid "Not keeping recent data"
335
- msgstr "没有保留最近的数据"
336
-
337
- #: wp-optimize-main.php:450 wp-optimize-main.php:462
338
- msgid "Current database size:"
339
- msgstr "当前数据库体积:"
340
-
341
- #: wp-optimize-main.php:455
342
- msgid "You have saved:"
343
- msgstr "你已节省:"
344
-
345
- #: wp-optimize-main.php:470
346
- msgid "You can save almost:"
347
- msgstr "你大约可以节省:"
348
-
349
- #: wp-optimize-main.php:487
350
- msgid "Total clean up overall:"
351
- msgstr "清理总览:"
352
-
353
- #: wp-optimize-main.php:508
354
- msgid "Sponsor"
355
- msgstr "赞助"
356
-
357
- #: wp-optimize-settings.php:115
358
- msgid "Settings updated"
359
- msgstr "设置已更新"
360
-
361
- #: wp-optimize-settings.php:132
362
- msgid "General Settings"
363
- msgstr "常规设置"
364
-
365
- #: wp-optimize-settings.php:137
366
- #, fuzzy
367
- msgid "Keep last %s weeks data"
368
- msgstr "保留最近 %s 周的数据"
369
-
370
- #: wp-optimize-settings.php:153
371
- msgid "This option will retain the last selected weeks data and remove any garbage data before that period. This will also affect Auto Clean-up process"
372
- msgstr "启用此选项将保留最近 X 周的数据。在此时段之前的所有垃圾内容都将被删除。此选项也将同时影响自动清理过程。"
373
-
374
- #: wp-optimize-settings.php:162
375
- msgid "Enable admin bar link"
376
- msgstr "启用工具栏链接"
377
-
378
- #: wp-optimize-settings.php:164
379
- msgid "(Click here to refresh)"
380
- msgstr "(点击刷新)"
381
-
382
- #: wp-optimize-settings.php:170
383
- msgid "This option will put WP-Optimize link on the top admin bar (default is off). Requires page refresh."
384
- msgstr "启用此选项将在工具栏(页面顶部)添加 WP-Optimize 链接 (默认不启用). 更新设置后需要刷新页面生效."
385
-
386
- #: wp-optimize-settings.php:211
387
- msgid "SAVE SETTINGS"
388
- msgstr "保存设置"
389
-
390
- #: wp-optimize-settings.php:221
391
- msgid "Auto Clean-up Settings"
392
- msgstr "自动清理设置"
393
-
394
- #: wp-optimize-settings.php:224
395
- msgid "Enable scheduled clean-up and optimization (Beta feature!)"
396
- msgstr "启用预设自动清理和优化 (测试功能!)"
397
-
398
- #: wp-optimize-settings.php:226
399
- msgid "Select schedule type (default is Weekly)"
400
- msgstr "设置计划方案 (默认为每周)"
401
-
402
- #: wp-optimize-settings.php:237 wp-optimize-settings.php:249
403
- #: wp-optimize-settings.php:256
404
- msgid "Every week"
405
- msgstr "每周"
406
-
407
- #: wp-optimize-settings.php:241 wp-optimize-settings.php:257
408
- msgid "Every other week (every 14 days)"
409
- msgstr "每2周(每隔 14 天)"
410
-
411
- #: wp-optimize-settings.php:245 wp-optimize-settings.php:258
412
- msgid "Every month (every 31 days)"
413
- msgstr "每月(每隔 31 天)"
414
-
415
- #: wp-optimize-settings.php:262
416
- msgid "Automatic cleanup will perform the following:"
417
- msgstr "自动清理将执行以下操作:"
418
-
419
- #: wp-optimize-settings.php:264
420
- msgid "Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db."
421
- msgstr "删除修订记录,自动草稿,回收站内的文章和评论,临时选项。之后会优化数据库表."
422
-
423
- #: wp-optimize-settings.php:271
424
- msgid "These options will only work if the automatic clean-up schedule has been enabled"
425
- msgstr "这些选项仅在自动清理计划启用时生效"
426
-
427
- #: wp-optimize-settings.php:276
428
- msgid "Remove auto revisions"
429
- msgstr "删除修订记录"
430
-
431
- #: wp-optimize-settings.php:280
432
- msgid "Remove auto drafts"
433
- msgstr "删除自动草稿"
434
-
435
- #: wp-optimize-settings.php:284
436
- msgid "Remove spam comments"
437
- msgstr "删除垃圾评论"
438
-
439
- #: wp-optimize-settings.php:297
440
- msgid "Remove orphaned post meta"
441
- msgstr "删除无用数据 (因版本升级而产生的无用表)"
442
-
443
- #: wp-optimize-settings.php:301
444
- msgid "Remove unused tags"
445
- msgstr "删除未使用的标签"
446
-
447
- #: wp-optimize-settings.php:307
448
- msgid "Optimize database"
449
- msgstr "优化数据库"
450
-
451
- #: wp-optimize-settings.php:313
452
- msgid "If you have InnoDB tables. They will not be optimized!"
453
- msgstr "如果你有 InnoDB 数据表。它们不会被优化!"
454
-
455
- #: wp-optimize-settings.php:335
456
- msgid "SAVE AUTO CLEAN-UP SETTINGS"
457
- msgstr "保存自动清理设置"
458
-
459
- #: wp-optimize-tables.php:20
460
- msgid "Database Name:"
461
- msgstr "数据库名称:"
462
-
463
- #: wp-optimize-tables.php:28
464
- msgid "Optimized all the tables found in the database."
465
- msgstr "此数据库中的所有数据表已优化."
466
-
467
- #: wp-optimize-tables.php:36
468
- msgid "No."
469
- msgstr "序号"
470
-
471
- #: wp-optimize-tables.php:38
472
- msgid "Records"
473
- msgstr "记录数"
474
-
475
- #: wp-optimize-tables.php:39
476
- msgid "Data Size"
477
- msgstr "数据库大小"
478
-
479
- #: wp-optimize-tables.php:40
480
- msgid "Index Size"
481
- msgstr "索引大小"
482
-
483
- #: wp-optimize-tables.php:41
484
- msgid "Type"
485
- msgstr "类型"
486
-
487
- #: wp-optimize-tables.php:42
488
- msgid "Overhead"
489
- msgstr "开销"
490
-
491
- #: wp-optimize-tables.php:137
492
- msgid "Total:"
493
- msgstr "合计:"
494
-
495
- #: wp-optimize-tables.php:138
496
- msgid "%d Table"
497
- msgid_plural "%d Tables"
498
- msgstr[0] "%d 张数据表"
499
-
500
- #: wp-optimize-tables.php:139
501
- msgid "%d Record"
502
- msgid_plural "%d Records"
503
- msgstr[0] "%d 条记录"
504
-
505
- #: wp-optimize-tables.php:179
506
- msgid "Total Size of Database:"
507
- msgstr "数据库大小:"
508
-
509
- #: wp-optimize-tables.php:191
510
- msgid "Optimization Results:"
511
- msgstr "优化结果:"
512
-
513
- #: wp-optimize-tables.php:196
514
- msgid "Total Space Saved:"
515
- msgstr "已节省空间:"
516
-
517
- #: wp-optimize-tables.php:208
518
- msgid "Optimization Possibility:"
519
- msgstr "可优化程度:"
520
-
521
- #: wp-optimize-tables.php:215
522
- msgid "Total space can be saved:"
523
- msgstr "总计可以节省空间:"
524
-
525
- msgid "WP-Optimize"
526
- msgstr "WP-Optimize"
527
-
528
- msgid "This plugin helps you to keep your database clean by removing post revisions and spams in a blaze. Additionally it allows you to run optimize command on your WordPress core tables (use with caution)."
529
- msgstr "这个插件可以帮助你保持你的数据库的清洁,它可以移除修订草稿和回收站的垃圾。此外,它还可以让你运行你的 WordPress 核心数据表优化指令(谨慎使用)。"
530
-
531
- msgid "Ruhani Rabin"
532
- msgstr "Ruhani Rabin"
533
-
534
- msgid "https://github.com/ruhanirabin/WP-Optimize"
535
- msgstr "https://github.com/ruhanirabin/WP-Optimize"
536
-
537
- #: wp-optimize-admin.php:25 wp-optimize-admin.php:43 wp-optimize.php:96
538
- msgid "Optimizer"
539
- msgstr "优化工具"
540
-
541
- #: wp-optimize-admin.php:28 wp-optimize-admin.php:46
542
- msgid "MYSQL"
543
- msgstr "MYSQL"
544
-
545
- #: wp-optimize-admin.php:33 wp-optimize-admin.php:54 wp-optimize.php:95
546
- msgid "Settings"
547
- msgstr "设置"
548
-
549
- #: wp-optimize-admin.php:34 wp-optimize-admin.php:56
550
- msgid "Info"
551
- msgstr "信息"
552
-
553
- #: wp-optimize-admin.php:52 wp-optimize-tables.php:37
554
- msgid "Tables"
555
- msgstr "数据库"
556
-
557
- #: wp-optimize-common.php:545
558
- msgid "bytes"
559
- msgstr "字节"
560
-
561
- #: wp-optimize-common.php:635
562
- #, fuzzy
563
- msgid "%d transient option deleted"
564
- msgid_plural "%d transient options deleted"
565
- msgstr[0] "%d 个临时选项已删除"
566
-
567
- #: wp-optimize-common.php:662
568
- #, fuzzy
569
- msgid "%d post revision deleted"
570
- msgid_plural "%d post revisions deleted"
571
- msgstr[0] "%d 篇文章修订记录已删除"
572
-
573
- #: wp-optimize-common.php:673
574
- #, fuzzy
575
- msgid "%d auto draft deleted"
576
- msgid_plural "%d auto drafts deleted"
577
- msgstr[0] "%d 篇自动草稿已删除"
578
-
579
- #: wp-optimize-common.php:683
580
- #, fuzzy
581
- msgid "%d item removed from Trash"
582
- msgid_plural "%d items removed from Trash"
583
- msgstr[0] "%d 个项目已从回收站删除"
584
-
585
- #: wp-optimize-common.php:695
586
- #, fuzzy
587
- msgid "%d spam comment deleted"
588
- msgid_plural "%d spam comments deleted"
589
- msgstr[0] "%d 条垃圾评论已删除"
590
-
591
- #: wp-optimize-common.php:726
592
- #, fuzzy
593
- msgid "%d unapproved comment deleted"
594
- msgid_plural "%d unapproved comments deleted"
595
- msgstr[0] "%d 条未审核评论已删除"
596
-
597
- #: wp-optimize-common.php:732
598
- #, fuzzy
599
- msgid "%d pingback deleted"
600
- msgid_plural "%d pingbacks deleted"
601
- msgstr[0] "%d 条 Pingbacks 已删除"
602
-
603
- #: wp-optimize-common.php:738
604
- #, fuzzy
605
- msgid "%d trackback deleted"
606
- msgid_plural "%d trackbacks deleted"
607
- msgstr[0] "%d 条 Trackbacks 已删除"
608
-
609
- #: wp-optimize-common.php:745
610
- msgid "Enabled weekly processing"
611
- msgstr "每周自动优化已启用"
612
-
613
- #: wp-optimize-common.php:751
614
- msgid "Disabled weekly processing"
615
- msgstr "每周自动优化已禁用"
616
-
617
- #: wp-optimize-common.php:760
618
- msgid "NO Actions Taken"
619
- msgstr "未操作"
620
-
621
- #: wp-optimize-common.php:787
622
- #, fuzzy
623
- msgid "%d transient option in your database"
624
- msgid_plural "%d transient options in your database"
625
- msgstr[0] "%d 个临时选项"
626
-
627
- #: wp-optimize-common.php:789
628
- msgid "No transient options found"
629
- msgstr "暂无临时选项"
630
-
631
- #: wp-optimize-common.php:798
632
- #, fuzzy
633
- msgid "%d orphaned postmeta in your database"
634
- msgid_plural "%d orphaned postmeta in your database"
635
- msgstr[0] "%d 条无用数据"
636
-
637
- #: wp-optimize-common.php:800
638
- msgid "No orphaned postmeta in your database"
639
- msgstr "暂无无用数据"
640
-
641
- #: wp-optimize-common.php:809
642
- #, fuzzy
643
- msgid "%d unused tag in your database"
644
- msgid_plural "%d unused tags in your database"
645
- msgstr[0] "%d 个未使用的标签"
646
-
647
- #: wp-optimize-common.php:811
648
- msgid "No unused tags found"
649
- msgstr "暂无未使用的标签"
650
-
651
- #: wp-optimize-common.php:824
652
- #, fuzzy
653
- msgid "%d post revision in your database"
654
- msgid_plural "%d post revisions in your database"
655
- msgstr[0] "%d 篇文章修订记录"
656
-
657
- #: wp-optimize-common.php:826
658
- msgid "No post revisions found"
659
- msgstr "暂无文章修订记录"
660
-
661
- #: wp-optimize-common.php:839
662
- #, fuzzy
663
- msgid "%d auto draft post in your database"
664
- msgid_plural "%d auto draft posts in your database"
665
- msgstr[0] "%d 篇自动草稿"
666
-
667
- #: wp-optimize-common.php:841
668
- msgid "No auto draft posts found"
669
- msgstr "暂无自动草稿"
670
-
671
- #: wp-optimize-common.php:853
672
- #, fuzzy
673
- msgid "%d spam comment found"
674
- msgid_plural "%d spam comments found"
675
- msgstr[0] "%d 条垃圾评论"
676
-
677
- #: wp-optimize-common.php:853 wp-optimize-common.php:884
678
- msgid "Review"
679
- msgstr "评论"
680
-
681
- #: wp-optimize-common.php:855
682
- msgid "No spam comments found"
683
- msgstr "暂无垃圾评论"
684
-
685
- #: wp-optimize-common.php:884
686
- #, fuzzy
687
- msgid "%d unapproved comment found"
688
- msgid_plural "%d unapproved comments found"
689
- msgstr[0] "%d 条未审核评论"
690
-
691
- #: wp-optimize-common.php:886
692
- msgid "No unapproved comments found"
693
- msgstr "暂无未审核评论"
694
-
695
- #: wp-optimize-common.php:894
696
- #, fuzzy
697
- msgid "%d Pingback found"
698
- msgid_plural "%d Pingbacks found"
699
- msgstr[0] "%d 条 Pingbacks"
700
-
701
- #: wp-optimize-common.php:896
702
- msgid "No pingbacks found"
703
- msgstr "暂无 Pingbacks"
704
-
705
- #: wp-optimize-common.php:904
706
- #, fuzzy
707
- msgid "%d Trackback found"
708
- msgid_plural "%d Trackbacks found"
709
- msgstr[0] "%d 条 Trackbacks"
710
-
711
- #: wp-optimize-common.php:906
712
- msgid "No trackbacks found"
713
- msgstr "暂无 Trackbacks"
714
-
715
- #: wp-optimize-common.php:912
716
- msgid "nothing"
717
- msgstr "无"
718
-
719
- #: wp-optimize-credits.php:14
720
- msgid "Credits"
721
- msgstr "致谢"
722
-
723
- #: wp-optimize-credits.php:15
724
- msgid "WP-Optimize started as a utility for my own projects. I have realized soon, that this plugin might help a lot of people out there. I am personally thanking all of the users who use this plugin as a daily basis. Also thank you all of the translators and the generous people who have donated for this project."
725
- msgstr "开始时 WP-Optimize 只是作为我自己项目用的一个小工具。但不久我便意识到,这个插件可以帮助更多的人。 <br>我非常感谢每天使用和支持这个插件的用户, 同时也感谢帮助翻译和慷慨赞助这个插件的所有人。"
726
-
727
- #: wp-optimize-credits.php:29
728
- msgid "Contributing Developers"
729
- msgstr "协助插件开发"
730
-
731
- #: wp-optimize-credits.php:30
732
- msgid "Help me make this plugin better"
733
- msgstr "帮助完善这个插件"
734
-
735
- #: wp-optimize-credits.php:30
736
- msgid "I am looking for contributing developers."
737
- msgstr "我正在寻找优秀的开发者。"
738
-
739
- #: wp-optimize-credits.php:31
740
- msgid "Your name and website will be credited here in the plugin"
741
- msgstr "你的名字和网站将有机会出现在这里"
742
-
743
- #: wp-optimize-credits.php:40
744
- msgid "Translators"
745
- msgstr "翻译"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-optimize.pot ADDED
@@ -0,0 +1,877 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2016 wp-optimize
2
+ # This file is distributed under the same license as the wp-optimize package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: wp-optimize\n"
6
+ "Report-Msgid-Bugs-To: http://example.com\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
11
+ "Last-Translator: John Doe <mail@example.com>\n"
12
+ "Language-Team: Team Team <mail@example.com>\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+
20
+ #: src/includes/class-commands.php:72
21
+ msgid "No optimization was indicated."
22
+ msgstr ""
23
+
24
+ #: src/includes/class-wp-optimize-options.php:137
25
+ msgid "Settings updated."
26
+ msgstr ""
27
+
28
+ #: src/includes/class-wp-optimizer.php:101, src/includes/class-wp-optimizer.php:107
29
+ msgid "No such optimization"
30
+ msgstr ""
31
+
32
+ #: src/includes/class-wp-optimizer.php:341
33
+ msgid "Comments have now been disabled on all current and previously published posts."
34
+ msgstr ""
35
+
36
+ #: src/includes/class-wp-optimizer.php:344
37
+ msgid "Comments have now been enabled on all current and previously published posts."
38
+ msgstr ""
39
+
40
+ #: src/includes/class-wp-optimizer.php:351
41
+ msgid "Trackbacks have now been disabled on all current and previously published posts."
42
+ msgstr ""
43
+
44
+ #: src/includes/class-wp-optimizer.php:355
45
+ msgid "Trackbacks have now been enabled on all current and previously published posts."
46
+ msgstr ""
47
+
48
+ #: src/includes/wp-optimize-notices.php:29
49
+ msgid "Make sure you backup as well as optimize your database"
50
+ msgstr ""
51
+
52
+ #: src/includes/wp-optimize-notices.php:30
53
+ msgid "UpdraftPlus is the world's most trusted backup plugin from the owners of WP-Optimize"
54
+ msgstr ""
55
+
56
+ #: src/includes/wp-optimize-notices.php:40
57
+ msgid "Introducing UpdraftCentral - from the team behind WP-Optimize"
58
+ msgstr ""
59
+
60
+ #: src/includes/wp-optimize-notices.php:41
61
+ msgid "UpdraftCentral is a highly efficient way to manage, update and backup multiple websites from one place."
62
+ msgstr ""
63
+
64
+ #: src/includes/wp-optimize-notices.php:51
65
+ msgid "Like WP-Optimize and can spare one minute?"
66
+ msgstr ""
67
+
68
+ #: src/includes/wp-optimize-notices.php:52
69
+ msgid "Please help WP-Optimize by giving a positive review at wordpress.org."
70
+ msgstr ""
71
+
72
+ #: src/optimizations/autodraft.php:30
73
+ msgid "%d auto draft deleted"
74
+ msgid_plural "%d auto drafts deleted"
75
+ msgstr[0] ""
76
+ msgstr[1] ""
77
+
78
+ #: src/optimizations/autodraft.php:43
79
+ msgid "%d item removed from Trash"
80
+ msgid_plural "%d items removed from Trash"
81
+ msgstr[0] ""
82
+ msgstr[1] ""
83
+
84
+ #: src/optimizations/autodraft.php:57
85
+ msgid "%d auto draft post in your database"
86
+ msgid_plural "%d auto draft posts in your database"
87
+ msgstr[0] ""
88
+ msgstr[1] ""
89
+
90
+ #: src/optimizations/autodraft.php:59
91
+ msgid "No auto draft posts found"
92
+ msgstr ""
93
+
94
+ #: src/optimizations/autodraft.php:73
95
+ msgid "%d trashed post in your database"
96
+ msgid_plural "%d trashed posts in your database"
97
+ msgstr[0] ""
98
+ msgstr[1] ""
99
+
100
+ #: src/optimizations/autodraft.php:75
101
+ msgid "No trashed posts found"
102
+ msgstr ""
103
+
104
+ #: src/optimizations/autodraft.php:84
105
+ msgid "Clean auto draft posts which are older than %d weeks"
106
+ msgstr ""
107
+
108
+ #: src/optimizations/autodraft.php:86
109
+ msgid "Clean all auto draft posts and posts in trash"
110
+ msgstr ""
111
+
112
+ #: src/optimizations/autodraft.php:92
113
+ msgid "Remove auto drafts"
114
+ msgstr ""
115
+
116
+ #: src/optimizations/commentmeta.php:17
117
+ msgid "%d unused comment metadata item removed"
118
+ msgid_plural "%d unused comment metadata items removed"
119
+ msgstr[0] ""
120
+ msgstr[1] ""
121
+
122
+ #: src/optimizations/commentmeta.php:26
123
+ msgid "%d unused akismet comment metadata item removed"
124
+ msgid_plural "%d unused akismet comment metadata items removed"
125
+ msgstr[0] ""
126
+ msgstr[1] ""
127
+
128
+ #: src/optimizations/commentmeta.php:38
129
+ msgid "%d orphaned comment meta data in your database"
130
+ msgid_plural "%d orphaned comment meta data in your database"
131
+ msgstr[0] ""
132
+ msgstr[1] ""
133
+
134
+ #: src/optimizations/commentmeta.php:40
135
+ msgid "No orphaned comment meta data in your database"
136
+ msgstr ""
137
+
138
+ #: src/optimizations/commentmeta.php:48, src/optimizations/commentmeta.php:52
139
+ msgid "Clean comment meta data"
140
+ msgstr ""
141
+
142
+ #: src/optimizations/inactive-tags.php:17
143
+ msgid "%d unused tag deleted"
144
+ msgid_plural "%d unused tags deleted"
145
+ msgstr[0] ""
146
+ msgstr[1] ""
147
+
148
+ #: src/optimizations/inactive-tags.php:24, src/optimizations/inactive-tags.php:29
149
+ msgid "Remove unused tags"
150
+ msgstr ""
151
+
152
+ #: src/optimizations/optimizetables.php:79
153
+ msgctxt "%s is the database name"
154
+ msgid "%s database optimized!"
155
+ msgstr ""
156
+
157
+ #: src/optimizations/optimizetables.php:83
158
+ msgid "Total gain:"
159
+ msgstr ""
160
+
161
+ #: src/optimizations/optimizetables.php:87
162
+ msgid "Tables using the InnoDB engine (%d) will not be optimized."
163
+ msgstr ""
164
+
165
+ #: src/optimizations/optimizetables.php:94, src/optimizations/optimizetables.php:98
166
+ msgid "Optimize database tables"
167
+ msgstr ""
168
+
169
+ #: src/optimizations/orphandata.php:15
170
+ msgid "%d orphaned meta data deleted"
171
+ msgid_plural "%d orphaned meta data deleted"
172
+ msgstr[0] ""
173
+ msgstr[1] ""
174
+
175
+ #: src/optimizations/orphandata.php:28
176
+ msgid "%d orphaned relationship data in your database"
177
+ msgid_plural "%d orphaned relationship data in your database"
178
+ msgstr[0] ""
179
+ msgstr[1] ""
180
+
181
+ #: src/optimizations/orphandata.php:30
182
+ msgid "No orphaned relationship data in your database"
183
+ msgstr ""
184
+
185
+ #: src/optimizations/orphandata.php:37
186
+ msgid "Clean orphaned relationship data"
187
+ msgstr ""
188
+
189
+ #: src/optimizations/pingbacks.php:15
190
+ msgid "%d pingback deleted"
191
+ msgid_plural "%d pingbacks deleted"
192
+ msgstr[0] ""
193
+ msgstr[1] ""
194
+
195
+ #: src/optimizations/pingbacks.php:25
196
+ msgid "%d Pingback found"
197
+ msgid_plural "%d Pingbacks found"
198
+ msgstr[0] ""
199
+ msgstr[1] ""
200
+
201
+ #: src/optimizations/pingbacks.php:27
202
+ msgid "No pingbacks found"
203
+ msgstr ""
204
+
205
+ #: src/optimizations/pingbacks.php:34
206
+ msgid "Remove pingbacks"
207
+ msgstr ""
208
+
209
+ #: src/optimizations/postmeta.php:20
210
+ msgid "%d orphaned postmeta deleted"
211
+ msgid_plural "%d orphaned postmeta deleted"
212
+ msgstr[0] ""
213
+ msgstr[1] ""
214
+
215
+ #: src/optimizations/postmeta.php:32
216
+ msgid "%d orphaned post meta data in your database"
217
+ msgid_plural "%d orphaned postmeta in your database"
218
+ msgstr[0] ""
219
+ msgstr[1] ""
220
+
221
+ #: src/optimizations/postmeta.php:34
222
+ msgid "No orphaned post meta data in your database"
223
+ msgstr ""
224
+
225
+ #: src/optimizations/postmeta.php:42
226
+ msgid "Clean post meta data"
227
+ msgstr ""
228
+
229
+ #: src/optimizations/postmeta.php:47
230
+ msgid "Remove orphaned post meta"
231
+ msgstr ""
232
+
233
+ #: src/optimizations/revisions.php:26
234
+ msgid "%d post revision deleted"
235
+ msgid_plural "%d post revisions deleted"
236
+ msgstr[0] ""
237
+ msgstr[1] ""
238
+
239
+ #: src/optimizations/revisions.php:43
240
+ msgid "%d post revision in your database"
241
+ msgid_plural "%d post revisions in your database"
242
+ msgstr[0] ""
243
+ msgstr[1] ""
244
+
245
+ #: src/optimizations/revisions.php:45
246
+ msgid "No post revisions found"
247
+ msgstr ""
248
+
249
+ #: src/optimizations/revisions.php:54
250
+ msgid "Clean post revisions which are older than %d weeks"
251
+ msgstr ""
252
+
253
+ #: src/optimizations/revisions.php:56
254
+ msgid "Clean all post revisions"
255
+ msgstr ""
256
+
257
+ #: src/optimizations/revisions.php:62
258
+ msgid "Remove auto revisions"
259
+ msgstr ""
260
+
261
+ #: src/optimizations/spam.php:29
262
+ msgid "%d spam comment deleted"
263
+ msgid_plural "%d spam comments deleted"
264
+ msgstr[0] ""
265
+ msgstr[1] ""
266
+
267
+ #: src/optimizations/spam.php:40
268
+ msgid "%d comment removed from Trash"
269
+ msgid_plural "%d comments removed from Trash"
270
+ msgstr[0] ""
271
+ msgstr[1] ""
272
+
273
+ #: src/optimizations/spam.php:54
274
+ msgid "%d spam comment found"
275
+ msgid_plural "%d spam comments found"
276
+ msgstr[0] ""
277
+ msgstr[1] ""
278
+
279
+ #: src/optimizations/spam.php:54, src/optimizations/spam.php:70, src/optimizations/unapproved.php:42
280
+ msgid "Review"
281
+ msgstr ""
282
+
283
+ #: src/optimizations/spam.php:56
284
+ msgid "No spam comments found"
285
+ msgstr ""
286
+
287
+ #: src/optimizations/spam.php:70
288
+ msgid "%d trashed comment found"
289
+ msgid_plural "%d trashed comments found"
290
+ msgstr[0] ""
291
+ msgstr[1] ""
292
+
293
+ #: src/optimizations/spam.php:72
294
+ msgid "No trashed comments found"
295
+ msgstr ""
296
+
297
+ #: src/optimizations/spam.php:82
298
+ msgid "Remove spam comments which are older than %d weeks"
299
+ msgstr ""
300
+
301
+ #: src/optimizations/spam.php:84
302
+ msgid "Remove spam comments and comments in trash"
303
+ msgstr ""
304
+
305
+ #: src/optimizations/spam.php:89
306
+ msgid "Remove spam comments"
307
+ msgstr ""
308
+
309
+ #: src/optimizations/trackbacks.php:15
310
+ msgid "%d trackback deleted"
311
+ msgid_plural "%d trackbacks deleted"
312
+ msgstr[0] ""
313
+ msgstr[1] ""
314
+
315
+ #: src/optimizations/trackbacks.php:25
316
+ msgid "%d Trackback found"
317
+ msgid_plural "%d Trackbacks found"
318
+ msgstr[0] ""
319
+ msgstr[1] ""
320
+
321
+ #: src/optimizations/trackbacks.php:27
322
+ msgid "No trackbacks found"
323
+ msgstr ""
324
+
325
+ #: src/optimizations/trackbacks.php:34
326
+ msgid "Remove trackbacks"
327
+ msgstr ""
328
+
329
+ #: src/optimizations/transient.php:33
330
+ msgid "%d transient option deleted"
331
+ msgid_plural "%d transient options deleted"
332
+ msgstr[0] ""
333
+ msgstr[1] ""
334
+
335
+ #: src/optimizations/transient.php:60
336
+ msgid "%d site-wide transient option deleted"
337
+ msgid_plural "%d site-widetransient options deleted"
338
+ msgstr[0] ""
339
+ msgstr[1] ""
340
+
341
+ #: src/optimizations/transient.php:116
342
+ msgid "%d expired transient in your database"
343
+ msgid_plural "%d expired transient in your database"
344
+ msgstr[0] ""
345
+ msgstr[1] ""
346
+
347
+ #: src/optimizations/transient.php:118
348
+ msgid "No transient options found"
349
+ msgstr ""
350
+
351
+ #: src/optimizations/transient.php:125, src/optimizations/transient.php:129
352
+ msgid "Remove expired transient options"
353
+ msgstr ""
354
+
355
+ #: src/optimizations/unapproved.php:27
356
+ msgid "%d unapproved comment deleted"
357
+ msgid_plural "%d unapproved comments deleted"
358
+ msgstr[0] ""
359
+ msgstr[1] ""
360
+
361
+ #: src/optimizations/unapproved.php:42
362
+ msgid "%d unapproved comment found"
363
+ msgid_plural "%d unapproved comments found"
364
+ msgstr[0] ""
365
+ msgstr[1] ""
366
+
367
+ #: src/optimizations/unapproved.php:44
368
+ msgid "No unapproved comments found"
369
+ msgstr ""
370
+
371
+ #: src/optimizations/unapproved.php:52
372
+ msgid "Remove unapproved comments which are older than %d weeks"
373
+ msgstr ""
374
+
375
+ #: src/optimizations/unapproved.php:54, src/optimizations/unapproved.php:59
376
+ msgid "Remove unapproved comments"
377
+ msgstr ""
378
+
379
+ #: src/templates/admin-page-header.php:20
380
+ msgid "Home"
381
+ msgstr ""
382
+
383
+ #: src/templates/admin-page-header.php:24
384
+ msgid "News"
385
+ msgstr ""
386
+
387
+ #: src/templates/admin-page-header.php:26, src/templates/notices/thanks-for-using-main-dash.php:13
388
+ msgid "Twitter"
389
+ msgstr ""
390
+
391
+ #: src/templates/admin-page-header.php:28
392
+ msgid "Support"
393
+ msgstr ""
394
+
395
+ #: src/templates/admin-page-header.php:30
396
+ msgid "Newsletter sign-up"
397
+ msgstr ""
398
+
399
+ #: src/templates/admin-page-header.php:32
400
+ msgid "Lead developer"
401
+ msgstr ""
402
+
403
+ #: src/templates/admin-page-header.php:36
404
+ msgid "FAQs"
405
+ msgstr ""
406
+
407
+ #: src/templates/admin-page-header.php:38
408
+ msgid "More plugins"
409
+ msgstr ""
410
+
411
+ #: src/templates/admin-settings.php:14
412
+ msgid "General settings"
413
+ msgstr ""
414
+
415
+ #: src/templates/admin-settings.php:22
416
+ msgid "Keep last %s weeks data"
417
+ msgstr ""
418
+
419
+ #: src/templates/admin-settings.php:26
420
+ msgid "This option will, where relevant, retain data from the chosen period, and remove any garbage data before that period."
421
+ msgstr ""
422
+
423
+ #: src/templates/admin-settings.php:26
424
+ msgid "If the option is not active, then all garbage data will be removed."
425
+ msgstr ""
426
+
427
+ #: src/templates/admin-settings.php:26
428
+ msgid "This will also affect Auto Clean-up process"
429
+ msgstr ""
430
+
431
+ #: src/templates/admin-settings.php:31
432
+ msgid "Enable admin bar link"
433
+ msgstr ""
434
+
435
+ #: src/templates/admin-settings.php:34
436
+ msgid "This option will put an WP-Optimize link on the top admin bar (default is off). Requires a second page refresh after saving the settings."
437
+ msgstr ""
438
+
439
+ #: src/templates/admin-settings.php:39
440
+ msgid "Auto clean-up settings"
441
+ msgstr ""
442
+
443
+ #: src/templates/admin-settings.php:44
444
+ msgid "Enable scheduled clean-up and optimization (Beta feature!)"
445
+ msgstr ""
446
+
447
+ #: src/templates/admin-settings.php:52
448
+ msgid "Select schedule type (default is Weekly)"
449
+ msgstr ""
450
+
451
+ #: src/templates/admin-settings.php:57
452
+ msgid "Daily"
453
+ msgstr ""
454
+
455
+ #: src/templates/admin-settings.php:58
456
+ msgid "Weekly"
457
+ msgstr ""
458
+
459
+ #: src/templates/admin-settings.php:59
460
+ msgid "Fortnightly"
461
+ msgstr ""
462
+
463
+ #: src/templates/admin-settings.php:60
464
+ msgid "Monthly (approx. - every 30 days)"
465
+ msgstr ""
466
+
467
+ #: src/templates/admin-settings.php:105
468
+ msgid "Enable email notification"
469
+ msgstr ""
470
+
471
+ #: src/templates/admin-settings.php:110
472
+ msgid "Send email to"
473
+ msgstr ""
474
+
475
+ #: src/templates/admin-settings.php:121
476
+ msgid "Save settings"
477
+ msgstr ""
478
+
479
+ #: src/templates/admin-settings.php:135
480
+ msgid "Trackback/comments actions"
481
+ msgstr ""
482
+
483
+ #: src/templates/admin-settings.php:140
484
+ msgid "Trackbacks"
485
+ msgstr ""
486
+
487
+ #: src/templates/admin-settings.php:143
488
+ msgid "Use these buttons to enable or disable any future trackbacks on all your previously published posts."
489
+ msgstr ""
490
+
491
+ #: src/templates/admin-settings.php:146, src/templates/admin-settings.php:158
492
+ msgid "Enable"
493
+ msgstr ""
494
+
495
+ #: src/templates/admin-settings.php:148, src/templates/admin-settings.php:160
496
+ msgid "Disable"
497
+ msgstr ""
498
+
499
+ #: src/templates/admin-settings.php:154
500
+ msgid "Comments"
501
+ msgstr ""
502
+
503
+ #: src/templates/admin-settings.php:156
504
+ msgid "Use these buttons to enable or disable any future comments on all your previously published posts."
505
+ msgstr ""
506
+
507
+ #: src/templates/notices/horizontal-notice.php:6
508
+ msgid "notice image"
509
+ msgstr ""
510
+
511
+ #: src/templates/notices/horizontal-notice.php:16, src/templates/notices/horizontal-notice.php:18
512
+ msgid "Dismiss"
513
+ msgstr ""
514
+
515
+ #: src/templates/notices/horizontal-notice.php:36
516
+ msgid "Get UpdraftCentral"
517
+ msgstr ""
518
+
519
+ #: src/templates/notices/horizontal-notice.php:38
520
+ msgid "Review WP-Optimize"
521
+ msgstr ""
522
+
523
+ #: src/templates/notices/horizontal-notice.php:40
524
+ msgid "Get UpdraftPlus"
525
+ msgstr ""
526
+
527
+ #: src/templates/notices/horizontal-notice.php:42
528
+ msgid "Sign up"
529
+ msgstr ""
530
+
531
+ #: src/templates/notices/horizontal-notice.php:44
532
+ msgid "Go there"
533
+ msgstr ""
534
+
535
+ #: src/templates/notices/thanks-for-using-main-dash.php:5, src/templates/notices/thanks-for-using-main-dash.php:41
536
+ msgid "Dismiss (for %s months)"
537
+ msgstr ""
538
+
539
+ #: src/templates/notices/thanks-for-using-main-dash.php:7
540
+ msgid "Thank you for using WP-Optimize, the world's most trusted WP optimization plugin!"
541
+ msgstr ""
542
+
543
+ #: src/templates/notices/thanks-for-using-main-dash.php:13
544
+ msgid "Keep in touch!"
545
+ msgstr ""
546
+
547
+ #: src/templates/notices/thanks-for-using-main-dash.php:13
548
+ msgid "Blog"
549
+ msgstr ""
550
+
551
+ #: src/templates/notices/thanks-for-using-main-dash.php:13
552
+ msgid "Newsletter"
553
+ msgstr ""
554
+
555
+ #: src/templates/notices/thanks-for-using-main-dash.php:22
556
+ msgid "UpdraftPlus - the #1 most-trusted WordPress backup/restore plugin"
557
+ msgstr ""
558
+
559
+ #: src/templates/notices/thanks-for-using-main-dash.php:22
560
+ msgid "The team behind WP-Optimize also create WordPress's most trusted backup/restore plugin"
561
+ msgstr ""
562
+
563
+ #: src/templates/notices/thanks-for-using-main-dash.php:22
564
+ msgid "UpdraftPlus"
565
+ msgstr ""
566
+
567
+ #: src/templates/notices/thanks-for-using-main-dash.php:26
568
+ msgid "Hackers, user error and dodgy updates can all ruin your site."
569
+ msgstr ""
570
+
571
+ #: src/templates/notices/thanks-for-using-main-dash.php:26
572
+ msgid "We recommend that you install %s, which can automatically backup to remote cloud storage like Dropbox so your backup is independent and safe."
573
+ msgstr ""
574
+
575
+ #: src/templates/notices/thanks-for-using-main-dash.php:26
576
+ msgid "You can also restore a site with a couple of clicks."
577
+ msgstr ""
578
+
579
+ #: src/templates/notices/thanks-for-using-main-dash.php:28
580
+ msgid "Many users of %s have switched to UpdraftPlus WordPress Backup."
581
+ msgstr ""
582
+
583
+ #: src/templates/notices/thanks-for-using-main-dash.php:28
584
+ msgid "backup plugin comparison table"
585
+ msgstr ""
586
+
587
+ #: src/templates/notices/thanks-for-using-main-dash.php:35
588
+ msgid "Do you manage multiple WordPress sites?"
589
+ msgstr ""
590
+
591
+ #: src/templates/notices/thanks-for-using-main-dash.php:35
592
+ msgid "If so, take a look at %s, our remote site management solution"
593
+ msgstr ""
594
+
595
+ #: src/templates/notices/thanks-for-using-main-dash.php:35
596
+ msgid "Login securely, backup and update all your sites from one place."
597
+ msgstr ""
598
+
599
+ #: src/templates/notices/thanks-for-using-main-dash.php:35
600
+ msgid "Available as a self-install plugin, or hosted for you from updraftplus.com"
601
+ msgstr ""
602
+
603
+ #: src/templates/notices/thanks-for-using-main-dash.php:37
604
+ msgid "More quality plugins"
605
+ msgstr ""
606
+
607
+ #: src/templates/optimizations-table.php:7
608
+ msgid "Optimization"
609
+ msgstr ""
610
+
611
+ #: src/templates/optimizations-table.php:8
612
+ msgid "Notes"
613
+ msgstr ""
614
+
615
+ #: src/templates/optimizations-table.php:48
616
+ msgid "Run optimization"
617
+ msgstr ""
618
+
619
+ #: src/templates/optimizations-table.php:50
620
+ msgid "Go"
621
+ msgstr ""
622
+
623
+ #: src/templates/optimize-table.php:11
624
+ msgid "Optimizations"
625
+ msgstr ""
626
+
627
+ #: src/templates/optimize-table.php:15
628
+ msgid "Select safe options"
629
+ msgstr ""
630
+
631
+ #: src/templates/optimize-table.php:16, src/templates/optimize-table.php:26
632
+ msgid "Warning:"
633
+ msgstr ""
634
+
635
+ #: src/templates/optimize-table.php:16
636
+ msgid "It is best practice to always make a backup of your database before any major operation (optimizing, upgrading, etc.)."
637
+ msgstr ""
638
+
639
+ #: src/templates/optimize-table.php:16
640
+ msgid "If you need a backup plugin, then we recommend UpdraftPlus."
641
+ msgstr ""
642
+
643
+ #: src/templates/optimize-table.php:20
644
+ msgid "Run all selected optimizations now"
645
+ msgstr ""
646
+
647
+ #: src/templates/optimize-table.php:26
648
+ msgid "Items marked in red, whilst still safe, perform more database delete operations."
649
+ msgstr ""
650
+
651
+ #: src/templates/optimize-table.php:26
652
+ msgid "You may wish to run a backup before performing them."
653
+ msgstr ""
654
+
655
+ #: src/templates/status-box-contents.php:11
656
+ msgid "Status"
657
+ msgstr ""
658
+
659
+ #: src/templates/status-box-contents.php:17
660
+ msgid "running on:"
661
+ msgstr ""
662
+
663
+ #: src/templates/status-box-contents.php:17
664
+ msgid "MySQL"
665
+ msgstr ""
666
+
667
+ #: src/templates/status-box-contents.php:23
668
+ msgid "Last automatic optimization was at"
669
+ msgstr ""
670
+
671
+ #: src/templates/status-box-contents.php:28
672
+ msgid "There was no automatic optimization"
673
+ msgstr ""
674
+
675
+ #: src/templates/status-box-contents.php:36
676
+ msgid "Scheduled cleaning enabled"
677
+ msgstr ""
678
+
679
+ #: src/templates/status-box-contents.php:44
680
+ msgid "Next schedule:"
681
+ msgstr ""
682
+
683
+ #: src/templates/status-box-contents.php:49
684
+ msgid "Refresh"
685
+ msgstr ""
686
+
687
+ #: src/templates/status-box-contents.php:54
688
+ msgid "Scheduled cleaning disabled"
689
+ msgstr ""
690
+
691
+ #: src/templates/status-box-contents.php:61
692
+ msgid "Keeping last %s weeks data"
693
+ msgstr ""
694
+
695
+ #: src/templates/status-box-contents.php:64
696
+ msgid "Not keeping recent data"
697
+ msgstr ""
698
+
699
+ #: src/templates/status-box-contents.php:70
700
+ msgid "Current database size:"
701
+ msgstr ""
702
+
703
+ #: src/templates/status-box-contents.php:78
704
+ msgid "You have saved:"
705
+ msgstr ""
706
+
707
+ #: src/templates/status-box-contents.php:82
708
+ msgid "You can save around:"
709
+ msgstr ""
710
+
711
+ #: src/templates/status-box-contents.php:95
712
+ msgid "Total clean up overall:"
713
+ msgstr ""
714
+
715
+ #: src/templates/status-box-contents.php:103
716
+ msgid "Support and feedback"
717
+ msgstr ""
718
+
719
+ #: src/templates/status-box-contents.php:105
720
+ msgid "If you like WP-Optimize,"
721
+ msgstr ""
722
+
723
+ #: src/templates/status-box-contents.php:105
724
+ msgid "please give us a positive review, here."
725
+ msgstr ""
726
+
727
+ #: src/templates/status-box-contents.php:105
728
+ msgid "Or, if you did not like it,"
729
+ msgstr ""
730
+
731
+ #: src/templates/status-box-contents.php:105
732
+ msgid "please tell us why at this link."
733
+ msgstr ""
734
+
735
+ #: src/templates/status-box-contents.php:106
736
+ msgid "Support is available here."
737
+ msgstr ""
738
+
739
+ #: src/templates/tables-body.php:63
740
+ msgid "Total:"
741
+ msgstr ""
742
+
743
+ #: src/templates/tables-body.php:64
744
+ msgid "%d Table"
745
+ msgid_plural "%d Tables"
746
+ msgstr[0] ""
747
+ msgstr[1] ""
748
+
749
+ #: src/templates/tables-body.php:65
750
+ msgid "%d Record"
751
+ msgid_plural "%d Records"
752
+ msgstr[0] ""
753
+ msgstr[1] ""
754
+
755
+ #: src/templates/tables.php:3
756
+ msgid "Database name:"
757
+ msgstr ""
758
+
759
+ #: src/templates/tables.php:9
760
+ msgid "Optimized all the tables found in the database."
761
+ msgstr ""
762
+
763
+ #: src/templates/tables.php:15
764
+ msgid "No."
765
+ msgstr ""
766
+
767
+ #: src/templates/tables.php:16
768
+ msgid "Table"
769
+ msgstr ""
770
+
771
+ #: src/templates/tables.php:17
772
+ msgid "Records"
773
+ msgstr ""
774
+
775
+ #: src/templates/tables.php:18
776
+ msgid "Data Size"
777
+ msgstr ""
778
+
779
+ #: src/templates/tables.php:19
780
+ msgid "Index Size"
781
+ msgstr ""
782
+
783
+ #: src/templates/tables.php:20
784
+ msgid "Type"
785
+ msgstr ""
786
+
787
+ #: src/templates/tables.php:21
788
+ msgid "Overhead"
789
+ msgstr ""
790
+
791
+ #: src/templates/tables.php:29
792
+ msgid "Total size of database:"
793
+ msgstr ""
794
+
795
+ #: src/templates/tables.php:37
796
+ msgid "Optimization results:"
797
+ msgstr ""
798
+
799
+ #: src/templates/tables.php:41
800
+ msgid "Total space saved:"
801
+ msgstr ""
802
+
803
+ #: src/templates/tables.php:51
804
+ msgid "Optimization Possibility:"
805
+ msgstr ""
806
+
807
+ #: src/templates/tables.php:54
808
+ msgid "Total space that can be saved:"
809
+ msgstr ""
810
+
811
+ #: src/wp-optimize.php:177
812
+ msgid "Table information"
813
+ msgstr ""
814
+
815
+ #: src/wp-optimize.php:178, src/wp-optimize.php:319
816
+ msgid "Settings"
817
+ msgstr ""
818
+
819
+ #: src/wp-optimize.php:179
820
+ msgid "Plugin family"
821
+ msgstr ""
822
+
823
+ #: src/wp-optimize.php:305
824
+ msgid "Optimize"
825
+ msgstr ""
826
+
827
+ #: src/wp-optimize.php:322
828
+ msgid "Optimizer"
829
+ msgstr ""
830
+
831
+ #: src/wp-optimize.php:445
832
+ msgid "Error:"
833
+ msgstr ""
834
+
835
+ #: src/wp-optimize.php:445
836
+ msgid "template not found"
837
+ msgstr ""
838
+
839
+ #: src/wp-optimize.php:504
840
+ msgid "Automatic Operation Completed"
841
+ msgstr ""
842
+
843
+ #: src/wp-optimize.php:506
844
+ msgid "Scheduled optimization was executed at"
845
+ msgstr ""
846
+
847
+ #: src/wp-optimize.php:507
848
+ msgid "Recovered space"
849
+ msgstr ""
850
+
851
+ #: src/wp-optimize.php:508
852
+ msgid "You can safely delete this email."
853
+ msgstr ""
854
+
855
+ #: src/wp-optimize.php:510
856
+ msgid "Regards,"
857
+ msgstr ""
858
+
859
+ #: src/wp-optimize.php:511
860
+ msgid "WP-Optimize Plugin"
861
+ msgstr ""
862
+
863
+ #: src/wp-optimize.php:539
864
+ msgid "GB"
865
+ msgstr ""
866
+
867
+ #: src/wp-optimize.php:541
868
+ msgid "MB"
869
+ msgstr ""
870
+
871
+ #: src/wp-optimize.php:543
872
+ msgid "KB"
873
+ msgstr ""
874
+
875
+ #: src/wp-optimize.php:545
876
+ msgid "bytes"
877
+ msgstr ""
optimizations/autodraft.php CHANGED
@@ -44,24 +44,38 @@ class WP_Optimization_autodraft extends WP_Optimization {
44
  }
45
 
46
  public function get_info() {
47
-
48
- $sql = "SELECT COUNT(*) FROM `".$this->wpdb->posts."` WHERE post_status = 'auto-draft'";
49
 
 
50
  if ($this->retention_enabled == 'true') {
51
  $sql .= ' and post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
52
  }
53
-
54
  $sql .= ';';
55
 
56
  $autodraft = $this->wpdb->get_var($sql);
57
 
58
- if(!$autodraft == 0 || !$autodraft == NULL){
59
  $message = sprintf(_n('%d auto draft post in your database', '%d auto draft posts in your database', $autodraft, 'wp-optimize'), number_format_i18n($autodraft));
60
  } else {
61
  $message =__('No auto draft posts found', 'wp-optimize');
62
  }
63
 
64
  $this->register_output($message);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }
66
 
67
  public function settings_label() {
44
  }
45
 
46
  public function get_info() {
 
 
47
 
48
+ $sql = "SELECT COUNT(*) FROM `".$this->wpdb->posts."` WHERE post_status = 'auto-draft'";
49
  if ($this->retention_enabled == 'true') {
50
  $sql .= ' and post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
51
  }
 
52
  $sql .= ';';
53
 
54
  $autodraft = $this->wpdb->get_var($sql);
55
 
56
+ if (0 != $autodraft && null != $autodraft) {
57
  $message = sprintf(_n('%d auto draft post in your database', '%d auto draft posts in your database', $autodraft, 'wp-optimize'), number_format_i18n($autodraft));
58
  } else {
59
  $message =__('No auto draft posts found', 'wp-optimize');
60
  }
61
 
62
  $this->register_output($message);
63
+
64
+ $sql2 = "SELECT COUNT(*) FROM `".$this->wpdb->posts."` WHERE post_status = 'trash'";
65
+ if ($this->retention_enabled == 'true') {
66
+ $sql2 .= ' and post_modified < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
67
+ }
68
+ $sql2 .= ';';
69
+
70
+ $trash = $this->wpdb->get_var($sql2);
71
+
72
+ if (0 != $trash && null != $trash) {
73
+ $message2 = sprintf(_n('%d trashed post in your database', '%d trashed posts in your database', $trash, 'wp-optimize'), number_format_i18n($trash));
74
+ } else {
75
+ $message2 =__('No trashed posts found', 'wp-optimize');
76
+ }
77
+
78
+ $this->register_output($message2);
79
  }
80
 
81
  public function settings_label() {
optimizations/optimizetables.php CHANGED
@@ -13,6 +13,7 @@ class WP_Optimization_optimizetables extends WP_Optimization {
13
 
14
  public $setting_default = true;
15
 
 
16
  public $ui_sort_order = 500;
17
  public $run_sort_order = 100000;
18
 
@@ -75,7 +76,7 @@ class WP_Optimization_optimizetables extends WP_Optimization {
75
 
76
  $wp_optimize->log('Total Gain .... '.strval($total_gain));
77
 
78
- $this->register_output(sprintf(_x('%s Database Optimized!', '%s is the Database Name', 'wp-optimize'), "'".htmlspecialchars(DB_NAME)."'"));
79
 
80
  }
81
 
13
 
14
  public $setting_default = true;
15
 
16
+ public $changes_table_data = true;
17
  public $ui_sort_order = 500;
18
  public $run_sort_order = 100000;
19
 
76
 
77
  $wp_optimize->log('Total Gain .... '.strval($total_gain));
78
 
79
+ $this->register_output(sprintf(_x('%s database optimized!', '%s is the database name', 'wp-optimize'), "'".htmlspecialchars(DB_NAME)."'"));
80
 
81
  }
82
 
optimizations/spam.php CHANGED
@@ -43,7 +43,6 @@ class WP_Optimization_spam extends WP_Optimization {
43
  public function get_info() {
44
 
45
  $sql = "SELECT COUNT(*) FROM `".$this->wpdb->comments."` WHERE comment_approved = 'spam'";
46
-
47
  if ($this->retention_enabled == 'true') {
48
  $sql .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
49
  }
@@ -51,18 +50,35 @@ class WP_Optimization_spam extends WP_Optimization {
51
 
52
  $comments = $this->wpdb->get_var($sql);
53
 
54
- if(!$comments == NULL || !$comments == 0){
55
- $message = sprintf(_n('%d spam comment found', '%d spam comments found', $comments, 'wp-optimize'), number_format_i18n($comments)).' | <a href="edit-comments.php?comment_status=spam">'.' '.__('Review', 'wp-optimize').'</a>';
56
  } else {
57
  $message = __('No spam comments found', 'wp-optimize');
58
  }
59
 
60
  $this->register_output($message);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  }
62
 
63
  public function settings_label() {
64
 
65
- if ($this->retention_enabled == 'true' ) {
66
  return sprintf(__('Remove spam comments which are older than %d weeks', 'wp-optimize'), $this->retention_period);
67
  } else {
68
  return __('Remove spam comments and comments in trash', 'wp-optimize');
43
  public function get_info() {
44
 
45
  $sql = "SELECT COUNT(*) FROM `".$this->wpdb->comments."` WHERE comment_approved = 'spam'";
 
46
  if ($this->retention_enabled == 'true') {
47
  $sql .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
48
  }
50
 
51
  $comments = $this->wpdb->get_var($sql);
52
 
53
+ if (null != $comments && 0 != $comments) {
54
+ $message = sprintf(_n('%d spam comment found', '%d spam comments found', $comments, 'wp-optimize'), number_format_i18n($comments)).' | <a id="wp-optimize-edit-comments-spam" href="'.admin_url('edit-comments.php?comment_status=spam').'">'.' '.__('Review', 'wp-optimize').'</a>';
55
  } else {
56
  $message = __('No spam comments found', 'wp-optimize');
57
  }
58
 
59
  $this->register_output($message);
60
+
61
+ $sql2 = "SELECT COUNT(*) FROM `".$this->wpdb->comments."` WHERE comment_approved = 'trash'";
62
+ if ($this->retention_enabled == 'true') {
63
+ $sql2 .= ' and comment_date < NOW() - INTERVAL ' . $this->retention_period . ' WEEK';
64
+ }
65
+ $sql2 .= ';';
66
+
67
+ $comments = $this->wpdb->get_var($sql2);
68
+
69
+ if (null != $comments && 0 != $comments) {
70
+ $message2 = sprintf(_n('%d trashed comment found', '%d trashed comments found', $comments, 'wp-optimize'), number_format_i18n($comments)).' | <a id="wp-optimize-edit-comments-trash" href="'.admin_url('edit-comments.php?comment_status=trash').'">'.' '.__('Review', 'wp-optimize').'</a>';
71
+ } else {
72
+ $message2 = __('No trashed comments found', 'wp-optimize');
73
+ }
74
+
75
+ $this->register_output($message2);
76
+
77
  }
78
 
79
  public function settings_label() {
80
 
81
+ if ($this->retention_enabled == 'true') {
82
  return sprintf(__('Remove spam comments which are older than %d weeks', 'wp-optimize'), $this->retention_period);
83
  } else {
84
  return __('Remove spam comments and comments in trash', 'wp-optimize');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://david.dw-perspective.org.uk/donate
4
  Tags: comments, spam, optimize, database, revisions, users, posts, trash, schedule, automatic, clean, phpmyadmin, meta, postmeta, responsive, mobile
5
  Requires at least: 3.8
6
  Tested up to: 4.7
7
- Stable tag: 2.0.1
8
  License: GPLv2+
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -126,6 +126,21 @@ Please check your database for corrupted tables. That can happen, usually your w
126
 
127
  == Changelog ==
128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  = 2.0.1 - 12/Dec/2016 =
130
 
131
  * OWNERSHIP: WP-Optimize is now under the leadership of Team UpdraftPlus - https://updraftplus.com. A big thank you to Ruhani (who remains on-board) for his leadership of WP-Optimize until this point! Layout, branding and links have been altered to reflect this change.
@@ -316,4 +331,4 @@ Please check your database for corrupted tables. That can happen, usually your w
316
  * Fix Interface
317
 
318
  == Upgrade Notice ==
319
- * 2.0.1: Re-factor of the plugin's internals, laying a foundation for planned future advances.
4
  Tags: comments, spam, optimize, database, revisions, users, posts, trash, schedule, automatic, clean, phpmyadmin, meta, postmeta, responsive, mobile
5
  Requires at least: 3.8
6
  Tested up to: 4.7
7
+ Stable tag: 2.1.0
8
  License: GPLv2+
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
126
 
127
  == Changelog ==
128
 
129
+ = 2.1.0 - 28/Dec/2016 =
130
+
131
+ * FOCUS: This release concentrates upon the user-interface, and in particular upon improving the clarity of each part, and making optimizations, saves and other actions possible without page reloads.
132
+ * FEATURE: Any optimisation can now be run individually with a single button press
133
+ * TWEAK: All optimisations run via the dashboard page are now run via AJAX (no page refresh)
134
+ * TWEAK: Settings saving now takes place via AJAX (no page refresh)
135
+ * TWEAK: Navigation between different tabs now takes place without a page refresh
136
+ * TWEAK: The "trackback/comments" actions section now operates via AJAX (no page refresh needed)
137
+ * TWEAK: "Refresh" button in the "Status" widget now refreshes via AJAX (no page refresh needed)
138
+ * TWEAK: When saving settings or running an optimization, the "Status" widget now automatically refreshes
139
+ * TWEAK: Make the admin bar menu into a drop-down, making it quicker to access individual tabs
140
+ * TWEAK: Call set_time_limit to reduce the chances of PHP self-terminating via reaching max_execution_time
141
+ * TWEAK: Introduce dashboard notice infrastructure
142
+ * TWEAK: The lines showing information on how many spam/trashed posts and comments existed were incomplete
143
+
144
  = 2.0.1 - 12/Dec/2016 =
145
 
146
  * OWNERSHIP: WP-Optimize is now under the leadership of Team UpdraftPlus - https://updraftplus.com. A big thank you to Ruhani (who remains on-board) for his leadership of WP-Optimize until this point! Layout, branding and links have been altered to reflect this change.
331
  * Fix Interface
332
 
333
  == Upgrade Notice ==
334
+ * 2.1.0: Makeover of the plugin's user-interface, providing greater ease of use, and eliminating the need for page reloads
templates/admin-page-header.php CHANGED
@@ -5,8 +5,8 @@
5
 
6
  echo '<h1>WP-Optimize '.WPO_VERSION.'</h1>';
7
 
8
- echo '<em>'.__('Running on:', 'wp-optimize').' PHP '.PHP_VERSION.', '.__('MySQL', 'wp-optimize').' '.$sqlversion.' - '.htmlspecialchars(PHP_OS).'</em><br>';
9
-
10
  function wp_optimize_header_link($url, $text) {
11
 
12
  if (false !== strpos($url, '//updraftplus.com')) $url = apply_filters('wpoptimize_updraftplus_com_link', $url);
@@ -39,14 +39,15 @@
39
 
40
  </p>
41
 
42
- <h2 class="nav-tab-wrapper">
43
-
44
- <a href="<?php echo esc_attr($options->admin_page_url()); ?>&amp;tab=wp_optimize_optimize" class="nav-tab <?php if ($active_tab == 'wp_optimize_optimize') echo 'nav-tab-active'; ?>">WP-Optimize</span></a>
45
 
46
- <a href="<?php echo esc_attr($options->admin_page_url()); ?>&amp;tab=wp_optimize_tables" class="nav-tab <?php if ($active_tab == 'wp_optimize_tables') echo 'nav-tab-active'; ?>"><?php _e('Table information', 'wp-optimize') ?></a>
47
 
48
- <a href="<?php echo esc_attr($options->admin_page_url()); ?>&amp;tab=wp_optimize_settings" class="nav-tab <?php if ($active_tab == 'wp_optimize_settings') echo 'nav-tab-active'; ?>"><?php _e('Settings', 'wp-optimize') ?></a>
49
-
50
- <a href="<?php echo esc_attr($options->admin_page_url()); ?>&amp;tab=wp_optimize_may_also" class="nav-tab <?php if ($active_tab == 'wp_optimize_may_also') echo 'nav-tab-active'; ?>"><?php _e('Plugin family', 'wp-optimize') ?></a>
51
 
52
  </h2>
 
 
 
5
 
6
  echo '<h1>WP-Optimize '.WPO_VERSION.'</h1>';
7
 
8
+ $wp_optimize_notices->do_notice();
9
+
10
  function wp_optimize_header_link($url, $text) {
11
 
12
  if (false !== strpos($url, '//updraftplus.com')) $url = apply_filters('wpoptimize_updraftplus_com_link', $url);
39
 
40
  </p>
41
 
42
+ <h2 id="wp-optimize-nav-tab-wrapper" class="nav-tab-wrapper">
 
 
43
 
44
+ <?php foreach ($tabs as $tab_id => $tab_title) { ?>
45
 
46
+ <a id="wp-optimize-nav-tab-<?php echo $tab_id;?>" href="<?php esc_attr_e($options->admin_page_url()); ?>&amp;tab=wp_optimize_<?php echo $tab_id; ?>" class="nav-tab <?php if ($active_tab == $tab_id) echo 'nav-tab-active'; ?>"><?php echo $tab_title;?></span></a>
47
+
48
+ <?php } ?>
49
 
50
  </h2>
51
+ <script type="text/javascript">
52
+ var wp_optimize_ajax_nonce='<?php echo wp_create_nonce('wp-optimize-ajax-nonce');?>';
53
+ </script>
templates/admin-settings.php CHANGED
@@ -4,11 +4,11 @@
4
 
5
  <form action="#" method="post" enctype="multipart/form-data" name="settings_form" id="settings_form">
6
 
7
- <input type="hidden" name="action" value="save_redirect" />
8
 
9
- <?php wp_nonce_field( 'wpo_settings' ); ?>
10
 
11
- <div class="wpo_col wpo_span_1_of_3">
12
  <div class="postbox">
13
  <div class="inside">
14
  <h3><?php _e('General settings', 'wp-optimize'); ?></h3>
@@ -33,42 +33,9 @@
33
  <br>
34
  <small><?php _e('This option will put an WP-Optimize link on the top admin bar (default is off). Requires a second page refresh after saving the settings.', 'wp-optimize');?></small>
35
  </p>
36
- <h3><?php _e('Trackback/comments actions', 'wp-optimize'); ?></h3>
37
- <p>
38
- <?php _e('Disable/enable trackbacks', 'wp-optimize'); ?>
39
- <br>
40
- <select id="wp-optimize-disable-enable-trackbacks" name="wp-optimize-disable-enable-trackbacks">
41
- <option value="-1"><?php _e('SELECT', 'wp-optimize'); ?></option>
42
- <option value="0"><?php _e('Disable', 'wp-optimize'); ?></option>
43
- <option value="1"><?php _e('Enable', 'wp-optimize'); ?></option>
44
- </select>
45
- <br><br>
46
- <small><?php _e('This will disable/enable Trackbacks on all your current and previously published posts', 'wp-optimize');?></small>
47
- </p>
48
- <p>
49
- <?php _e('Disable/enable comments', 'wp-optimize'); ?>
50
- <br>
51
- <select id="wp-optimize-disable-enable-comments" name="wp-optimize-disable-enable-comments">
52
- <option value="-1"><?php _e('SELECT', 'wp-optimize'); ?></option>
53
- <option value="0"><?php _e('Disable', 'wp-optimize'); ?></option>
54
- <option value="1"><?php _e('Enable', 'wp-optimize'); ?></option>
55
- </select>
56
- <br><br>
57
- <small><?php _e('This will disable/enable Comments on all your current and previously published posts', 'wp-optimize');?></small>
58
- </p>
59
-
60
- <p>
61
- <input class="button-primary" type="submit" name="wp-optimize-settings1" value="<?php esc_attr_e('Save settings', 'wp-optimize'); ?>" />
62
- </p>
63
- </div>
64
- </div>
65
- </div>
66
-
67
- <?php $wpo_auto_options = $options->get_option('auto'); ?>
68
-
69
- <div class="wpo_col wpo_span_1_of_3">
70
- <div class="postbox">
71
- <div class="inside">
72
  <h3><?php _e('Auto clean-up settings', 'wp-optimize'); ?></h3>
73
 
74
  <p>
@@ -104,18 +71,13 @@
104
  ?>
105
 
106
  </select>
107
- <br><br>
108
- <small><?php _e('Automatic cleanup will perform the following:', 'wp-optimize');
109
- echo '<br>';
110
- _e('Remove revisions, auto drafts, posts/comments in trash, transient options. After that it will optimize the db.', 'wp-optimize');?></small>
111
 
112
  </p>
113
 
114
  <?php
115
- // TODO: No ordering is currently applied. The previous ordering:
116
- // revisions, drafts(=autodraft), spams(=spam), unapproved, (red)transient, [commented out: postmeta, tags], optimizedb
117
-
118
- // TODO: postmeta ("Remove orphaned post meta") and tags ("Remove unused tags") were present in the HTML previously, but commented out. Should ask Ruhani about that.
119
  $optimizations = $optimizer->sort_optimizations($optimizer->get_optimizations());
120
 
121
  foreach ($optimizations as $id => $optimization) {
@@ -152,12 +114,56 @@
152
 
153
  </div>
154
 
155
- <input class="button-primary" type="submit" name="wp-optimize-settings" value="<?php esc_attr_e('Save auto clean-up settings', 'wp-optimize'); ?>" />
 
 
 
 
 
 
 
 
156
 
157
  </div>
158
-
159
  </div>
160
  </div>
161
 
162
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  </div>
 
4
 
5
  <form action="#" method="post" enctype="multipart/form-data" name="settings_form" id="settings_form">
6
 
7
+ <input type="hidden" name="action" value="save_redirect">
8
 
9
+ <?php wp_nonce_field( 'wpo_optimization' ); ?>
10
 
11
+ <div class="wpo_col wpo_span_2_of_3">
12
  <div class="postbox">
13
  <div class="inside">
14
  <h3><?php _e('General settings', 'wp-optimize'); ?></h3>
33
  <br>
34
  <small><?php _e('This option will put an WP-Optimize link on the top admin bar (default is off). Requires a second page refresh after saving the settings.', 'wp-optimize');?></small>
35
  </p>
36
+
37
+ <hr>
38
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  <h3><?php _e('Auto clean-up settings', 'wp-optimize'); ?></h3>
40
 
41
  <p>
71
  ?>
72
 
73
  </select>
 
 
 
 
74
 
75
  </p>
76
 
77
  <?php
78
+ $wpo_auto_options = $options->get_option('auto');
79
+
80
+ // TODO: postmeta ("Remove orphaned post meta") and tags ("Remove unused tags") were present in the HTML previously, but commented out. Should ask Ruhani about that.
 
81
  $optimizations = $optimizer->sort_optimizations($optimizer->get_optimizations());
82
 
83
  foreach ($optimizations as $id => $optimization) {
114
 
115
  </div>
116
 
117
+ <hr>
118
+
119
+ <div id="wp-optimize-settings-save-results"></div>
120
+
121
+ <input id="wp-optimize-settings-save" class="button button-primary" type="submit" name="wp-optimize-settings" value="<?php esc_attr_e('Save settings', 'wp-optimize'); ?>" />
122
+
123
+ <img id="save_spinner" class="wpo_spinner" src="<?php echo esc_attr(admin_url('images/spinner.gif'));?>" alt="...">
124
+
125
+ <span id="save_done" class="dashicons dashicons-yes display-none"></span>
126
 
127
  </div>
 
128
  </div>
129
  </div>
130
 
131
  </form>
132
+ <div class="wpo_col wpo_span_1_of_3">
133
+ <div class="postbox">
134
+ <div class="inside">
135
+ <h3><?php _e('Trackback/comments actions', 'wp-optimize'); ?></h3>
136
+
137
+ <div id="actions-results-area"></div>
138
+
139
+ <p>
140
+ <h4><?php _e('Trackbacks', 'wp-optimize'); ?></h4>
141
+
142
+ <p>
143
+ <small><?php _e('Use these buttons to enable or disable any future trackbacks on all your previously published posts.', 'wp-optimize');?></small>
144
+ </p>
145
+
146
+ <button class="button-primary" type="button" id="wp-optimize-disable-enable-trackbacks-enable" name="wp-optimize-disable-enable-trackbacks-enable"><?php _e('Enable', 'wp-optimize'); ?></button>
147
+
148
+ <button class="button-primary" type="button" id="wp-optimize-disable-enable-trackbacks-disable" name="wp-optimize-disable-enable-trackbacks-disable"><?php _e('Disable', 'wp-optimize'); ?></button>
149
+
150
+ <img id="trackbacks_spinner" class="wpo_spinner" src="<?php esc_attr_e(admin_url('images/spinner.gif'));?>" alt="...">
151
+
152
+ </p>
153
+ <p>
154
+ <h4><?php _e('Comments', 'wp-optimize'); ?></h4>
155
+
156
+ <p><small><?php _e('Use these buttons to enable or disable any future comments on all your previously published posts.', 'wp-optimize');?></small></p>
157
+
158
+ <button class="button-primary" type="button" id="wp-optimize-disable-enable-comments-enable" name="wp-optimize-disable-enable-comments-enable"><?php _e('Enable', 'wp-optimize'); ?></button>
159
+
160
+ <button class="button-primary" type="button" id="wp-optimize-disable-enable-comments-disable" name="wp-optimize-disable-enable-comments-disable"><?php _e('Disable', 'wp-optimize'); ?></button>
161
+
162
+ <img id="comments_spinner" class="wpo_spinner" src="<?php esc_attr_e(admin_url('images/spinner.gif'));?>" alt="...">
163
+
164
+ </p>
165
+ </div>
166
+ </div>
167
+ </div>
168
  </div>
169
+
templates/may-also-like.php CHANGED
@@ -4,11 +4,11 @@
4
  <div class="postbox">
5
  <div class="inside">
6
  <img class="addons" alt="WP_Optimize" src="<?php echo WPO_PLUGIN_URL.'images/logo/wpo_logo_small.png'; ?>">
7
- <h2>WP-Optimize is now part of the UpdraftPlus family!</h2>
8
 
9
- <p>We're pleased to announce with this new version (2.0) that WP-Optimize is now developed, supported and owned by <a href="https://updraftplus.com">UpdraftPlus</a>, the world's most installed WordPress backup/restore plugin.</p>
10
 
11
- <p>This release has no major changes or features on the outside (apart from a few bug fixes). What it is, is a complete re-factorization of the plugin on the inside. The code structure is now totally different to make future development quicker, and to enable a future remote-control facility for users with multiple sites (through <a href="https://updraftcentral.com">UpdraftCentral)</a>.</p>
12
 
13
  <p>We are quite excited to have reached this stage which lays a solid foundation for lots of future improvements. Watch this space and sign up to the <a href="https://updraftplus.com/newsletter-signup">UpdraftPlus newsletter</a> for updates!</p>
14
 
@@ -20,12 +20,12 @@
20
  <div class="postbox">
21
  <div class="inside">
22
  <a href="https://updraftplus.com"><img class="addons" name="UpdraftPlus" src="<?php echo WPO_PLUGIN_URL.'images/logo/udp_logo_small.png'; ?>"></a>
23
- <h2>Why do you need a backup plugin?</h2>
24
  <p>Websites crash, get hacked; hosting companies make mistakes or go bust; plugin and theme authors release code with unwanted errors in; site editors make mistakes too. With a backup, you can be back up and running again in minutes. Without - everything is gone.</p>
25
 
26
  <p>Do backups have anything to do with optimising? Yes. When WP-Optimize cleans up part of the database such as unpublished comments, or old post drafts, then the contents get permanently deleted. If there's even a remote chance you'll regret this later, then you ought to take a backup!</p>
27
 
28
- <h2>Why choose UpdraftPlus to backup my site?</h2>
29
 
30
  <p>Not all backup plugins are created equal. The following are essential features:</p>
31
  <ol>
4
  <div class="postbox">
5
  <div class="inside">
6
  <img class="addons" alt="WP_Optimize" src="<?php echo WPO_PLUGIN_URL.'images/logo/wpo_logo_small.png'; ?>">
7
+ <h3>WP-Optimize is now part of the UpdraftPlus family!</h3>
8
 
9
+ <p>Since version 2.0, WP-Optimize has been owned, developed, supported by <a href="https://updraftplus.com">UpdraftPlus</a>, the world's most installed WordPress backup/restore plugin.</p>
10
 
11
+ <p>Releases 2.0 and 2.1 since then have brought no major changes or features on the outside (apart from a few bug fixes). What they have brought, is a complete re-factorization of the plugin on the inside. The code structure has now been completely renovated to make future development quicker, and to enable a future remote-control facility for users with multiple sites (through <a href="https://updraftcentral.com">UpdraftCentral)</a>. With version 2.1, all dashboard operations now take place without the need for page refreshes, and the user interface has been modified in several ways for better ease of understanding and use.</p>
12
 
13
  <p>We are quite excited to have reached this stage which lays a solid foundation for lots of future improvements. Watch this space and sign up to the <a href="https://updraftplus.com/newsletter-signup">UpdraftPlus newsletter</a> for updates!</p>
14
 
20
  <div class="postbox">
21
  <div class="inside">
22
  <a href="https://updraftplus.com"><img class="addons" name="UpdraftPlus" src="<?php echo WPO_PLUGIN_URL.'images/logo/udp_logo_small.png'; ?>"></a>
23
+ <h3>Why do you need a backup plugin?</h3>
24
  <p>Websites crash, get hacked; hosting companies make mistakes or go bust; plugin and theme authors release code with unwanted errors in; site editors make mistakes too. With a backup, you can be back up and running again in minutes. Without - everything is gone.</p>
25
 
26
  <p>Do backups have anything to do with optimising? Yes. When WP-Optimize cleans up part of the database such as unpublished comments, or old post drafts, then the contents get permanently deleted. If there's even a remote chance you'll regret this later, then you ought to take a backup!</p>
27
 
28
+ <h3>Why choose UpdraftPlus to backup my site?</h3>
29
 
30
  <p>Not all backup plugins are created equal. The following are essential features:</p>
31
  <ol>
templates/notices/horizontal-notice.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (!defined('WPO_PLUGIN_MAIN_PATH')) die('No direct access allowed'); ?>
2
+
3
+ <div class="updraft-ad-container updated">
4
+ <div class="updraft_notice_container">
5
+ <div class="updraft_advert_content_left">
6
+ <img src="<?php echo WPO_PLUGIN_URL.'/images/'.$image;?>" width="60" height="60" alt="<?php _e('notice image','wp-optimize');?>" />
7
+ </div>
8
+ <div class="updraft_advert_content_right">
9
+ <h3 class="updraft_advert_heading">
10
+ <?php
11
+ if (!empty($prefix)) echo $prefix.' ';
12
+ echo $title;
13
+ ?>
14
+ <div class="updraft-advert-dismiss">
15
+ <?php if (!empty($dismiss_time)) { ?>
16
+ <a href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'wp_optimize_ajax', subaction: '<?php echo $dismiss_time;?>', nonce: '<?php echo wp_create_nonce('wp-optimize-ajax-nonce');?>' });"><?php _e('Dismiss', 'wp-optimize'); ?></a>
17
+ <?php } else { ?>
18
+ <a href="#" onclick="jQuery('.updraft-ad-container').slideUp();"><?php _e('Dismiss', 'wp-optimize'); ?></a>
19
+ <?php } ?>
20
+ </div>
21
+ </h3>
22
+ <p>
23
+ <?php
24
+ echo $text;
25
+
26
+ if (isset($discount_code)) echo ' <b>' . $discount_code . '</b>';
27
+
28
+ // if (isset($text2)) {
29
+ // echo '</p><p>' . $text2 . '</p><p>';
30
+ // }
31
+
32
+ if (!empty($button_link) && !empty($button_meta)) {
33
+ ?>
34
+ <a class="updraft_notice_link" href="<?php esc_attr_e($button_link);?>"><?php
35
+ if ($button_meta == 'updraftcentral') {
36
+ _e('Get UpdraftCentral', 'wp-optimize');
37
+ } elseif ($button_meta == 'review') {
38
+ _e('Review WP-Optimize', 'wp-optimize');
39
+ } elseif ($button_meta == 'updraftplus') {
40
+ _e('Get UpdraftPlus', 'wp-optimize');
41
+ } elseif ($button_meta == 'signup') {
42
+ _e('Sign up', 'wp-optimize');
43
+ } elseif ($button_meta == 'go_there') {
44
+ _e('Go there', 'wp-optimize');
45
+ }
46
+ ?></a>
47
+ <?php } ?>
48
+ </p>
49
+ </div>
50
+ </div>
51
+ <div class="clear"></div>
52
+ </div>
templates/notices/thanks-for-using-main-dash.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (!defined('WPO_PLUGIN_MAIN_PATH')) die('No direct access allowed'); ?>
2
+
3
+ <div id="wp-optimize-dashnotice" class="updated">
4
+
5
+ <div style="float:right;"><a href="#" onclick="jQuery('#wp-optimize-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'wp_optimize_ajax', subaction: 'dismiss_dash_notice_until', nonce: '<?php echo wp_create_nonce('wp-optimize-ajax-nonce');?>' });"><?php printf(__('Dismiss (for %s months)', 'wp-optimize'), 12); ?></a></div>
6
+
7
+ <h3><?php _e("Thank you for using WP-Optimize, the world's most trusted WP optimization plugin!", 'wp-optimize');?></h3>
8
+
9
+ <a href="https://updraftplus.com/"><img style="border: 0px; float: right; height: 150px; width: 150px;" alt="WP-Optimize" src="<?php echo WPO_PLUGIN_URL.'/images/notices/wp_optimize_logo.png' ?>"></a>
10
+
11
+ <?php
12
+
13
+ echo '<p><strong>'.__('Keep in touch!', 'wp-optimize').'</strong> <br><a href="https://updraftplus.com/news/">'.__('Blog', 'wp-optimize').'</a> | <a href="https://updraftplus.com/newsletter-signup">'.__('Newsletter', 'wp-optimize').'</a> | <a href="https://twitter.com/updraftplus">'.__('Twitter', 'wp-optimize').'</a></p>';
14
+
15
+ /*
16
+ Here we see if they have any backup plugins installed and display one of the following lines
17
+ */
18
+
19
+ $backup_plugin_installed = $wp_optimize_notices->is_backup_plugin_installed();
20
+
21
+ if (!$backup_plugin_installed || 'UpdraftPlus' != $backup_plugin_installed) {
22
+ echo '<p><strong>'.__('UpdraftPlus - the #1 most-trusted WordPress backup/restore plugin', 'wp-optimize').'</strong><br>'.__("The team behind WP-Optimize also create WordPress's most trusted backup/restore plugin", 'wp-optimize').': <a href="https://updraftplus.com">'.__('UpdraftPlus', 'wp-optimize').'</a>. ';
23
+
24
+
25
+ if (!$backup_plugin_installed) {
26
+ echo __('Hackers, user error and dodgy updates can all ruin your site.', 'wp-optimize').' '.sprintf(__('We recommend that you install %s, which can automatically backup to remote cloud storage like Dropbox so your backup is independent and safe.', 'wp-optimize'), '<a href="https://updraftplus.com">UpdraftPlus</a>').' '.__('You can also restore a site with a couple of clicks.', 'wp-optimize').'</p>';
27
+ } else {
28
+ echo sprintf(__('Many users of %s have switched to UpdraftPlus WordPress Backup.', 'wp-optimize'), $backup_plugin_installed).' '.__('If you want to see the benefits of doing so too, then take a look at this:').' <a href="https://updraftplus.com/wordpress-backup-plugin-comparison/">'.__('backup plugin comparison table', 'wp-optimize').'.</a>';
29
+ }
30
+
31
+ echo '</p>';
32
+
33
+ }
34
+
35
+ echo '<p><strong>'.__('Do you manage multiple WordPress sites?', 'wp-optimize').'</strong> <br>'.sprintf(__('If so, take a look at %s, our remote site management solution','wp-optimize'), '<a href="https://updraftcentral.com">UpdraftCentral</a>').' '.__('Login securely, backup and update all your sites from one place.','wp-optimize').' '.__('Available as a self-install plugin, or hosted for you from updraftplus.com', 'wp-optimize').'</p>';
36
+
37
+ echo '<p><strong>'.__('More quality plugins', 'wp-optimize').'</strong> <br><a href="https://www.simbahosting.co.uk/s3/shop/">'.__('Premium WooCommerce plugins', 'updraftplus').'</a> | <a href="https://wordpress.org/plugins/two-factor-authentication/">'.__('Free two-factor security plugin', 'updraftplus').'</a></p>';
38
+
39
+ ?>
40
+
41
+ <div style="float:right;"><a href="#" onclick="jQuery('#wp-optimize-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'wp_optimize_ajax', subaction: 'dismiss_dash_notice_until', nonce: '<?php echo wp_create_nonce('wp-optimize-ajax-nonce');?>' });"><?php printf(__('Dismiss (for %s months)', 'wp-optimize'), 12); ?></a></div>
42
+
43
+ <p>&nbsp;</p>
44
+
45
+
46
+ </div>
templates/optimizations-table.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
2
+
3
+ <table id="optimizations_list" class="widefat">
4
+ <thead>
5
+ <tr>
6
+ <th></th>
7
+ <th><?php _e('Optimization', 'wp-optimize'); ?></th>
8
+ <th><?php _e('Notes', 'wp-optimize'); ?></th>
9
+ <th></th>
10
+ <!-- <th></th>-->
11
+ </tr>
12
+ </thead>
13
+ <tbody>
14
+ <?php
15
+ $optimizations = $optimizer->sort_optimizations($optimizer->get_optimizations());
16
+
17
+ foreach ($optimizations as $id => $optimization) {
18
+
19
+ // This is an array, with attributes dom_id, activated, settings_label, info; all values are strings
20
+ $html = $optimization->get_settings_html();
21
+
22
+ ?><tr class="wp-optimize-settings wp-optimize-settings-<?php echo $html['dom_id'];?>" data-optimization_id="<?php echo esc_attr($id);?>" data-optimization_run_sort_order="<?php echo $optimization->get_run_sort_order();?>"><?php
23
+
24
+ if (!empty($html['settings_label'])) {
25
+ ?>
26
+
27
+ <td class="wp-optimize-settings-optimization-checkbox">
28
+ <input name="<?php echo $html['dom_id'];?>" id="optimization_checkbox_<?php echo $id;?>" class="optimization_checkbox" type="checkbox" value="true" <?php if ($html['activated']) echo 'checked="checked"';?>>
29
+
30
+ <img id="optimization_spinner_<?php echo $id;?>" class="optimization_spinner display-none" src="<?php echo esc_attr(admin_url('images/spinner.gif'));?>" alt="...">
31
+ </td>
32
+
33
+ <td>
34
+ <label for="optimization_checkbox_<?php echo $id;?>"><?php echo $html['settings_label']; ?></label>
35
+
36
+ </td>
37
+
38
+ <td id="optimization_info_<?php echo $id;?>" class="wp-optimize-settings-optimization-info"><?php
39
+ $info = $html['info'];
40
+ $first_one = true;
41
+ foreach ($info as $key => $line) {
42
+ if ($first_one) { $first_one = false; } else { echo '<br>'; }
43
+ echo $line;
44
+ }
45
+ ?></td>
46
+
47
+ <td class="wp-optimize-settings-optimization-run">
48
+ <button id="optimization_button_<?php echo $id;?>_big" class="button button-secondary wp-optimize-settings-optimization-run-button show_on_default_sizes optimization_button_<?php echo $id;?>" type="button"><?php _e('Run optimization', 'wp-optimize');?></button>
49
+
50
+ <button id="optimization_button_<?php echo $id;?>_small" class="button button-secondary wp-optimize-settings-optimization-run-button show_on_mobile_sizes optimization_button_<?php echo $id;?>" type="button"><?php _e('Go', 'wp-optimize');?></button>
51
+
52
+ </td>
53
+
54
+ <?php } ?>
55
+ </tr>
56
+ <?php } ?>
57
+ </tbody>
58
+ </table>
templates/optimize-table.php CHANGED
@@ -1,45 +1,15 @@
1
- <?php
2
-
3
- if (!defined('WPO_VERSION')) die ('No direct access allowed');
4
-
5
- $retention_enabled = $options->get_option('retention-enabled', 'false');
6
- $retention_period = $options->get_option('retention-period', '2');
7
- $admin_page_url = $options->admin_page_url();
8
-
9
- ?>
10
-
11
  <div class="wpo_section wpo_group">
12
  <form onSubmit="return confirm('<?php echo esc_js('WARNING: This operation is permanent. Continue?', 'wp-optimize'); ?>')" action="#" method="post" enctype="multipart/form-data" name="optimize_form" id="optimize_form">
13
 
14
  <?php wp_nonce_field('wpo_optimization'); ?>
15
 
16
- <div class="wpo_col wpo_span_1_of_3">
17
  <div class="postbox">
18
  <div class="inside">
19
 
20
- <h3><?php _e('Optimization options', 'wp-optimize'); ?></h3>
21
-
22
- <?php
23
- $optimizations = $optimizer->sort_optimizations($optimizer->get_optimizations());
24
-
25
- foreach ($optimizations as $id => $optimization) {
26
- $optimization->output_settings_html();
27
- }
28
- ?>
29
 
30
- <p>
31
- <?php echo '<span style="color: red;">'.__('Warning:', 'wp-optimize').'</span> '.__('Items marked in red, whilst still safe, perform more database delete operations.', 'wp-optimize').' '.__('You may wish to run a backup before performing them.', 'wp-optimize'); ?>
32
- </p>
33
-
34
- </div>
35
- </div>
36
- </div>
37
-
38
- <div class="wpo_col wpo_span_1_of_3">
39
- <div class="postbox">
40
- <div class="inside">
41
- <h3><?php _e('Actions', 'wp-optimize'); ?></h3>
42
-
43
  <p>
44
  <!-- <span style="text-align:center;"><a href="#" onClick="javascript:SetDefaults();">
45
  <?php _e('Select safe options', 'wp-optimize'); ?></a></span> -->
@@ -47,112 +17,27 @@
47
 
48
  </p>
49
  <p>
50
- <input class="wpo_primary_big button-primary" type="submit" id="wp-optimize" name="wp-optimize" value="<?php esc_attr_e('Run optimizations now', 'wp-optimize'); ?>" />
51
- </p>
52
-
53
- <h3><?php _e('Status', 'wp-optimize'); ?></h3>
54
-
55
- <?php
56
-
57
- $sqlversion = (string)$wpdb->get_var("SELECT VERSION() AS version");
58
-
59
- echo '<p>WP-Optimize '.WPO_VERSION.' - '.__('MySQL', 'wp-optimize').' '.$sqlversion.' - '.htmlspecialchars(PHP_OS).'</p>';
60
-
61
- echo '<p>';
62
-
63
- $lastopt = $options->get_option('last-optimized', 'Never');
64
- if ($lastopt !== 'Never') {
65
- echo __('Last automatic optimization was at', 'wp-optimize').': ';
66
- echo '<span style="font-color: green; font-weight:bold;">';
67
- echo htmlspecialchars($lastopt);
68
- echo '</span>';
69
- } else {
70
- echo __('There was no automatic optimization', 'wp-optimize');
71
- }
72
- ?>
73
- <br>
74
-
75
- <?php
76
- if ($options->get_option('schedule', 'false') == 'true') {
77
- echo '<strong><span style="font-color: green">';
78
- _e('Scheduled cleaning enabled', 'wp-optimize');
79
- echo ', </span></strong>';
80
- if (wp_next_scheduled('wpo_cron_event2')) {
81
- //$timestamp = wp_next_scheduled( 'wpo_cron_event2' );
82
- $wp_optimize->cron_activate();
83
-
84
- $timestamp = wp_next_scheduled( 'wpo_cron_event2' );
85
- $date = new DateTime("@$timestamp");
86
- _e('Next schedule:', 'wp-optimize');
87
- echo ' ';
88
- echo '<span style="font-color: green">';
89
- echo gmdate(get_option('date_format') . ' ' . get_option('time_format'), $timestamp );
90
- echo '</span>';
91
- echo ' - <a href="'.esc_attr($admin_page_url).'">'.__('Refresh', 'wp-optimize').'</a>';
92
- //echo $timestamp;
93
- }
94
- } else {
95
- echo '<strong>';
96
- _e('Scheduled cleaning disabled', 'wp-optimize');
97
- echo '</strong>';
98
- }
99
- echo '<br>';
100
-
101
- if ($retention_enabled == 'true') {
102
- echo '<strong><span style="font-color: blue;">';
103
- printf(__('Keeping last %s weeks data', 'wp-optimize'), $retention_period) ;
104
- echo '</span></strong>';
105
- } else {
106
- echo '<strong>'.__('Not keeping recent data', 'wp-optimize').'</strong>';
107
- }
108
- ?>
109
- </p>
110
-
111
- <p>
112
- <strong><?php _e('Current database size:', 'wp-optimize');?></strong>
113
-
114
- <?php
115
-
116
- list ($total_size, $total_gain) = $optimizer->get_current_db_size();
117
- echo ' <span class="current-database-size">'.$total_size.'</span> <br>';
118
-
119
- if ($optimize_db) {
120
- _e('You have saved:', 'wp-optimize');
121
- echo ' <span style="font-color: blue;">'.$total_gain.'</span>';
122
- } else {
123
- if ($total_gain > 0) {
124
- _e('You can save around:', 'wp-optimize');
125
- echo ' <span style="font-color: red;">'.$total_gain.'</span> ';
126
- }
127
- }
128
- ?>
129
-
130
  </p>
131
- <p>
132
- <?php
133
- $total_cleaned = $options->get_option('total-cleaned');
134
- $total_cleaned_num = floatval($total_cleaned);
135
-
136
- if ($total_cleaned_num > 0) {
137
- echo '<h5>'.__('Total clean up overall:','wp-optimize').' ';
138
- echo '<span style="font-color: green">';
139
- echo $wp_optimize->format_size($total_cleaned);
140
- echo '</span></h5>';
141
- }
142
- ?></p>
143
 
 
144
 
145
- <h3><?php _e('Support and feedback', 'wp-optimize');?></h3>
146
  <p>
147
- <?php echo __('If you like WP-Optimize,', 'wp-optimize').' <a href="https://wordpress.org/support/plugin/wp-optimize/reviews/?rate=5#new-post" target="_blank">'.__('please give us a positive review, here.', 'wp-optimize'); ?></a> <?php echo __('Or, if you did not like it,', 'wp-optimize').' <a target="_blank" href="https://wordpress.org/support/plugin/wp-optimize/">'.__('please tell us why at this link.', 'wp-optimize'); ?></a>
148
- <a href="https://wordpress.org/support/plugin/wp-optimize/"><?php _e('Support is available here.', 'wp-optimize'); ?></a>
149
  </p>
 
 
 
 
150
 
 
 
 
 
 
151
 
152
  </div>
153
  </div>
154
  </div>
155
- <div class="wpo_col wpo_span_1_of_3">
156
- </div>
157
  </form>
158
  </div>
1
+ <?php if (!defined('WPO_VERSION')) die ('No direct access allowed'); ?>
 
 
 
 
 
 
 
 
 
2
  <div class="wpo_section wpo_group">
3
  <form onSubmit="return confirm('<?php echo esc_js('WARNING: This operation is permanent. Continue?', 'wp-optimize'); ?>')" action="#" method="post" enctype="multipart/form-data" name="optimize_form" id="optimize_form">
4
 
5
  <?php wp_nonce_field('wpo_optimization'); ?>
6
 
7
+ <div class="wpo_col wpo_span_2_of_3">
8
  <div class="postbox">
9
  <div class="inside">
10
 
11
+ <h3><?php _e('Optimizations', 'wp-optimize'); ?></h3>
 
 
 
 
 
 
 
 
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  <p>
14
  <!-- <span style="text-align:center;"><a href="#" onClick="javascript:SetDefaults();">
15
  <?php _e('Select safe options', 'wp-optimize'); ?></a></span> -->
17
 
18
  </p>
19
  <p>
20
+ <input class="wpo_primary_big button-primary" type="submit" id="wp-optimize" name="wp-optimize" value="<?php esc_attr_e('Run all selected optimizations now', 'wp-optimize'); ?>" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
+ <?php include('optimizations-table.php'); ?>
24
 
 
25
  <p>
26
+ <?php echo '<span style="color: red;">'.__('Warning:', 'wp-optimize').'</span> '.__('Items marked in red, whilst still safe, perform more database delete operations.', 'wp-optimize').' '.__('You may wish to run a backup before performing them.', 'wp-optimize'); ?>
 
27
  </p>
28
+
29
+ </div>
30
+ </div>
31
+ </div>
32
 
33
+ <div id="wp_optimize_status_box" class="wpo_col wpo_span_1_of_3">
34
+ <div class="postbox">
35
+ <div class="inside">
36
+
37
+ <?php include('status-box-contents.php'); ?>
38
 
39
  </div>
40
  </div>
41
  </div>
 
 
42
  </form>
43
  </div>
templates/status-box-contents.php ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('WPO_VERSION')) die ('No direct access allowed');
4
+
5
+ $retention_enabled = $options->get_option('retention-enabled', 'false');
6
+ $retention_period = $options->get_option('retention-period', '2');
7
+ $admin_page_url = $options->admin_page_url();
8
+
9
+ ?>
10
+
11
+ <h3><?php _e('Status', 'wp-optimize'); ?></h3>
12
+
13
+ <?php
14
+
15
+ $sqlversion = (string)$wpdb->get_var("SELECT VERSION() AS version");
16
+
17
+ echo '<em>WP-Optimize '.WPO_VERSION.' - '.__('running on:', 'wp-optimize').' PHP '.htmlspecialchars(PHP_VERSION).', '.__('MySQL', 'wp-optimize').' '.htmlspecialchars($sqlversion).' - '.htmlspecialchars(PHP_OS).'</em><br>';
18
+
19
+ echo '<p>';
20
+
21
+ $lastopt = $options->get_option('last-optimized', 'Never');
22
+ if ($lastopt !== 'Never') {
23
+ echo __('Last automatic optimization was at', 'wp-optimize').': ';
24
+ echo '<span style="font-color: green; font-weight:bold;">';
25
+ echo htmlspecialchars($lastopt);
26
+ echo '</span>';
27
+ } else {
28
+ echo __('There was no automatic optimization', 'wp-optimize');
29
+ }
30
+ ?>
31
+ <br>
32
+
33
+ <?php
34
+ if ($options->get_option('schedule', 'false') == 'true') {
35
+ echo '<strong><span style="font-color: green">';
36
+ _e('Scheduled cleaning enabled', 'wp-optimize');
37
+ echo ', </span></strong>';
38
+ if (wp_next_scheduled('wpo_cron_event2')) {
39
+ //$timestamp = wp_next_scheduled( 'wpo_cron_event2' );
40
+ $wp_optimize->cron_activate();
41
+
42
+ $timestamp = wp_next_scheduled( 'wpo_cron_event2' );
43
+ $date = new DateTime("@$timestamp");
44
+ _e('Next schedule:', 'wp-optimize');
45
+ echo ' ';
46
+ echo '<span style="font-color: green">';
47
+ echo gmdate(get_option('date_format') . ' ' . get_option('time_format'), $timestamp );
48
+ echo '</span>';
49
+ echo ' - <a id="wp_optimize_status_box_refresh" href="'.esc_attr($admin_page_url).'">'.__('Refresh', 'wp-optimize').'</a>';
50
+ //echo $timestamp;
51
+ }
52
+ } else {
53
+ echo '<strong>';
54
+ _e('Scheduled cleaning disabled', 'wp-optimize');
55
+ echo '</strong>';
56
+ }
57
+ echo '<br>';
58
+
59
+ if ($retention_enabled == 'true') {
60
+ echo '<strong><span style="font-color: blue;">';
61
+ printf(__('Keeping last %s weeks data', 'wp-optimize'), $retention_period) ;
62
+ echo '</span></strong>';
63
+ } else {
64
+ echo '<strong>'.__('Not keeping recent data', 'wp-optimize').'</strong>';
65
+ }
66
+ ?>
67
+ </p>
68
+
69
+ <p>
70
+ <strong><?php _e('Current database size:', 'wp-optimize');?></strong>
71
+
72
+ <?php
73
+
74
+ list ($total_size, $total_gain) = $optimizer->get_current_db_size();
75
+ echo ' <span class="current-database-size">'.$total_size.'</span> <br>';
76
+
77
+ if ($optimize_db) {
78
+ _e('You have saved:', 'wp-optimize');
79
+ echo ' <span style="font-color: blue;">'.$total_gain.'</span>';
80
+ } else {
81
+ if ($total_gain > 0) {
82
+ _e('You can save around:', 'wp-optimize');
83
+ echo ' <span style="font-color: red;">'.$total_gain.'</span> ';
84
+ }
85
+ }
86
+ ?>
87
+
88
+ </p>
89
+ <p>
90
+ <?php
91
+ $total_cleaned = $options->get_option('total-cleaned');
92
+ $total_cleaned_num = floatval($total_cleaned);
93
+
94
+ if ($total_cleaned_num > 0) {
95
+ echo '<h5>'.__('Total clean up overall:','wp-optimize').' ';
96
+ echo '<span style="font-color: green">';
97
+ echo $wp_optimize->format_size($total_cleaned);
98
+ echo '</span></h5>';
99
+ }
100
+ ?></p>
101
+
102
+
103
+ <h3><?php _e('Support and feedback', 'wp-optimize');?></h3>
104
+ <p>
105
+ <?php echo __('If you like WP-Optimize,', 'wp-optimize').' <a href="https://wordpress.org/support/plugin/wp-optimize/reviews/?rate=5#new-post" target="_blank">'.__('please give us a positive review, here.', 'wp-optimize'); ?></a> <?php echo __('Or, if you did not like it,', 'wp-optimize').' <a target="_blank" href="https://wordpress.org/support/plugin/wp-optimize/">'.__('please tell us why at this link.', 'wp-optimize'); ?></a>
106
+ <a href="https://wordpress.org/support/plugin/wp-optimize/"><?php _e('Support is available here.', 'wp-optimize'); ?></a>
107
+ </p>
templates/tables-body.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
2
+
3
+ <tbody id="the-list">
4
+ <?php
5
+ $alternate = ' class="alternate"';
6
+
7
+ // Read SQL Version and act accordingly
8
+ // Check for InnoDB tables
9
+ // Check for windows servers
10
+ $sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
11
+ $total_gain = 0;
12
+ $no = 0;
13
+ $row_usage = 0;
14
+ $data_usage = 0;
15
+ $index_usage = 0;
16
+ $overhead_usage = 0;
17
+
18
+ $tablesstatus = $optimizer->get_tables();
19
+
20
+ foreach ($tablesstatus as $tablestatus) {
21
+
22
+ $style = (0 == $no % 2) ? '' : ' class="alternate"';
23
+
24
+ $no++;
25
+ echo "<tr$style>\n";
26
+ echo '<td>'.number_format_i18n($no).'</td>'."\n";
27
+ echo "<td>".htmlspecialchars($tablestatus->Name)."</td>\n";
28
+ echo '<td>'.number_format_i18n($tablestatus->Rows).'</td>'."\n";
29
+ echo '<td>'.$wp_optimize->format_size($tablestatus->Data_length).'</td>'."\n";
30
+ echo '<td>'.$wp_optimize->format_size($tablestatus->Index_length).'</td>'."\n";;
31
+ echo '<td>'.htmlspecialchars($tablestatus->Engine).'</td>'."\n";;
32
+ //echo '<td>'.$wp_optimize->format_size($tablestatus->Data_free).'</td>'."\n";
33
+
34
+ if ($tablestatus->Engine != 'InnoDB') {
35
+
36
+ echo '<td>';
37
+
38
+ $font_colour = $optimize_db ? (($tablestatus->Data_free>0) ? 'blue' : 'green') : (($tablestatus->Data_free>0) ? 'red' : 'green');
39
+
40
+ echo '<span style="color:'.$font_colour.';">';
41
+ echo $wp_optimize->format_size($tablestatus->Data_free);
42
+ echo '</span>';
43
+
44
+ echo '</td>'."\n";
45
+ } else {
46
+ echo '<td>';
47
+ echo '<span style="color:blue;">-</span>';
48
+ echo '</td>'."\n";
49
+ }
50
+
51
+ $row_usage += $tablestatus->Rows;
52
+ $data_usage += $tablestatus->Data_length;
53
+ $index_usage += $tablestatus->Index_length;
54
+
55
+ if ($tablestatus->Engine != 'InnoDB') {
56
+ $overhead_usage += $tablestatus->Data_free;
57
+ $total_gain += $tablestatus->Data_free;
58
+ }
59
+ echo '</tr>'."\n";
60
+ }
61
+
62
+ echo '<tr class="thead">'."\n";
63
+ echo '<th>'.__('Total:', 'wp-optimize').'</th>'."\n";
64
+ echo '<th>'.sprintf(_n('%d Table', '%d Tables', $no, 'wp-optimize'), number_format_i18n($no)).'</th>'."\n";
65
+ echo '<th>'.sprintf(_n('%d Record', '%d Records', $row_usage, 'wp-optimize'), number_format_i18n($row_usage)).'</th>'."\n";
66
+ echo '<th>'.$wp_optimize->format_size($data_usage).'</th>'."\n";
67
+ echo '<th>'.$wp_optimize->format_size($index_usage).'</th>'."\n";
68
+ echo '<th>'.'-'.'</th>'."\n";
69
+ echo '<th>';
70
+
71
+ $font_colour = $optimize_db ? (($overhead_usage>0) ? 'blue' : 'green') : (($overhead_usage>0) ? 'red' : 'green');
72
+
73
+ echo '<span style="color:'.$font_colour.'">'.$wp_optimize->format_size($overhead_usage).'</span>';
74
+
75
+ ?>
76
+ </th>
77
+ </tr>
78
+ </tbody>
templates/tables.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
2
 
3
- <h3><?php echo __('Database Name:', 'wp-optimize')." '".htmlspecialchars(DB_NAME)."'"; ?></h3>
4
 
5
  <?php
6
  // This next bit belongs somewhere else, I think.
@@ -9,8 +9,7 @@
9
  <p><?php _e('Optimized all the tables found in the database.', 'wp-optimize')?></p>
10
  <?php } ?>
11
 
12
- <br style="clear">
13
- <table class="widefat">
14
  <thead>
15
  <tr>
16
  <th><?php _e('No.', 'wp-optimize'); ?></th>
@@ -22,100 +21,24 @@
22
  <th><?php _e('Overhead', 'wp-optimize');?></th>
23
  </tr>
24
  </thead>
25
-
26
- <tbody id="the-list">
27
- <?php
28
- $alternate = ' class="alternate"';
29
-
30
- // Read SQL Version and act accordingly
31
- // Check for InnoDB tables
32
- // Check for windows servers
33
- $sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
34
- $total_gain = 0;
35
- $no = 0;
36
- $row_usage = 0;
37
- $data_usage = 0;
38
- $index_usage = 0;
39
- $overhead_usage = 0;
40
-
41
- $tablesstatus = $optimizer->get_tables();
42
-
43
- foreach ($tablesstatus as $tablestatus) {
44
 
45
- $style = (0 == $no % 2) ? '' : ' class="alternate"';
46
-
47
- $no++;
48
- echo "<tr$style>\n";
49
- echo '<td>'.number_format_i18n($no).'</td>'."\n";
50
- echo "<td>".htmlspecialchars($tablestatus->Name)."</td>\n";
51
- echo '<td>'.number_format_i18n($tablestatus->Rows).'</td>'."\n";
52
- echo '<td>'.$wp_optimize->format_size($tablestatus->Data_length).'</td>'."\n";
53
- echo '<td>'.$wp_optimize->format_size($tablestatus->Index_length).'</td>'."\n";;
54
- echo '<td>'.htmlspecialchars($tablestatus->Engine).'</td>'."\n";;
55
- //echo '<td>'.$wp_optimize->format_size($tablestatus->Data_free).'</td>'."\n";
56
-
57
- if ($tablestatus->Engine != 'InnoDB') {
58
-
59
- echo '<td>';
60
-
61
- $font_colour = ($optimize_db) ? (($tablestatus->Data_free>0) ? 'blue' : 'green') : (($tablestatus->Data_free>0) ? 'red' : 'green');
62
-
63
- echo '<span style="color:'.$font_colour.';">';
64
- echo $wp_optimize->format_size($tablestatus->Data_free);
65
- echo '</span>';
66
-
67
- echo '</td>'."\n";
68
- } else {
69
- echo '<td>';
70
- echo '<span style="color:blue;">-</span>';
71
- echo '</td>'."\n";
72
- }
73
 
74
- $row_usage += $tablestatus->Rows;
75
- $data_usage += $tablestatus->Data_length;
76
- $index_usage += $tablestatus->Index_length;
77
-
78
- if ($tablestatus->Engine != 'InnoDB') {
79
- $overhead_usage += $tablestatus->Data_free;
80
- $total_gain += $tablestatus->Data_free;
81
- }
82
- echo '</tr>'."\n";
83
- }
84
-
85
- echo '<tr class="thead">'."\n";
86
- echo '<th>'.__('Total:', 'wp-optimize').'</th>'."\n";
87
- echo '<th>'.sprintf(_n('%d Table', '%d Tables', $no, 'wp-optimize'), number_format_i18n($no)).'</th>'."\n";
88
- echo '<th>'.sprintf(_n('%d Record', '%d Records', $row_usage, 'wp-optimize'), number_format_i18n($row_usage)).'</th>'."\n";
89
- echo '<th>'.$wp_optimize->format_size($data_usage).'</th>'."\n";
90
- echo '<th>'.$wp_optimize->format_size($index_usage).'</th>'."\n";
91
- echo '<th>'.'-'.'</th>'."\n";
92
- echo '<th>';
93
-
94
- $font_colour = $optimize_db ? (($overhead_usage>0) ? 'blue' : 'green') : (($overhead_usage>0) ? 'red' : 'green');
95
-
96
- echo '<span style="color:'.$font_colour.'">'.$wp_optimize->format_size($overhead_usage).'</span>';
97
-
98
- ?>
99
- </th>
100
- </tr>
101
- </tbody>
102
  </table>
103
 
104
- <h3><?php _e('Total size of database:', 'wp-optimize'); ?></h3>
105
- <h2><?php
106
  list ($part1, $part2) = $optimizer->get_current_db_size();
107
  echo $part1;
108
- ?></h2>
109
 
110
  <?php if ($optimize_db) {
111
  ?>
112
 
113
- <h3><?php _e('Optimization Results:', 'wp-optimize'); ?></h3>
114
- <p style="color: #0000FF;"><?php
115
 
116
  if ($total_gain > 0) {
117
- _e('Total Space Saved:', 'wp-optimize');
118
- echo $wp_optimize->format_size($total_gain);
119
  $optimizer->update_total_cleaned(strval($total_gain));
120
  }
121
 
@@ -126,7 +49,7 @@
126
  <?php if ($total_gain != 0) { ?>
127
 
128
  <h3><?php if ($total_gain > 0) _e('Optimization Possibility:', 'wp-optimize'); ?></h3>
129
- <p style="color: #FF0000;">
130
  <?php if ($total_gain > 0) {
131
  echo __('Total space that can be saved:', 'wp-optimize').' '.$wp_optimize->format_size($total_gain).' ';
132
  }
1
  <?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
2
 
3
+ <h3><?php echo __('Database name:', 'wp-optimize')." '".htmlspecialchars(DB_NAME)."'"; ?><span id="wp_optimize_table_list_refresh" class="dashicons dashicons-image-rotate"></span></h3>
4
 
5
  <?php
6
  // This next bit belongs somewhere else, I think.
9
  <p><?php _e('Optimized all the tables found in the database.', 'wp-optimize')?></p>
10
  <?php } ?>
11
 
12
+ <table id="wpoptimize_table_list" class="widefat">
 
13
  <thead>
14
  <tr>
15
  <th><?php _e('No.', 'wp-optimize'); ?></th>
21
  <th><?php _e('Overhead', 'wp-optimize');?></th>
22
  </tr>
23
  </thead>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ <?php include('tables-body.php'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  </table>
28
 
29
+ <h3><?php _e('Total size of database:', 'wp-optimize'); ?> <span id="optimize_current_db_size"><?php
 
30
  list ($part1, $part2) = $optimizer->get_current_db_size();
31
  echo $part1;
32
+ ?></span></h3>
33
 
34
  <?php if ($optimize_db) {
35
  ?>
36
 
37
+ <h3><?php _e('Optimization results:', 'wp-optimize'); ?></h3>
38
+ <p style="color: #0000ff;"><?php
39
 
40
  if ($total_gain > 0) {
41
+ echo __('Total space saved:', 'wp-optimize').$wp_optimize->format_size($total_gain);
 
42
  $optimizer->update_total_cleaned(strval($total_gain));
43
  }
44
 
49
  <?php if ($total_gain != 0) { ?>
50
 
51
  <h3><?php if ($total_gain > 0) _e('Optimization Possibility:', 'wp-optimize'); ?></h3>
52
+ <p style="color: #ff0000;">
53
  <?php if ($total_gain > 0) {
54
  echo __('Total space that can be saved:', 'wp-optimize').' '.$wp_optimize->format_size($total_gain).' ';
55
  }
wp-optimize.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-Optimize
4
  Plugin URI: http://updraftplus.com
5
  Description: WP-Optimize is WordPress's #1 most installed optimization plugin. With it, you can clean up your database easily and safely, without manual queries.
6
- Version: 2.0.1
7
  Author: David Anderson, Ruhani Rabin, Team Updraft
8
  Author URI: https://updraftplus.com
9
  Text Domain: wp-optimize
@@ -13,7 +13,7 @@ License: GPLv2 or later
13
 
14
  if (!defined('ABSPATH')) die('No direct access allowed');
15
 
16
- define('WPO_VERSION', '2.0.1');
17
  define('WPO_PLUGIN_URL', plugin_dir_url( __FILE__ ));
18
  define('WPO_PLUGIN_MAIN_PATH', plugin_dir_path( __FILE__ ));
19
 
@@ -24,6 +24,7 @@ class WP_Optimize {
24
  protected static $_instance = null;
25
  protected static $_optimizer_instance = null;
26
  protected static $_options_instance = null;
 
27
 
28
  public function __construct() {
29
 
@@ -36,10 +37,13 @@ class WP_Optimize {
36
  add_filter("plugin_action_links_$plugin", array($this, 'plugin_settings_link'));
37
  add_action('admin_init', array($this, 'admin_init'));
38
  add_action('admin_menu', array($this, 'admin_menu'));
39
- add_action('admin_head', array($this, 'admin_head'));
40
  add_action('wpo_cron_event2', array($this, 'cron_action'));
41
  add_filter('cron_schedules', array($this, 'cron_schedules'));
42
 
 
 
 
 
43
  }
44
 
45
  public static function instance() {
@@ -65,8 +69,38 @@ class WP_Optimize {
65
  return self::$_options_instance;
66
  }
67
 
 
 
 
 
 
 
 
 
68
  public function admin_init() {
 
 
 
69
  $this->register_template_directories();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  }
71
 
72
  public function plugins_loaded() {
@@ -76,6 +110,75 @@ class WP_Optimize {
76
  public function capability_required() {
77
  return apply_filters('wp_optimize_capability_required', 'manage_options');
78
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
 
80
  public function wp_optimize_menu() {
81
 
@@ -84,78 +187,100 @@ class WP_Optimize {
84
  if (!current_user_can($capability_required)) { echo "Permission denied."; return; }
85
 
86
  $enqueue_version = (defined('WP_DEBUG') && WP_DEBUG) ? WPO_VERSION.'.'.time() : WPO_VERSION;
 
 
 
87
 
88
- wp_enqueue_script('wp-optimize-admin', WPO_PLUGIN_URL.'js/admin.js', array('jquery'), $enqueue_version);
89
-
 
 
90
  $options = $this->get_options();
 
 
 
 
 
 
91
 
92
- $active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'wp_optimize_optimize';
93
- if ('wp_optimize_tables' != $active_tab && 'wp_optimize_settings' != $active_tab && 'wp_optimize_may_also' != $active_tab) $active_tab = 'wp_optimize_optimize';
94
 
95
- if ('wp_optimize_optimize' == $active_tab && !empty($_REQUEST['_wpnonce']) && wp_verify_nonce($_REQUEST['_wpnonce'], 'wpo_optimization')) $options->save_posted_options();
96
 
97
- $this->include_template('admin-page-header.php', false, array('active_tab' => $active_tab));
98
 
99
- echo '<div class="wrap wp-optimize-wrap">';
100
 
101
- // TODO: Make the page more interactive by printing all the tabs, and switching using JavaScript instead of using page re-loads
102
- if ('wp_optimize_tables' == $active_tab) {
103
-
104
- // There's no way to trigger this, AFAICT. If we add it, it should have a nonce to protect it.
105
- $optimize_db = false;//isset($_POST["optimize-db"]);
106
-
107
- $this->include_template('tables.php', false, array('optimize_db' => $optimize_db));
108
-
109
- } elseif ('wp_optimize_settings' == $active_tab) {
110
 
111
- $output = $options->save_posted_settings();
112
-
113
- foreach ($output as $item) {
114
- echo '<div class="updated fade"><strong>'.$item.'</strong></div>';
115
- }
116
 
117
- $this->include_template('admin-settings.php');
118
-
119
- } elseif ('wp_optimize_may_also' == $active_tab) {
120
 
121
- $this->include_template('may-also-like.php');
122
-
123
- } else {
124
 
125
- $nonce_passed = (!empty($_REQUEST['_wpnonce']) && wp_verify_nonce($_REQUEST['_wpnonce'], 'wpo_optimization')) ? true : false;
126
 
127
- // Default tab: wp_optimize_optimize
128
 
129
- $optimizer = $this->get_optimizer();
130
-
131
- $optimization_results = $nonce_passed ? $optimizer->do_optimizations($_POST) : false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
 
133
- if (!empty($optimization_results)) {
134
-
135
- echo '<div id="message" class="updated"><strong>';
136
-
137
- foreach ($optimization_results as $optimization_result) {
138
 
139
- if (!empty($optimization_result->output)) {
 
 
 
140
 
141
- foreach ($optimization_result->output as $line) {
142
- echo $line."<br>";
 
 
143
  }
144
-
 
 
 
 
145
  }
146
 
147
- }
148
-
149
- echo '</strong></div>';
150
-
 
 
151
  }
152
-
153
- $optimize_db = ($nonce_passed && isset($_POST["optimize-db"]));
154
-
155
- $this->include_template('optimize-table.php', false, array('optimize_db' => $optimize_db));
156
 
 
157
  }
158
-
 
 
159
  echo '</div>';
160
 
161
  }
@@ -163,13 +288,27 @@ class WP_Optimize {
163
  public function wpo_admin_bar() {
164
  global $wp_admin_bar;
165
 
166
- // Add a link called at the top admin bar
167
- $wp_admin_bar->add_node(array(
168
- 'id' => 'wp-optimize',
169
- 'title' => 'WP-Optimize',
170
- 'href' => menu_page_url( 'WP-Optimize', false ),
171
- ));
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  }
174
 
175
  // Add settings link on plugin page
@@ -238,21 +377,18 @@ class WP_Optimize {
238
  }
239
 
240
 
241
- public function admin_head() {
242
- $style_url = plugins_url( '/css/wpo_admin.css', __FILE__ ) ;
243
- echo "<link rel='stylesheet' type='text/css' href='".$style_url."' />\n";
244
- }
245
-
246
  public function admin_menu() {
247
 
248
  $capability_required = $this->capability_required();
249
 
250
  if (!current_user_can($capability_required)) return;
251
 
 
 
252
  if (function_exists('add_meta_box')) {
253
- add_menu_page("WP-Optimize", "WP-Optimize", $capability_required, "WP-Optimize", array($this,"wp_optimize_menu"), plugin_dir_url( __FILE__ ).'images/icon/wpo.png');
254
  } else {
255
- add_submenu_page("index.php", "WP-Optimize", "WP-Optimize", $capability_required, "WP-Optimize", array($this,"wp_optimize_menu"), plugin_dir_url( __FILE__ ).'images/icon/wpo.png');
256
  }
257
 
258
  $options = $this->get_options();
@@ -313,6 +449,7 @@ class WP_Optimize {
313
  $wp_optimize = $this;
314
  $optimizer = $this->get_optimizer();
315
  $options = $this->get_options();
 
316
  include $template_file;
317
  }
318
 
3
  Plugin Name: WP-Optimize
4
  Plugin URI: http://updraftplus.com
5
  Description: WP-Optimize is WordPress's #1 most installed optimization plugin. With it, you can clean up your database easily and safely, without manual queries.
6
+ Version: 2.1.0
7
  Author: David Anderson, Ruhani Rabin, Team Updraft
8
  Author URI: https://updraftplus.com
9
  Text Domain: wp-optimize
13
 
14
  if (!defined('ABSPATH')) die('No direct access allowed');
15
 
16
+ define('WPO_VERSION', '2.1.0');
17
  define('WPO_PLUGIN_URL', plugin_dir_url( __FILE__ ));
18
  define('WPO_PLUGIN_MAIN_PATH', plugin_dir_path( __FILE__ ));
19
 
24
  protected static $_instance = null;
25
  protected static $_optimizer_instance = null;
26
  protected static $_options_instance = null;
27
+ protected static $_notices_instance = null;
28
 
29
  public function __construct() {
30
 
37
  add_filter("plugin_action_links_$plugin", array($this, 'plugin_settings_link'));
38
  add_action('admin_init', array($this, 'admin_init'));
39
  add_action('admin_menu', array($this, 'admin_menu'));
 
40
  add_action('wpo_cron_event2', array($this, 'cron_action'));
41
  add_filter('cron_schedules', array($this, 'cron_schedules'));
42
 
43
+ add_action('wp_ajax_wp_optimize_ajax', array($this, 'wp_optimize_ajax_handler'));
44
+
45
+ include_once(WPO_PLUGIN_MAIN_PATH.'/includes/updraftcentral.php');
46
+
47
  }
48
 
49
  public static function instance() {
69
  return self::$_options_instance;
70
  }
71
 
72
+ public static function get_notices() {
73
+ if (empty(self::$_notices_instance)) {
74
+ if (!class_exists('WP_Optimize_Notices')) require_once(WPO_PLUGIN_MAIN_PATH.'/includes/wp-optimize-notices.php');
75
+ self::$_notices_instance = new WP_Optimize_Notices();
76
+ }
77
+ return self::$_notices_instance;
78
+ }
79
+
80
  public function admin_init() {
81
+
82
+ global $pagenow;
83
+
84
  $this->register_template_directories();
85
+
86
+ if (($pagenow == 'index.php' && current_user_can('update_plugins')) || ($pagenow == 'index.php' && defined('WP_OPTIMIZE_FORCE_DASHNOTICE') && WP_OPTIMIZE_FORCE_DASHNOTICE)) {
87
+
88
+ $options = $this->get_options();
89
+
90
+ $dismissed_until = $options->get_option('dismiss_dash_notice_until', 0);
91
+
92
+ $installed = @filemtime(WPO_PLUGIN_MAIN_PATH . '/index.html');
93
+ $installed_for = time() - $installed;
94
+
95
+ if (($installed && time() > $dismissed_until && $installed_for > 28*86400 && !defined('WP_OPTIMIZE_NOADS_B')) || (defined('WP_OPTIMIZE_FORCE_DASHNOTICE') && WP_OPTIMIZE_FORCE_DASHNOTICE)) {
96
+
97
+ add_action('all_admin_notices', array($this, 'show_admin_notice_upgradead') );
98
+ }
99
+ }
100
+ }
101
+
102
+ public function show_admin_notice_upgradead() {
103
+ $this->include_template('notices/thanks-for-using-main-dash.php');
104
  }
105
 
106
  public function plugins_loaded() {
110
  public function capability_required() {
111
  return apply_filters('wp_optimize_capability_required', 'manage_options');
112
  }
113
+
114
+ public function wp_optimize_ajax_handler() {
115
+
116
+ $nonce = empty($_POST['nonce']) ? '' : $_POST['nonce'];
117
+
118
+ if (!wp_verify_nonce($nonce, 'wp-optimize-ajax-nonce') || empty($_POST['subaction'])) die('Security check');
119
+
120
+ $subaction = $_POST['subaction'];
121
+ $data = isset($_POST['data']) ? $_POST['data'] : null;
122
+
123
+ if (!current_user_can($this->capability_required())) die('Security check');
124
+
125
+ $optimizer = $this->get_optimizer();
126
+ $options = $this->get_options();
127
+
128
+ $results = array();
129
+
130
+ // Some commands that are available via AJAX only
131
+ if ('dismiss_dash_notice_until' == $subaction) {
132
+
133
+ $options->update_option('dismiss_dash_notice_until', time() + 366*86400);
134
+
135
+ } elseif ('dismiss_page_notice_until' == $subaction) {
136
+
137
+ $options->update_option('dismiss_page_notice_until', time() + 84*86400);
138
+
139
+ } else {
140
+
141
+ // Other commands, available for any remote method
142
+
143
+ if (!class_exists('WP_Optimize_Commands')) require_once(WPO_PLUGIN_MAIN_PATH.'includes/class-commands.php');
144
+
145
+ $commands = new WP_Optimize_Commands();
146
+
147
+ if (!method_exists($commands, $subaction)) {
148
+
149
+ error_log("WP-Optimize: ajax_handler: no such command ($command)");
150
+ die('No such command');
151
+
152
+ } else {
153
+
154
+ $results = call_user_func(array($commands, $subaction), $data);
155
+
156
+ if (is_wp_error($results)) {
157
+ $results = array(
158
+ 'result' => false,
159
+ 'error_code' => $results->get_error_code(),
160
+ 'error_message' => $results->get_error_message(),
161
+ 'error_data' => $results->get_error_data(),
162
+ );
163
+ }
164
+
165
+ }
166
+
167
+ }
168
+
169
+ echo json_encode($results);
170
+
171
+ die;
172
+ }
173
+
174
+ public function get_tabs() {
175
+ return apply_filters('wp_optimize_admin_page_tabs', array(
176
+ 'optimize' => 'WP-Optimize',
177
+ 'tables' => __('Table information', 'wp-optimize'),
178
+ 'settings' => __('Settings', 'wp-optimize'),
179
+ 'may_also' => __('Plugin family', 'wp-optimize'),
180
+ ));
181
+ }
182
 
183
  public function wp_optimize_menu() {
184
 
187
  if (!current_user_can($capability_required)) { echo "Permission denied."; return; }
188
 
189
  $enqueue_version = (defined('WP_DEBUG') && WP_DEBUG) ? WPO_VERSION.'.'.time() : WPO_VERSION;
190
+ $min_or_not = (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) ? '' : '.min';
191
+
192
+ wp_register_script('updraft-queue-js', WPO_PLUGIN_URL.'js/queue'.$min_or_not.'.js', array(), $enqueue_version);
193
 
194
+ wp_enqueue_script('wp-optimize-admin-js', WPO_PLUGIN_URL.'js/wpadmin'.$min_or_not.'.js', array('jquery', 'updraft-queue-js'), $enqueue_version);
195
+
196
+ wp_enqueue_style('wp-optimize-admin-css', WPO_PLUGIN_URL.'css/admin'.$min_or_not.'.css', array(), $enqueue_version);
197
+
198
  $options = $this->get_options();
199
+
200
+ $tabs = $this->get_tabs();
201
+
202
+ $default_tab = apply_filters('wp_optimize_admin_default_tab', 'optimize');
203
+
204
+ $active_tab = isset($_GET['tab']) ? substr($_GET['tab'], 12) : $default_tab;
205
 
206
+ if (!in_array($active_tab, array_keys($tabs))) $active_tab = $default_tab;
 
207
 
208
+ $nonce_passed = (!empty($_REQUEST['_wpnonce']) && wp_verify_nonce($_REQUEST['_wpnonce'], 'wpo_optimization')) ? true : false;
209
 
210
+ if ('optimize' == $active_tab && $nonce_passed && isset($_POST['wp-optimize'])) $options->save_sent_manual_run_optimization_options($_POST, true);
211
 
212
+ echo '<div id="wp-optimize-wrap" class="wrap">';
213
 
214
+ $this->include_template('admin-page-header.php', false, array('active_tab' => $active_tab, 'tabs' => $tabs));
215
+
216
+ $optimize_db = ($nonce_passed && isset($_POST["optimize-db"])) ? true : false;
 
 
 
 
 
 
217
 
218
+ $optimizer = $this->get_optimizer();
 
 
 
 
219
 
220
+ foreach ($tabs as $tab_id => $tab_description) {
 
 
221
 
222
+ echo '<div class="wp-optimize-nav-tab-contents" id="wp-optimize-nav-tab-contents-'.$tab_id.'" '.(($tab_id == $active_tab) ? '' : 'style="display:none;"').'>';
 
 
223
 
224
+ do_action('wp_optimize_admin_tab_render_begin', $active_tab);
225
 
226
+ switch ($tab_id) {
227
 
228
+ case 'optimize':
229
+
230
+ $optimization_results = $nonce_passed ? $optimizer->do_optimizations($_POST) : false;
231
+
232
+ if (!empty($optimization_results)) {
233
+ echo '<div id="message" class="updated"><strong>';
234
+ foreach ($optimization_results as $optimization_result) {
235
+ if (!empty($optimization_result->output)) {
236
+ foreach ($optimization_result->output as $line) { echo $line."<br>"; }
237
+ }
238
+ }
239
+ echo '</strong></div>';
240
+ }
241
+
242
+ $this->include_template('optimize-table.php', false, array('optimize_db' => $optimize_db));
243
+
244
+ break;
245
+
246
+ case 'tables':
247
 
248
+ $this->include_template('tables.php', false, array('optimize_db' => $optimize_db));
249
+
250
+ break;
251
+
252
+ case 'settings':
253
 
254
+ if ('POST' == $_SERVER['REQUEST_METHOD']) {
255
+
256
+ // Nonce check
257
+ check_admin_referer('wpo_settings');
258
 
259
+ $output = $options->save_settings($_POST);
260
+
261
+ foreach ($output['messages'] as $item) {
262
+ echo '<div class="updated fade"><strong>'.$item.'</strong></div>';
263
  }
264
+
265
+ foreach ($output['errors'] as $item) {
266
+ echo '<div class="error fade"><strong>'.$item.'</strong></div>';
267
+ }
268
+
269
  }
270
 
271
+ $this->include_template('admin-settings.php');
272
+ break;
273
+
274
+ case 'may_also':
275
+ $this->include_template('may-also-like.php');
276
+ break;
277
  }
 
 
 
 
278
 
279
+ echo '</div>';
280
  }
281
+
282
+ do_action('wp_optimize_admin_tab_render_end', $active_tab);
283
+
284
  echo '</div>';
285
 
286
  }
288
  public function wpo_admin_bar() {
289
  global $wp_admin_bar;
290
 
291
+ if (defined('WPOPTIMIZE_ADMINBAR_DISABLE') && WPOPTIMIZE_ADMINBAR_DISABLE) return;
 
 
 
 
 
292
 
293
+ // Add a link called at the top admin bar
294
+ $args = array(
295
+ 'id' => 'wp-optimize-node',
296
+ 'title' => apply_filters('wpoptimize_admin_node_title', 'WP-Optimize')
297
+ );
298
+ $wp_admin_bar->add_node($args);
299
+
300
+ $tabs = $this->get_tabs();
301
+
302
+ foreach ($tabs as $tab_id => $tab_title) {
303
+ $args = array(
304
+ 'id' => 'wpoptimize_admin_node_'.$tab_id,
305
+ 'title' => ('optimize' == $tab_id) ? __('Optimize', 'wp-optimize') : $tab_title,
306
+ 'parent' => 'wp-optimize-node',
307
+ 'href' => menu_page_url('WP-Optimize', false). '&tab=wp_optimize_'.$tab_id,
308
+ );
309
+ $wp_admin_bar->add_node($args);
310
+ }
311
+
312
  }
313
 
314
  // Add settings link on plugin page
377
  }
378
 
379
 
 
 
 
 
 
380
  public function admin_menu() {
381
 
382
  $capability_required = $this->capability_required();
383
 
384
  if (!current_user_can($capability_required)) return;
385
 
386
+ $icon_svg = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmlld0JveD0iMCAwIDE2IDE2IgogICB2ZXJzaW9uPSIxLjEiCiAgIGlkPSJzdmc0MzE2IgogICBoZWlnaHQ9IjE2IgogICB3aWR0aD0iMTYiPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM0MzE4IiAvPgogIDxtZXRhZGF0YQogICAgIGlkPSJtZXRhZGF0YTQzMjEiPgogICAgPHJkZjpSREY+CiAgICAgIDxjYzpXb3JrCiAgICAgICAgIHJkZjphYm91dD0iIj4KICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3N2Zyt4bWw8L2RjOmZvcm1hdD4KICAgICAgICA8ZGM6dHlwZQogICAgICAgICAgIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiIC8+CiAgICAgICAgPGRjOnRpdGxlPjwvZGM6dGl0bGU+CiAgICAgIDwvY2M6V29yaz4KICAgIDwvcmRmOlJERj4KICA8L21ldGFkYXRhPgogIDxnCiAgICAgaWQ9ImxheWVyMSI+CiAgICA8cGF0aAogICAgICAgc3R5bGU9ImZpbGw6I2EwYTVhYTtmaWxsLW9wYWNpdHk6MSIKICAgICAgIGlkPSJwYXRoNTciCiAgICAgICBkPSJtIDEwLjc2ODgwOSw2Ljc2MTYwNTEgMCwwIGMgLTAuMDE2ODgsLTAuMDE2ODc4IC0wLjAyNTMxLC0wLjA0MjE4MSAtMC4wMzM3NCwtMC4wNjc0OTkgLTAuMDA4NCwtMC4wMDgzOSAtMC4wMDg0LC0wLjAxNjg3OCAtMC4wMTY4OCwtMC4wMzM3NDMgQyA5Ljk5MjYxMTIsNS4xOTIzMzY2IDguMjIwODU1Nyw0LjU4NDg3ODEgNi43NDQzOTEyLDUuMjkzNTc5NyA1LjY3MjkwMDUsNS44MDgyMzI4IDUuMDU3MDA0Myw2Ljg4ODE2MTMgNS4wNjU0NDIsOC4wMDE4MzY1IDQuNDU3OTgyMiw3LjMxMDAwNzYgMy42OTg2NTg0LDYuNzk1MzU0NSAyLjg1NDk2NDIsNi40OTE2MjUzIDMuMjY4Mzc0Myw1LjA2NTc4MzEgNC4yNTU0OTYsMy44MTcxMTY2IDUuNjg5Nzc0NiwzLjEyNTI4NzggOC4zNjQyODMyLDEuODM0NDM2OCAxMS41NzAzMTksMi45Mzk2NzQ0IDEyLjg4NjQ4MSw1LjU4ODg3MjYgMTMuNDUxNzU1LDYuNzI3ODU5NiAxNC42NDk4MDEsNy4zNTIxOTIxIDE1Ljg0Nzg0Niw3LjIzNDA3NSAxNS43NjM0ODIsNi4zMzk3NiAxNS41MTg4MDUsNS40MzcwMDg2IDE1LjEwNTM5Niw0LjU3NjQ0MDQgMTMuMjE1NTIxLDAuNjg3MDEzNCA4LjUzMzAyMjYsLTAuOTQxMzE2MjcgNC42NDM1OTQzLDAuOTQwMTIxNzkgMi4zMjM0MzcsMi4wNjIyMzM0IDAuODA0Nzg4MTQsNC4xNzk5MDQ0IDAuMzU3NjMxMzIsNi41MzM4MDk4IDIuNDE2MjQzOCw2LjQyNDEyOSA0LjQzMjY3MTcsNy41MDQwNTc0IDUuNDM2NjY2Miw5LjQzNjExNjcgbCAwLjAwODM5LDAgYyAwLjc1OTMxOTIsMS4zNzUyMjAzIDIuNDcyMDE3OCwxLjk0MDQ5NTMgMy45MDYyOTYsMS4yNDg2NjczIDEuMDQ2MTc5OCwtMC41MDYyMTggMS42NTM2NDA4LC0xLjUzNTUyMzggMS42Nzg5NTA4LC0yLjYxNTQ1MTIgMC41ODIxNDgsMC43MDg3MDE4IDEuMzMzMDM1LDEuMjQ4NjY2OCAyLjE1OTg1NiwxLjU3NzcwNjQgLTAuNDM4NzIxLDEuMzU4MzQ3OCAtMS40MDA1MzMsMi41NDc5NTQ4IC0yLjc5MjYyNywzLjIxNDQ3ODggLTIuNTkwMTM4NywxLjI0ODY1OCAtNS42NzgwNTc0LDAuMjUzMTA0IC03LjA2MTcxNTEsLTIuMjI3MzU3IGwgMCwwIEMgMi43NjIxMDQ4LDkuNDUyOTg5NCAxLjUxMzQzODMsOC44MjAyMTkxIDAuMjgxNjQ1OTIsOC45NzIwODQ0IDAuMzgyODg3NjUsOS43OTg5MDQ2IDAuNjE5MTIzMzEsMTAuNjE3Mjg3IDAuOTk4Nzg1MiwxMS40MDE5MjIgYyAxLjg4MTQzNjgsMy44OTc4NjQgNi41NjM5MzcsNS41MjYxOTggMTAuNDYxODAwOCwzLjY0NDc2IDIuMjQ0MjI2LC0xLjA4ODM2OSAzLjczNzU2MiwtMy4xMDQ3OTYgNC4yMzUzNDIsLTUuMzc0MzMyMyAtMS45OTk1NTQsMC4wNDIxODEgLTMuOTQ4NDg2LC0xLjAyOTMwNjMgLTQuOTI3MTcsLTIuOTEwNzQzMyB6IgogICAgICAgY2xhc3M9InN0MTciIC8+CiAgPC9nPgo8L3N2Zz4K';
387
+
388
  if (function_exists('add_meta_box')) {
389
+ add_menu_page("WP-Optimize", "WP-Optimize", $capability_required, "WP-Optimize", array($this,"wp_optimize_menu"), $icon_svg);
390
  } else {
391
+ add_submenu_page("index.php", "WP-Optimize", "WP-Optimize", $capability_required, "WP-Optimize", array($this,"wp_optimize_menu"), $icon_svg);
392
  }
393
 
394
  $options = $this->get_options();
449
  $wp_optimize = $this;
450
  $optimizer = $this->get_optimizer();
451
  $options = $this->get_options();
452
+ $wp_optimize_notices = $this->get_notices();
453
  include $template_file;
454
  }
455