-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jetpack Beta: Use WP core
Plugin_Upgrader
to install plugins (#33216)
WordPress core's `Plugin_Upgrader` class can be passed a URL to download and install, and the zips we're installing are structured properly. Let's use that instead of rolling our own logic that doesn't handle as many edge cases.
- Loading branch information
Showing
2 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
projects/plugins/beta/changelog/fix-jetpack-beta-plugin-installation
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: fixed | ||
|
||
Use WordPress core's `Plugin_Upgrader` to install plugins, as it handles edge cases better. |
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