Preflightcheck runs various php test scripts to avoid errors when developing and deploying. Preflightcheck is easily extensible.
Just open the Hello Preflightcheck page found in the Tools section.
These tests are only executed by manually opening the Hello Preflightcheck page (found in the Tools section). Therefore it's no problem if some of these tests take a bit of time.
Every test lives in the tests directory (wp-content/plugins/hello-preflightcheck/tests) or in a subdirectory. It has the following:
$check->info($message): for showing information without any evaluation
$check->success($message): for successful test results
$check->warning($message): for test results that might cause a problem
$check->error($message): for test results that definitely will cause a problem
$check->ignore(): if no output is provided.
Additionally you may use
$check->showList() to output an array as a list.
Have a look at the existing tests to see how it works.
Yes, just throw them away. But why should you?
Yes, please! Just send me a mail at email@example.com with the test and I will add each useful test as soon as I can.
Requires: 2.7 or higher
Compatible up to: 3.4.2
Last Updated: 4 years ago
Active Installs: 10+
Got something to say? Need help?