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

WordPress Trac noreply at wordpress.org
Thu Jul 24 20:30:00 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:
  reporter-feedback close                        |
-------------------------------------------------+-------------------------

Comment (by SirLouen):

 Replying to [comment:12 leemon]:
 > Given that this issue seems to be resolved by ensuring the theme ZIP
 file has a single root folder named after the theme slug (e.g., `my-
 theme/` containing all theme files), I'm wondering if this is a documented
 requirement for theme ZIP file structure for updates, especially when
 using the admin installer.

 True, its something very well known, but I have not found a place that
 explicitely states that: all the docs take for granted that, like plugins,
 themes are self contained in its own folder (and not the files directly in
 the root of the compressed filed)

 I suggest you to propose this in the docs github for
 https://github.com/WordPress/HelpHub/issues

 Post there your concern and if you want, post here the link to that.

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


More information about the wp-trac mailing list