-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: AJAX Upgrades #1572
Merged
Merged
Conversation
This file contains 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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1572 +/- ##
============================================
+ Coverage 47.51% 47.84% +0.33%
- Complexity 2581 2597 +16
============================================
Files 95 95
Lines 10214 10318 +104
============================================
+ Hits 4853 4937 +84
- Misses 5361 5381 +20 ☔ View full report in Codecov by Sentry. |
…ancement/issue-1571
(class needs to have Test at the end)
# Conflicts: # src/Service/Upgrade.php # tests/php/Service/UpgradeTest.php
# Conflicts: # assets/admin/js/admin.min.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
javascript
Pull requests that update Javascript code
php
Pull requests that update Php code
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.
Was
Eigener Tab unter "Migration" der nur angezeigt wird, wenn ein längerer Upgrade Prozess nötig ist.
Wie
Neue AJAX Action namens cb_run_upgrade und ein eigenes Array, in dem die Funktionen definiert werden, die bei einem Upgrade ausgeführt werden. Die Funktionen zum Abruf der Posts die upgegradet werden müssen, müssen paginated sein. Aber das geht easy mit WP_Query.
Warum
Häufige Timeouts bei größeren Installationen (Heavy User), wenn auf eine neue Version geupdatet werden soll. Darüber hinaus hilft, wenn wir z.B. später die Buchungen auf eine eigene Tabelle migrieren wollen, müssen wir dafür keine eigene AJAX Action anlegen.
closes #1571