- Timestamp:
- 06/22/2023 02:34:56 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php
r54891 r55988 333 333 334 334 $checksums = get_core_checksums( $wp_version, 'en_US' ); 335 $dev = ( false !== strpos( $wp_version, '-' ) );335 $dev = ( str_contains( $wp_version, '-' ) ); 336 336 // Get the last stable version's files and test against that. 337 337 if ( ! $checksums && $dev ) { … … 397 397 require ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z 398 398 // Only for dev versions. 399 if ( false === strpos( $wp_version, '-' ) ) {399 if ( ! str_contains( $wp_version, '-' ) ) { 400 400 return false; 401 401 }
Note: See TracChangeset
for help on using the changeset viewer.