Open peterwilsoncc opened 9 months ago
Hi, thanks for testing and reporting this issue.
The export of the installed fonts is not implemented yet. It's being discussed in this ticket: https://github.com/WordPress/gutenberg/issues/54226
Closing this one as duplicated of https://github.com/WordPress/gutenberg/issues/54226
Thinking twice, this is not about the theme exporter but the site exporter, so I'm re-opening the ticket.
Thanks Matias, I've updated the ticket's title and description to make it clearer the context is the WordPress post exporter rather than the theme folder exporter in the site editor.
I've started working on this here: https://github.com/WordPress/wordpress-develop/pull/6173
What's the status of this, considering the core PR is closed?
What's the status of this, considering the core PR is closed?
The PR around exporting the data is needed because the data is exported by default. No changes to the WordPress core repo are needed. The only change needed is the addition of font assets import capabilities in the WordPress-importer plugin and there's a PR in progress for that: https://github.com/WordPress/wordpress-importer/pull/160
Description
When exporting and importing content via the WordPress Importer font faces are not imported to the new domain correctly.
This can result in broken designs as the templates imported from the original site are referring to font files on the old site.
When imported with the
Download and import file attachments
option checked the font files should be:For clarity, this is referring to the XML/WXR exporter available via the WP Dashboard's Tools > Export menu.
Step-by-step reproduction instructions
wp_remote_get()
Screenshots, screen recording, code snippet
Screenshot from localhost (importer site), notice font face URLs refer to wp-dev.local (exporter site)
Environment info
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