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

WordPress Trac noreply at wordpress.org
Fri Sep 8 23:40:43 UTC 2023


#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 needs-testing  |     Focuses:  ui-copy
-------------------------------------------------+-------------------------

Comment (by Michi91):

 Uploaded a refreshed patch including check for development environment (
 wp_is_development_mode() ) and releases like alphas, betas, nightlys etc.
 (Checking if Version contains a - suffix)

 I also tested it: (6.3.1 with applied patch)

 1. by changing the $wp_version in update.php from 6.3.1 to 6.3.1--
 alpha-56267-src ->  omits the check
 2. by define( 'WP_DEVELOPMENT_MODE', 'all'); ->  omits the check
 3. by manipulating the checksum api request to a local webserver and
 overwriting the checksums -> works as expected

 Feedback is heartily welcomed, I'm new in making WordPress :)

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


More information about the wp-trac mailing list