[wp-trac] [WordPress Trac] #37531: Plugin Instilation Failuer Not Refelected in UI

WordPress Trac noreply at wordpress.org
Sun Jul 31 14:39:42 UTC 2016


#37531: Plugin Instilation Failuer Not Refelected in UI
--------------------------------+-----------------------------
 Reporter:  AronMS              |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Plugins             |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 I am testing WordPress 4.6 RC-1. I have a directory in my plugins folder
 containing an old version of my plugin, the main php file has been renamed
 e.g. `drafty-in-here/drafty-in-here.php.lock`.
 When I use the WordPress plugin installer to install a new copy from
 worpress.org on the UI it just keeps spinning. However when I look in the
 JavaScript console I see the folowing output:

 {{{
 JQMIGRATE: Migrate is installed, version 1.4.1
 Downloading install package from https://downloads.wordpress.org/plugin
 /drafty-in-here.1.2.0.zip…
 Unpacking the package…
 Installing the plugin…
 Destination folder already exists. C:/MAMP/htdocs/projects/wordpress-test-
 site-beta/wp-content/plugins/drafty-in-here/
 Plugin install failed.
 }}}

 WordPress should show that the plugin install failed on the UI otherwise
 the user has no idea what's going on.
 This behaviour is slightly better than WP 4.5 where installation would
 fail, but it would say that it was successful.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37531>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list