Make WordPress Core


Ignore:
Timestamp:
01/15/2010 10:11:12 PM (15 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r12727 r12733  
    577577    do_action( "add_option_{$name}", $name, $value );
    578578    do_action( 'added_option', $name, $value );
    579    
     579
    580580    return;
    581581}
     
    23082308        'mid|midi' => 'audio/midi',
    23092309        'wma' => 'audio/wma',
    2310         'mka' => 'audio/x-matroska', 
    2311         'mkv' => 'video/x-matroska', 
     2310        'mka' => 'audio/x-matroska',
     2311        'mkv' => 'video/x-matroska',
    23122312        'rtf' => 'application/rtf',
    23132313        'js' => 'application/javascript',
     
    33933393 * If the transient does not exist or does not have a value, then the return value
    33943394 * will be false.
    3395  * 
     3395 *
    33963396 * @since 2.9.0
    33973397 * @package WordPress
     
    36793679            $selected = 'selected="selected" ';
    36803680        $structure[] = '<option ' . $selected . 'value="' . esc_attr( $offset_value ) . '">' . esc_html( $offset_name ) . "</option>";
    3681        
     3681
    36823682    }
    36833683    $structure[] = '</optgroup>';
     
    37463746 * Parse the file contents to retrieve its metadata.
    37473747 *
    3748  * Searches for metadata for a file, such as a plugin or theme.  Each piece of 
     3748 * Searches for metadata for a file, such as a plugin or theme.  Each piece of
    37493749 * metadata must be on its own line. For a field spanning multple lines, it
    37503750 * must not have any newlines or only parts of it will be displayed.
     
    37663766 * @param string $file Path to the file
    37673767 * @param bool $markup If the returned data should have HTML markup applied
    3768  * @param string $context If specified adds filter hook "extra_<$context>_headers" 
     3768 * @param string $context If specified adds filter hook "extra_<$context>_headers"
    37693769 */
    37703770function get_file_data( $file, $default_headers, $context = '' ) {
     
    37903790    }
    37913791
    3792    
     3792
    37933793    foreach ( $all_headers as $field => $regex ) {
    37943794        preg_match( '/' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, ${$field});
     
    38003800
    38013801    $file_data = compact( array_keys( $all_headers ) );
    3802    
     3802
    38033803    return $file_data;
    38043804}
    38053805/*
    38063806 * Used internally to tidy up the search terms
    3807  * 
     3807 *
    38083808 * @private
    38093809 * @since 2.9.0
Note: See TracChangeset for help on using the changeset viewer.