Ticket #51743: 51743.4.diff
File 51743.4.diff, 1.3 KB (added by , 3 years ago) |
---|
-
src/wp-admin/includes/schema.php
535 535 'disallowed_keys' => '', 536 536 'comment_previously_approved' => 1, 537 537 'auto_plugin_theme_update_emails' => array(), 538 539 // 5.6.0 540 'auto_update_core_dev' => 'enabled', 541 'auto_update_core_minor' => 'enabled', 542 // Default to enabled for new installs. 543 // See https://core.trac.wordpress.org/ticket/51742. 544 'auto_update_core_major' => 'enabled', 538 545 ); 539 546 540 547 // 3.3.0 -
src/wp-admin/includes/upgrade.php
2255 2255 if ( ! is_null( $post_category_exists ) ) { 2256 2256 $wpdb->query( "ALTER TABLE $wpdb->posts DROP COLUMN `post_category`" ); 2257 2257 } 2258 2259 // When upgrading from WP < 5.6.0 set the core major auto-updates option to `unset` by default. 2260 // This overrides the same option from populate_options() that is intended for new installs. 2261 // See https://core.trac.wordpress.org/ticket/51742. 2262 update_option( 'auto_update_core_major', 'unset' ); 2258 2263 } 2259 2264 2260 2265 /**