Make WordPress Core


Ignore:
Timestamp:
04/20/2009 06:18:39 PM (16 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r10835 r11013  
    187187    if ( preg_match( '|Theme URI:(.*)$|mi', $theme_data, $theme_uri ) )
    188188        $theme_uri = clean_url( trim( $theme_uri[1] ) );
    189     else 
     189    else
    190190        $theme_uri = '';
    191        
     191
    192192    if ( preg_match( '|Description:(.*)$|mi', $theme_data, $description ) )
    193193        $description = wptexturize( wp_kses( trim( $description[1] ), $themes_allowed_tags ) );
    194     else 
     194    else
    195195        $description = '';
    196196
     
    375375            @ $stylesheet_dir->close();
    376376        }
    377        
     377
    378378        $template_dir = @ dir("$theme_root/$template");
    379379        if ( $template_dir ) {
     
    394394                }
    395395            }
    396             @ $template_dir->close(); 
     396            @ $template_dir->close();
    397397        }
    398398
     
    11511151    $theme_dir = str_replace('\\','/', get_theme_root()); // sanitize for Win32 installs
    11521152    $theme_dir = preg_replace('|/+|','/', $theme_dir); // remove any duplicate slash
    1153     $file = preg_replace('|^.*/themes/.*?/|','',$file); // get relative path from theme dir 
     1153    $file = preg_replace('|^.*/themes/.*?/|','',$file); // get relative path from theme dir
    11541154    return $file;
    11551155}
Note: See TracChangeset for help on using the changeset viewer.