[wp-trac] [WordPress Trac] #57500: Plugin update results in mixing files of old and new versions

WordPress Trac noreply at wordpress.org
Wed Jan 18 14:38:02 UTC 2023


#57500: Plugin update results in mixing files of old and new versions
-----------------------------+-----------------------------
 Reporter:  Chouby           |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 As far as I know, during an update, WordPress completely deletes the
 plugin directory before unzipping the new plugin files.

 However we had [https://wordpress.org/support/topic/polylang-fatal-error-
 since-09-01-23/ several cases][https://wordpress.org/support/topic
 /polyland-fatal-error-since-09-01-23/ of users reporting]
 [https://wordpress.org/support/topic/the-latest-version-of-the-plugin-
 breaks-the-site/ a fatal error]
 [https://wordpress.org/support/topic/polylang-3-3-1-breaks-my-website/
 after the update to Polylang 3.3.1] which can be explained only by the
 fact that the old files were not removed and new files were just merged to
 the existing old plugin. Indeed the error is reported in a file that has
 been removed in the new version.

 I initially thought that users were manually updating the plugin by
 overwriting files, but they confirm that they update the plugin from the
 WP backend or have auto-update activated.

 The update probably runs well for most users. I could not reproduce the
 issue myself.

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


More information about the wp-trac mailing list