Changeset 25823 for trunk/src/wp-admin/includes/update.php
- Timestamp:
- 10/17/2013 12:54:15 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r25810 r25823 78 78 79 79 $auto_update = false; 80 $upgrader = new WP_Automatic_Upgrader; 80 81 foreach ( $updates->updates as $update ) { 81 82 if ( 'autoupdate' != $update->response ) 82 83 continue; 83 84 84 if ( ! WP_Automatic_Upgrader::should_auto_update( 'core', $update, ABSPATH ) )85 if ( ! $upgrader->should_upgrade( 'core', $update, ABSPATH ) ) 85 86 continue; 86 87
Note: See TracChangeset
for help on using the changeset viewer.