Changeset 25835 for trunk/src/wp-admin/about.php
- Timestamp:
- 10/17/2013 11:20:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r25834 r25835 45 45 if ( $can_auto_update ) { 46 46 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 47 $upgrader = new WP_Automatic_Up grader;47 $upgrader = new WP_Automatic_Updater; 48 48 $future_minor_update = (object) array( 49 49 'current' => $wp_version . '.1-about.php', … … 52 52 'mysql_version' => $required_mysql_version, 53 53 ); 54 $can_auto_update = $upgrader->should_up grade( 'core', $future_minor_update, ABSPATH );54 $can_auto_update = $upgrader->should_update( 'core', $future_minor_update, ABSPATH ); 55 55 } 56 56 if ( $can_auto_update ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.