[wp-trac] [WordPress Trac] #9757: Allow Plugin/Theme updates from a uploaded .zip file.

WordPress Trac noreply at wordpress.org
Tue May 19 16:04:19 UTC 2020


#9757: Allow Plugin/Theme updates from a uploaded .zip file.
-------------------------------------------------+-------------------------
 Reporter:  hakre                                |       Owner:  (none)
     Type:  feature request                      |      Status:  assigned
 Priority:  high                                 |   Milestone:  Future
                                                 |  Release
Component:  Upgrade/Install                      |     Version:  2.8
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch early needs-  |     Focuses:
  screenshots                                    |
-------------------------------------------------+-------------------------

Comment (by mariovalney):

 I'm back for themes \o/

 A regular update:
 [[Image(https://i.imgur.com/YfLuGyu.png)]]

 And with warnings:
 [[Image(https://i.imgur.com/7vb1BqS.png)]]

 And the same check for "reuploading package" like plugin:
 [[Image(https://i.imgur.com/cESjljY.png)]]

 But there's a note about errors on current theme:
 [[Image(https://i.imgur.com/gGuQBfE.png)]]

 And a check for parent theme for uploaded:
 [[Image(https://i.imgur.com/XVueSc7.png)]]


 ----


 I removed the "activate" action on already active plugins/themes too.

 And there was a cache on theme_info that we need to clear too. No
 performance problem as it's expected on uploading process.


 @azaozz a new code review would be appreciated.

 Thanks

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/9757#comment:120>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list