Closed dulfe closed 5 years ago
I'm not sure about this rest of this PR, but I can confirm that adding the code below to ApplicationInsightsPlugin.php
helped. Without it, I was unable to use the wp-cli from the Kudo console.
require_once __DIR__ . '/vendor/autoload.php';
Merging this would be much appreciated, thank you.
This PR addresses an issue where php complains than the Settings.php file does not exists when Zend Opcode is in use. I tracked down the issue to the way the "autoloader" was been referenced in ApplicationInsightsPlugin.php.
It also adds the option to opt-out of 404 tracking and lets the user mark some files as "non-trackable 404s" which is useful for files that some browsers assume exists but they are optional, like favicon.ico, robots.txt, etc.