[wp-trac] [WordPress Trac] #53487: Empty move to options in Widgets Customizer

WordPress Trac noreply at wordpress.org
Wed Jun 23 08:08:59 UTC 2021


#53487: Empty move to options in Widgets Customizer
--------------------------+-----------------------------
 Reporter:  kevin940726   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When trying to move a block to another widget area in the new block based
 Widgets Customizer, the dropdown shows the correct number of options and
 clicking on them works as expected, but the label are all empty. (See the
 image below)

 I believe it's a core merge issue, as Gutenberg is registering both
 `label` and `description` field,
 https://github.com/WordPress/gutenberg/blob/57ae6eea5d18e57ffa72607dc21eacc90e1c7035/lib
 /widgets-customize.php#L47-L59

 but Core is not registering those fields.
 https://github.com/WordPress/wordpress-
 develop/blob/bdf7dd6299e4453f9d7438de0a0e138d950ec0bf/src/wp-includes
 /class-wp-customize-widgets.php#L479-L486

 **Testing instructions**

 1. Enable a theme with multiple widget areas (TwentyTwenty for instance)
 2. Go to Appearance -> Customize -> Widgets
 3. Try to move a block from one to another

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53487>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list