[wp-trac] [WordPress Trac] #27196: More informative message when plugin installs fail (patch attached)

WordPress Trac noreply at wordpress.org
Tue Mar 4 19:09:21 UTC 2014


#27196: More informative message when plugin installs fail (patch attached)
------------------------------------------------+--------------------------
 Reporter:  DavidAnderson                       |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  3.9
Component:  Upgrade/Install                     |     Version:  3.8
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch dev-feedback ux-feedback  |     Focuses:
                                                |  administration
------------------------------------------------+--------------------------

Comment (by DavidAnderson):

 Hi Helen,

 To reproduce, do this:

 1) Install a plugin, any plugin, by any mechanism.

 2) Then try to install a plugin with the same slug, via the built-in
 dashboard "Upload" page (Plugins -> Add New -> Upload).

 Result: message: "Destination folder already exists. /home/mywebsite/wp-
 content/plugins/my-plugin/"

 Users don't understand this message. They then file support requests with
 the plugin author. (Which is what motivated me to get it fixed -
 responding to the same request over and over gets dull quickly!).

 Usually the user is attempting to update the plugin. The plugin *might*
 have an automatic update available, or might not (some 3rd party plugins
 don't have automatic updaters; or, the user might have been sent, or
 obtained themselves, a development version to try out, to fix a bug).

 The patch adds a new message to give them some more information as to why
 the operation failed.

 How about this for a message?

 "You are trying to install a plugin that already exists. This cannot be
 done - you need either to de-install the existing plugin first, or to use
 the update mechanism instead."

 ???

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


More information about the wp-trac mailing list