WordPress.org

Make WordPress Core

Changeset 19115


Ignore:
Timestamp:
11/02/2011 12:16:47 PM (10 years ago)
Author:
dd32
Message:

Tabs > Spaces. Props SergeyBiryukov. See #14999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r19057 r19115  
    195195        elseif ( count($source_files) == 0 )
    196196            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.
    198             $source = trailingslashit($source);
     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);
    199199
    200200        //Hook ability to change the source file location..
Note: See TracChangeset for help on using the changeset viewer.