Sam's notebook

Uninstalling WordPress plugins in PHPunit March 1st, 2016, 9AM


There’s a problem with uninstalling Tabulate. Fatal error: Class ‘WordPress\Tabulate\DB\Grants’ not found in C:\work\public_html\wp\stage\wp-content\plugins\tabulate\uninstall.php on line 8 The uninstall.php file shouldn’t know anything about the actual plugin. It shouldn’t use any classes or functions from the plugin itself. This problem should have been caught before now, though, because the tests all run uninstall.php in their […]

[No comments] [Keywords: , , ] [Permanent link]