Add Scheduler Progress Tracking for Multisite Exporter #3
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.
This pull request introduces several improvements and fixes to the Multisite Exporter plugin, focusing on error handling, export progress tracking, and adherence to WordPress best practices. The most significant changes include adding AJAX-based export progress tracking, improving filesystem initialization, renaming menu items for clarity, and updating documentation.
Export Progress Tracking Enhancements:
check_scheduled_exportsandcheck_scheduled_progress) to track export progress and provide real-time updates in the admin interface. [1] [2]update_export_progressmethod to store and update export progress data in network options.view-history-page.php) to display active export progress and auto-refresh during ongoing exports. [1] [2] [3]Filesystem Initialization Improvements:
get_export_directoryandprocess_site_export_callbackmethods to use the WordPress filesystem API for secure file operations. Added error logging for failed filesystem initialization. [1] [2]Admin Interface Updates:
network_admin_urlfor multisite compatibility. [1] [2] [3]Debugging and Documentation:
README.md, explaining error logging practices and how to enable debug mode.README.mdto showcase plugin functionality.Bug Fixes:
view-history-page.phpandview-main-page.phpto resolve "Sorry, you are not allowed to access this page" errors.