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

git-svn-id: http://svn.automattic.com/wordpress/trunk@841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-02-06 20:28:26 +00:00
parent 221123fa57
commit 827e40c677
2 changed files with 2 additions and 1 deletions

View File

@ -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 = '';

View File

@ -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');