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

WordPress Trac noreply at wordpress.org
Sun Apr 30 01:53:34 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                               |  Resolution:
 Keywords:  needs-testing needs-testing-info     |     Focuses:
  reporter-feedback                              |
-------------------------------------------------+-------------------------

Comment (by barry.hughes):

 Hey @afragen, thanks for checking on it!

 > As you suggest a more robust autoloader would solve this issue.
 Essentially an autoloader must be identical between the releases.

 Yep, though, possibly worth calling out that essentially this same problem
 (mixing of code from two different versions) can be replicated with the
 standard Composer autoloader—or even with no autoloader whatsoever.

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


More information about the wp-trac mailing list