Make WordPress Core


Ignore:
Timestamp:
03/02/2008 08:17:30 PM (18 years ago)
Author:
ryan
Message:

Remove trailing whites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r7114 r7130  
    66    if ( empty( $m ) )
    77        return false;
    8        
     8
    99    if( 'G' == $dateformatstring ) {
    1010        return gmmktime(
     
    1313        );
    1414    }
    15    
     15
    1616    $i = mktime(
    1717        (int) substr( $m, 11, 2 ), (int) substr( $m, 14, 2 ), (int) substr( $m, 17, 2 ),
     
    907907    }
    908908
    909     do_action( $hook, $wp_query->is_comment_feed ); 
     909    do_action( $hook, $wp_query->is_comment_feed );
    910910}
    911911
     
    10441044    if ( strlen($path) == 0 || $path{0} == '.' )
    10451045        return false;
    1046    
     1046
    10471047    // windows allows absolute paths like this
    10481048    if ( preg_match('#^[a-zA-Z]:\\\\#', $path) )
     
    10571057    if ( path_is_absolute($path) )
    10581058        return $path;
    1059    
     1059
    10601060    return rtrim($base, '/') . '/' . ltrim($path, '/');
    10611061}
     
    10651065    $siteurl = get_option( 'siteurl' );
    10661066    $upload_path = $dir = get_option( 'upload_path' );
    1067    
     1067
    10681068    // $dir is absolute, $path is (maybe) relative to ABSPATH
    10691069    $dir = path_join( ABSPATH, $upload_path );
     
    10901090        $subdir = "/$y/$m";
    10911091    }
    1092    
     1092
    10931093    $dir .= $subdir;
    10941094    $url .= $subdir;
     
    11851185        'text' => array('txt'),
    11861186        'archive' => array('tar','bz2','gz','cab','dmg','rar','sea','sit','sqx','zip'),
    1187         'code' => array('css','html','php','js'),       
     1187        'code' => array('css','html','php','js'),
    11881188    ));
    11891189    foreach ( $ext2type as $type => $exts )
Note: See TracChangeset for help on using the changeset viewer.