mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
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;
|
||||
}
|
||||
|
||||
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 = '';
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user