upgrade_640()
Executes changes made in WordPress 6.4.0.
No Hooks.
Returns
null
. Nothing (null).
Usage
upgrade_640();
Notes
- Global. Int. $wp_current_db_version The old (current) database version.
Changelog
Since 6.4.0 | Introduced. |
upgrade_640() upgrade 640 code WP 6.8.1
function upgrade_640() { global $wp_current_db_version; if ( $wp_current_db_version < 56657 ) { // Enable attachment pages. update_option( 'wp_attachment_pages_enabled', 1 ); // Remove the wp_https_detection cron. Https status is checked directly in an async Site Health check. $scheduled = wp_get_scheduled_event( 'wp_https_detection' ); if ( $scheduled ) { wp_clear_scheduled_hook( 'wp_https_detection' ); } } }