-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Description
When importing demo content using WP 6.1 styles are not imported correctly although the same works fine in WP 6.0.2.
Imported content displays the theme's default colors and styling instead of the styling set for that particular demo. However, in the "Site Editor" styles are correctly displayed. Sometimes when I exit the Site Editor the styles are then correctly displayed in the front end as well, but sometimes it takes a few tries.
This issue happens with the WordPress default importer as well as our theme's built-in import system.
Step-by-step reproduction instructions
- install theme (I found this bug while checking our premium Basti theme with WordPress 6.1). If you need a theme file I can share it with you
- import demo(style) version different from the default demo (style)
- Imported content displays the theme's default colors and styling instead of the styling set for that particular demo -frontend
- in the "Site Editor" styles are correctly displayed
- when I exit the Site Editor the styles are then correctly displayed in the front end as well, but sometimes it takes a few tries or you need to wait for few minutes
Screenshots, screen recording, code snippet
Default WordPress Importer Video:
basti-default.mp4
Basti Demo Importer Video:
basti-importer.mp4
Environment info
- WordPress Version 6.1
- Gutenberg plugin is not installed
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Is it possible to reproduce this with a default theme as well?
Same is happening with Twenty Twenty Two. I just installed the theme with WordPress 6.0 and choose the pink style variation. Exported the xml file. Installed 6.1 on the new installation, installed Twenty Twenty Two and imported xml file and same thing happens 🤷♀️