JDGrimes / wpppb

Bootstrap for integration testing WordPress plugins with PHPUnit
MIT License
13 stars 3 forks source link

Display the data of the message when a plugin activation fails #28

Open Tofandel opened 5 years ago

Tofandel commented 5 years ago

The wordpress error message for a plugin activation is always the same: return new WP_Error('unexpected_output', __('The plugin generated unexpected output.'), $output);

So the error message is not really helpfull As such displaying the output there will help debuging

Also fix compatibility with WP4.8- and WP 5.1+ because the required file do not exist