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:
parent
221123fa57
commit
827e40c677
|
@ -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 = '';
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue