[wp-trac] [WordPress Trac] #35217: WP_Upgrader: writes temporary directory name to plugin folder if zip doesn't have directory

WordPress Trac noreply at wordpress.org
Fri Dec 25 02:58:53 UTC 2015


#35217: WP_Upgrader:  writes temporary directory name to plugin folder if zip
doesn't have directory
-----------------------------+------------------
 Reporter:  basszje          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.5
Component:  Upgrade/Install  |     Version:  4.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------
Changes (by dd32):

 * component:  Plugins => Upgrade/Install
 * milestone:  Awaiting Review => 4.5


Comment:

 Zips without a folder are officially unsupported, but for user experience,
 we attempt to do as best as we can.

 I guess we should take the suffixed data into account in this case though
 and strip the final 7 random characters off the foldername.

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


More information about the wp-trac mailing list