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

Remove reliance upon gutenberg_initialize_editor(). #601

Open
dd32 opened this issue Aug 24, 2023 · 0 comments
Open

Remove reliance upon gutenberg_initialize_editor(). #601

dd32 opened this issue Aug 24, 2023 · 0 comments
Labels
[Component] Pattern Creator Anything related to the pattern front end editor or preview

Comments

@dd32
Copy link
Member

dd32 commented Aug 24, 2023

Describe the bug
In WordPress/gutenberg#53527 Gutenberg removed the gutenberg_initialize_editor() method which we use here:

gutenberg_initialize_editor(
'block-pattern-creator',
'pattern-creator',
array(
'preload_paths' => array(),
'initializer_name' => 'initialize',
'editor_settings' => $settings,
)
);

This is causing a fatal error with the Pattern Directory + Gutenberg 16.5.0.

E_ERROR: Uncaught Error: Call to undefined function WordPressdotorg\Pattern_Creator\gutenberg_initialize_editor() in /wp-content/plugins/pattern-creator/pattern-creator.php:164
@dd32 dd32 added [Type] Bug Something isn't working [Component] Pattern Creator Anything related to the pattern front end editor or preview labels Aug 24, 2023
@ryelle ryelle removed the [Type] Bug Something isn't working label Dec 11, 2024
@ryelle ryelle moved this to ⚠ On Hold/Blocked in WordPress.org Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Pattern Creator Anything related to the pattern front end editor or preview
Projects
Status: On Hold/Blocked
Development

No branches or pull requests

2 participants