PluginProbe ʕ •ᴥ•ʔ
Wordfence Security – Firewall, Malware Scan, and Login Security / 2.0.5
Wordfence Security – Firewall, Malware Scan, and Login Security v2.0.5
8.2.2 8.2.1 8.2.0 3.7.1 3.7.2 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.8.8 3.8.9 3.9.1 4.0.1 4.0.2 4.0.3 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.0.9 5.1.1 5.1.2 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.1 5.3.10 5.3.11 5.3.12 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.3.8 5.3.9 6.0.1 6.0.10 6.0.11 6.0.12 6.0.14 6.0.15 6.0.16 6.0.17 6.0.18 6.0.19 6.0.2 6.0.20 6.0.21 6.0.22 6.0.23 6.0.24 6.0.25 6.0.3 6.0.4 6.0.5 6.0.6 6.0.7 6.0.8 6.0.9 6.1.1 6.1.10 6.1.11 6.1.12 6.1.14 6.1.15 6.1.16 6.1.17 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 6.1.8 6.1.9 6.2.0 6.2.1 6.2.10 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.7 6.2.8 6.2.9 6.3.0 6.3.1 6.3.10 6.3.11 6.3.12 6.3.14 6.3.15 6.3.16 6.3.17 6.3.18 6.3.19 6.3.2 6.3.20 6.3.21 6.3.22 6.3.3 6.3.4 6.3.5 6.3.6 6.3.7 6.3.8 6.3.9 7.0.1 7.0.2 7.0.3 7.0.4 7.0.5 7.1.0 7.1.1 7.1.10 7.1.11 7.1.12 7.1.14 7.1.15 7.1.16 7.1.17 7.1.18 7.1.19 7.1.2 7.1.20 7.1.3 7.1.4 7.1.5 7.1.6 7.1.7 7.1.8 7.1.9 7.10.0 7.10.1 7.10.2 7.10.3 7.10.4 7.10.5 7.10.6 7.10.7 7.11.0 7.11.1 7.11.2 7.11.3 7.11.4 7.11.5 7.11.6 7.11.7 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 7.4.0 7.4.1 7.4.10 7.4.11 7.4.12 7.4.14 7.4.2 7.4.3 trunk 7.4.4 1.1 7.4.5 1.2 7.4.6 1.3 7.4.7 1.3.1 7.4.8 1.3.2 7.4.9 1.3.3 7.5.0 1.4.2 7.5.1 1.4.3 7.5.10 1.4.4 7.5.11 1.4.5 7.5.2 1.4.6 7.5.3 1.4.7 7.5.4 1.4.8 7.5.5 1.5.1 7.5.6 1.5.2 7.5.7 1.5.3 7.5.8 1.5.4 7.5.9 1.5.5 7.6.0 1.5.6 7.6.1 2.0.1 7.6.2 2.0.2 7.7.0 2.0.3 7.7.1 2.0.5 7.8.0 2.0.6 7.8.1 2.0.7 7.8.2 2.1.0 7.9.0 2.1.1 7.9.1 2.1.2 7.9.2 2.1.3 7.9.3 2.1.4 8.0.0 2.1.5 8.0.1 3.0.2 8.0.2 3.0.3 8.0.3 3.0.4 8.0.4 3.0.5 8.0.5 3.0.6 8.1.0 3.0.7 8.1.1 3.0.8 8.1.2 3.0.9 8.1.3 3.1.0 8.1.4 3.1.1 v1.4.1 3.1.2 3.1.4 3.1.6 3.2.1 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.4.1 3.4.4 3.4.5 3.5.1 3.5.2 3.6.1 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9
wordfence / lib / menu_scan.php
wordfence / lib Last commit date
Diff 14 years ago .htaccess 14 years ago Diff.php 14 years ago IPTraf.php 14 years ago diffResult.php 14 years ago dropAll.php 14 years ago email_genericAlert.php 14 years ago email_newIssues.php 14 years ago email_unlockRequest.php 14 years ago menu_activity.php 14 years ago menu_blockedIPs.php 14 years ago menu_config.php 14 years ago menu_options.php 14 years ago menu_scan.php 14 years ago sysinfo.php 14 years ago viewFullActivityLog.php 14 years ago wf503.php 14 years ago wfAPI.php 14 years ago wfAction.php 14 years ago wfBrowscap.php 14 years ago wfBrowscapCache.php 14 years ago wfConfig.php 14 years ago wfCrawl.php 14 years ago wfDB.php 14 years ago wfDict.php 14 years ago wfIssues.php 14 years ago wfLockedOut.php 14 years ago wfLog.php 14 years ago wfModTracker.php 14 years ago wfRate.php 14 years ago wfScanEngine.php 14 years ago wfSchema.php 14 years ago wfUnlockMsg.php 14 years ago wfUtils.php 14 years ago wfViewResult.php 14 years ago wordfenceClass.php 14 years ago wordfenceConstants.php 14 years ago wordfenceHash.php 14 years ago wordfenceScanner.php 14 years ago wordfenceURLHoover.php 14 years ago
menu_scan.php
461 lines
1 <div class="wordfenceModeElem" id="wordfenceMode_scan"></div>
2 <div class="wrap wordfence">
3 <div class="wordfence-lock-icon wordfence-icon32"><br /></div><h2>Wordfence Scan</h2>
4 <div class="wordfenceWrap">
5 <div class="wordfenceScanButton"><input type="button" value="Start a Wordfence Scan" id="wfStartScanButton1" class="wfStartScanButton button-primary" onclick="wordfenceAdmin.startScan();" />
6 <a target="_blank" href="http://www.wordfence.com/forums/">You can always get help on our support forum.</a>
7 </div>
8 <div>
9 <div class="consoleHead">
10 <span class="consoleHeadText">Scan Summary</span>
11 </div>
12 <?php
13 $events = wordfence::getLog()->getStatusEvents(0);
14 ?>
15 <div class="bevelDiv1 consoleOuter"><div class="bevelDiv2"><div class="bevelDiv3 consoleInner" id="consoleSummary">
16 <?php if(sizeof($events) < 1){ ?>
17 <div style="width: 500px;">
18 Welcome to Wordfence!<br /><br />
19 To get started, simply click the blue button at the top of this page to start your first scan.
20 </div>
21 <?php } ?>
22 </div></div></div>
23 <?php if(wfConfig::get('isPaid')){ ?>
24 <div style="margin: 0 0 20px 5px; width: 795px; font-weight: bold; color: #0A0;">
25 Premium scanning enabled.
26 </div>
27 <?php } else { ?>
28 <div style="margin: 0 0 20px 5px; width: 795px;">
29 <strong>How to upgrade:</strong> <a href="https://www.wordfence.com/choose-a-wordfence-membership-type/?s2-ssl=yes" target="_blank">Visit www.wordfence.com</a> and sign up for a paid option. Then go to the Wordfence options page on this site and replace your free API key with your new premium key. You will then be able to activate the premium scanning options on the Wordfence options page.
30 </div>
31
32 <?php } ?>
33 <div class="consoleHead" style="margin-top: 20px;">
34 <span class="consoleHeadText">Scan Detailed Activity</span>
35 <a href="#" class="wfALogMailLink" onclick="WFAD.emailActivityLog(); return false;">Email activity log</a>
36 </div>
37 <div class="bevelDiv1 consoleOuter"><div class="bevelDiv2"><div class="bevelDiv3 consoleInner" id="consoleActivity">
38 <?php
39 if(sizeof($events) > 0){
40 $debugOn = wfConfig::get('debugOn', false);
41 $newestItem = 0;
42 $sumEvents = array();
43 foreach($events as $e){
44 if(strpos($e['msg'], 'SUM_') !== 0){
45 if( $debugOn || $e['level'] < 4){
46 echo '<div class="wfActivityLine wf' . $e['type'] . '">[' . date('M d H:i:s', $e['ctime']) . ']&nbsp;' . $e['msg'] . '</div>';
47 }
48 }
49 $newestItem = $e['ctime'];
50 }
51
52 echo '<script type="text/javascript">WFAD.lastALogCtime = ' . $newestItem . '; WFAD.processActArray(' . json_encode(wordfence::getLog()->getSummaryEvents()) . ');</script>';
53 } else { ?>
54 A live stream of what Wordfence is busy with right now will appear in this box.
55
56 <?php
57 }
58 ?>
59 </div></div></div>
60 <div style="position: relative; width: 803px;">
61 &nbsp;
62 <a href="#" target="_blank" class="wfALogViewLink" id="wfALogViewLink">View activity log</a>
63 </div>
64 </div>
65 <div style="margin-top: 20px;">
66 <div id="wfTabs">
67 <a href="#" id="wfNewIssuesTab" class="wfTab2 wfTabSwitch selected" onclick="wordfenceAdmin.switchIssuesTab(this, 'new'); return false;">New Issues</a>
68 <a href="#" class="wfTab2 wfTabSwitch" onclick="wordfenceAdmin.switchIssuesTab(this, 'ignored'); return false;">Ignored Issues</a>
69 </div>
70 <div class="wfTabsContainer">
71 <div id="wfIssues_new" class="wfIssuesContainer">
72 <h2>New Issues</h2>
73 <p>
74 The list below shows new problems or warnings that Wordfence found with your site.
75 If you have fixed all the issues below, you can <a href="#" onclick="WFAD.updateAllIssues('deleteNew'); return false;">click here to mark all new issues as fixed</a>.
76 You can also <a href="#" onclick="WFAD.updateAllIssues('ignoreAllNew'); return false;">ignore all new issues</a> which will exclude all issues listed below from future scans.
77 </p>
78 <div id="wfIssues_dataTable_new">
79 </div>
80 </div>
81 <div id="wfIssues_ignored" class="wfIssuesContainer">
82 <h2>Ignored Issues</h2>
83 <p>
84 The list below shows issues that you know about and have chosen to ignore.
85 You can <a href="#" onclick="WFAD.updateAllIssues('deleteIgnored'); return false;">click here to clear all ignored issues</a>
86 which will cause all issues below to be re-scanned by Wordfence in the next scan.
87 </p>
88 <div id="wfIssues_dataTable_ignored"></div>
89 </div>
90 </div>
91 </div>
92 </div>
93 </div>
94 <script type="text/x-jquery-template" id="issueTmpl_wfThemeUpgrade">
95 <div>
96 <div class="wfIssue">
97 <h2>${shortMsg}</h2>
98 <p>
99 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
100 <tr><th>Theme Name:</th><td>${data.name}</td></tr>
101 <tr><th>Current Theme Version:</th><td>${data.version}</td></tr>
102 <tr><th>New Theme Version:</th><td>${data.newVersion}</td></tr>
103 <tr><th>Theme URL:</th><td><a href="${data.URL}" target="_blank">${data.URL}</a></td></tr>
104 <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr>
105 <tr><th>Status</th><td>
106 {{if status == 'new' }}New{{/if}}
107 {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}}
108 </td></tr>
109 </table>
110 </p>
111 <p>
112 {{html longMsg}}
113 <a href="<?php echo get_admin_url() . 'update-core.php'; ?>">Click here to update now</a>.
114 </p>
115 <div class="wfIssueOptions">
116 {{if (status == 'new')}}
117 <strong>Resolve:</strong>
118 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a>
119 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this issue</a>
120 {{/if}}
121 {{if status == 'ignoreC' || status == 'ignoreP'}}
122 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Stop ignoring this issue</a>
123 {{/if}}
124 </div>
125 </div>
126 </div>
127 </script>
128
129 <script type="text/x-jquery-template" id="issueTmpl_wfPluginUpgrade">
130 <div>
131 <div class="wfIssue">
132 <h2>${shortMsg}</h2>
133 <p>
134 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
135 <tr><th>Plugin Name:</th><td>${data.Name}</td></tr>
136 {{if data.PluginURI}}<tr><th>Plugin Website:</th><td><a href="${data.PluginURI}" target="_blank">${data.PluginURI}</a></td></tr>{{/if}}
137 <tr><th>Current Plugin Version:</th><td>${data.Version}</td></tr>
138 <tr><th>New Plugin Version:</th><td>${data.newVersion}</td></tr>
139 <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr>
140 <tr><th>Status</th><td>
141 {{if status == 'new' }}New{{/if}}
142 {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}}
143 </td></tr>
144 </table>
145 </p>
146 <p>
147 {{html longMsg}}
148 <a href="<?php echo get_admin_url() . 'update-core.php'; ?>">Click here to update now</a>.
149 </p>
150 <div class="wfIssueOptions">
151 {{if status == 'new'}}
152 <strong>Resolve:</strong>
153 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a>
154 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this issue</a>
155 {{/if}}
156 {{if status == 'ignoreC' || status == 'ignoreP'}}
157 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a>
158 {{/if}}
159 </div>
160 </div>
161 </div>
162 </script>
163
164 <script type="text/x-jquery-template" id="issueTmpl_wfUpgrade">
165 <div>
166 <div class="wfIssue">
167 <h2>${shortMsg}</h2>
168 <p>
169 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
170 <tr><th>Current WordPress Version:</th><td>${data.currentVersion}</td></tr>
171 <tr><th>New WordPress Version:</th><td>${data.newVersion}</td></tr>
172 <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr>
173 <tr><th>Status</th><td>
174 {{if status == 'new' }}New{{/if}}
175 {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}}
176 </td></tr>
177 </table>
178 </p>
179 <p>
180 {{html longMsg}}
181 <a href="<?php echo get_admin_url() . 'update-core.php'; ?>">Click here to update now</a>.
182 </p>
183 <div class="wfIssueOptions">
184 {{if (status == 'new')}}
185 <strong>Resolve:</strong>
186 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a>
187 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this issue</a>
188 {{/if}}
189 {{if status == 'ignoreC' || status == 'ignoreP'}}
190 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a>
191 {{/if}}
192 </div>
193 </div>
194 </script>
195
196 <script type="text/x-jquery-template" id="issueTmpl_dnsChange">
197 <div>
198 <div class="wfIssue">
199 <h2>${shortMsg}</h2>
200 <p>
201 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
202 <tr><th>Old DNS records:</th><td>${data.oldDNS}</td></tr>
203 <tr><th>New DNS records:</th><td>${data.newDNS}</td></tr>
204 <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr>
205 <tr><th>Status</th><td>
206 {{if status == 'new' }}New{{/if}}
207 {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}}
208 </td></tr>
209 </table>
210 </p>
211 <p>
212 {{html longMsg}}
213 </p>
214 <div class="wfIssueOptions">
215 {{if (status == 'new')}}
216 <strong>Resolve:</strong>
217 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I know about this change</a>
218 {{/if}}
219 </div>
220 </div>
221 </div>
222 </script>
223
224 <script type="text/x-jquery-template" id="issueTmpl_diskSpace">
225 <div>
226 <div class="wfIssue">
227 <h2>${shortMsg}</h2>
228 <p>
229 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
230 <tr><th>Space remaining:</th><td>${data.spaceLeft}%</td></tr>
231 <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr>
232 <tr><th>Status</th><td>
233 {{if status == 'new' }}New{{/if}}
234 {{if status == 'ignoreP' || status == 'ignoreC' }}Ignoring all disk space alerts{{/if}}
235 </td></tr>
236 </table>
237 </p>
238 <p>
239 {{html longMsg}}
240 </p>
241 <div class="wfIssueOptions">
242 {{if (status == 'new')}}
243 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</span>
244 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Ignore disk space alerts</span>
245 {{/if}}
246 {{if status == 'ignoreP' || status == 'ignoreC'}}
247 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring disk space alerts</a>
248 {{/if}}
249 </div>
250 </div>
251 </div>
252 </script>
253
254 <script type="text/x-jquery-template" id="issueTmpl_easyPassword">
255 <div>
256 <div class="wfIssue">
257 <h2>${shortMsg}</h2>
258 <p>
259 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
260 <tr><th>Issue first detected:</th><td>${timeAgo} ago.</td></tr>
261 <tr><th>Login name:</th><td>${data.user_login}</td></tr>
262 <tr><th>User email:</th><td>${data.user_email}</td></tr>
263 <tr><th>Full name:</th><td>${data.first_name} ${data.last_name}</td></tr>
264 <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr>
265 <tr><th>Status</th><td>
266 {{if status == 'new' }}New{{/if}}
267 {{if status == 'ignoreC' }}Ignored until user changes password{{/if}}
268 {{if status == 'ignoreP' }}Ignoring this user's weak passwords{{/if}}
269 </td></tr>
270 </table>
271 </p>
272 <p>
273 {{html longMsg}}
274 </p>
275 <div class="wfIssueOptions">
276 <strong>Tools:</strong>
277 <a target="_blank" href="${data.editUserLink}">Edit this user</a>
278 </div>
279 <div class="wfIssueOptions">
280 {{if status == 'new'}}
281 <strong>Resolve:</strong>
282 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a>
283 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this weak password</a>
284 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Ignore all this user's weak passwords</a>
285 {{/if}}
286 {{if status == 'ignoreC' || status == 'ignoreP'}}
287 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a>
288 {{/if}}
289 </div>
290 </div>
291 </div>
292 </script>
293
294 <script type="text/x-jquery-template" id="issueTmpl_commentBadURL">
295 <div>
296 <div class="wfIssue">
297 <h2>${shortMsg}</h2>
298 <p>
299 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
300 <tr><th>Author</th><td>${data.author}</td></tr>
301 <tr><th>Bad URL:</th><td><strong class="wfWarn">${data.badURL}</strong></td></tr>
302 <tr><th>Posted on:</th><td>${data.commentDate}</td></tr>
303 {{if data.isMultisite}}
304 <tr><th>Multisite Blog ID:</th><td>${data.blog_id}</td></tr>
305 <tr><th>Multisite Blog Domain:</th><td>${data.domain}</td></tr>
306 <tr><th>Multisite Blog Path:</th><td>${data.path}</td></tr>
307 {{/if}}
308 <tr><th>Severity:</th><td>Critical</td></tr>
309 <tr><th>Status</th><td>
310 {{if status == 'new' }}New{{/if}}
311 {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}}
312 </td></tr>
313 </table>
314 </p>
315 <p>
316 {{html longMsg}}
317 </p>
318 <div class="WfIssueOptions">
319 <strong>Tools:</strong>
320 <a target="_blank" href="${data.editCommentLink}">Edit this ${data.type}</a>
321 </div>
322 <div class="wfIssueOptions">
323 {{if status == 'new'}}
324 <strong>Resolve:</strong>
325 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a>
326 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this ${data.type}</a>
327 {{/if}}
328 {{if status == 'ignoreC' || status == 'ignoreP'}}
329 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this ${data.type}</a>
330 {{/if}}
331 </div>
332 </div>
333 </script>
334
335 <script type="text/x-jquery-template" id="issueTmpl_postBadURL">
336 <div>
337 <div class="wfIssue">
338 <h2>${shortMsg}</h2>
339 <p>
340 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
341 {{if data.isMultisite}}
342 <tr><th>Title:</th><td><a href="${data.permalink}" target="_blank">${data.postTitle}</a></td></tr>
343 {{else}}
344 <tr><th>Title:</th><td><a href="${data.permalink}" target="_blank">${data.postTitle}</a></td></tr>
345 {{/if}}
346 <tr><th>Bad URL:</th><td><strong class="wfWarn">${data.badURL}</strong></td></tr>
347 <tr><th>Posted on:</th><td>${data.postDate}</td></tr>
348 {{if data.isMultisite}}
349 <tr><th>Multisite Blog ID:</th><td>${data.blog_id}</td></tr>
350 <tr><th>Multisite Blog Domain:</th><td>${data.domain}</td></tr>
351 <tr><th>Multisite Blog Path:</th><td>${data.path}</td></tr>
352 {{/if}}
353 <tr><th>Severity:</th><td>Critical</td></tr>
354 <tr><th>Status</th><td>
355 {{if status == 'new' }}New{{/if}}
356 {{if status == 'ignoreC' }}This bad URL will be ignored in this ${data.type}.{{/if}}
357 {{if status == 'ignoreP' }}This post won't be scanned for bad URL's.{{/if}}
358 </td></tr>
359 </table>
360 </p>
361 <p>
362 {{html longMsg}}
363 </p>
364 <div class="wfIssueOptions">
365 <strong>Tools:</strong>
366 <a target="_blank" href="${data.editPostLink}">Edit this ${data.type}</a>
367 </div>
368 <div class="wfIssueOptions">
369 {{if status == 'new'}}
370 <strong>Resolve:</strong>
371 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a>
372 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this bad URL in this ${data.type}</a>
373 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Ignore all bad URL's in this ${data.type}</a>
374 {{/if}}
375 {{if status == 'ignoreP' || status == 'ignoreC'}}
376 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a>
377 {{/if}}
378 </div>
379 </div>
380 </div>
381 </script>
382
383
384
385 <script type="text/x-jquery-template" id="issueTmpl_file">
386 <div>
387 <div class="wfIssue">
388 <h2>${shortMsg}</h2>
389 <p>
390 <table border="0" class="wfIssue" cellspacing="0" cellpadding="0">
391 <tr><th>Filename:</th><td>${data.file}</td></tr>
392 <tr><th>File type:</th><td>{{if data.cType}}${WFAD.ucfirst(data.cType)}{{else}}Not a core, theme or plugin file.{{/if}}</td></tr>
393 <tr><th>Issue first detected:</th><td>${timeAgo} ago.</td></tr>
394 <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr>
395 <tr><th>Status</th><td>
396 {{if status == 'new' }}New{{/if}}
397 {{if status == 'ignoreP' }}Permanently ignoring this file{{/if}}
398 {{if status == 'ignoreC' }}Ignoring this file until it changes{{/if}}
399 </td></tr>
400 </table>
401 </p>
402 <p>
403 {{html longMsg}}
404 </p>
405 <div class="wfIssueOptions">
406 <strong>Tools:</strong>
407 {{if data.fileExists}}
408 <a target="_blank" href="${WFAD.makeViewFileLink(data.file)}">View the file.</a>
409 {{/if}}
410 {{if data.canFix}}
411 <a href="#" onclick="WFAD.restoreFile('${id}'); return false;">Restore the original version of this file.</a>
412 {{/if}}
413 {{if data.canDelete}}
414 <a href="#" onclick="WFAD.deleteFile('${id}'); return false;">Delete this file (can't be undone).</a>
415 {{/if}}
416 {{if data.canDiff}}
417 <a href="${WFAD.makeDiffLink(data)}" target="_blank">See how the file has changed.</a>
418 {{/if}}
419 </div>
420 <div class="wfIssueOptions">
421 {{if status == 'new'}}
422 <strong>Resolve:</strong>
423 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a>
424 {{if data.fileExists}}
425 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore until the file changes.</a>
426 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Always ignore this file.</a>
427 {{else}}
428 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore missing file</a>
429 {{/if}}
430
431 {{/if}}
432 {{if status == 'ignoreC' || status == 'ignoreP'}}
433 <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue.</a>
434 {{/if}}
435 </div>
436 </div>
437 </div>
438 </script>
439 <script type="text/x-jquery-template" id="wfNoScanYetTmpl">
440 <div>
441 <table class="wfSummaryParent" cellpadding="0" cellspacing="0">
442 <tr><th class="wfHead">Your first scan is starting now</th></tr>
443 <tr><td>
444 <table class="wfSC1" cellpadding="0" cellspacing="0">
445 <tr><td>
446 Your first Wordfence scan should be automatically starting now
447 and you will see the scan details in the "Activity Log" above in a few seconds.
448 While you're waiting, why not visit the <a href="http://www.wordfence.com/forums/" target="_blank">Wordfence Forums</a>
449 where you can post your comments or questions. We would love to hear from you.
450 </td></tr>
451 <tr><td>
452 <div class="wordfenceScanButton"><input type="button" value="Start a Wordfence Scan" id="wfStartScanButton2" class="wfStartScanButton button-primary" /></div>
453 </td></tr>
454 </table>
455 </td>
456 </tr></table>
457 </div>
458 </script>
459
460
461