Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58673, comment 5


Ignore:
Timestamp:
07/11/2023 02:09:00 PM (19 months ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58673, comment 5

    initial v1  
    1 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?
     1If 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? Or do similar in `tests/includes/bootstrap.php` around lines 261-269?