Changeset 3492729
- Timestamp:
- 03/27/2026 02:20:59 PM (2 days ago)
- Location:
- migratico-lite
- Files:
-
- 50 added
- 4 edited
-
tags/2.4.7 (added)
-
tags/2.4.7/CHANGELOG.md (added)
-
tags/2.4.7/README.txt (added)
-
tags/2.4.7/admin (added)
-
tags/2.4.7/admin/class-migratico-admin.php (added)
-
tags/2.4.7/admin/index.php (added)
-
tags/2.4.7/admin/views (added)
-
tags/2.4.7/admin/views/create-page.php (added)
-
tags/2.4.7/admin/views/index.php (added)
-
tags/2.4.7/admin/views/main-page.php (added)
-
tags/2.4.7/admin/views/settings-page.php (added)
-
tags/2.4.7/admin/views/stats-page.php (added)
-
tags/2.4.7/assets (added)
-
tags/2.4.7/assets/css (added)
-
tags/2.4.7/assets/css/admin.css (added)
-
tags/2.4.7/assets/css/index.php (added)
-
tags/2.4.7/assets/index.php (added)
-
tags/2.4.7/assets/js (added)
-
tags/2.4.7/assets/js/admin.js (added)
-
tags/2.4.7/assets/js/index.php (added)
-
tags/2.4.7/includes (added)
-
tags/2.4.7/includes/class-migratico-core.php (added)
-
tags/2.4.7/includes/class-migratico-db-export.php (added)
-
tags/2.4.7/includes/class-migratico-files-export.php (added)
-
tags/2.4.7/includes/class-migratico-logger.php (added)
-
tags/2.4.7/includes/class-migratico-package.php (added)
-
tags/2.4.7/includes/class-migratico-progress.php (added)
-
tags/2.4.7/includes/index.php (added)
-
tags/2.4.7/installer (added)
-
tags/2.4.7/installer/assets (added)
-
tags/2.4.7/installer/assets/installer-common.js (added)
-
tags/2.4.7/installer/assets/installer-db-test.js (added)
-
tags/2.4.7/installer/assets/installer-progress.js (added)
-
tags/2.4.7/installer/assets/installer.css (added)
-
tags/2.4.7/installer/index.php (added)
-
tags/2.4.7/installer/installer-log.txt (added)
-
tags/2.4.7/installer/installer.tpl (added)
-
tags/2.4.7/languages (added)
-
tags/2.4.7/languages/migratico-cs_CZ.mo (added)
-
tags/2.4.7/languages/migratico-cs_CZ.po (added)
-
tags/2.4.7/languages/migratico-cs_CZ.po.backup (added)
-
tags/2.4.7/languages/migratico-cs_CZ.po.old (added)
-
tags/2.4.7/languages/migratico-de_DE.mo (added)
-
tags/2.4.7/languages/migratico-de_DE.po (added)
-
tags/2.4.7/languages/migratico-en_US.mo (added)
-
tags/2.4.7/languages/migratico-en_US.po (added)
-
tags/2.4.7/languages/migratico-lite.pot (added)
-
tags/2.4.7/languages/migratico.pot (added)
-
tags/2.4.7/log (added)
-
tags/2.4.7/migratico.php (added)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/installer/installer.tpl (modified) (2 diffs)
-
trunk/migratico.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
migratico-lite/trunk/CHANGELOG.md
r3492726 r3492729 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [2.4.7] - 2026-03-27 9 10 ### Fixed 11 - **Critical: Installer cleanup:** After successful installation, installer now deletes entire `package_*` directory from `wp-content/uploads/migratico/` 12 - **Admin UI:** Fixed issue where completed package from source site was showing as "In Progress" on newly installed site 13 - **Expected behavior:** After installation, plugin admin should show empty package list (no packages), not incomplete export from source site 14 15 ### Technical Details 16 - Added deletion of `package_*` directories in `delete_installer_files()` function 17 - Installer now removes all traces of the installation package after successful migration 18 - Clean state for plugin on newly installed site 7 19 8 20 ## [2.4.6] - 2026-03-27 -
migratico-lite/trunk/README.txt
r3492726 r3492729 5 5 Requires at least: 5.3 6 6 Tested up to: 6.9 7 Stable tag: 2.4. 67 Stable tag: 2.4.7 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later -
migratico-lite/trunk/installer/installer.tpl
r3488122 r3492729 13 13 14 14 define( 'MIGRATICO_INSTALLER', true ); 15 define( 'MIGRATICO_INSTALLER_VERSION', '2.4. 4' );15 define( 'MIGRATICO_INSTALLER_VERSION', '2.4.7' ); 16 16 17 17 // Check PHP version … … 1145 1145 if (migratico_delete_file($token_file)) { 1146 1146 $deleted[] = 'installer-token.txt'; 1147 } 1148 } 1149 1150 // Smazat celý adresář package_* z wp-content/uploads/migratico/ 1151 // Tento adresář obsahuje package.json a další soubory z exportu 1152 // Po instalaci by v administraci pluginu neměly být žádné balíčky 1153 $wp_root = $this->get_wp_root_dir(); 1154 $uploads_dir = $wp_root . '/wp-content/uploads/migratico/'; 1155 if (is_dir($uploads_dir)) { 1156 $package_dirs = glob($uploads_dir . 'package_*', GLOB_ONLYDIR); 1157 foreach ($package_dirs as $package_dir) { 1158 if (is_dir($package_dir)) { 1159 // Smazat všechny soubory v adresáři 1160 $files = glob($package_dir . '/*'); 1161 foreach ($files as $file) { 1162 if (is_file($file)) { 1163 migratico_delete_file($file); 1164 } 1165 } 1166 // Smazat samotný adresář 1167 if (@rmdir($package_dir)) { 1168 $deleted[] = basename($package_dir); 1169 $this->add_log('info', 'Deleted package directory: ' . basename($package_dir)); 1170 } else { 1171 $errors[] = 'Failed to delete package directory: ' . basename($package_dir); 1172 } 1173 } 1147 1174 } 1148 1175 } -
migratico-lite/trunk/migratico.php
r3492726 r3492729 4 4 * Plugin URI: https://migratico.com 5 5 * Description: Simple and reliable WordPress migration plugin. Exports database and files, splits large sites into smaller parts, and provides an easy installation wizard. 6 * Version: 2.4. 66 * Version: 2.4.7 7 7 * Author: Miroslav Novotny 8 8 * Author URI: https://superweby.cz … … 15 15 */ 16 16 17 // Verze: 2.4. 418 // Datum: 2026-03-2 219 // Update: README.txt screenshots section updated17 // Verze: 2.4.7 18 // Datum: 2026-03-27 19 // Fix: Installer now deletes package_* directory after installation to prevent showing incomplete packages in admin 20 20 21 21 if (!defined('ABSPATH')) { … … 24 24 25 25 // Definice konstant 26 define('MIGRATICO_VERSION', '2.4. 6');26 define('MIGRATICO_VERSION', '2.4.7'); 27 27 define('MIGRATICO_PLUGIN_DIR', plugin_dir_path(__FILE__)); 28 28 define('MIGRATICO_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.