Plugin Directory

Changeset 3370017


Ignore:
Timestamp:
09/29/2025 09:47:55 PM (5 months ago)
Author:
wpfixit
Message:
  • Fixed report hyperlinks
Location:
folder-auditor
Files:
61 added
3 edited

Legend:

Unmodified
Added
Removed
  • folder-auditor/trunk/includes/helpers/reports/Folder-Auditor-Report.html

    r3370006 r3370017  
    11531153        <div>
    11541154      <h1>WP Fix It Sandbox - Folder Auditor &amp; Security Report</h1>
    1155       <div class="fa-export-meta">September 29, 2025 7:43 pm</div>
     1155      <div class="fa-export-meta">September 29, 2025 9:09 pm</div>
    11561156    </div>
    11571157  </div>
     
    11601160
    11611161
    1162 
    1163 
    1164 
    1165 
    11661162<!-- Overall Health Card -->
    11671163
    1168 
    1169 
    1170 
    1171 
    11721164<div class="fa-health fa-health--bad" style="display:flex;align-items:center;gap:16px;margin:23px 0px 32px;padding:14px 16px;border: 1px solid rgba(255,255,255,.06);border-radius:10px;background:radial-gradient(1200px at 0 140%, rgba(209,106,255,.18), transparent 90%), var(--wpfa-card);color:#fff;box-shadow: 0 5px 33px rgba(209, 106, 255,0.5);transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;min-height: 120px;">
    11731165
    1174 
    1175 
    1176 
    1177 
    1178   <div class="fa-gauge" aria-label="Health score 0 out of 100"
    1179 
    1180 
    1181 
    1182 
     1166  <div class="wpfa-gauge" aria-label="Health score 0 out of 100"
    11831167
    11841168       style="--p: 0; width:111px; height:111px; border-radius:50%; display:grid; place-items:center;background:conic-gradient(var(--fa-gauge-color, #1ab06f) calc(var(--p,0)*1%), #f54545 0);position:relative;margin-left: 23px;margin-right: 23px;">
    11851169
    1186 
    1187 
    1188 
    1189 
    11901170    <div style="font-size:33px;width:77px;height:77px;background:radial-gradient(1200px at 0 140%, rgba(209,106,255,.18), transparent 90%), var(--wpfa-card);border-radius:50%;display:grid;place-items:center;font-weight:600;">
    11911171
    1192 
    1193 
    1194 
    1195 
    11961172      0
    1197 
    1198 
    1199 
    1200 
    12011173    </div>
    12021174
    1203 
    1204 
    1205 
    1206 
    1207   </div>
    1208 
    1209 
    1210 
    1211 
     1175  </div>
    12121176
    12131177  <div style="flex:1;min-width:0;">
    12141178
    1215 
    1216 
    1217 
    1218 
    12191179    <div style="display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom: 15px;">
    12201180
    1221 
    1222 
    1223 
    1224 
    12251181      <strong style="font-size:23px;">Folder Health Score - </strong>
    12261182
    1227 
    1228 
    1229 
    1230 
    12311183      <span class="fa-chip grade-poor">
    12321184
    1233 
    1234 
    1235 
    1236 
    12371185        Poor
    1238 
    1239 
    1240 
    1241 
    12421186      </span>
    12431187
    1244 
    1245 
    1246 
    1247 
    12481188    </div>
    12491189
    1250 
    1251 
    1252 
    1253 
    12541190    <div class="description" style="margin-top:4px;color:#50575e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">
    12551191
    1256 
    1257 
    1258 
    1259 
    12601192     
    1261 
    1262 
    1263 
    1264 
    12651193          <div class="fa-health-issues" style="display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;">
    12661194
    1267 
    1268 
    1269 
    1270 
    12711195         
    1272 
    1273 
    1274 
    1275 
    12761196            <span class="fa-health-pill">
    12771197
    1278 
    1279 
    1280 
    1281 
    12821198              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=uploads#uploads-deep-php">
    12831199
    1284 
    1285 
    1286 
    1287 
    12881200                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    12891201
    1290 
    1291 
    1292 
    1293 
    12941202                <span>PHP Files in Uploads</span>
    12951203
    1296 
    1297 
    1298 
    1299 
    13001204              </a>
    13011205
    1302 
    1303 
    1304 
    1305 
    13061206            </span>
    13071207
    1308 
    1309 
    1310 
    1311 
    13121208         
    1313 
    1314 
    1315 
    1316 
    13171209            <span class="fa-health-pill">
    13181210
    1319 
    1320 
    1321 
    1322 
    13231211              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=themes#themes-root-files">
    13241212
    1325 
    1326 
    1327 
    1328 
    13291213                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    13301214
    1331 
    1332 
    1333 
    1334 
    13351215                <span>Files in Themes</span>
    13361216
    1337 
    1338 
    1339 
    1340 
    13411217              </a>
    13421218
    1343 
    1344 
    1345 
    1346 
    13471219            </span>
    13481220
    1349 
    1350 
    1351 
    1352 
    13531221         
    1354 
    1355 
    1356 
    1357 
    13581222            <span class="fa-health-pill">
    13591223
    1360 
    1361 
    1362 
    1363 
    13641224              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=htaccess">
    13651225
    1366 
    1367 
    1368 
    1369 
    13701226                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    13711227
    1372 
    1373 
    1374 
    1375 
    13761228                <span>.htaccess Files</span>
    13771229
    1378 
    1379 
    1380 
    1381 
    13821230              </a>
    13831231
    1384 
    1385 
    1386 
    1387 
    13881232            </span>
    13891233
    1390 
    1391 
    1392 
    1393 
    13941234         
    1395 
    1396 
    1397 
    1398 
    13991235            <span class="fa-health-pill">
    14001236
    1401 
    1402 
    1403 
    1404 
    14051237              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=plugins#plugins-root-folders">
    14061238
    1407 
    1408 
    1409 
    1410 
    14111239                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    14121240
    1413 
    1414 
    1415 
    1416 
    14171241                <span>Orphan Plugins</span>
    14181242
    1419 
    1420 
    1421 
    1422 
    14231243              </a>
    14241244
    1425 
    1426 
    1427 
    1428 
    14291245            </span>
    14301246
    1431 
    1432 
    1433 
    1434 
    14351247         
    1436 
    1437 
    1438 
    1439 
    14401248            <span class="fa-health-pill">
    14411249
    1442 
    1443 
    1444 
    1445 
    14461250              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=themes#orphan-themes">
    14471251
    1448 
    1449 
    1450 
    1451 
    14521252                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    14531253
    1454 
    1455 
    1456 
    1457 
    14581254                <span>Orphan Themes</span>
    14591255
    1460 
    1461 
    1462 
    1463 
    14641256              </a>
    14651257
    1466 
    1467 
    1468 
    1469 
    14701258            </span>
    14711259
    1472 
    1473 
    1474 
    1475 
    14761260         
    1477 
    1478 
    1479 
    1480 
    14811261            <span class="fa-health-pill">
    14821262
    1483 
    1484 
    1485 
    1486 
    14871263              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=plugins#plugins-root-files">
    14881264
    1489 
    1490 
    1491 
    1492 
    14931265                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    14941266
    1495 
    1496 
    1497 
    1498 
    14991267                <span>Files in Plugins</span>
    15001268
    1501 
    1502 
    1503 
    1504 
    15051269              </a>
    15061270
    1507 
    1508 
    1509 
    1510 
    15111271            </span>
    15121272
    1513 
    1514 
    1515 
    1516 
    15171273         
    1518 
    1519 
    1520 
    1521 
    15221274            <span class="fa-health-pill">
    15231275
    1524 
    1525 
    1526 
    1527 
    15281276              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=wpcontent#wpcontent-files">
    15291277
    1530 
    1531 
    1532 
    1533 
    15341278                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    15351279
    1536 
    1537 
    1538 
    1539 
    15401280                <span>Files in wp-content</span>
    15411281
    1542 
    1543 
    1544 
    1545 
    15461282              </a>
    15471283
    1548 
    1549 
    1550 
    1551 
    15521284            </span>
    15531285
    1554 
    1555 
    1556 
    1557 
    15581286         
    1559 
    1560 
    1561 
    1562 
    15631287            <span class="fa-health-pill">
    15641288
    1565 
    1566 
    1567 
    1568 
    15691289              <a class="fa-health-link" href="https://test.wpfixithosting.com/wp-admin/tools.php?page=folder-auditor&#038;tab=main#non-core">
    15701290
    1571 
    1572 
    1573 
    1574 
    15751291                <span class="dashicons dashicons-warning" style="font-size:15px;color:#fff;line-height:1.5;"></span>
    15761292
    1577 
    1578 
    1579 
    1580 
    15811293                <span>Non-Core Files</span>
    15821294
    1583 
    1584 
    1585 
    1586 
    15871295              </a>
    15881296
    1589 
    1590 
    1591 
    1592 
    15931297            </span>
    15941298
    1595 
    1596 
    1597 
    1598 
    15991299         
    1600 
    1601 
    1602 
    1603 
    16041300        </div>
    16051301
    1606 
    1607 
    1608 
    1609 
    16101302     
    1611 
    1612 
    1613 
    1614 
    16151303    </div>
    16161304
    1617 
    1618 
    1619 
    1620 
    1621   </div>
    1622 
    1623 
    1624 
    1625 
     1305  </div>
    16261306
    16271307</div> 
  • folder-auditor/trunk/includes/views/view-html-export.php

    r3370006 r3370017  
    22<?php // phpcs:disable WordPress.WP.I18n.MissingTranslatorsComment ?>
    33<div class="wrap wpfa-dashboard">
     4 
     5  <?php
     6// Build admin links safely
     7if ( ! function_exists( 'fa_tab_url' ) ) {
     8  function fa_tab_url( $tab, $anchor = '' ) {
     9    $url  = admin_url( 'tools.php' );
     10    $args = array( 'page' => WP_Folder_Audit::MENU_SLUG, 'tab' => $tab );
     11    $u    = add_query_arg( $args, $url );
     12    return $anchor ? $u . $anchor : $u;
     13  }
     14}
     15$fa_home_url    = home_url( '/' );                                  // front-end base
     16$fa_dashicons   = includes_url( 'css/dashicons.min.css' );          // WP core CSS
     17$fa_logo_url    = plugins_url( 'assets/logo.webp', FA_PLUGIN_FILE); // plugin asset
     18$fa_report_url  = content_url( 'plugins/folder-auditor/includes/helpers/reports/Folder-Auditor-Report.html' );
     19?>
    420
    521<?php
  • folder-auditor/trunk/readme.txt

    r3370006 r3370017  
    1313Requires PHP: 7.4
    1414
    15 Stable tag: 3.4.2
     15Stable tag: 3.4.3
    1616
    1717License: GPLv2 or later
     
    134134
    135135== Changelog ==
     136
     137= 3.4.3 =
     138
     139* Fixed report hyperlinks
     140
    136141
    137142= 3.4.2 =
     
    236241== Upgrade Notice ==
    237242
     243= 3.4.3 =
     244
     245* Fixed report hyperlinks
     246
    238247= 3.4.2 =
    239248
Note: See TracChangeset for help on using the changeset viewer.