[wp-trac] [WordPress Trac] #53479: Unable to add widgets after Opting out of the Widgets Block Editor in WordPress 5.8-Beta2

WordPress Trac noreply at wordpress.org
Thu Jun 24 01:35:26 UTC 2021


#53479: Unable to add widgets after Opting out of the Widgets Block Editor in
WordPress 5.8-Beta2
-------------------------------------------------+-------------------------
 Reporter:  jamesros161                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.8
Component:  Customize                            |     Version:  trunk
 Severity:  blocker                              |  Resolution:
 Keywords:  needs-patch has-screenshots needs-   |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by noisysocks):

 Hey @zieladam, good debugging. It should be `return $value;`. I likely
 changed it to `return;` thinking that this was a simplification not
 realising the semantic difference between `array()` and `null`.

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


More information about the wp-trac mailing list