diff --git a/wp-includes/version.php b/wp-includes/version.php index 1299a7ebf8..66cb317acf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -8,7 +8,7 @@ * * @global string $wp_version */ -$wp_version = '2.7-beta3-9771'; +$wp_version = '2.7-beta3-9791'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index f66ddfd70d..dd4e68556b 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -1578,7 +1578,7 @@ function wp_widget_rss_output( $rss, $args = array() ) { elseif ( isset( $item['summary'] ) && is_string( $item['summary'] ) ) $desc = str_replace(array("\n", "\r"), ' ', attribute_escape(strip_tags(html_entity_decode($item['summary'], ENT_QUOTES)))); if ( 360 < strlen( $desc ) ) - $desc = substr( $desc, 0, 360 ) . ' […]'; + $desc = wp_html_excerpt( $desc, 360 ) . ' […]'; $summary = $desc; if ( $show_summary ) {