Make WordPress Core


Ignore:
Timestamp:
05/24/2009 11:47:49 PM (16 years ago)
Author:
ryan
Message:

Trim tailing whitespace

File:
1 edited

Legend:

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

    r11312 r11450  
    7272            $wp_path_rel_to_home = str_replace($home, '', $siteurl); /* $siteurl - $home */
    7373            $pos = strpos($_SERVER["SCRIPT_FILENAME"], $wp_path_rel_to_home);
    74             $home_path = substr($_SERVER["SCRIPT_FILENAME"], 0, $pos);       
     74            $home_path = substr($_SERVER["SCRIPT_FILENAME"], 0, $pos);
    7575        $home_path = trailingslashit( $home_path );
    7676    } else {
     
    688688        $credentials['connection_type'] = 'ftp';
    689689
    690     if ( ! $error && 
     690    if ( ! $error &&
    691691            (
    692692                ( !empty($credentials['password']) && !empty($credentials['username']) && !empty($credentials['hostname']) ) ||
Note: See TracChangeset for help on using the changeset viewer.