Changeset 31090 for trunk/src/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 01/08/2015 07:04:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r30860 r31090 432 432 if ( is_wp_error($removed) ) { 433 433 return $removed; 434 } else 434 } elseif ( ! $removed ) { 435 435 return new WP_Error('remove_old_failed', $this->strings['remove_old_failed']); 436 436 } … … 638 638 $wp_filesystem->delete($file); 639 639 $wp_filesystem->put_contents($file, $maintenance_string, FS_CHMOD_FILE); 640 } else if ( !$enable && $wp_filesystem->exists($file) ) {640 } elseif ( ! $enable && $wp_filesystem->exists( $file ) ) { 641 641 $this->skin->feedback('maintenance_end'); 642 642 $wp_filesystem->delete($file);
Note: See TracChangeset
for help on using the changeset viewer.