PluginProbe
WP Reset / 2.05
WP Reset v2.05
trunk 1.0 1.1 1.11 1.20 1.25 1.30 1.35 1.40 1.45 1.50 1.55 1.60 1.65 1.70 1.75 1.77 1.80 1.81 1.82 1.83 1.84 1.85 1.86 1.90 All 42 releases
← All changes | wp-reset-cli.php +3 -3 1.902.05 View file →
@@ -2,9 +2,9 @@
2 2
3 3 /**
4 4 * WP Reset
5 5 * https://wpreset.com/
6 - * (c) WebFactory Ltd, 2017-2021
6 + * (c) WebFactory Ltd, 2017-2023
7 7 */
8 8
9 9
10 10 // include only file
@@ -232,9 +232,9 @@
232 232 $tmp['name'] = $ss['name'];
233 233 } else {
234 234 $tmp['name'] = 'n/a';
235 235 }
236 - $tmp['created'] = date(get_option('date_format'), strtotime($ss['timestamp'])) . ' @ ' . date(get_option('time_format'), strtotime($ss['timestamp']));
236 + $tmp['created'] = gmdate(get_option('date_format'), strtotime($ss['timestamp'])) . ' @ ' . gmdate(get_option('time_format'), strtotime($ss['timestamp']));
237 237 $tmp['info'] = $ss['tbl_core'] . ' standard & ';
238 238 if ($ss['tbl_custom']) {
239 239 $tmp['info'] .= $ss['tbl_custom'] . ' custom table' . ($ss['tbl_custom'] == 1 ? '' : 's');
240 240 } else {
@@ -239,9 +239,9 @@
239 239 $tmp['info'] .= $ss['tbl_custom'] . ' custom table' . ($ss['tbl_custom'] == 1 ? '' : 's');
240 240 } else {
241 241 $tmp['info'] .= 'no custom tables';
242 242 }
243 - $tmp['info'] .= ' totaling ' . $wp_reset->format_size($ss['tbl_size']) . ' in ' . number_format($ss['tbl_rows']) . ' rows';
243 + $tmp['info'] .= ' totaling ' . WP_Reset_Utility::format_size($ss['tbl_size']) . ' in ' . number_format($ss['tbl_rows']) . ' rows';
244 244
245 245 $table[] = $tmp;
246 246 } // foreach
247 247 WP_CLI\Utils\format_items('table', $table, array('id', 'name', 'created', 'info'));