Changeset 18615
- Timestamp:
- 08/28/2011 03:54:34 AM (13 years ago)
- Location:
- branches/3.2/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/wp-admin/includes/class-wp-upgrader.php
r18227 r18615 1455 1455 } 1456 1456 } 1457 1458 function cleanup() { 1459 if ( file_exists($this->package) ) 1460 return @unlink($this->package); 1461 return true; 1462 } 1457 1463 } -
branches/3.2/wp-admin/update.php
r17632 r18615 141 141 $upgrader->install( $file_upload->package ); 142 142 143 $file_upload->cleanup(); 144 143 145 include(ABSPATH . 'wp-admin/admin-footer.php'); 144 146 … … 243 245 $upgrader->install( $file_upload->package ); 244 246 247 $file_upload->cleanup(); 248 245 249 include(ABSPATH . 'wp-admin/admin-footer.php'); 246 250
Note: See TracChangeset
for help on using the changeset viewer.