[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
Thu Feb 15 14:56:38 UTC 2024


#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           |   Keywords:  2nd-opinion dev-feedback
  Focuses:  administration  |
----------------------------+--------------------------------------
 This seems to be a new unexpected behavior:

 A plugin whose folder has been renamed will be deactivated as soon as you
 update it.

 Reproduce:

 - Rename the folder of an activated plugin to something like plugin-name-
 xy (People do this all the time for several reasons)
 - The plugin will be disabled (expected due to the modified plugin folder)
 - Activate again the plugin via wp-admin
 - Update the plugin to a new version
 - The plugin folder will be renamed to plugin-name (Unexpected)
 - The plugin will be disabled silently (Unexpected)

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


More information about the wp-trac mailing list