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

WordPress Trac noreply at wordpress.org
Mon Oct 23 02:53:28 UTC 2017


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

Comment (by ahortin):

 @imath Using the zip filename as the slug is not a great idea. A lot of
 'premium' plugins typically have the version number as part of the zip
 filename. As an example, two very popular plugins ''Elementor Pro'' and
 ''Gravity Forms'', have the following filenames for their most recent
 versions, `elementor-pro-1.9.3.zip` and `gravityforms_2.2.5.8.zip`,
 respectively.

 Using these filenames as the slug would mean that when you checked for an
 existing version, it would be looking for the wrong slug as the actual
 folder names within each of those zip files I mentioned, are `elementor-
 pro` and `gravityforms`.

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


More information about the wp-trac mailing list