the_excerpt should get autop goodness. Excerpt should fake it by default.

git-svn-id: https://develop.svn.wordpress.org/trunk@841 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-02-06 20:28:26 +00:00
parent 0ad0386f27
commit fd4ad0bcfc
2 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,7 @@ function the_excerpt_unicode() {
echo $excerpt; echo $excerpt;
} }
function get_the_excerpt($fakeit = false) { function get_the_excerpt($fakeit = true) {
global $id, $post; global $id, $post;
global $HTTP_SERVER_VARS, $HTTP_COOKIE_VARS, $preview, $cookiehash; global $HTTP_SERVER_VARS, $HTTP_COOKIE_VARS, $preview, $cookiehash;
$output = ''; $output = '';

View File

@ -270,6 +270,7 @@ foreach($wpsmiliestrans as $smiley => $img) {
add_filter('all', 'wptexturize'); add_filter('all', 'wptexturize');
add_filter('the_content', 'wpautop'); add_filter('the_content', 'wpautop');
add_filter('comment_text', 'wpautop'); add_filter('comment_text', 'wpautop');
add_falter('the_excerpt', 'wpautop');
// Uncomment the following for Textile support // Uncomment the following for Textile support
// include_once('textile.php'); // include_once('textile.php');