[wp-trac] [WordPress Trac] #63737: Theme update fails, creates duplicate directory after incorrect plugin update attempt

WordPress Trac noreply at wordpress.org
Wed Jul 23 19:40:05 UTC 2025


#63737: Theme update fails, creates duplicate directory after incorrect plugin
update attempt
-------------------------------------------+------------------------------
 Reporter:  leemon                         |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Upgrade/Install                |     Version:  6.8.2
 Severity:  normal                         |  Resolution:
 Keywords:  has-test-info has-screenshots  |     Focuses:
-------------------------------------------+------------------------------

Comment (by leemon):

 Replying to [comment:5 khushdoms]:
 > Reproduction Report
 >
 > ❌ I am unable to reproduce the issue as described.
 >
 > Environment:
 > - WordPress: 6.8.1
 > - PHP: 8.0.26
 > - Server: Apache/2.4.54 (Win64) PHP/8.0.26 mod_fcgid/2.3.10-dev
 > - Database: mysqli (Server: 8.0.31 / Client: mysqlnd 8.0.26)
 > - Browser: Chrome 138.0.0.0
 > - OS:  Windows 10/11
 > - Theme: Twenty Twenty-Five 1.2
 > - Plugins:
 >   * Test Reports 1.2.0
 >   * WP Rollback 2.0.7
 >
 > Steps I Tried:
 > 1. Installed a theme (e.g., "Twenty Twenty-Five 1.0").
 > 2. Uploaded the updated theme ZIP Twenty Twenty-Five 1.2.
 >
 > ✅ Result: WordPress correctly showed "Destination folder already
 exists" and did not create a duplicate directory.
 >
 >
 > Notes:
 > - I double-checked the wp-content/themes/ folder and no duplicate like
 "twentytwentyfive-1" was created.
 > - This may be environment-specific or a caching issue in the original
 report.

 You need to try to update the theme using the PLUGIN installer first. And
 after that, using the THEME installer.

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


More information about the wp-trac mailing list