Optimize Database after Deleting Revisions - Version 4.6.2

Version Description

[06/05/2018] = * BUG FIX: Fixed a javascript bug for the 'Clear Log' confirmation * NEW: PayPal donation button

Download this release

Release Info

Developer cageehv
Plugin Icon 128x128 Optimize Database after Deleting Revisions
Version 4.6.2
Comparing to
See all releases

Code changes from version 4.6.1 to 4.6.2

classes/odb-cleaner.php CHANGED
@@ -514,18 +514,22 @@ class ODB_Cleaner {
514
  if($odb_class->odb_logger_obj->odb_log_count() > 0) {
515
  ?>
516
  <script>
517
- function confirm_delete() {
518
- if(confirm('<?php _e('Clear the log?', $odb_class->odb_txt_domain)?>')) {
519
- self.location = 'tools.php?page=rvg-optimize-database&action=delete_log'
 
 
 
 
520
  return;
521
  }
522
- } // confirm_delete()
523
  </script>
524
  <br><br>
525
  &nbsp;
526
  <input class="button odb-normal" type="button" name="view_log" value="<?php _e('View Log', $odb_class->odb_txt_domain);?>" onclick="self.location='tools.php?page=rvg-optimize-database&action=view_log'" />
527
  &nbsp;
528
- <input class="button odb-normal" type="button" name="delete_log" value="<?php _e('Clear Log', $odb_class->odb_txt_domain);?>" onclick="return confirm_delete();" />
529
  <?php
530
  } // if($odb_class->odb_logger_obj->odb_log_count() > 0)
531
  ?>
514
  if($odb_class->odb_logger_obj->odb_log_count() > 0) {
515
  ?>
516
  <script>
517
+ function odb_confirm_delete() {
518
+ <?php
519
+ // v4.6.2
520
+ $msg = str_replace("'", "\'", __('Clear the log?', $odb_class->odb_txt_domain));
521
+ ?>
522
+ if(confirm('<?php echo $msg?>')) {
523
+ self.location = 'tools.php?page=rvg-optimize-database&action=clear_log'
524
  return;
525
  }
526
+ } // odb_confirm_delete()
527
  </script>
528
  <br><br>
529
  &nbsp;
530
  <input class="button odb-normal" type="button" name="view_log" value="<?php _e('View Log', $odb_class->odb_txt_domain);?>" onclick="self.location='tools.php?page=rvg-optimize-database&action=view_log'" />
531
  &nbsp;
532
+ <input class="button odb-normal" type="button" name="clear_log" value="<?php _e('Clear Log', $odb_class->odb_txt_domain);?>" onclick="return odb_confirm_delete();" />
533
  <?php
534
  } // if($odb_class->odb_logger_obj->odb_log_count() > 0)
535
  ?>
classes/odb-displayer.php CHANGED
@@ -22,25 +22,34 @@ class ODB_Displayer {
22
 
23
  // V4.1.9: RUNNING INDICATOR ADDED
24
  echo '
25
- <div id="odb-running" style="display:none"></div>
26
- <div id="odb-header" class="odb-padding-left">
27
- <div id="odb-options-opening">
28
- <div class="odb-title-bar">
29
- <h2>'.__('Optimize Database after Deleting Revisions',$odb_class->odb_txt_domain).'</h2>
30
- </div>
31
- <p class="odb-bold">
32
- <em>'.__('A popular \'one-click\' plugin to clean and optimize your WordPress database.', $odb_class->odb_txt_domain).'</em>
33
- </p>
34
- <span class="odb-bold">
35
- '.__('Plugin version', $odb_class->odb_txt_domain).': v'.$odb_class->odb_version.' ['.$odb_class->odb_release_date.'] -
36
- <a href="http://cagewebdev.com/optimize-database-after-deleting-revisions-wordpress-plugin/" target="_blank">'.__('Plugin page', $odb_class->odb_txt_domain).'</a> -
37
- <a href="http://wordpress.org/plugins/rvg-optimize-database/" target="_blank">'.__('Download page', $odb_class->odb_txt_domain).'</a> -
38
- <a href="http://rvg.cage.nl/" target="_blank">'.__('Author', $odb_class->odb_txt_domain).'</a> -
39
- <a href="http://cagewebdev.com/" target="_blank">'.__('Company', $odb_class->odb_txt_domain).'</a> -
40
- <a href="http://cagewebdev.com/donations-odb/" target="_blank">'.__('Donation page', $odb_class->odb_txt_domain).'</a>
41
- </span>
42
- </div><!-- odb-options-opening -->
43
- </div><!-- /odb-header -->
 
 
 
 
 
 
 
 
 
44
  ';
45
  } // display_header
