Remove reliance on gutenberg_get_editor_styles() #508
Labels
[Component] Pattern Creator
Anything related to the pattern front end editor or preview
[Type] Bug
Something isn't working
Describe the bug
As of WordPress/gutenberg#41306
gutenberg_get_editor_styles()
is no longer in Gutenberg 13.7 (Released 7hrs ago), but it's used within the Pattern Creator:pattern-directory/public_html/wp-content/plugins/pattern-creator/pattern-creator.php
Lines 138 to 145 in bd9e577
This was noticed via a fatal error in production in the pattern creator on https://wordpress.org/patterns/new-pattern/:
Uncaught Error: Call to undefined function WordPressdotorg\Pattern_Creator\gutenberg_get_editor_styles() in wp-content/plugins/pattern-creator/pattern-creator.php:142
It's worth noting that the removed file,gutenberg/lib/compat/wordpress-5.9/edit-site-page.php
IS present in the version of Gutenberg currently in use on the pattern directory.Unable to reproduce at a glance, but looks like if it's not currently an issue, it will be in a future gutenberg release when that file is removed.reproduced, I had an old Gutenberg version installed on my test site 🤦To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: