PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.2
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.2
6.2.2 6.2.1 6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 5.2.1 All 155 releases
← All changes | class/class-mainwp-post-site-handler.php +4 -2 6.0.11 → 6.2.2 View file →
@@ -306,10 +306,12 @@
306 306 $name = $website->name;
307 307 $verifyCertificate = (int) $website->verify_certificate;
308 308 $forceUseIPv4 = $website->force_use_ipv4;
309 309 $sslVersion = $website->ssl_version;
310 - $http_user = $website->http_user;
311 - $http_pass = $website->http_pass;
310 + // MWP-1548: decrypt at the boundary so the reconnect /
311 + // try_visit call below uses plaintext credentials.
312 + $http_user = MainWP_Credential_Storage::decrypt_credential( $website->http_user );
313 + $http_pass = MainWP_Credential_Storage::decrypt_credential( $website->http_pass );
312 314 }
313 315 }
314 316 // phpcs:enable
315 317