[wp-trac] [WordPress Trac] #53427: Widget preivew not working if widget registered via a instance

WordPress Trac noreply at wordpress.org
Thu Jun 17 04:04:24 UTC 2021


#53427: Widget preivew not working if widget registered via a instance
--------------------------+-----------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8
Component:  REST API      |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+-----------------------

Comment (by noisysocks):

 Looks good @spacedmonkey!

 `src/wp-includes/blocks/legacy-widget.php` (and all block PHP) is copied
 from `@wordpress/widgets` during `grunt build --dev` so we'll have to make
 those changes upstream in the Gutenberg repo instead:

 https://github.com/WordPress/gutenberg/blob/trunk/packages/widgets/src/blocks
 /legacy-widget/index.php

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


More information about the wp-trac mailing list