DT Migration Plugin - Troubleshooting Of Abrupt Migration Flow Stops#18
Merged
corsacca merged 9 commits intoDiscipleTools:masterfrom May 6, 2026
Conversation
- Introduced a new class, Disciple_Tools_Migration_File_Job_Store, to handle file-mode migration job storage and management. - Added functionality for scheduling and pruning expired file migration jobs based on user-defined retention settings. - Enhanced the import process with AJAX actions for file job completion, failure, and cancellation notifications. - Updated the admin interface to support file job management, including displaying past jobs and their statuses. - Improved settings to allow configuration of maximum age for stored file migration jobs, defaulting to 7 days. - Refactored import logic to accommodate file job handling, ensuring better user experience and error management.
…n plugin - Updated README.md to clarify the file import process, including the new **Upload & Preview** feature and its role in creating file migration jobs. - Expanded user guides to include details on managing recent file migration jobs, including status tracking and retention settings. - Added troubleshooting tips for common issues related to file import jobs, ensuring users can effectively resolve problems during migration. - Introduced new images to illustrate file job management and settings for better user understanding.
- Updated the resolve_file_job_payload method to improve input sanitization using filter_input and sanitize_text_field for better security. - Enhanced error handling for job ID retrieval in multiple AJAX methods, ensuring consistent validation and improved user feedback. - Clarified documentation for the resolve_file_job_payload method, specifying the requirement for nonce verification before execution. - Adjusted file name handling in the import tab to utilize wp_unslash and sanitize_file_name for improved file upload security.
- Updated variable names for clarity, changing `$upload_name` to `$raw_name` to better reflect its purpose. - Ensured consistent sanitization of client-provided file names using `wp_unslash` and `sanitize_file_name`, enhancing security in the import process.
…oting # Conflicts: # admin/class-dt-migration-import-ajax.php # admin/class-dt-migration-tab-settings.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No migration file loaded or payload expired. Please upload the file again.error; by replacing time limitedtransientapproach.