[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
Wed Jun 23 08:56:55 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 naoki0h):

 This bug is caused in send function in util.js.

 https://github.com/WordPress/wordpress-
 develop/blob/master/src/js/_enqueues/wp/util.js#L82

 Also , I found the error dose not happen when I comment out the code
 below.

 When the first argument of

 {{{

 request = self._currentRequest = wp.ajax.send( null, {
 data: data,
 url: api.settings.url.self
 } );
 }}}

 https://github.com/WordPress/wordpress-
 develop/blob/master/src/js/_enqueues/wp/customize/selective-
 refresh.js#L773-L776

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


More information about the wp-trac mailing list