[wp-trac] [WordPress Trac] #47528: Site Health: Add test for file checksums

WordPress Trac noreply at wordpress.org
Mon Aug 12 00:11:27 UTC 2019


#47528: Site Health: Add test for file checksums
-----------------------------------+-----------------------------
 Reporter:  swissspidy             |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Site Health            |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  site-health has-patch  |     Focuses:
-----------------------------------+-----------------------------

Comment (by killerbishop):

 @Clorith - sure - I'll push an update with the missing `__()` wrapper
 function for translations - I only see one right now. I also rename all
 `code_integrity` to `core_integrity`.

 Scenarios that are covered:

 1. **Checksum download failure**: If the `core_get_checksums()` function
 fails to return checksums for any reason - then an error will be produced.
 * ''Status'': `critical`
 * ''Label'': `Unable to scan core files for changes`
 * ''Description'': `The checksum file list could not be downloaded. There
 maybe a connection issue or a list is not available for this version.
 Please try to run this test again at a later time.`
 2. **Checksum mismatch or missing files**: If any file is found missing or
 with a mismatched checksum - then this recommendation status will be
 produced. The exception is for any items listed in `wp-content` - that
 directory is ignored. The action links to the `update-
 core.php?force_check=1` admin URL.
 * ''Status'': `recommended`
 * ''Label'': `Some core files may have been modified`
 * ''Description'': `Some WordPress core files may have been changed. One
 reason this check can fail is that you need to install a version that
 makes use of the right translation files. If you have the ability to do
 so, a simple fix is to reinstall WordPress. Reinstall of the core system
 should not affect any plugins, themes, or content that you have posted.`
 * ''Action'': `Reinstall WordPress manually`
 3. **Everything checks out fine**: If everything is OK - then the test is
 considered passed.
 * ''Status'': `good`
 * ''Label'': `No changes to the core files are detected`
 * ''Description'': `A scan for changes to the core WordPress files was
 performed. No changes are detected.`

 The label declared in the async process list is `WordPress Core Files
 Integrity Check`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47528#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list