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:
parent
0ad0386f27
commit
fd4ad0bcfc
|
@ -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