#53481 closed defect (bug) (duplicate)
Widget Block Editor: fatal error caused by unknown gutenberg_get_widget_key() function
Reported by: | imath | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.8 |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
Attachments (3)
Change History (11)
#4
@
3 years ago
- Milestone changed from Awaiting Review to 5.8
Moving to the milestone to track, but probably should be a duplicate.
#5
@
3 years ago
- Resolution set to fixed
- Status changed from new to closed
Testing
Env:
- OS: macOS Big Sur
- Browser: Firefox and Chrome
- Plugins: none
Testing with Beta 2
I can reproduce the problem ✅
Testing with Beta 3
Problem is resolved ✅
How?
Changeset [51216] from ticket #53427 added the new WP_Widget_Factory::get_widget_key
method, which is the first conditional. With that new method, the else
conditional is never reached in 5.8. The Gutenberg function gutenberg_get_widget_key
will addressed separately but should no longer be a problem for causing fatal errors.
Marking the ticket as fixed.
@imath if you get time, could you also test and confirm it resolves the issue for you? If no, please reopen.
Note: See
TracTickets for help on using
tickets.
Related: #53441