Browse Source

Improve WP detection

Gaël Métais 4 years ago
parent
commit
ea7a9811e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/tools/redownload/redownload.js

+ 1 - 1
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 {