Changeset 19057 for trunk/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 10/25/2011 04:25:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r19054 r19057 195 195 elseif ( count($source_files) == 0 ) 196 196 return new WP_Error('incompatible_archive', $this->strings['incompatible_archive']); //There are no files? 197 //else //Its only a single file, The upgrader will use the foldername of this file as the destination folder. foldername is based on zip filename. 197 else //Its only a single file, The upgrader will use the foldername of this file as the destination folder. foldername is based on zip filename. 198 $source = trailingslashit($source); 198 199 199 200 //Hook ability to change the source file location..
Note: See TracChangeset
for help on using the changeset viewer.