[wp-trac] [WordPress Trac] #53332: Transforming a Legacy Widget to a Block Widget is not possible in WP 5.8

WordPress Trac noreply at wordpress.org
Tue Jun 15 23:12:38 UTC 2021


#53332: Transforming a Legacy Widget to a Block Widget is not possible in WP 5.8
----------------------------------+-----------------------------
 Reporter:  imath                 |       Owner:  (none)
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  5.8
Component:  Widgets               |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:  docs, rest-api
----------------------------------+-----------------------------

Comment (by imath):

 Replying to [comment:6 hellofromTonya]:

 > What about the patch?
 >
 > As this is a new feature that hasn't shipped yet, I'm concerned about
 adding code. Why? The added code has to be maintained in core and could
 confuse both extenders and contributors.

 Well, I'm fine with not using the patch. Now I know we need to look into
 the `$widget_options['show_instance_in_rest']` property to have the
 `transfom` function working in WordPress 5.8.

 But, the feature already shipped into the Gutenberg plugin and just like
 me, there might be people already using the transform feature that might
 be confused like I was to see the transform function is no more working.

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


More information about the wp-trac mailing list