[wp-trac] [WordPress Trac] #60550: A plugin is deactivated if it is updated and the plugin folder has been renamed at some point.
WordPress Trac
noreply at wordpress.org
Tue Sep 16 12:37:11 UTC 2025
#60550: A plugin is deactivated if it is updated and the plugin folder has been
renamed at some point.
--------------------------+------------------------------
Reporter: ReneHermi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 6.4.3
Severity: major | Resolution:
Keywords: needs-patch | Focuses: administration
--------------------------+------------------------------
Changes (by nikunj8866):
* keywords: 2nd-opinion dev-feedback => needs-patch
Comment:
Thanks for the detailed report and reproduction steps.
I can confirm the behavior:
- When a plugin folder is renamed, WordPress allows re-activation.
- On the next update, the folder name is reset back to the original slug,
which leads to the plugin being silently deactivated.
This is indeed unexpected behavior and can negatively impact sites, since
users may not notice the deactivation right away.
Your suggestion to display a notice is a good approach. A lightweight
check for mismatched folder names at the plugin list screen could prevent
silent failures and provide clear guidance to site owners.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60550#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list