[wp-trac] [WordPress Trac] #64393: Change how we include Gutenberg in Core

WordPress Trac noreply at wordpress.org
Tue Jan 13 09:28:37 UTC 2026


#64393: Change how we include Gutenberg in Core
------------------------------+--------------------------
 Reporter:  youknowriad       |       Owner:  youknowriad
     Type:  task (blessed)    |      Status:  reopened
 Priority:  high              |   Milestone:  7.0
Component:  Build/Test Tools  |     Version:
 Severity:  blocker           |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+--------------------------

Comment (by wildworks):

 > In [changeset:"61472" 61472]:
 > {{{
 > #!CommitTicketReference repository="" revision="61472"
 > General: Restore and deprecate `wp_register_development_scripts()`.
 >
 > The function was removed in [61438] but should have been deprecated
 instead of removed outright, per WordPress backward compatibility policy.
 > Hot reloading is not used anymore in the latest Gutenberg build tool.
 > }}}

 Indeed, the Gutenberg project may not be using hot reloading, but the
 `@wordpress/scripts` library supports the `--hot` parameter. I believe the
 `--hot` parameter no longer works because WordPress core no longer
 enqueues `react-refresh-runtime` and `react-refresh-entry`. Block
 developers can no longer take advantage of hot reloading unless they add
 their own code equivalent to the `gutenberg_register_vendor_scripts()`
 function.

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


More information about the wp-trac mailing list