Plugin Directory

Changeset 3433946


Ignore:
Timestamp:
01/06/2026 10:12:26 PM (6 weeks ago)
Author:
1clickmigration
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 1-click-migration/trunk/inc/backup/class-ocm-backup.php

    r3409723 r3433946  
    14621462            }
    14631463
     1464            // CRITICAL: Always save the zip file path immediately after encryption succeeds,
     1465            // regardless of time_exceeded status. This prevents "Zip file path is empty" errors
     1466            // when the process restarts and tries to upload.
     1467            self::set_complete_backup_step($folder_name, self::STEP_BACKUP_CHILD_ZIP_FILE_PATH, $zip_filepath);
     1468
    14641469            if (!One_Click_Migration::$process_backup_single->time_exceeded()) {
    1465 
    1466               self::set_complete_backup_step($folder_name, self::STEP_BACKUP_CHILD_ZIP_FILE_PATH, $zip_filepath);
    14671470              self::set_complete_backup_step($folder_name, self::STEP_BACKUP_CHILD_ENCRYPT);
    14681471              One_Click_Migration::write_to_log(sprintf('%s ZIP has been encrypted.', $folder_name));
Note: See TracChangeset for help on using the changeset viewer.