Optimize Database after Deleting Revisions - Version 4.3.1

Version Description

[08/10/2017] = * NEW: New option for deleting ALL transients (not the expired ones only)

Download this release

Release Info

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

Code changes from version 4.3 to 4.3.1

classes/odb-cleaner.php CHANGED
@@ -260,22 +260,32 @@ class ODB_Cleaner {
260
  /****************************************************************************************
261
  * DELETE EXPIRED TRANSIENTS
262
  ****************************************************************************************/
263
- if($odb_class->odb_rvg_options['clear_transients'] == 'Y') {
264
  // DELETE UNUSED TAGS
265
  $total_deleted = $this->odb_delete_transients();
266
  if($total_deleted > 0) {
267
  // TRANSIENTS DELETED
268
  if (!$scheduler) {
 
 
 
 
 
269
  ?>
270
  <div class="odb-found-number">
271
- <?php _e('NUMBER OF EXPIRED TRANSIENTS DELETED', $odb_class->odb_txt_domain);?>: <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
272
  <?php
273
  } // if (!$scheduler)
274
  } else {
275
  if (!$scheduler) {
 
 
 
 
 
276
  ?>
277
  <div class="odb-not-found">
278
- <?php _e('No EXPIRED TRANSIENTS found to delete', $odb_class->odb_txt_domain);?>
279
  </div>
280
  <?php
281
  } // if (!$scheduler)
@@ -283,7 +293,7 @@ class ODB_Cleaner {
283
 
284
  // NUMBER OF transients DELETED FOR LOG FILE
285
  $odb_class->log_arr["transients"] = $total_deleted;
286
- } // if($odb_class->odb_rvg_options['clear_transients'] == 'Y')
287
 
288
 
289
  /****************************************************************************************
@@ -919,48 +929,73 @@ class ODB_Cleaner {
919
 
920
 
921
  /********************************************************************************************
922
- * DELETE EXPIRED TRANSIENTS
923
  ********************************************************************************************/
924
  function odb_delete_transients() {
925
  global $wpdb, $odb_class;
926
 
927
- $delay = time() - 60; // ONE MINUTE DELAY
928
-
929
  $total_deleted = 0;
930
-
931
- // LOOP THROUGH THE NETWORK
932
- for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++) {
933
- // FIND EXPIRED TRANSIENTS
934
- $sql = "
935
- SELECT `option_name`
936
- FROM ".$odb_class->odb_ms_prefixes[$i]."options
937
- WHERE (
938
- option_name LIKE '_transient_timeout_%'
939
- OR option_name LIKE '_site_transient_timeout_%'
940
- )
941
- AND option_value < '".$delay."'
942
- ";
943
 
944
- $results = $wpdb->get_results($sql);
945
- $total_deleted += count($results);
946
 
947
- // LOOP THROUGH THE RESULTS
948
- for($j=0; $j<count($results); $j++) {
949
- if(substr($results[$j]->option_name, 0, 19) == '_transient_timeout_') {
950
- // _transient_timeout_%
951
- $transient = substr($results[$j]->option_name, 19);
952
- // DELETE THE TRANSIENT
953
- delete_transient($transient);
954
- } else {
955
- // _site_transient_timeout_%
956
- $transient = substr($results[$j]->option_name, 24);
957
- // DELETE THE TRANSIENT
958
- delete_site_transient($transient);
959
- } // if(substr($results[$j]->option_name, 0, 19) == '_transient_timeout_')
960
- } // for($j=0; $j<count($results); $j++)
961
- } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
962
 
963
  return $total_deleted;
 
964
  } // odb_delete_transients()
965
 
966
 
260
  /****************************************************************************************
261
  * DELETE EXPIRED TRANSIENTS
262
  ****************************************************************************************/
263
+ if($odb_class->odb_rvg_options['clear_transients'] != 'N') {
264
  // DELETE UNUSED TAGS
265
  $total_deleted = $this->odb_delete_transients();
266
  if($total_deleted > 0) {
267
  // TRANSIENTS DELETED
268
  if (!$scheduler) {
269
+ if ($odb_class->odb_rvg_options['clear_transients'] == 'Y') {
270
+ $msg = __('NUMBER OF EXPIRED TRANSIENTS DELETED', $odb_class->odb_txt_domain);
271
+ } else {
272
+ $msg = __('NUMBER OF TRANSIENTS DELETED', $odb_class->odb_txt_domain);
273
+ }
274
  ?>
275
  <div class="odb-found-number">
276
+ <?php echo $msg; ?>: <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
277
  <?php
278
  } // if (!$scheduler)
279
  } else {
280
  if (!$scheduler) {
281
+ if ($odb_class->odb_rvg_options['clear_transients'] == 'Y') {
282
+ $msg = __('No EXPIRED TRANSIENTS found to delete', $odb_class->odb_txt_domain);
283
+ } else {
284
+ $msg = __('No TRANSIENTS found to delete', $odb_class->odb_txt_domain);
285
+ }
286
  ?>
287
  <div class="odb-not-found">
288
+ <?php echo $msg;?>
289
  </div>
290
  <?php
291
  } // if (!$scheduler)
293
 
294
  // NUMBER OF transients DELETED FOR LOG FILE
295
  $odb_class->log_arr["transients"] = $total_deleted;
296
+ } // if($odb_class->odb_rvg_options['clear_transients'] != 'N')
297
 
298
 
299
  /****************************************************************************************
929
 
930
 
931
  /********************************************************************************************
932
+ * DELETE TRANSIENTS (v4.3.1)
933
  ********************************************************************************************/
934
  function odb_delete_transients() {
935
  global $wpdb, $odb_class;
936
 
 
 
937
  $total_deleted = 0;
938
+
939
+ if ($odb_class->odb_rvg_options['clear_transients'] == 'Y') {
940
+ // ONLY DELETE EXPIRED TRANSIENTS
 
 
 
 
 
 
 
 
 
 
941
 
942
+ $delay = time() - 60; // ONE MINUTE DELAY
 
943
 
944
+ // LOOP THROUGH THE NETWORK
945
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++) {
946
+ // FIND EXPIRED TRANSIENTS
947
+ $sql = "
948
+ SELECT `option_name`
949
+ FROM ".$odb_class->odb_ms_prefixes[$i]."options
950
+ WHERE (
951
+ option_name LIKE '_transient_timeout_%'
952
+ OR option_name LIKE '_site_transient_timeout_%'
953
+ )
954
+ AND option_value < '".$delay."'
955
+ ";
956
+
957
+ $results = $wpdb->get_results($sql);
958
+ $total_deleted += count($results);
959
+
960
+ // LOOP THROUGH THE RESULTS
961
+ for($j=0; $j<count($results); $j++) {
962
+ if(substr($results[$j]->option_name, 0, 19) == '_transient_timeout_') {
963
+ // _transient_timeout_%
964
+ $transient = substr($results[$j]->option_name, 19);
965
+ // DELETE THE TRANSIENT
966
+ delete_transient($transient);
967
+ } else {
968
+ // _site_transient_timeout_%
969
+ $transient = substr($results[$j]->option_name, 24);
970
+ // DELETE THE TRANSIENT
971
+ delete_site_transient($transient);
972
+ } // if(substr($results[$j]->option_name, 0, 19) == '_transient_timeout_')
973
+ } // for($j=0; $j<count($results); $j++)
974
+ } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
975
+ } else {
976
+ // DELETE ALL TRANSIENTS
977
+
978
+ // LOOP THROUGH THE NETWORK
979
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++) {
980
+ // FIND EXPIRED TRANSIENTS
981
+ $sql = "
982
+ SELECT `option_name`
983
+ FROM ".$odb_class->odb_ms_prefixes[$i]."options
984
+ WHERE option_name LIKE '%_transient_%'
985
+ ";
986
+
987
+ $results = $wpdb->get_results($sql);
988
+ $total_deleted += count($results);
989
+
990
+ // LOOP THROUGH THE RESULTS
991
+ for($j=0; $j<count($results); $j++) {
992
+ delete_option($results[$j]->option_name);
993
+ } // for($j=0; $j<count($results); $j++)
994
+ } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
995
+ } // if ($odb_class->odb_rvg_options['clear_transients'] == 'Y')
996
 
997
  return $total_deleted;
998
+
999
  } // odb_delete_transients()
1000
 
1001
 
classes/odb-displayer.php CHANGED
@@ -58,8 +58,17 @@ class ODB_Displayer {
58
  // CURRENT SETTINGS
59
  $trash = ($odb_class->odb_rvg_options['clear_trash'] == 'Y') ? $y : $n;
60
  $spam = ($odb_class->odb_rvg_options['clear_spam'] == 'Y') ? $y : $n;
61
- $tag = ($odb_class->odb_rvg_options['clear_tags'] == 'Y') ? $y : $n;
62
- $trans = ($odb_class->odb_rvg_options['clear_transients'] == 'Y') ? $y : $n;
 
 
 
 
 
 
 
 
 
63
  $ping = ($odb_class->odb_rvg_options['clear_pingbacks'] == 'Y') ? $y : $n;
64
  $log = ($odb_class->odb_rvg_options['logging_on'] == 'Y') ? $y : $n;
65
  $innodb = ($odb_class->odb_rvg_options['optimize_innodb'] == 'Y') ? $y : $n;
@@ -106,7 +115,7 @@ class ODB_Displayer {
106
  <span class="odb-bold">'.__('Delete trashed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trash.'</span><br />
107
  <span class="odb-bold">'.__('Delete spammed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$spam.'</span><br />
108
  <span class="odb-bold">'.__('Delete unused tags', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$tag.'</span><br />
109
- <span class="odb-bold">'.__('Delete expired transients', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trans.'</span><br />
110
  <span class="odb-bold">'.__('Delete pingbacks and trackbacks', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$ping.'</span><br />
111
  <span class="odb-bold">'.__('Keep a log', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$log.'</span><br />
112
  <span class="odb-bold">'.__('Optimize InnoDB tables', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$innodb.'</span><br />
58
  // CURRENT SETTINGS
59
  $trash = ($odb_class->odb_rvg_options['clear_trash'] == 'Y') ? $y : $n;
60
  $spam = ($odb_class->odb_rvg_options['clear_spam'] == 'Y') ? $y : $n;
61
+ $tag = ($odb_class->odb_rvg_options['clear_tags'] == 'Y') ? $y : $n;
62
+
63
+ if($odb_class->odb_rvg_options['clear_transients'] == 'Y') {
64
+ $trans = __('DELETE EXPIRED TRANSIENTS', $odb_class->odb_txt_domain);
65
+ } else if ($odb_class->odb_rvg_options['clear_transients'] == 'A') {
66
+ $trans = __('DELETE ALL TRANSIENTS', $odb_class->odb_txt_domain);
67
+ } else {
68
+ $trans = $n;
69
+ }
70
+
71
+ //$trans = ($odb_class->odb_rvg_options['clear_transients'] == 'Y') ? $y : $n;
72
  $ping = ($odb_class->odb_rvg_options['clear_pingbacks'] == 'Y') ? $y : $n;
73
  $log = ($odb_class->odb_rvg_options['logging_on'] == 'Y') ? $y : $n;
74
  $innodb = ($odb_class->odb_rvg_options['optimize_innodb'] == 'Y') ? $y : $n;
115
  <span class="odb-bold">'.__('Delete trashed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trash.'</span><br />
116
  <span class="odb-bold">'.__('Delete spammed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$spam.'</span><br />
117
  <span class="odb-bold">'.__('Delete unused tags', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$tag.'</span><br />
118
+ <span class="odb-bold">'.__('Delete transients', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trans.'</span><br />
119
  <span class="odb-bold">'.__('Delete pingbacks and trackbacks', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$ping.'</span><br />
120
  <span class="odb-bold">'.__('Keep a log', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$log.'</span><br />
121
  <span class="odb-bold">'.__('Optimize InnoDB tables', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$innodb.'</span><br />
includes/settings-page.php CHANGED
@@ -193,14 +193,9 @@ if($this->odb_rvg_options['rvg_revisions'] == "Y") {
193
  $cb_disabled2 = $d;
194
  }
195
 
196
- # $cb_delete_older = ($this->odb_rvg_options['delete_older'] == "Y") ? $c : '';
197
- # $cb_keep_revisions = ($this->odb_rvg_options['rvg_revisions'] == "Y") ? $c : '';
198
- # $cb_disabled1 = ($this->odb_rvg_options['older_than'] != "") ? $d : '';
199
- # $cb_disabled2 = ($this->odb_rvg_options['nr_of_revisions'] != "") ? $d : '';
200
  $cb_trash = ($this->odb_rvg_options['clear_trash'] == "Y") ? $c : '';
201
  $cb_spam = ($this->odb_rvg_options['clear_spam'] == "Y") ? $c : '';
202
  $cb_tags = ($this->odb_rvg_options['clear_tags'] == "Y") ? $c : '';
203
- $cb_trans = ($this->odb_rvg_options['clear_transients'] == "Y") ? $c : '';
204
  $cb_ping = ($this->odb_rvg_options['clear_pingbacks'] == "Y") ? $c : '';
205
  $cb_logging = ($this->odb_rvg_options['logging_on'] == "Y") ? $c : '';
206
  $cb_adminbar = ($this->odb_rvg_options['adminbar'] == "Y") ? $c : '';
@@ -291,10 +286,23 @@ echo '
291
  <td width="50%" valign="top"><input name="rvg_clear_tags" type="checkbox" value="Y" '.$cb_tags.'></td>
292
  </tr>
293
  <tr>
294
- <td width="50%" align="right" valign="top"><span class="odb-bold">
295
- '.__('Delete expired transients',$this->odb_txt_domain).'
296
  </span></td>
297
- <td width="50%" valign="top"><input name="rvg_clear_transients" type="checkbox" value="Y" '.$cb_trans.'></td>
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  </tr>
299
  <tr>
300
  <td width="50%" align="right" valign="top"><span class="odb-bold">
193
  $cb_disabled2 = $d;
194
  }
195
 
 
 
 
 
196
  $cb_trash = ($this->odb_rvg_options['clear_trash'] == "Y") ? $c : '';
197
  $cb_spam = ($this->odb_rvg_options['clear_spam'] == "Y") ? $c : '';
198
  $cb_tags = ($this->odb_rvg_options['clear_tags'] == "Y") ? $c : '';
 
199
  $cb_ping = ($this->odb_rvg_options['clear_pingbacks'] == "Y") ? $c : '';
200
  $cb_logging = ($this->odb_rvg_options['logging_on'] == "Y") ? $c : '';
201
  $cb_adminbar = ($this->odb_rvg_options['adminbar'] == "Y") ? $c : '';
286
  <td width="50%" valign="top"><input name="rvg_clear_tags" type="checkbox" value="Y" '.$cb_tags.'></td>
287
  </tr>
288
  <tr>
289
+ <td width="50%" align="right"><span class="odb-bold">
290
+ '.__('Delete transients',$this->odb_txt_domain).'
291
  </span></td>
292
+ <td width="50%" valign="top"><select name="rvg_clear_transients" id="rvg_clear_transients" class="odb-post-type-select">
293
+ <option selected="selected" value="N">
294
+ '.__('DO NOT DELETE TRANSIENTS',$this->odb_txt_domain).'
295
+ </option>
296
+ <option value="Y">
297
+ '.__('DELETE EXPIRED TRANSIENTS',$this->odb_txt_domain).'
298
+ </option>
299
+ <option value="A">
300
+ '.__('DELETE ALL TRANSIENTS',$this->odb_txt_domain).'
301
+ </option>
302
+ </select>
303
+ <script type="text/javascript">
304
+ jQuery("#rvg_clear_transients").val("'.$this->odb_rvg_options['clear_transients'].'");
305
+ </script></td>
306
  </tr>
307
  <tr>
308
  <td width="50%" align="right" valign="top"><span class="odb-bold">
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: 2017-07-24 13:59+0200\n"
6
- "PO-Revision-Date: 2017-07-24 14:02+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"
@@ -108,111 +108,119 @@ msgstr "AANTAL VERWIJDERDE ONGEBRUIKTE TAGS"
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "Geen ONGEBRUIKTE TAGS gevonden om te verwijderen"
110
 
111
- #: classes/odb-cleaner.php:271
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
114
 
115
- #: classes/odb-cleaner.php:278
 
 
 
 
116
  msgid "No EXPIRED TRANSIENTS found to delete"
117
  msgstr "Geen VERLOPEN TRANSIËNTS gevonden om te verwijderen"
118
 
119
- #: classes/odb-cleaner.php:300
 
 
 
 
120
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
121
  msgstr "AANTAL VERWIJDERDE PINGBACKS EN TRACKBACKS"
122
 
123
- #: classes/odb-cleaner.php:307
124
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
125
  msgstr "Geen PINGBACKS en TRACKBACKS gevonden om te verwijderen"
126
 
127
- #: classes/odb-cleaner.php:326
128
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
129
  msgstr "AANTAL VERWIJDERDE POSTMETA WEZEN"
130
 
131
- #: classes/odb-cleaner.php:333
132
  msgid "No POSTMETA ORPHANS found to delete"
133
  msgstr "Geen POSTMETA WEZEN gevonden om te verwijderen"
134
 
135
- #: classes/odb-cleaner.php:359
136
  msgid "Optimizing Database Tables"
137
  msgstr "Optimaliseren van Databasetabellen"
138
 
139
- #: classes/odb-cleaner.php:366
140
  msgid "table name"
141
  msgstr "tabelnaam"
142
 
143
- #: classes/odb-cleaner.php:367
144
  msgid "optimization result"
145
  msgstr "resultaat optimalisatie"
146
 
147
- #: classes/odb-cleaner.php:368
148
  msgid "engine"
149
  msgstr "engine"
150
 
151
- #: classes/odb-cleaner.php:369
152
  msgid "table rows"
153
  msgstr "tabelrijen"
154
 
155
- #: classes/odb-cleaner.php:370
156
  msgid "table size"
157
  msgstr "tabelgrootte"
158
 
159
- #: classes/odb-cleaner.php:416
160
  msgid "Savings"
161
  msgstr "Besparingen"
162
 
163
- #: classes/odb-cleaner.php:423
164
  msgid "size of the database"
165
  msgstr "grootte van de database"
166
 
167
- #: classes/odb-cleaner.php:426
168
  msgid "BEFORE optimization"
169
  msgstr "VOOR de optimalisatie"
170
 
171
- #: classes/odb-cleaner.php:430
172
  msgid "AFTER optimization"
173
  msgstr "NA de optimalisatie"
174
 
175
- #: classes/odb-cleaner.php:434
176
  msgid "SAVINGS THIS TIME"
177
  msgstr "DIT KEER BESPAARD"
178
 
179
- #: classes/odb-cleaner.php:438
180
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
181
  msgstr "TOTALE BESPARING SINDS DE EERSTE UITVOERING"
182
 
183
- #: classes/odb-cleaner.php:464
184
  msgid "DONE!"
185
  msgstr "KLAAR!"
186
 
187
- #: classes/odb-cleaner.php:469
188
  msgid "Optimization took"
189
  msgstr "Optimalizatie duurde"
190
 
191
- #: classes/odb-cleaner.php:469
192
  msgid "seconds"
193
  msgstr "seconden"
194
 
195
- #: classes/odb-cleaner.php:477 classes/odb-displayer.php:150
196
  msgid "View Log File"
197
  msgstr "Bekijk Logbestand"
198
 
199
- #: classes/odb-cleaner.php:479 classes/odb-displayer.php:152
200
  msgid "Delete Log File"
201
  msgstr "Verwijder Logbestand"
202
 
203
- #: classes/odb-cleaner.php:677
204
  msgid "of"
205
  msgstr "van"
206
 
207
- #: classes/odb-cleaner.php:1117
208
  msgid "InnoDB table: skipped..."
209
  msgstr "InnoDB tabel overgeslagen..."
210
 
211
- #: classes/odb-cleaner.php:1122 classes/odb-cleaner.php:1124
212
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
213
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
214
 
215
- #: classes/odb-cleaner.php:1123
216
  msgid "Table is already up to date"
217
  msgstr "Tabel is al optimaal"
218
 
@@ -259,131 +267,139 @@ msgstr "JA"
259
  msgid "NO"
260
  msgstr "NEE"
261
 
262
- #: classes/odb-displayer.php:68
 
 
 
 
 
 
 
 
263
  msgid "EVERY FIVE MINUTES"
264
  msgstr "IEDERE VIJF MINUTEN"
265
 
266
- #: classes/odb-displayer.php:70
267
  msgid "ONCE HOURLY"
268
  msgstr "ELK UUR"
269
 
270
- #: classes/odb-displayer.php:72
271
  msgid "TWICE DAILY"
272
  msgstr "TWEEMAAL DAAGS"
273
 
274
- #: classes/odb-displayer.php:74
275
  msgid "ONCE DAILY"
276
  msgstr "DAGELIJKS"
277
 
278
- #: classes/odb-displayer.php:76
279
  msgid "ONCE WEEKLY"
280
  msgstr "WEKELIJKS"
281
 
282
- #: classes/odb-displayer.php:78
283
  msgid "ONCE MONTHLY"
284
  msgstr "MAANDELIJKS"
285
 
286
- #: classes/odb-displayer.php:79 includes/settings-page.php:323
287
  msgid "NOT SCHEDULED"
288
  msgstr "NIET GEPLAND"
289
 
290
- #: classes/odb-displayer.php:84
291
  msgid "Current settings"
292
  msgstr "Huidige instellingen"
293
 
294
- #: classes/odb-displayer.php:90 includes/settings-page.php:232
295
  msgid "POSTS only"
296
  msgstr "BERICHTEN alleen"
297
 
298
- #: classes/odb-displayer.php:92 includes/settings-page.php:235
299
  msgid "PAGES only"
300
  msgstr "PAGINA'S alleen"
301
 
302
- #: classes/odb-displayer.php:94 includes/settings-page.php:229
303
  msgid "POSTS and PAGES"
304
  msgstr "BERICHTEN en PAGINA'S"
305
 
306
- #: classes/odb-displayer.php:95 includes/settings-page.php:226
307
  msgid "Delete revisions of"
308
  msgstr "Verwijder revisies van"
309
 
310
- #: classes/odb-displayer.php:98 includes/settings-page.php:143
311
- #: includes/settings-page.php:244
312
  msgid "Delete revisions older than"
313
  msgstr "Verwijder revisies ouder dan"
314
 
315
- #: classes/odb-displayer.php:98
316
  msgid "days"
317
  msgstr "dagen"
318
 
319
- #: classes/odb-displayer.php:102
320
  msgid "Maximum number of - most recent - revisions to keep per post / page"
321
  msgstr ""
322
  "Maximaal aantal (meest recente) revisies die bewaard worden per bericht / "
323
  "pagina"
324
 
325
- #: classes/odb-displayer.php:106 includes/settings-page.php:277
326
  msgid "Delete trashed items"
327
  msgstr "Verwijder trashed items"
328
 
329
- #: classes/odb-displayer.php:107 includes/settings-page.php:283
330
  msgid "Delete spammed items"
331
  msgstr "Verwijder spammed items"
332
 
333
- #: classes/odb-displayer.php:108 includes/settings-page.php:289
334
  msgid "Delete unused tags"
335
  msgstr "Verwijder ongebruikte tags"
336
 
337
- #: classes/odb-displayer.php:109 includes/settings-page.php:295
338
- msgid "Delete expired transients"
339
- msgstr "Verwijder verlopen transiënts"
340
 
341
- #: classes/odb-displayer.php:110 includes/settings-page.php:301
342
  msgid "Delete pingbacks and trackbacks"
343
  msgstr "Verwijder pingback en trackbacks"
344
 
345
- #: classes/odb-displayer.php:111 includes/settings-page.php:313
346
  msgid "Keep a log"
347
  msgstr "Gebruik een logbestand"
348
 
349
- #: classes/odb-displayer.php:112
350
  msgid "Optimize InnoDB tables"
351
  msgstr "Optimaliseer InnoDB tabellen"
352
 
353
- #: classes/odb-displayer.php:113
354
  msgid "Last run"
355
  msgstr "Laatste uitvoering"
356
 
357
- #: classes/odb-displayer.php:113 classes/odb-displayer.php:122
358
- #: includes/settings-page.php:357
359
  msgid "hrs"
360
  msgstr "uur"
361
 
362
- #: classes/odb-displayer.php:114
363
  msgid "Number of excluded tables"
364
  msgstr "Aantal uitgesloten tabellen"
365
 
366
- #: classes/odb-displayer.php:115 includes/settings-page.php:319
367
  msgid "Scheduler"
368
  msgstr "Planner"
369
 
370
- #: classes/odb-displayer.php:122
371
  msgid "Next scheduled run"
372
  msgstr "Volgende geplande uitvoering"
373
 
374
- #: classes/odb-displayer.php:122
375
  msgid "current server time"
376
  msgstr "huidige systeemtijd"
377
 
378
- #: classes/odb-displayer.php:127
379
  msgid "Total savings since the first run"
380
  msgstr "Totale besparing sinds de eerste uitvoering"
381
 
382
- #: classes/odb-displayer.php:143
383
  msgid "Change Settings"
384
  msgstr "Wijzig instellingen"
385
 
386
- #: classes/odb-displayer.php:159
387
  msgid "Start Optimization"
388
  msgstr "Start Optimalisatie"
389
 
@@ -486,72 +502,76 @@ msgstr "Je moet het <Maximaal aantal revisies> invullen"
486
  msgid "<Maximum number of revisions> should be a number"
487
  msgstr "<Maximaal aantal revisies> moet een getal zijn"
488
 
489
- #: includes/settings-page.php:222 rvg-optimize-database.php:389
490
  msgid "Settings"
491
  msgstr "Instellingen"
492
 
493
- #: includes/settings-page.php:249
494
  msgid "day(s)"
495
  msgstr "dag(en)"
496
 
497
- #: includes/settings-page.php:261
498
  msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
499
  msgstr ""
500
  "Maximaal aantal - meest recente - revisies<br>om te bewaren per post/pagina"
501
 
502
- #: includes/settings-page.php:267
503
  msgid "('0' means: delete <u>ALL</u> revisions)"
504
  msgstr "('0' betekent: verwijder <u>ALLE</u> revisies)"
505
 
506
- #: includes/settings-page.php:307
 
 
 
 
507
  msgid "Optimize InnoDB tables too"
508
  msgstr "Optimiliseer ook InnoDB tabellen"
509
 
510
- #: includes/settings-page.php:326
511
  msgid "run optimization HOURLY"
512
  msgstr "voer de optimalisatie ELK UUR uit"
513
 
514
- #: includes/settings-page.php:329
515
  msgid "run optimization TWICE A DAY"
516
  msgstr "voer de optimalisatie TWEE KEER PER DAG uit"
517
 
518
- #: includes/settings-page.php:332
519
  msgid "run optimization DAILY"
520
  msgstr "voer de optimalisatie DAGELIJKS uit"
521
 
522
- #: includes/settings-page.php:335
523
  msgid "run optimization WEEKLY"
524
  msgstr "voer de optimalisatie WEKELIJKS uit"
525
 
526
- #: includes/settings-page.php:338
527
  msgid "run optimization MONTHLY"
528
  msgstr "voer de optimalisatie MAANDELIJKS uit"
529
 
530
- #: includes/settings-page.php:348
531
  msgid "Time"
532
  msgstr "Tijd"
533
 
534
- #: includes/settings-page.php:372
535
  msgid "Show '1-click' link in Admin Bar"
536
  msgstr "Toon de '1-klik' link in de Admin Balk"
537
 
538
- #: includes/settings-page.php:378
539
  msgid "Show an icon in the Admin Menu"
540
  msgstr "Toon een icon in het Admin Menu"
541
 
542
- #: includes/settings-page.php:383
543
  msgid "change will be visible after loading the next page"
544
  msgstr "wijziging wordt pas zichtbaar na het laden van de volgende pagina"
545
 
546
- #: includes/settings-page.php:388 includes/settings-page.php:434
547
  msgid "Save Settings"
548
  msgstr "Bewaar instellingen"
549
 
550
- #: includes/settings-page.php:390 includes/settings-page.php:436
551
  msgid "Go To Optimizer"
552
  msgstr "Ga naar Optimalisatie"
553
 
554
- #: includes/settings-page.php:397
555
  msgid ""
556
  "EXCLUDE DATABASE TABLES FROM OPTIMIZATION:<br><span class=\"odb-underline-red"
557
  "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
@@ -561,15 +581,15 @@ msgstr ""
561
  "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
562
  "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
563
 
564
- #: includes/settings-page.php:403
565
  msgid "check all tables"
566
  msgstr "vink alle tabellen aan"
567
 
568
- #: includes/settings-page.php:405
569
  msgid "uncheck all tables"
570
  msgstr "vink alle tabellen uit"
571
 
572
- #: includes/settings-page.php:407
573
  msgid "check all NON-WordPress tables"
574
  msgstr "vink alle NIET-WordPress tabellen aan"
575
 
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v4.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-08-10 16:30+0200\n"
6
+ "PO-Revision-Date: 2017-08-10 16:33+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"
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "Geen ONGEBRUIKTE TAGS gevonden om te verwijderen"
110
 
111
+ #: classes/odb-cleaner.php:270
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
114
 
115
+ #: classes/odb-cleaner.php:272
116
+ msgid "NUMBER OF TRANSIENTS DELETED"
117
+ msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
118
+
119
+ #: classes/odb-cleaner.php:282
120
  msgid "No EXPIRED TRANSIENTS found to delete"
121
  msgstr "Geen VERLOPEN TRANSIËNTS gevonden om te verwijderen"
122
 
123
+ #: classes/odb-cleaner.php:284
124
+ msgid "No TRANSIENTS found to delete"
125
+ msgstr "Geen VERLOPEN TRANSIËNTS gevonden om te verwijderen"
126
+
127
+ #: classes/odb-cleaner.php:310
128
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
129
  msgstr "AANTAL VERWIJDERDE PINGBACKS EN TRACKBACKS"
130
 
131
+ #: classes/odb-cleaner.php:317
132
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
133
  msgstr "Geen PINGBACKS en TRACKBACKS gevonden om te verwijderen"
134
 
135
+ #: classes/odb-cleaner.php:336
136
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
137
  msgstr "AANTAL VERWIJDERDE POSTMETA WEZEN"
138
 
139
+ #: classes/odb-cleaner.php:343
140
  msgid "No POSTMETA ORPHANS found to delete"
141
  msgstr "Geen POSTMETA WEZEN gevonden om te verwijderen"
142
 
143
+ #: classes/odb-cleaner.php:369
144
  msgid "Optimizing Database Tables"
145
  msgstr "Optimaliseren van Databasetabellen"
146
 
147
+ #: classes/odb-cleaner.php:376
148
  msgid "table name"
149
  msgstr "tabelnaam"
150
 
151
+ #: classes/odb-cleaner.php:377
152
  msgid "optimization result"
153
  msgstr "resultaat optimalisatie"
154
 
155
+ #: classes/odb-cleaner.php:378
156
  msgid "engine"
157
  msgstr "engine"
158
 
159
+ #: classes/odb-cleaner.php:379
160
  msgid "table rows"
161
  msgstr "tabelrijen"
162
 
163
+ #: classes/odb-cleaner.php:380
164
  msgid "table size"
165
  msgstr "tabelgrootte"
166
 
167
+ #: classes/odb-cleaner.php:426
168
  msgid "Savings"
169
  msgstr "Besparingen"
170
 
171
+ #: classes/odb-cleaner.php:433
172
  msgid "size of the database"
173
  msgstr "grootte van de database"
174
 
175
+ #: classes/odb-cleaner.php:436
176
  msgid "BEFORE optimization"
177
  msgstr "VOOR de optimalisatie"
178
 
179
+ #: classes/odb-cleaner.php:440
180
  msgid "AFTER optimization"
181
  msgstr "NA de optimalisatie"
182
 
183
+ #: classes/odb-cleaner.php:444
184
  msgid "SAVINGS THIS TIME"
185
  msgstr "DIT KEER BESPAARD"
186
 
187
+ #: classes/odb-cleaner.php:448
188
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
189
  msgstr "TOTALE BESPARING SINDS DE EERSTE UITVOERING"
190
 
191
+ #: classes/odb-cleaner.php:474
192
  msgid "DONE!"
193
  msgstr "KLAAR!"
194
 
195
+ #: classes/odb-cleaner.php:479
196
  msgid "Optimization took"
197
  msgstr "Optimalizatie duurde"
198
 
199
+ #: classes/odb-cleaner.php:479
200
  msgid "seconds"
201
  msgstr "seconden"
202
 
203
+ #: classes/odb-cleaner.php:487 classes/odb-displayer.php:159
204
  msgid "View Log File"
205
  msgstr "Bekijk Logbestand"
206
 
207
+ #: classes/odb-cleaner.php:489 classes/odb-displayer.php:161
208
  msgid "Delete Log File"
209
  msgstr "Verwijder Logbestand"
210
 
211
+ #: classes/odb-cleaner.php:687
212
  msgid "of"
213
  msgstr "van"
214
 
215
+ #: classes/odb-cleaner.php:1152
216
  msgid "InnoDB table: skipped..."
217
  msgstr "InnoDB tabel overgeslagen..."
218
 
219
+ #: classes/odb-cleaner.php:1157 classes/odb-cleaner.php:1159
220
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
221
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
222
 
223
+ #: classes/odb-cleaner.php:1158
224
  msgid "Table is already up to date"
225
  msgstr "Tabel is al optimaal"
226
 
267
  msgid "NO"
268
  msgstr "NEE"
269
 
270
+ #: classes/odb-displayer.php:64 includes/settings-page.php:297
271
+ msgid "DELETE EXPIRED TRANSIENTS"
272
+ msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
273
+
274
+ #: classes/odb-displayer.php:66 includes/settings-page.php:300
275
+ msgid "DELETE ALL TRANSIENTS"
276
+ msgstr "VERWIJDER ALLE TRANSIENTS"
277
+
278
+ #: classes/odb-displayer.php:77
279
  msgid "EVERY FIVE MINUTES"
280
  msgstr "IEDERE VIJF MINUTEN"
281
 
282
+ #: classes/odb-displayer.php:79
283
  msgid "ONCE HOURLY"
284
  msgstr "ELK UUR"
285
 
286
+ #: classes/odb-displayer.php:81
287
  msgid "TWICE DAILY"
288
  msgstr "TWEEMAAL DAAGS"
289
 
290
+ #: classes/odb-displayer.php:83
291
  msgid "ONCE DAILY"
292
  msgstr "DAGELIJKS"
293
 
294
+ #: classes/odb-displayer.php:85
295
  msgid "ONCE WEEKLY"
296
  msgstr "WEKELIJKS"
297
 
298
+ #: classes/odb-displayer.php:87
299
  msgid "ONCE MONTHLY"
300
  msgstr "MAANDELIJKS"
301
 
302
+ #: classes/odb-displayer.php:88 includes/settings-page.php:331
303
  msgid "NOT SCHEDULED"
304
  msgstr "NIET GEPLAND"
305
 
306
+ #: classes/odb-displayer.php:93
307
  msgid "Current settings"
308
  msgstr "Huidige instellingen"
309
 
310
+ #: classes/odb-displayer.php:99 includes/settings-page.php:227
311
  msgid "POSTS only"
312
  msgstr "BERICHTEN alleen"
313
 
314
+ #: classes/odb-displayer.php:101 includes/settings-page.php:230
315
  msgid "PAGES only"
316
  msgstr "PAGINA'S alleen"
317
 
318
+ #: classes/odb-displayer.php:103 includes/settings-page.php:224
319
  msgid "POSTS and PAGES"
320
  msgstr "BERICHTEN en PAGINA'S"
321
 
322
+ #: classes/odb-displayer.php:104 includes/settings-page.php:221
323
  msgid "Delete revisions of"
324
  msgstr "Verwijder revisies van"
325
 
326
+ #: classes/odb-displayer.php:107 includes/settings-page.php:143
327
+ #: includes/settings-page.php:239
328
  msgid "Delete revisions older than"
329
  msgstr "Verwijder revisies ouder dan"
330
 
331
+ #: classes/odb-displayer.php:107
332
  msgid "days"
333
  msgstr "dagen"
334
 
335
+ #: classes/odb-displayer.php:111
336
  msgid "Maximum number of - most recent - revisions to keep per post / page"
337
  msgstr ""
338
  "Maximaal aantal (meest recente) revisies die bewaard worden per bericht / "
339
  "pagina"
340
 
341
+ #: classes/odb-displayer.php:115 includes/settings-page.php:272
342
  msgid "Delete trashed items"
343
  msgstr "Verwijder trashed items"
344
 
345
+ #: classes/odb-displayer.php:116 includes/settings-page.php:278
346
  msgid "Delete spammed items"
347
  msgstr "Verwijder spammed items"
348
 
349
+ #: classes/odb-displayer.php:117 includes/settings-page.php:284
350
  msgid "Delete unused tags"
351
  msgstr "Verwijder ongebruikte tags"
352
 
353
+ #: classes/odb-displayer.php:118 includes/settings-page.php:290
354
+ msgid "Delete transients"
355
+ msgstr "Verwijder transiënts"
356
 
357
+ #: classes/odb-displayer.php:119 includes/settings-page.php:309
358
  msgid "Delete pingbacks and trackbacks"
359
  msgstr "Verwijder pingback en trackbacks"
360
 
361
+ #: classes/odb-displayer.php:120 includes/settings-page.php:321
362
  msgid "Keep a log"
363
  msgstr "Gebruik een logbestand"
364
 
365
+ #: classes/odb-displayer.php:121
366
  msgid "Optimize InnoDB tables"
367
  msgstr "Optimaliseer InnoDB tabellen"
368
 
369
+ #: classes/odb-displayer.php:122
370
  msgid "Last run"
371
  msgstr "Laatste uitvoering"
372
 
373
+ #: classes/odb-displayer.php:122 classes/odb-displayer.php:131
374
+ #: includes/settings-page.php:365
375
  msgid "hrs"
376
  msgstr "uur"
377
 
378
+ #: classes/odb-displayer.php:123
379
  msgid "Number of excluded tables"
380
  msgstr "Aantal uitgesloten tabellen"
381
 
382
+ #: classes/odb-displayer.php:124 includes/settings-page.php:327
383
  msgid "Scheduler"
384
  msgstr "Planner"
385
 
386
+ #: classes/odb-displayer.php:131
387
  msgid "Next scheduled run"
388
  msgstr "Volgende geplande uitvoering"
389
 
390
+ #: classes/odb-displayer.php:131
391
  msgid "current server time"
392
  msgstr "huidige systeemtijd"
393
 
394
+ #: classes/odb-displayer.php:136
395
  msgid "Total savings since the first run"
396
  msgstr "Totale besparing sinds de eerste uitvoering"
397
 
398
+ #: classes/odb-displayer.php:152
399
  msgid "Change Settings"
400
  msgstr "Wijzig instellingen"
401
 
402
+ #: classes/odb-displayer.php:168
403
  msgid "Start Optimization"
404
  msgstr "Start Optimalisatie"
405
 
502
  msgid "<Maximum number of revisions> should be a number"
503
  msgstr "<Maximaal aantal revisies> moet een getal zijn"
504
 
505
+ #: includes/settings-page.php:217 rvg-optimize-database.php:389
506
  msgid "Settings"
507
  msgstr "Instellingen"
508
 
509
+ #: includes/settings-page.php:244
510
  msgid "day(s)"
511
  msgstr "dag(en)"
512
 
513
+ #: includes/settings-page.php:256
514
  msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
515
  msgstr ""
516
  "Maximaal aantal - meest recente - revisies<br>om te bewaren per post/pagina"
517
 
518
+ #: includes/settings-page.php:262
519
  msgid "('0' means: delete <u>ALL</u> revisions)"
520
  msgstr "('0' betekent: verwijder <u>ALLE</u> revisies)"
521
 
522
+ #: includes/settings-page.php:294
523
+ msgid "DO NOT DELETE TRANSIENTS"
524
+ msgstr "GEEN TRANSIENTS VERWIJDEREN"
525
+
526
+ #: includes/settings-page.php:315
527
  msgid "Optimize InnoDB tables too"
528
  msgstr "Optimiliseer ook InnoDB tabellen"
529
 
530
+ #: includes/settings-page.php:334
531
  msgid "run optimization HOURLY"
532
  msgstr "voer de optimalisatie ELK UUR uit"
533
 
534
+ #: includes/settings-page.php:337
535
  msgid "run optimization TWICE A DAY"
536
  msgstr "voer de optimalisatie TWEE KEER PER DAG uit"
537
 
538
+ #: includes/settings-page.php:340
539
  msgid "run optimization DAILY"
540
  msgstr "voer de optimalisatie DAGELIJKS uit"
541
 
542
+ #: includes/settings-page.php:343
543
  msgid "run optimization WEEKLY"
544
  msgstr "voer de optimalisatie WEKELIJKS uit"
545
 
546
+ #: includes/settings-page.php:346
547
  msgid "run optimization MONTHLY"
548
  msgstr "voer de optimalisatie MAANDELIJKS uit"
549
 
550
+ #: includes/settings-page.php:356
551
  msgid "Time"
552
  msgstr "Tijd"
553
 
554
+ #: includes/settings-page.php:380
555
  msgid "Show '1-click' link in Admin Bar"
556
  msgstr "Toon de '1-klik' link in de Admin Balk"
557
 
558
+ #: includes/settings-page.php:386
559
  msgid "Show an icon in the Admin Menu"
560
  msgstr "Toon een icon in het Admin Menu"
561
 
562
+ #: includes/settings-page.php:391
563
  msgid "change will be visible after loading the next page"
564
  msgstr "wijziging wordt pas zichtbaar na het laden van de volgende pagina"
565
 
566
+ #: includes/settings-page.php:396 includes/settings-page.php:442
567
  msgid "Save Settings"
568
  msgstr "Bewaar instellingen"
569
 
570
+ #: includes/settings-page.php:398 includes/settings-page.php:444
571
  msgid "Go To Optimizer"
572
  msgstr "Ga naar Optimalisatie"
573
 
574
+ #: includes/settings-page.php:405
575
  msgid ""
576
  "EXCLUDE DATABASE TABLES FROM OPTIMIZATION:<br><span class=\"odb-underline-red"
577
  "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
581
  "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
582
  "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
583
 
584
+ #: includes/settings-page.php:411
585
  msgid "check all tables"
586
  msgstr "vink alle tabellen aan"
587
 
588
+ #: includes/settings-page.php:413
589
  msgid "uncheck all tables"
590
  msgstr "vink alle tabellen uit"
591
 
592
+ #: includes/settings-page.php:415
593
  msgid "check all NON-WordPress tables"
594
  msgstr "vink alle NIET-WordPress tabellen aan"
595
 
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.8
11
- Stable tag: 4.3
12
- Version: 4.3
13
  License: GPLv2 or later
14
 
15
  == Description ==
@@ -21,7 +21,7 @@ This plugin is a 'One Click' WordPress Database Cleaner / Optimizer.
21
  * Deletes trashed posts, pages and comments (optional)
22
  * Deletes spammed comments (optional)
23
  * Deletes unused tags (optional)
24
- * Deletes 'expired transients' (optional)
25
  * Deletes 'pingbacks' and 'trackbacks' (optional)
26
  * Deletes 'orphan postmeta items'
27
  * Optimizes the database tables (optionally you can exclude certain tables, or even specific posts/pages, from optimization)
@@ -102,6 +102,9 @@ http://cagewebdev.com/wordpress-plugins/
102
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
103
 
104
  == Changelog ==
 
 
 
105
  = 4.3 [07/24/2017] =
106
  * NEW: New setting added: Delete revisions of (POSTS and PAGES, POSTS only or PAGES only)
107
  * CHANGE: Some code clean-up and minor changes
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.8.1
11
+ Stable tag: 4.3.1
12
+ Version: 4.3.1
13
  License: GPLv2 or later
14
 
15
  == Description ==
21
  * Deletes trashed posts, pages and comments (optional)
22
  * Deletes spammed comments (optional)
23
  * Deletes unused tags (optional)
24
+ * Deletes 'expired or all transients' (optional)
25
  * Deletes 'pingbacks' and 'trackbacks' (optional)
26
  * Deletes 'orphan postmeta items'
27
  * Optimizes the database tables (optionally you can exclude certain tables, or even specific posts/pages, from optimization)
102
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
103
 
104
  == Changelog ==
105
+ = 4.3.1 [08/10/2017] =
106
+ * NEW: New option for deleting ALL transients (not the expired ones only)
107
+
108
  = 4.3 [07/24/2017] =
109
  * NEW: New setting added: Delete revisions of (POSTS and PAGES, POSTS only or PAGES only)
110
  * CHANGE: Some code clean-up and minor changes
rvg-optimize-database.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
- * @version 4.3
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.3
14
  */
15
 
16
  /********************************************************************************************
@@ -24,8 +24,8 @@ $odb_class = new OptimizeDatabase();
24
 
25
  class OptimizeDatabase {
26
  // VERSION
27
- var $odb_version = '4.3';
28
- var $odb_release_date = '07/24/2017';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
+ * @version 4.3.1
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.3.1
14
  */
15
 
16
  /********************************************************************************************
24
 
25
  class OptimizeDatabase {
26
  // VERSION
27
+ var $odb_version = '4.3.1';
28
+ var $odb_release_date = '08/10/2017';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();