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

WordPress Trac noreply at wordpress.org
Sun Jul 12 19:01:26 UTC 2020


#9757: Allow Plugin/Theme updates from a uploaded .zip file.
-------------------------------------------------+-------------------------
 Reporter:  hakre                                |       Owner:  azaozz
     Type:  feature request                      |      Status:  closed
 Priority:  high                                 |   Milestone:  5.5
Component:  Upgrade/Install                      |     Version:  2.8
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  dev-feedback has-patch early needs-  |     Focuses:  ui, ui-
  dev-note commit                                |  copy
-------------------------------------------------+-------------------------

Comment (by azaozz):

 @SergeyBiryukov [48448] looks good but it changes the conditionals to be
 "less readable, more inconsistent", see
 https://make.wordpress.org/core/2020/03/20/updating-the-coding-standards-
 for-modern-php/#comment-38291 :) (that formatting is technically not
 wrong, the coding standards proposal in that post seems "stuck..).

 > Having the uploaded zip in the Media Library doesn't really make sense.

 As Sergey mentioned, this is the way installing/upgrading works. Was fixed
 in [48417], #50612.

 Will have to add `wp_strip_all_tags()` for "Name" and "Author" though.

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


More information about the wp-trac mailing list