Skip to content

Conversation

@oakesjosh
Copy link
Contributor

This issue with design library previews not loading is related to how much of data we're passing in wp_localize_script. This automatically reloads the data if non is present to fix the issue.

The original plan was to load the icons via a rest request to reduce the size of data we're passing. That was working in my testing last month, but it seems something has changed and that no longer works. The larger fix here is to load the design library data via a rest request, maybe even store it in the cache using the browser cache api. This should work for now though

@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2025

🎉 Zip build complete

Build timestamp

@mark-c-woodard mark-c-woodard changed the base branch from master to release/next-maintenance January 13, 2026 19:29
@mark-c-woodard mark-c-woodard merged commit 513e615 into release/next-maintenance Jan 13, 2026
20 checks passed
@mark-c-woodard mark-c-woodard deleted the bugfix/design_library_previews branch January 13, 2026 19:29
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

Successfully merging this pull request may close these issues.

3 participants