[wp-trac] [WordPress Trac] #55632: WordPress database error when running PHPUnit tests

WordPress Trac noreply at wordpress.org
Fri Apr 29 03:49:04 UTC 2022

#55632: WordPress database error when running PHPUnit tests
 Reporter:  Chouby                   |       Owner:  peterwilsoncc
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.0
Component:  Upgrade/Install          |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  needs-testing has-patch  |     Focuses:
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"53306" 53306]:
 #!CommitTicketReference repository="" revision="53306"
 Install: Prevent DB errors caused by web fonts API.

 Bypass checking `theme.json` for web fonts during the installation of

 During installation the active theme is considered to be Twenty Twenty-Two
 (the default theme). As a block theme this prompts a database call when
 the web fonts API checks the `theme.json` settings, this triggers a
 database error during installation as the database tables do not exist.

 Props chouby, costdev, peterwilsoncc, sergeybiryukov.
 Fixes #55632.

Ticket URL: <https://core.trac.wordpress.org/ticket/55632#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list