WordPress / WordPress/pattern-directory
Remove reliance upon gutenberg_initialize_editor().
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
Describe the bug
In https://github.com/WordPress/gutenberg/pull/53527 Gutenberg removed the gutenberg_initialize_editor() method which we use here:
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read public_html/wp-content/plugins/pattern-creator/pattern-creator.php around lines 164-172 and compare it with Gutenberg PR 53527, which removed gutenberg_initialize_editor(). Verify the plugin no longer calls the removed function and does not produce the reported fatal error with Gutenberg 16.5.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100