Hi
Just a follow up on this one.
This issue has been bothering me for a while. We use this plugin on our not-for-profit multisite, and the “passworded” message and the plugin not running/checking has been on-going for a while now. I have kept the plugin installed on 1.3.20, as it seemed to be the last one that worked fine.
I finally got around to asking our hosting dev if he could check it out.
After his intervention the plugin is now running/checking fine with no messages. I thought I would share his findings.
“Basically the plugin is doing http requests on it’s own rather than using the native WP api, and when doing so it’s overriding the request options, which in turn overrides our defaults options which include our proxy settings.”
He added the following at line 201 in accessibility-checker/includes/validate.php
$default_context_opts = array(
// See: https://www.php.net/manual/en/context.http.php.
‘http’ => array(
‘user_agent’ => ‘PHP Accessibility Checker’,
‘follow_location’ => false,
‘proxy’ => ‘tcp://proxy.**********.net:****’,
‘request_fulluri’ => true,
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘header’ => [“Proxy-Authorization: Basic “.base64_en
code(“****************************.net:”)]
),
“ssl” => array(
“verify_peer” => false,
“verify_peer_name” => false
)
);
Obviously, on plugin updates these changes will be lost and I’ll need to add them back in again, but I thought you may be interested in the code.
Kind Regards