Changeset 19596 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 12/14/2011 05:36:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r19028 r19596 25 25 * @since 2.8.0 26 26 * 27 * @deprecated since 3.1.0 27 * @deprecated since 3.1.0 Use get_theme_feature_list() instead. 28 28 * 29 29 * @return array … … 31 31 function install_themes_feature_list( ) { 32 32 if ( !$cache = get_transient( 'wporg_theme_feature_list' ) ) 33 set_transient( 'wporg_theme_feature_list', array( ), 34 35 if ( $cache 33 set_transient( 'wporg_theme_feature_list', array( ), 10800); 34 35 if ( $cache ) 36 36 return $cache; 37 37 … … 135 135 $desc = wp_kses($theme->description, $themes_allowedtags); 136 136 //if ( strlen($desc) > 30 ) 137 // $desc = 137 // $desc = substr($desc, 0, 15) . '<span class="dots">...</span><span>' . substr($desc, -15) . '</span>'; 138 138 139 139 $preview_link = $theme->preview_url . '?TB_iframe=true&width=600&height=400';
Note: See TracChangeset
for help on using the changeset viewer.