Changeset 18614
- Timestamp:
- 08/28/2011 03:51:35 AM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r18569 r18614 1459 1459 } 1460 1460 } 1461 1462 function cleanup() { 1463 if ( file_exists($this->package) ) 1464 return @unlink($this->package); 1465 return true; 1466 } 1461 1467 } -
trunk/wp-admin/update.php
r17632 r18614 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.