Changeset 50460
- Timestamp:
- 03/01/2021 10:36:29 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r50149 r50460 938 938 * DO NOT globalise any variables imported from `version-current.php` in this function. 939 939 * 940 * BC Note: $wp_filesystem->wp_content_dir() returned unslashed pre-2.8 940 * BC Note: $wp_filesystem->wp_content_dir() returned unslashed pre-2.8. 941 941 */ 942 942 $versions_file = trailingslashit( $wp_filesystem->wp_content_dir() ) . 'upgrade/version-current.php'; … … 1374 1374 } 1375 1375 1376 // `wp_opcache_invalidate()` only exists in WordPress 5.5, so don't run it when upgrading to 5.5. 1376 /* 1377 * `wp_opcache_invalidate()` only exists in WordPress 5.5 or later, 1378 * so don't run it when upgrading from older versions. 1379 */ 1377 1380 if ( function_exists( 'wp_opcache_invalidate' ) ) { 1378 1381 wp_opcache_invalidate( $to . $filename );
Note: See TracChangeset
for help on using the changeset viewer.