Changeset 49681
- Timestamp:
- 11/22/2020 03:57:19 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r49677 r49681 323 323 } 324 324 325 // The UI is overridden by the WP_AUTO_UPDATE_COREconstant.325 // The UI is overridden by the `WP_AUTO_UPDATE_CORE` constant. 326 326 $can_set_update_option = false; 327 327 } … … 332 332 $upgrade_major = false; 333 333 334 // The UI is overridden by the AUTOMATIC_UPDATER_DISABLED constant 335 // or the automatic_updater_disabled filter, 336 // or by wp_is_file_mod_allowed( 'automatic_updater' ). 337 // See WP_Automatic_Updater::is_disabled(). 334 /* 335 * The UI is overridden by the `AUTOMATIC_UPDATER_DISABLED` constant 336 * or the `automatic_updater_disabled` filter, 337 * or by `wp_is_file_mod_allowed( 'automatic_updater' )`. 338 * See `WP_Automatic_Updater::is_disabled()`. 339 */ 338 340 $can_set_update_option = false; 339 341 } 340 342 341 // Is the UI overridden by a plugin using the allow_major_auto_core_updatesfilter?343 // Is the UI overridden by a plugin using the `allow_major_auto_core_updates` filter? 342 344 if ( has_filter( 'allow_major_auto_core_updates' ) ) { 343 345 $can_set_update_option = false;
Note: See TracChangeset
for help on using the changeset viewer.