[wp-trac] [WordPress Trac] #64521: Blocks: Move block parser PHP classes from Gutenberg to Core

WordPress Trac noreply at wordpress.org
Tue Jan 20 23:01:28 UTC 2026


#64521: Blocks: Move block parser PHP classes from Gutenberg to Core
-------------------------+------------------------------
 Reporter:  youknowriad  |       Owner:  dmsnell
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by dmsnell):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61504" 61504]:
 {{{
 #!CommitTicketReference repository="" revision="61504"
 Build: Restore block parser in Core.

 The work in [61438] for Core-64393 removed the block parser classes from
 Core, which caused numerous scripts to fail because they were missing.
 Conditional checks were added in [61492] which left WordPress in an
 inoperable state.

 This patch restores the block parser in Core, in preparation for work to
 remove it from Gutenberg (in a separate patch).

 Ironically, the files were removed because the new build was copying them
 over from Gutenberg and the intent was to avoid having two sources of
 truth, but this was previously the existing mechanism, so having done
 nothing to the parser files would have left the status quo. This patch
 removes the problems originally created by removing the files. They will
 not be copied from Gutenberg any more and the only source of truth will be
 Core.

 Until removed from Gutenberg, because of the build changes, any changes
 made on the Gutenberg side will be lost unless manually copied over.

 Developed in: https://github.com/WordPress/wordpress-develop/pull/10761
 Discussed in: https://core.trac.wordpress.org/ticket/64521

 Follow-up to [61438], [61492].

 Props dmsnell, mcsf, mukesh27, youknowriad.
 Fixes #64521.
 }}}

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


More information about the wp-trac mailing list