[wp-trac] [WordPress Trac] #53424: remove_theme_support doesn't restore back to classic widgets editor
WordPress Trac
noreply at wordpress.org
Wed Jun 23 00:52:55 UTC 2021
#53424: remove_theme_support doesn't restore back to classic widgets editor
------------------------------+-----------------------
Reporter: kevin940726 | Owner: desrosj
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.8
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Comment (by desrosj):
Replying to [comment:14 desrosj]:
> I think it's also worth mentioning that there is precedent here for
using the `after_setup_theme` hook since the traditional `widgets` screen
require `add_theme_support( 'widgets' );` and the historically accepted
pattern there has been to use `after_setup_theme`.
Oh actually I missed that this was already called out above but noted that
it does not work. Today I
[https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/theme.php?rev=49935#L2856 learned you cannot remove theme
support] for `widgets`, `menus`, and `editor-style` in the same way you
would other features.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53424#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list