WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2007 11:19:20 PM (13 years ago)
Author:
ryan
Message:

Strip lines that contain only whitespace down to newlines.

File:
1 edited

Legend:

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

    r5900 r6025  
    99    global $wp_version;
    1010    $php_version = phpversion();
    11    
     11
    1212    $current = get_option( 'update_core' );
    1313    $locale = get_locale();
     
    3636            $response .= fgets( $fs, 1160 ); // One TCP-IP packet
    3737        fclose( $fs );
    38    
     38
    3939        $response = explode("\r\n\r\n", $response, 2);
    4040        $body = trim( $response[1] );
    4141        $body = str_replace(array("\r\n", "\r"), "\n", $body);
    42    
     42
    4343        $returns = explode("\n", $body);
    4444
Note: See TracChangeset for help on using the changeset viewer.