Make WordPress Core


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

Trim tailing whitespace

File:
1 edited

Legend:

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

    r11434 r11450  
    142142
    143143    $num = number_format( $number, $decimals, $wp_locale->number_format['decimal_point'], $wp_locale->number_format['thousands_sep'] );
    144  
     144
    145145    // let the user translate digits from latin to localized language
    146146    return apply_filters( 'number_format_i18n', $num );
     
    480480 * first is the new value and the second is the old value.  Whatever is
    481481 * returned will be used as the new value.
    482  * 
     482 *
    483483 * After the value has been updated the action named 'update_option_$option_name'
    484484 * will be called.  This action receives two parameters the first being the old
     
    20362036    $ext = !empty($info['extension']) ? $info['extension'] : '';
    20372037    $name = basename($filename, ".{$ext}");
    2038    
     2038
    20392039    // edge case: if file is named '.ext', treat as an empty name
    20402040    if( $name === ".$ext" )
     
    23672367    $defaults = array( 'response' => 500 );
    23682368    $r = wp_parse_args($args, $defaults);
    2369    
     2369
    23702370    $have_gettext = function_exists('__');
    23712371
     
    23912391        $message = "<p>$message</p>";
    23922392    }
    2393    
     2393
    23942394    if ( isset( $r['back_link'] ) && $r['back_link'] ) {
    23952395        $back_text = $have_gettext? __('&laquo; Back') : '&laquo; Back';
    23962396        $message .= "\n<p><a href='javascript:history.back()'>$back_text</p>";
    23972397    }
    2398    
     2398
    23992399    if ( defined( 'WP_SITEURL' ) && '' != WP_SITEURL )
    24002400        $admin_dir = WP_SITEURL . '/wp-admin/';
     
    24122412        header( 'Content-Type: text/html; charset=utf-8' );
    24132413    }
    2414    
     2414
    24152415    if ( empty($title) ) {
    24162416        $title = $have_gettext? __('WordPress &rsaquo; Error') : 'WordPress &rsaquo; Error';
     
    26842684 */
    26852685function wp_ob_end_flush_all() {
    2686     $levels = ob_get_level(); 
    2687     for ($i=0; $i<$levels; $i++) 
    2688         ob_end_flush(); 
     2686    $levels = ob_get_level();
     2687    for ($i=0; $i<$levels; $i++)
     2688        ob_end_flush();
    26892689}
    26902690
     
    31653165            return strnatcasecmp($a_continent, $b_continent);
    31663166        '));
    3167    
     3167
    31683168    $structure = '';
    31693169    $pad = '&nbsp;&nbsp;&nbsp;';
Note: See TracChangeset for help on using the changeset viewer.