WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/14/11 17:36:38 (6 years ago)
Author:
ryan
Message:

Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433

File:
1 edited

Legend:

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

    r19028 r19596  
    2525 * @since 2.8.0 
    2626 * 
    27  * @deprecated since 3.1.0  Use get_theme_feature_list() instead. 
     27 * @deprecated since 3.1.0 Use get_theme_feature_list() instead. 
    2828 * 
    2929 * @return array 
     
    3131function install_themes_feature_list( ) { 
    3232    if ( !$cache = get_transient( 'wporg_theme_feature_list' ) ) 
    33         set_transient( 'wporg_theme_feature_list', array( ),  10800); 
    34  
    35     if ( $cache  ) 
     33        set_transient( 'wporg_theme_feature_list', array( ), 10800); 
     34 
     35    if ( $cache ) 
    3636        return $cache; 
    3737 
     
    135135    $desc = wp_kses($theme->description, $themes_allowedtags); 
    136136    //if ( strlen($desc) > 30 ) 
    137     //  $desc =  substr($desc, 0, 15) . '<span class="dots">...</span><span>' . substr($desc, -15) . '</span>'; 
     137    //  $desc = substr($desc, 0, 15) . '<span class="dots">...</span><span>' . substr($desc, -15) . '</span>'; 
    138138 
    139139    $preview_link = $theme->preview_url . '?TB_iframe=true&amp;width=600&amp;height=400'; 
Note: See TracChangeset for help on using the changeset viewer.