[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:48:20 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):

 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`.

 The `widgets-block-editor` feature also needs to be added to the
 `add_theme_support()` docblock. I can handle that when committing!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53424#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list