46
 
@@ -183,14 +192,17 @@ class ODB_Displayer {
183
  // v4.6
184
  if($odb_class->odb_logger_obj->odb_log_count() > 0) {
185
  // THERE IS A LOG FILE
 
 
 
186
  echo "
187
  <script>
188
- function confirm_delete() {
189
- if(confirm('" . __('Clear the log?', $odb_class->odb_txt_domain) . "')) {
190
- self.location = 'tools.php?page=rvg-optimize-database&action=delete_log'
191
  return;
192
  }
193
- } // confirm_delete()
194
  </script>
195
  ";
196
  } // if(file_exists($this->odb_plugin_path.'logs/rvg-optimize-db-log.html'))
@@ -202,8 +214,9 @@ function confirm_delete() {
202
  &nbsp;
203
  <input class="button odb-normal" type="button" name="view_log" value="'.__('View Log', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=view_log\'">
204
  &nbsp;
205
- <input class="button odb-normal" type="button" name="delete_log" value="'.__('Clear Log', $odb_class->odb_txt_domain).'" onclick="return confirm_delete();">
206
- ';
 
207
  } // if($odb_class->odb_logger_obj->odb_log_count() > 0)
208
 
209
  echo '
22
 
23
  // V4.1.9: RUNNING INDICATOR ADDED
24
  echo '
25
+ <div id="odb-running" style="display:none"></div>
26
+ <div id="odb-header" class="odb-padding-left">
27
+ <div id="odb-options-opening">
28
+ <div class="odb-title-bar">
29
+ <h2>'.__('Optimize Database after Deleting Revisions',$odb_class->odb_txt_domain).'</h2>
30
+ </div>
31
+ <div class="odb-subheader-container">
32
+ <div class="odb-subheader-left">
33
+ <p class="odb-bold"> <em>'.__('A popular \'one-click\' plugin to clean and optimize your WordPress database.', $odb_class->odb_txt_domain).'</em> </p>
34
+ <span class="odb-bold"> '.__('Plugin version', $odb_class->odb_txt_domain).': v'.$odb_class->odb_version.' ['.$odb_class->odb_release_date.']<br><a href="http://cagewebdev.com/optimize-database-after-deleting-revisions-wordpress-plugin/" target="_blank">'.__('Plugin page', $odb_class->odb_txt_domain).'</a> - <a href="http://wordpress.org/plugins/rvg-optimize-database/" target="_blank">'.__('Download page', $odb_class->odb_txt_domain).'</a> - <a href="http://rvg.cage.nl/" target="_blank">'.__('Author', $odb_class->odb_txt_domain).'</a> - <a href="http://cagewebdev.com/" target="_blank">'.__('Company', $odb_class->odb_txt_domain).'</a>
35
+ </span>
36
+ </div>
37
+ <!--odb-subheader-left-->
38
+ <div class="odb-subheader-right" title="Click here to make your donation!">
39
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
40
+ <input name="cmd" type="hidden" value="_s-xclick" />
41
+ <input name="hosted_button_id" type="hidden" value="XEH27FRT569XU" />
42
+ <input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" />
43
+ <img src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" alt="" width="1" height="1" border="0" />
44
+ </form>
45
+ </div>
46
+ <!-- odb-subheader-right -->
47
+ </div>
48
+ <!--odb-subheader-container-->
49
+ </div>
50
+ <!-- odb-options-opening -->
51
+ </div>
52
+ <!-- /odb-header -->
53
  ';
