D.T Migration Plugin Tidy Up & Version Control#4
Open
kodinkat wants to merge 4 commits intoDiscipleTools:masterfrom
Open
D.T Migration Plugin Tidy Up & Version Control#4kodinkat wants to merge 4 commits intoDiscipleTools:masterfrom
kodinkat wants to merge 4 commits intoDiscipleTools:masterfrom
Conversation
- Revamped plugin description to clarify functionality for exporting and importing settings and records via REST API or JSON. - Updated version number to 1.0.0 and tested compatibility up to WordPress 6.7. - Removed deprecated spinner.svg and several unused files related to charts and magic links to streamline the plugin. - Enhanced user migration functionality, allowing for better handling of administrator roles during import. - Improved export tab messaging and added conditional filters for record exports. - Refactored code for better readability and maintainability, including updates to the admin interface and REST API integration.
- Simplified data sanitization in the export download class by introducing a new method for processing POST arrays. - Enhanced SQL query preparation in the export file class for better security and performance. - Improved data display in the import and export tabs by ensuring proper HTML escaping for counts and labels. - Added comments for clarity and disabled PHPCS warnings related to nonce verification in AJAX handlers.
- Updated PHPCS ignore comments in the export download class to include nonce verification warnings for better security practices. - Simplified SQL query preparation in the export file class for enhanced readability and maintainability.
- Enhanced the get_record_ids method to improve SQL query preparation by consolidating conditions for fetching post IDs based on post type, status, and ID range. - Improved readability and maintainability of the code by reducing redundancy in SQL query logic.
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.
Update Disciple.Tools Migration plugin to version 1.0.0