Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#43077 new defect (bug)

Misleading error when updating plugins

Reported by: SGURYGF Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: Plugins Keywords:
Focuses: administration Cc:



I am in /wp-admin/plugins.php

A plugin has a new update and I click "Update now". After a few seconds I get "Update Failed: Could not copy file."

However, when I refresh the page and I see that the plugin was updated.

After a few tests I realise that if there are Core Translation Updates and they fail(for example due to bad filesystem permissions), you will get the error mentioned above even though the plugin was successfully updated.

I would like to comment on two things:

a) The translations shouldn't get updated with any plugin update. I might NOT want to update the translations. By doing it in the background without asking me that's bad.

b) The error message shown is irrelevant to the plugin update and might cause confusion to some admins who might try to reinstall manually a plugin or do any other changes which might eventually end up breaking a site for nothing.

Thanks in advance for your time.

Change History (2)

#2 @SergeyBiryukov
5 months ago

  • Component changed from General to Plugins
  • Focuses administration added
Note: See TracTickets for help on using tickets.