Explorar o código

Improve WP detection

Gaël Métais %!s(int64=4) %!d(string=hai) anos
pai
achega
ea7a9811e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {