Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected results in exported ZIP #612

Open
erikjoling opened this issue May 1, 2024 · 2 comments
Open

Unexpected results in exported ZIP #612

erikjoling opened this issue May 1, 2024 · 2 comments

Comments

@erikjoling
Copy link

Hi,

Prequisite: I'm using Windows 11 and LocalWP.

When I export the theme using the Site Editor the name of the themefolder inside the ZIP is not the same as my installed theme. It seems like it uses the textdomain as a foldername. When using the legacy settings page (Appearance > Create Block Theme) the themefolder has the correct name.

Furthermore, the themefolder inside the ZIP file contains an empty folder (root?) with type "local disk". This file contains some of my image assets.

image

@pbking
Copy link
Contributor

pbking commented May 2, 2024

When using the legacy settings page (Appearance > Create Block Theme) the themefolder has the correct name.

What is the name of the folder you are expecting if not the theme's slug?

Could you share the .zip file that was created?

That "Local Disk" you're showing is certainly interesting.

@erikjoling
Copy link
Author

erikjoling commented May 3, 2024

When using the legacy settings page (Appearance > Create Block Theme) the themefolder has the correct name.

What is the name of the folder you are expecting if not the theme's slug?

I would expect the same folder name as the current folder name of the theme. In my example the theme's folder is named hetgroenedoel but the themefolder inside the exported .zip file is named hgd, which is my theme's slug or textdomain.

That "Local Disk" you're showing is certainly interesting.

After changing some of the theme files the "Local Disk" (root) folder was gone. I'll let you know if it happens again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants