[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 01:07:42 UTC 2021
#53424: remove_theme_support doesn't restore back to classic widgets editor
------------------------------+----------------------
Reporter: kevin940726 | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Widgets | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"51214" 51214]:
{{{
#!CommitTicketReference repository="" revision="51214"
Widgets: Add support for the Widgets Editor on `after_setup_theme` instead
of `widgets_init`.
This better aligns with developer expectations, as `add_theme_support()`
and `remove_theme_support()` are meant to be called within functions
attached to the `after_setup_theme` hook.
This also adds the `widgets-block-editor` feature to the docblock for
`add_theme_support()`.
Props kevin940726, caseymilne, jamesros161, noisysocks, Mamaduka,
audrasjb, zieladam, hellofromTonya, desrosj.
Fixes #53424.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53424#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list