[wp-meta] [Making WordPress.org] #3735: Frontenberg broken on Rosetta websites: Block "core/shortcode" is not registered.

Making WordPress.org noreply at wordpress.org
Sat Aug 4 05:54:12 UTC 2018


#3735: Frontenberg broken on Rosetta websites: Block "core/shortcode" is not
registered.
-------------------------------------------+-----------------------
 Reporter:  audrasjb                       |       Owner:  (none)
     Type:  defect                         |      Status:  reopened
 Priority:  normal                         |   Milestone:
Component:  International Sites (Rosetta)  |  Resolution:
 Keywords:                                 |
-------------------------------------------+-----------------------

Comment (by dd32):

 In [changeset:"7593" 7593]:
 {{{
 #!CommitTicketReference repository="" revision="7593"
 Gutenberg: Override `wp.domReady` with a version which doesn't contain a
 race-condition, this fixes the whitescreen on frontendberg on first load.

 `wp.domReady()` is incorrectly regisering callbacks (such as the Gutenberg
 init function) to be fired on `DOMContentLoaded` AFTER that event has
 already fired, causing the callbacks to never run.
 This replaces it with a version which does work, calling the callback
 immediately when `document.readyState` is at `interactive` (which is what
 fires `DOMContentLoaded`) or `complete` (when styles/images/etc are
 loaded, which the Gutenberg `wp.domReady` does).

 See #3703, #3735.
 }}}

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


More information about the wp-meta mailing list