From ea7a9811e4b0a54dc0b1b9704f430cdaeb894f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sun, 10 Jan 2021 23:58:05 +0000 Subject: [PATCH] Improve WP detection --- lib/tools/redownload/redownload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/redownload/redownload.js b/lib/tools/redownload/redownload.js index ca38b93..484d807 100644 --- a/lib/tools/redownload/redownload.js +++ b/lib/tools/redownload/redownload.js @@ -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 {