Improve WP detection
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user