54
  } // display_header
55
 
192
  // v4.6
193
  if($odb_class->odb_logger_obj->odb_log_count() > 0) {
194
  // THERE IS A LOG FILE
195
+ // v4.6.2
196
+ $msg = str_replace("'", "\'", __('Clear the log?', $odb_class->odb_txt_domain));
197
+
198
  echo "
199
  <script>
200
+ function odb_confirm_delete() {
201
+ if(confirm('" . $msg . "')) {
202
+ self.location = 'tools.php?page=rvg-optimize-database&action=clear_log'
203
  return;
204
  }
205
+ } // odb_confirm_delete()
206
  </script>
207
  ";
208
  } // if(file_exists($this->odb_plugin_path.'logs/rvg-optimize-db-log.html'))
214
  &nbsp;
215
  <input class="button odb-normal" type="button" name="view_log" value="'.__('View Log', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=view_log\'">
216
  &nbsp;
217
+ <input class="button odb-normal" type="button" name="clear_log" value="'.__('Clear Log', $odb_class->odb_txt_domain).'" onclick="return odb_confirm_delete();">
218
+ &nbsp;
219
+ ';
220
  } // if($odb_class->odb_logger_obj->odb_log_count() > 0)
221
 
222
  echo '
classes/odb-logger.php CHANGED
@@ -153,19 +153,21 @@ class ODB_Logger {
153
  echo '
154
  </table>
155
  ';
 
 
156
  ?>
157
  <script>
158
  function odb_confirm_delete() {
159
- if(confirm('<?php _e('Clear the log?', $odb_class->odb_txt_domain)?>')) {
160
- self.location = 'tools.php?page=rvg-optimize-database&action=delete_log'
161
  return;
162
  }
163
- }
164
  </script>
165
  <br>
166
  <input class="button odb-normal" type="button" name="change_options" value="<?php _e('Change Settings', $odb_class->odb_txt_domain)?>" onclick="self.location='options-general.php?page=odb_settings_page'" />
167
  &nbsp;
168
- <input class="button odb-normal" type="button" name="delete_log" value="<?php _e('Clear Log', $odb_class->odb_txt_domain) ?>" onclick="return odb_confirm_delete();" />
169
  &nbsp;
170
  <input class="button odb-normal" type="button" name="odb_download_csv" value="<?php _e('Export to CSV', $odb_class->odb_txt_domain)?>" onclick="self.location='tools.php?page=rvg-optimize-database&action=odb_download_csv'" />
171
  &nbsp;&nbsp;
153
  echo '
154
  </table>
155
  ';
156
+ // v4.6.2
157
+ $msg = str_replace("'", "\'", __('Clear the log?', $odb_class->odb_txt_domain));
158
  ?>
159
  <script>
160
  function odb_confirm_delete() {
161
+ if(confirm('<?php echo $msg?>')) {
162
+ self.location = 'tools.php?page=rvg-optimize-database&action=clear_log'
163
  return;
164
  }
165
+ } // function odb_confirm_delete()
166
  </script>
167
  <br>
168
  <input class="button odb-normal" type="button" name="change_options" value="<?php _e('Change Settings', $odb_class->odb_txt_domain)?>" onclick="self.location='options-general.php?page=odb_settings_page'" />
169
  &nbsp;
170
+ <input class="button odb-normal" type="button" name="clear_log" value="<?php _e('Clear Log', $odb_class->odb_txt_domain) ?>" onclick="return odb_confirm_delete();" />
171
  &nbsp;
172
  <input class="button odb-normal" type="button" name="odb_download_csv" value="<?php _e('Export to CSV', $odb_class->odb_txt_domain)?>" onclick="self.location='tools.php?page=rvg-optimize-database&action=odb_download_csv'" />
173
  &nbsp;&nbsp;
css/style.css CHANGED
@@ -11,6 +11,16 @@
11
  .odb-title-bar h2 {
12
  color: #FFF;
13
  }
 
 
 
 
 
 
 
 
 
 
14
  .odb-bold {
15
  font-weight: 900;
16
  }
11
  .odb-title-bar h2 {
12
  color: #FFF;
13
  }
14
+ .odb-subheader-container {
15
+ width: 96%;
16
+ }
17
+ .odb-subheader-left {
18
+ float: left;
19
+ }
20
+ .odb-subheader-right {
21
+ float: right;
22
+ margin-top: 20px;
23
+ }
24
  .odb-bold {
25
  font-weight: 900;
26
  }
css/style.min.css CHANGED
@@ -1 +1 @@
1
- @charset "utf-8";.odb-title-bar{width:96%;background-color:#0074a2;color:#fff!important;display:inline-block;padding-left:16px;margin-top:30px}.odb-title-bar h2{color:#fff}.odb-bold{font-weight:900}.odb-normal{font-weight:400}.odb-italic{font-style:italic}.odb-blue{color:#0074a2}#odb-running{background:rgba(0,0,0,.08) url(../images/running.gif) no-repeat 50% 50%;width:100%;height:100%;position:fixed;top:0;left:0;z-index:999}.odb-action{font-size:13px;font-weight:700;color:#000}.odb-wp-table{font-weight:700;color:#0074a2}.odb-padding-left{padding-left:8px}.odb-border-bottom{border-bottom:solid 1px #999}.odb-border-top{border-top:solid 1px #999}.odb-optimizing-table{margin-top:16px}.odb-optimized{color:#0074a2;font-weight:700}.odb-underline-red{text-decoration:underline;color:red}.odb-updated{position:relative;left:-15px}.odb-found{font-size:13px;font-weight:700;color:#000}.odb-found-number{margin-left:8px;margin-bottom:18px;font-size:13px;font-weight:700;color:#000}.odb-result-table{background-color:#e8e8e8;margin-bottom:20px}.odb-not-found{margin-left:8px;margin-bottom:16px;color:#999}.odb-post-type-select{font-size:inherit}.odb-schedule-select{font-size:inherit;padding:0;margin:0}.odb-schedulehour{display:none}.odb-schedulehour-select{font-size:inherit}.odb-table-excludes{margin-top:10px;border:solid 1px #ccc;padding:10px}.odb-table-excludes td{padding:3px}#odb-options-tables-container{text-align:center}#odb-options-tables-wrapper{width:97%;display:inline-block;margin-top:16px;margin-left:-16px;padding:8px 0 8px 0}.odb-options-table{background-color:#f0f0f0;display:inline-block;height:17px;margin:3px;border:solid 1px #e0e0e0;overflow:hidden;padding:2px;text-align:left;white-space:nowrap;width:200px}.odb-log-table{font-size:13px}.odb-log-table th{border-top:solid 1px #000;border-bottom:solid 1px #000}.odb-log-table td{padding-bottom:4px;border-bottom:dotted 1px #ccc}
1
+ @charset "utf-8";.odb-title-bar{width:96%;background-color:#0074a2;color:#fff!important;display:inline-block;padding-left:16px;margin-top:30px}.odb-title-bar h2{color:#fff}.odb-subheader-container{width:96%}.odb-subheader-left{float:left}.odb-subheader-right{float:right;margin-top:20px}.odb-bold{font-weight:900}.odb-normal{font-weight:400}.odb-italic{font-style:italic}.odb-blue{color:#0074a2}#odb-running{background:rgba(0,0,0,.08) url(../images/running.gif) no-repeat 50% 50%;width:100%;height:100%;position:fixed;top:0;left:0;z-index:999}.odb-action{font-size:13px;font-weight:700;color:#000}.odb-wp-table{font-weight:700;color:#0074a2}.odb-padding-left{padding-left:8px}.odb-border-bottom{border-bottom:solid 1px #999}.odb-border-top{border-top:solid 1px #999}.odb-optimizing-table{margin-top:16px}.odb-optimized{color:#0074a2;font-weight:700}.odb-underline-red{text-decoration:underline;color:red}.odb-updated{position:relative;left:-15px}.odb-found{font-size:13px;font-weight:700;color:#000}.odb-found-number{margin-left:8px;margin-bottom:18px;font-size:13px;font-weight:700;color:#000}.odb-result-table{background-color:#e8e8e8;margin-bottom:20px}.odb-not-found{margin-left:8px;margin-bottom:16px;color:#999}.odb-post-type-select{font-size:inherit}.odb-schedule-select{font-size:inherit;padding:0;margin:0}.odb-schedulehour{display:none}.odb-schedulehour-select{font-size:inherit}.odb-table-excludes{margin-top:10px;border:solid 1px #ccc;padding:10px}.odb-table-excludes td{padding:3px}#odb-options-tables-container{text-align:center}#odb-options-tables-wrapper{width:97%;display:inline-block;margin-top:16px;margin-left:-16px;padding:8px 0 8px 0}.odb-options-table{background-color:#f0f0f0;display:inline-block;height:17px;margin:3px;border:solid 1px #e0e0e0;overflow:hidden;padding:2px;text-align:left;white-space:nowrap;width:200px}.odb-log-table{font-size:13px}.odb-log-table th{border-top:solid 1px #000;border-bottom:solid 1px #000}.odb-log-table td{padding-bottom:4px;border-bottom:dotted 1px #ccc}
language/rvg-optimize-database-nl_NL.mo CHANGED
Binary file
language/rvg-optimize-database-nl_NL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v4.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2018-05-08 14:04+0200\n"
6
- "PO-Revision-Date: 2018-05-08 14:08+0200\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: CAGE <info@cagewebdev.com>\n"
9
  "Language: nl_NL\n"
@@ -11,7 +11,7 @@ msgstr ""
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Generator: Poedit 2.0.7\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
@@ -65,7 +65,7 @@ msgid "IP address / title"
65
  msgstr "IP adres / titel"
66
 
67
  #: classes/odb-cleaner.php:144 classes/odb-logger.php:114
68
- #: classes/odb-logger.php:240
69
  msgid "date"
70
  msgstr "datum"
71
 
@@ -210,33 +210,33 @@ msgstr "Optimalizatie duurde"
210
  msgid "seconds"
211
  msgstr "seconden"
212
 
213
- #: classes/odb-cleaner.php:518 classes/odb-displayer.php:189
214
- #: classes/odb-logger.php:159
215
  msgid "Clear the log?"
216
  msgstr "Logs wissen?"
217
 
218
- #: classes/odb-cleaner.php:526 classes/odb-displayer.php:203
219
  msgid "View Log"
220
  msgstr "Bekijk Logs"
221
 
222
- #: classes/odb-cleaner.php:528 classes/odb-displayer.php:205
223
- #: classes/odb-logger.php:168
224
  msgid "Clear Log"
225
  msgstr "Wis Logs"
226
 
227
- #: classes/odb-cleaner.php:759
228
  msgid "of"
229
  msgstr "van"
230
 
231
- #: classes/odb-cleaner.php:1259
232
  msgid "InnoDB table: skipped..."
233
  msgstr "InnoDB tabel overgeslagen..."
234
 
235
- #: classes/odb-cleaner.php:1264 classes/odb-cleaner.php:1266
236
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
237
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
238
 
239
- #: classes/odb-cleaner.php:1265
240
  msgid "Table is already up to date"
241
  msgstr "Tabel is al optimaal"
242
 
@@ -272,8 +272,8 @@ msgid "Company"
272
  msgstr "Bedrijf"
273
 
274
  #: classes/odb-displayer.php:40
275
- msgid "Donation page"
276
- msgstr "Donatiepagina"
277
 
278
  #: classes/odb-displayer.php:54
279
  msgid "YES"
@@ -418,11 +418,11 @@ msgstr "minuten"
418
  msgid "and"
419
  msgstr "en"
420
 
421
- #: classes/odb-displayer.php:180 classes/odb-logger.php:166
422
  msgid "Change Settings"
423
  msgstr "Wijzig instellingen"
424
 
425
- #: classes/odb-displayer.php:210 classes/odb-logger.php:172
426
  msgid "Start Optimization"
427
  msgstr "Start Optimalisatie"
428
 
@@ -475,56 +475,56 @@ msgstr "database<br>grootte<br>VOOR"
475
  msgid "database<br>size<br>AFTER"
476
  msgstr "database<br>grootte<br>NA"
477
 
478
- #: classes/odb-logger.php:126 classes/odb-logger.php:251
479
  msgid "SAVINGS"
480
  msgstr "BESPARINGEN"
481
 
482
- #: classes/odb-logger.php:170
483
  msgid "Export to CSV"
484
  msgstr "Exporteer naar CSV"
485
 
486
- #: classes/odb-logger.php:239
487
  msgid "id"
488
  msgstr "id"
489
 
490
- #: classes/odb-logger.php:241
491
  msgid "deleted revisions"
492
  msgstr "verw. revisies"
493
 
494
- #: classes/odb-logger.php:242
495
  msgid "deleted trash"
496
  msgstr "verw. prullenbak items"
497
 
498
- #: classes/odb-logger.php:243
499
  msgid "deleted spam"
500
  msgstr "verw. spam items"
501
 
502
- #: classes/odb-logger.php:244
503
  msgid "deleted tags"
504
  msgstr "verw. tags"
505
 
506
- #: classes/odb-logger.php:245
507
  msgid "deleted transients"
508
  msgstr "Verwijderde transiënts"
509
 
510
- #: classes/odb-logger.php:246
511
  msgid "deleted pingbacks"
512
  msgstr "verwijderde pingbacks"
513
 
514
- #: classes/odb-logger.php:247
515
  msgid "deleted orphans"
516
  msgstr "verw. wezen"
517
 
518
  # @ rvg-optimize-database
519
- #: classes/odb-logger.php:248
520
  msgid "nr of optimized tables"
521
  msgstr "aantal geoptimaliseerde tabellen"
522
 
523
- #: classes/odb-logger.php:249
524
  msgid "database size BEFORE"
525
  msgstr "database grootte VOOR"
526
 
527
- #: classes/odb-logger.php:250
528
  msgid "database size AFTER"
529
  msgstr "database grootte NA"
530
 
@@ -678,10 +678,13 @@ msgstr "Optimaliseer Database"
678
  msgid "Optimize DB (1 click)"
679
  msgstr "Optimaliseer DB (1 klik)"
680
 
681
- #: rvg-optimize-database.php:618
682
  msgid "Optimize Database after Deleting Revisions LOGS HAVE BEEN CLEARED"
683
  msgstr "Optimize Database after Deleting Revisions LOGS ZIJN VERWIJDERD"
684
 
 
 
 
685
  #~ msgid "Delete Log File"
686
  #~ msgstr "Verwijder Logbestand"
687
 
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v4.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-06-05 13:33+0200\n"
6
+ "PO-Revision-Date: 2018-06-05 13:34+0200\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: CAGE <info@cagewebdev.com>\n"
9
  "Language: nl_NL\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 2.0.8\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
65
  msgstr "IP adres / titel"
66
 
67
  #: classes/odb-cleaner.php:144 classes/odb-logger.php:114
68
+ #: classes/odb-logger.php:242
69
  msgid "date"
70
  msgstr "datum"
71
 
210
  msgid "seconds"
211
  msgstr "seconden"
212
 
213
+ #: classes/odb-cleaner.php:520 classes/odb-displayer.php:187
214
+ #: classes/odb-logger.php:157
215
  msgid "Clear the log?"
216
  msgstr "Logs wissen?"
217
 
218
+ #: classes/odb-cleaner.php:530 classes/odb-displayer.php:206
219
  msgid "View Log"
220
  msgstr "Bekijk Logs"
221
 
222
+ #: classes/odb-cleaner.php:532 classes/odb-displayer.php:208
223
+ #: classes/odb-logger.php:170
224
  msgid "Clear Log"
225
  msgstr "Wis Logs"
226
 
227
+ #: classes/odb-cleaner.php:763
228
  msgid "of"
229
  msgstr "van"
230
 
231
+ #: classes/odb-cleaner.php:1263
232
  msgid "InnoDB table: skipped..."
233
  msgstr "InnoDB tabel overgeslagen..."
234
 
235
+ #: classes/odb-cleaner.php:1268 classes/odb-cleaner.php:1270
236
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
237
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
238
 
239
+ #: classes/odb-cleaner.php:1269
240
  msgid "Table is already up to date"
241
  msgstr "Tabel is al optimaal"
242
 
272
  msgstr "Bedrijf"
273
 
274
  #: classes/odb-displayer.php:40
275
+ msgid "PLEASE DONATE!"
276
+ msgstr "DONEER!"
277
 
278
  #: classes/odb-displayer.php:54
279
  msgid "YES"
418
  msgid "and"
419
  msgstr "en"
420
 
421
+ #: classes/odb-displayer.php:180 classes/odb-logger.php:168
422
  msgid "Change Settings"
423
  msgstr "Wijzig instellingen"
424
 
425
+ #: classes/odb-displayer.php:214 classes/odb-logger.php:174
426
  msgid "Start Optimization"
427
  msgstr "Start Optimalisatie"
428
 
475
  msgid "database<br>size<br>AFTER"
476
  msgstr "database<br>grootte<br>NA"
477
 
478
+ #: classes/odb-logger.php:126 classes/odb-logger.php:253
479
  msgid "SAVINGS"
480
  msgstr "BESPARINGEN"
481
 
482
+ #: classes/odb-logger.php:172
483
  msgid "Export to CSV"
484
  msgstr "Exporteer naar CSV"
485
 
486
+ #: classes/odb-logger.php:241
487
  msgid "id"
488
  msgstr "id"
489
 
490
+ #: classes/odb-logger.php:243
491
  msgid "deleted revisions"
492
  msgstr "verw. revisies"
493
 
494
+ #: classes/odb-logger.php:244
495
  msgid "deleted trash"
496
  msgstr "verw. prullenbak items"
497
 
498
+ #: classes/odb-logger.php:245
499
  msgid "deleted spam"
500
  msgstr "verw. spam items"
501
 
502
+ #: classes/odb-logger.php:246
503
  msgid "deleted tags"
504
  msgstr "verw. tags"
505
 
506
+ #: classes/odb-logger.php:247
507
  msgid "deleted transients"
508
  msgstr "Verwijderde transiënts"
509
 
510
+ #: classes/odb-logger.php:248
511
  msgid "deleted pingbacks"
512
  msgstr "verwijderde pingbacks"
513
 
514
+ #: classes/odb-logger.php:249
515
  msgid "deleted orphans"
516
  msgstr "verw. wezen"
517
 
518
  # @ rvg-optimize-database
519
+ #: classes/odb-logger.php:250
520
  msgid "nr of optimized tables"
521
  msgstr "aantal geoptimaliseerde tabellen"
522
 
523
+ #: classes/odb-logger.php:251
524
  msgid "database size BEFORE"
525
  msgstr "database grootte VOOR"
526
 
527
+ #: classes/odb-logger.php:252
528
  msgid "database size AFTER"
529
  msgstr "database grootte NA"
530
 
678
  msgid "Optimize DB (1 click)"
679
  msgstr "Optimaliseer DB (1 klik)"
680
 
681
+ #: rvg-optimize-database.php:619
682
  msgid "Optimize Database after Deleting Revisions LOGS HAVE BEEN CLEARED"
683
  msgstr "Optimize Database after Deleting Revisions LOGS ZIJN VERWIJDERD"
684
 
685
+ #~ msgid "Donation page"
686
+ #~ msgstr "Donatiepagina"
687
+
688
  #~ msgid "Delete Log File"
689
  #~ msgstr "Verwijder Logbestand"
690
 
readme.txt CHANGED
@@ -7,9 +7,9 @@ Tags: database, delete, revisions, optimize, post, posts, page, pages, clean, cl
7
  Author URI: http://cagewebdev.com
8
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
9
  Requires at least: 2.8
10
- Tested up to: 4.9.5
11
- Stable tag: 4.6.1
12
- Version: 4.6.1
13
  License: GPLv2 or later
14
 
15
  == Description ==
@@ -104,6 +104,10 @@ http://cagewebdev.com/wordpress-plugins/
104
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
105
 
106
  == Changelog ==
 
 
 
 
107
  = 4.6.1 [06/04/2018] =
108
  * BUG FIX: Fixed the WordPress Admin Menu dropdowns on 'View Log' page
109
 
7
  Author URI: http://cagewebdev.com
8
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
9
  Requires at least: 2.8
10
+ Tested up to: 4.9.6
11
+ Stable tag: 4.6.2
12
+ Version: 4.6.2
13
  License: GPLv2 or later
14
 
15
  == Description ==
104
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
105
 
106
  == Changelog ==
107
+ = 4.6.2 [06/05/2018] =
108
+ * BUG FIX: Fixed a javascript bug for the 'Clear Log' confirmation
109
+ * NEW: PayPal donation button
110
+
111
  = 4.6.1 [06/04/2018] =
112
  * BUG FIX: Fixed the WordPress Admin Menu dropdowns on 'View Log' page
113
 
rvg-optimize-database.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
- * @version 4.6.1
5
  */
6
  /*
7
  Plugin Name: Optimize Database after Deleting Revisions
@@ -10,7 +10,7 @@ Description: Optimizes the Wordpress Database after Cleaning it out
10
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
11
  Author URI: http://cagewebdev.com
12
  Network: True
13
- Version: 4.6.1
14
  */
15
 
16
  /********************************************************************************************
@@ -24,8 +24,8 @@ $odb_class = new OptimizeDatabase();
24
 
25
  class OptimizeDatabase {
26
  // VERSION
27
- var $odb_version = '4.6.1';
28
- var $odb_release_date = '06/04/2018';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();
@@ -607,7 +607,7 @@ class OptimizeDatabase {
607
  $this->odb_logger_obj->odb_view_log();
608
  // v4.6.1
609
  return;
610
- } else if($action == "delete_log") {
611
 
612
  // CLEAR THE LOG TABLE
613
  $this->odb_logger_obj->odb_clear_log();
@@ -620,7 +620,7 @@ class OptimizeDatabase {
620
  echo "</p></div>";
621
  } else if($action == "odb_download_csv") {
622
  //$this->odb_logger_obj->odb_csv_download();
623
- }// if($action == "delete_log")
624
  } // if(isset($_REQUEST['action']))
625
 
626
  if(!$scheduler) {
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
+ * @version 4.6.2
5
  */
6
  /*
7
  Plugin Name: Optimize Database after Deleting Revisions
10
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
11
  Author URI: http://cagewebdev.com
12
  Network: True
13
+ Version: 4.6.2
14
  */
15
 
16
  /********************************************************************************************
24
 
25
  class OptimizeDatabase {
26
  // VERSION
27
+ var $odb_version = '4.6.2';
28
+ var $odb_release_date = '06/05/2018';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();
607
  $this->odb_logger_obj->odb_view_log();
608
  // v4.6.1
609
  return;
610
+ } else if($action == "clear_log") {
611
 
612
  // CLEAR THE LOG TABLE
613
  $this->odb_logger_obj->odb_clear_log();
620
  echo "</p></div>";
621
  } else if($action == "odb_download_csv") {
622
  //$this->odb_logger_obj->odb_csv_download();
623
+ }// if($action == "clear_log")
624
  } // if(isset($_REQUEST['action']))
625
 
626
  if(!$scheduler) {