|
@@ -760,7 +760,9 @@ var Redownload = function() {
|
|
|
|
|
|
debug('Checking if it is WordPress on file %s', htmlRequest.url);
|
|
|
|
|
|
- if (htmlRequest && htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-content/') >= 0) {
|
|
|
+ if (htmlRequest &&
|
|
|
+ (htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-content/') >= 0 ||
|
|
|
+ htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-include/') >= 0)) {
|
|
|
debug('Response: yes.');
|
|
|
return true;
|
|
|
} else {
|