WordPress.org

Make WordPress Core

Ticket #28707: also-major.diff

File also-major.diff, 320 bytes (added by lovingboth, 6 years ago)

Diff file for wp-admin/includes/class-wp-upgrader.php

Line 
11534c1534
2<               // WP_AUTO_UPDATE_CORE = true (all), 'minor', false.
3---
4>               // WP_AUTO_UPDATE_CORE = true (all), 'major', 'minor', false.
51541a1542,1545
6>                       } elseif ( 'major' === WP_AUTO_UPDATE_CORE ) {
7>                               // Major and minor updates for core
8>                               $upgrade_dev = false;
9>                               $upgrade_major = $upgrade_minor = true;