[wp-trac] [WordPress Trac] #64393: Change how we include Gutenberg in Core
WordPress Trac
noreply at wordpress.org
Thu Jan 15 01:14:41 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 SergeyBiryukov):
Replying to [comment:65 TobiasBg]:
> It looks like this change is also affecting common plugin unit test
setups :-(
>
> For example, I'm
[https://github.com/TablePress/TablePress/blob/3.2.6/.github/workflows
/phpunit-tests.yml#L117 checking out wordpress-develop] to have the WP
unit test framework available.
> However, when running tests I only get
> {{{
> PHP Warning: require(/home/runner/work/TablePress/TablePress/src/wp-
includes/build/routes.php): Failed to open stream: No such file or
directory in /home/runner/work/TablePress/TablePress/src/wp-settings.php
on line 245
> PHP Fatal error: Uncaught Error: Failed opening required
'/home/runner/work/TablePress/TablePress/src/wp-includes/build/routes.php'
(include_path='.:/usr/share/php') in
/home/runner/work/TablePress/TablePress/src/wp-settings.php:245
> Stack trace:
> #0
/home/runner/work/TablePress/TablePress/tests/phpunit/includes/install.php(40):
require_once()
> #1 {main}
> thrown in /home/runner/work/TablePress/TablePress/src/wp-settings.php
on line 245
> }}}
Just came here to report this as well. It appears that unit tests can no
longer be run from the `src` directory in the current state, essentially
breaking [50441] / #51734.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64393#comment:93>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list