[wp-meta] [Making WordPress.org] #6195: Quick Edit and other JS broken on .org (was: Quick Edit broken on .org)

Making WordPress.org noreply at wordpress.org
Tue Mar 15 20:54:34 UTC 2022


#6195: Quick Edit and other JS broken on .org
--------------------------+---------------------
 Reporter:  tobifjellner  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:
Component:  General       |  Resolution:
 Keywords:                |
--------------------------+---------------------

Comment (by coffee2code):

 This is related to https://core.trac.wordpress.org/changeset/52937.

 Console error says:

 {{{
 Uncaught ReferenceError: wp is not defined            load-
 scripts.php:12:62
 }}}

 This affects 'Quick Edit' for standard posts on most of the Make sites
 (e.g. make/photos, make/openverse, make/polyglots, make/design,
 make/marketing, etc) but NOT make/core or make/meta.

 This also affects all the Directories (Photo, Plugin, Theme, Pattern).
 Loading the admin dashboard for each yields errors:

 {{{
 Uncaught ReferenceError: wp is not defined
 Uncaught TypeError: window.wp.deprecateL10nObject is not a function
 Uncaught TypeError: _ is undefined
 Uncaught TypeError: b is undefined
 Uncaught ReferenceError: Backbone is not defined
 Uncaught TypeError: _ is undefined
 Uncaught ReferenceError: ClipboardJS is not defined
 Uncaught TypeError: wp.ajax is undefined
 }}}

 In such cases, any functionality relying on the JS `wp` is broken.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6195#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list