Quellcode durchsuchen

Improve WP detection

Gaël Métais vor 4 Jahren
Ursprung
Commit
ea7a9811e4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 {