[wp-trac] [WordPress Trac] #53424: remove_theme_support doesn't restore back to classic widgets editor
WordPress Trac
noreply at wordpress.org
Wed Jun 16 18:20:22 UTC 2021
#53424: remove_theme_support doesn't restore back to classic widgets editor
--------------------------+------------------------------
Reporter: kevin940726 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by jamesros161):
I am having similar issues. In testing our theme for 5.8 issues, I found
that the custom controls we added to the widgets-meta are no longer
showing in the Gutenberg widgets block editor, so I decided to opt-out in
our theme's configuration by using `remove_theme_support( 'widgets-block-
editor' )` so that the traditional widgets editor would show inside the
customizer. this is run inside of a function hooked to
`after_setup_theme`. However, the Gutenberg editor is still being used
inside the customizer.
I have also tried using `add_filter( 'gutenberg_use_widgets_block_editor',
'__return_false' );` according to the instructions here:
https://developer.wordpress.org/block-editor/how-to-guides/widgets/opting-
out/ but that doesn't work either.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53424#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list