Make WordPress Core

Opened 21 months ago

Last modified 21 months ago

#56907 new defect (bug)

Export Child theme produces corrupt zip file

Reported by: meushar's profile meushar Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0.3
Component: Export Keywords: reporter-feedback
Focuses: Cc:

Description

Export of a theme from the Site Editor with any year theme from WordPress including twentytwentytwo, produces a working zip file.

However if you have a child theme of any year theme from WordPress including twentytwentytwo, produces a corrupt zip file.

The error reported by ZipRepair.net is:
Your .zip file had the following issue:
End of Central Directory record could not be found.

All files were recovered from the corrupt zip by ZipRepair.net

This corrupt zip file occurs without any changes to the child theme from the parent theme and without any plugins active. Only the child functions.php and style.css exist.

Attachments (3)

Repaired_twentytwentytwo-child (2).zip (13.8 KB) - added by meushar 21 months ago.
Repaired child.zip file
twentytwentytwo-child.zip (13.9 KB) - added by meushar 21 months ago.
corrupt child.zip file
twentytwentytwo-child (2).zip (14.1 KB) - added by meushar 21 months ago.
corrupt child.zip file

Download all attachments as: .zip

Change History (5)

@meushar
21 months ago

Repaired child.zip file

@meushar
21 months ago

corrupt child.zip file

@meushar
21 months ago

corrupt child.zip file

#1 @desrosj
21 months ago

  • Keywords needs-patch removed

Hi @meushar,

Could you provide the exact steps you are using to export your child theme that another contributor could use to reproduce?

#2 @meushar
21 months ago

Thanks for the reply.

I have theme twentytwentytwo-child active.

I use menu appearance->editor->site then click on the 3 dots on the right-hand side of the page and select 'export'. The zip file gets produced, which is corrupted.

I also tried menu appearance->editor->template->home then click on the 3 dots on the right-hand side of the page and select 'export'. The zip file gets produced, which is corrupted.

Note: See TracTickets for help on using tickets.