[wp-trac] [WordPress Trac] #58673: WordPress database error when installing PHPUnit tests

WordPress Trac noreply at wordpress.org
Tue Jul 11 14:08:27 UTC 2023


#58673: WordPress database error when installing PHPUnit tests
--------------------------+---------------------
 Reporter:  Chouby        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.3
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by costdev):

 If this only occurs in the test suite and we want to avoid changes to
 `src`, could we just include `wp-includes/plugin.php`, unhook the action
 near the start of `tests/phpunit/includes/install.php` and hook it again
 at the end?

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


More information about the wp-trac mailing list