diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index 3d16fdf4f..612857b70 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -202,7 +202,7 @@ function the_excerpt_unicode() { echo $excerpt; } -function get_the_excerpt($fakeit = false) { +function get_the_excerpt($fakeit = true) { global $id, $post; global $HTTP_SERVER_VARS, $HTTP_COOKIE_VARS, $preview, $cookiehash; $output = ''; diff --git a/wp-includes/vars.php b/wp-includes/vars.php index 8058084f1..f1948c594 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -270,6 +270,7 @@ foreach($wpsmiliestrans as $smiley => $img) { add_filter('all', 'wptexturize'); add_filter('the_content', 'wpautop'); add_filter('comment_text', 'wpautop'); +add_falter('the_excerpt', 'wpautop'); // Uncomment the following for Textile support // include_once('textile.php');