Changeset 25866 for trunk/src/wp-admin/includes/update-core.php
- Timestamp:
- 10/22/2013 05:19:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r25861 r25866 807 807 } 808 808 809 apply_filters( 'update_feedback', __( 'Disabling Maintenance mode…' ) ); 810 // Remove maintenance file, we're done with potential site-breaking changes 811 $wp_filesystem->delete( $maintenance_file ); 812 809 813 // 3.5 -> 3.5+ - an empty twentytwelve directory was created upon upgrade to 3.5 for some users, preventing installation of Twenty Twelve. 810 814 if ( '3.5' == $old_wp_version ) { … … 861 865 // Handle $result error from the above blocks 862 866 if ( is_wp_error($result) ) { 863 $wp_filesystem->delete($maintenance_file);864 867 $wp_filesystem->delete($from, true); 865 868 return $result; … … 887 890 else 888 891 delete_option('update_core'); 889 890 apply_filters( 'update_feedback', __( 'Disabling Maintenance mode…' ) );891 // Remove maintenance file, we're done.892 $wp_filesystem->delete($maintenance_file);893 892 894 893 // If we made it this far:
Note: See TracChangeset
for help on using the changeset viewer.