rebase code on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:51:46 -04:00
parent b16ad94b69
commit 8f1a2c3a66
2197 changed files with 184921 additions and 35568 deletions

View File

@@ -3068,23 +3068,6 @@
}
});
},
acknowledgeAdminUser: function (issueID) {
var self = this;
this.ajax('wordfence_acknowledgeAdminUser', {
issueID: issueID
}, function(res) {
if (res.ok) {
self.loadIssues(function() {
self.colorboxModal((self.isSmallScreen ? '300px' : '400px'), __("Successfully acknowledged admin"), sprintf(__("The admin user %s will no longer show up in future scans."), res.user_login));
});
} else if (res.errorMsg) {
self.loadIssues(function() {
WFAD.colorboxError(res.errorMsg, res.tokenInvalid);
});
}
});
},
windowHasFocus: function() {
if (typeof document.hasFocus === 'function') {