[wp-trac] [WordPress Trac] #50349: Plugin Update deletes plugin and showing "could not delete old plugin" message.
WordPress Trac
noreply at wordpress.org
Wed Jun 10 19:38:41 UTC 2020
#50349: Plugin Update deletes plugin and showing "could not delete old plugin"
message.
--------------------------+------------------------------
Reporter: apedog | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by apedog):
I'd like to start off by saying that this is not a major issue for me. I
ran across this edge-case and figured I'd post a bug report - for the
record. This did not impede my work in any meaningful way. Maybe it's an
unimportant edge-case, maybe it touches upon a deeper implementation
problem - I honestly don't know.
Nonetheless, if this issue is to be addressed:
1. At the very least the message "Could not delete old plugin" is wrong.
The old plugin ''was'' deleted. Empty plugin directory was all that
remained.
2. As for "expected" behaviour - my expectation would be that if the
update failed, I'd still have the old version in place, and not have the
plugin vanish unceremoniously. Or at least some indication that a plugin
was removed due to an error (and what the plugin's basename was - allowing
the user to troubleshoot). As it stands upon Plugins page refresh -
everything appears normal sans the deleted plugin.
I've no idea as to the amount of work that would go into fixing this. Just
laying it out.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50349#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list