PluginProbe
Import WP – CSV & XML Import Export for WordPress / 2.15.0
Import WP – CSV & XML Import Export for WordPress v2.15.0
2.15.1 2.15.0 2.14.24 2.14.23 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.9.0 2.9.1 All 144 releases
← All changes | class/Common/Runner/ExporterRunner.php +2 -2 2.7.12 → 2.15.0 View file →
@@ -31,9 +31,9 @@
31 31 {
32 32 $state->populate($state_data);
33 33
34 34 if (!$state->validate($config['id'])) {
35 - throw new \Exception("Exporter session has changed");
35 + throw new \Exception(__("Exporter session has changed", 'jc-importer'));
36 36 }
37 37
38 38 $section = 'export';
39 39
@@ -54,9 +54,9 @@
54 54 }
55 55
56 56 // Get increase index, locking record, and saving to user importer state
57 57 $state_data['progress'][$section]['current_row']++;
58 - update_site_option('iwp_exporter_state_' . $id . '_' . $user, array_merge($state_data, ['last_modified' => current_time('timestamp')]));
58 + update_option('iwp_exporter_state_' . $id . '_' . $user, array_merge($state_data, ['last_modified' => current_time('timestamp')]));
59 59 }
60 60
61 61 $state_data['duration'] = floatval($state_data['duration'] ?? 0) + Logger::timer();
62 62