Make WordPress Core


Ignore:
Timestamp:
08/09/2008 05:36:14 AM (18 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r8598 r8600  
    14751475        if ( $echo )
    14761476                echo $nonce_field;
    1477        
     1477
    14781478        if ( $referer )
    14791479                wp_referer_field( $echo, 'previous' );
    1480        
     1480
    14811481        return $nonce_field;
    14821482}
     
    16001600        if ( empty($upload_path) )
    16011601                $dir = WP_CONTENT_DIR . '/uploads';
    1602         else 
     1602        else
    16031603                $dir = $upload_path;
    16041604
    16051605        // $dir is absolute, $path is (maybe) relative to ABSPATH
    16061606        $dir = path_join( ABSPATH, $dir );
    1607        
     1607
    16081608        if ( !$url = get_option( 'upload_url_path' ) ) {
    16091609                if ( empty($upload_path) or ( $upload_path == $dir ) )
     
    16181618        }
    16191619
    1620         $bdir = $dir; 
     1620        $bdir = $dir;
    16211621        $burl = $url;
    16221622
     
    16391639                return array( 'error' => $message );
    16401640        }
    1641        
     1641
    16421642        $uploads = array( 'path' => $dir, 'url' => $url, 'subdir' => $subdir, 'basedir' => $bdir, 'baseurl' => $burl, 'error' => false );
    16431643
     
    18861886                $trans['activate']['plugin']   = array( __( 'Your attempt to activate this plugin: "%s" has failed.' ), 'use_id' );
    18871887                $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: "%s" has failed.' ), 'use_id' );
    1888                 $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: "%s" has failed.' ), 'use_id' );           
     1888                $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: "%s" has failed.' ), 'use_id' );
    18891889
    18901890                $trans['add']['post']          = array( __( 'Your attempt to add this post has failed.' ), false );
     
    25252525 */
    25262526function is_ssl() {
    2527         return ( isset($_SERVER['HTTPS']) && 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false; 
     2527        return ( isset($_SERVER['HTTPS']) && 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false;
    25282528}
    25292529
Note: See TracChangeset for help on using the changeset viewer.