Improve WP detection

This commit is contained in:
Gaël Métais
2021-01-10 23:58:05 +00:00
parent 74b04ff922
commit ea7a9811e4
+1 -1
View File
@@ -762,7 +762,7 @@ var Redownload = function() {
if (htmlRequest &&
(htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-content/') >= 0 ||
htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-include/') >= 0)) {
htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-includes/') >= 0)) {
debug('Response: yes.');
return true;
} else {