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

WordPress Trac noreply at wordpress.org
Tue Feb 24 18:48:21 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 dmsnell):

 @youknowriad of the 98 PHP files I see removed, it looks like 14 were
 auto-generated, and that accounts for seven blocks because there’s a
 `view.asset.php` file and a `view.min.asset.php` file.

 are we in agreement then to restore the 84 (86%) of the files that are
 normal PHP files, mostly block code that’s required for WordPress to boot
 and which is hand-maintained?

 I wouldn’t have any problem version-tracking the asset files, and we could
 `.gitignore` those or even better, perhaps, mark those as binary files to
 short-circuit the extra review stage when combining updates from the
 projects.

 That would have been a great way to address what I hear you saying, which
 is that you are frustrated that generated files show up during merges,
 while not breaking all of the existing workflows dependent on the non-
 auto-generated files.

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


More information about the wp-trac mailing list