mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Feed fixes from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@2046 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -142,7 +142,7 @@ function the_excerpt() {
|
||||
echo apply_filters('the_excerpt', get_the_excerpt());
|
||||
}
|
||||
|
||||
function the_excerpt_rss($cut = 0, $encode_html = 0) {
|
||||
function the_excerpt_rss($cut = 0, $encode_html = FALSE) {
|
||||
$output = get_the_excerpt(true);
|
||||
|
||||
$output = convert_chars($output);
|
||||
@@ -152,7 +152,7 @@ function the_excerpt_rss($cut = 0, $encode_html = 0) {
|
||||
if ($encode_html == 1) {
|
||||
$output = wp_specialchars($output);
|
||||
$cut = 0;
|
||||
} elseif ($encode_html == 0) {
|
||||
} elseif ($encode_html === 0) {
|
||||
$output = make_url_footnote($output);
|
||||
} elseif ($encode_html == 2) {
|
||||
$output = strip_tags($output);
|
||||
@@ -448,4 +448,4 @@ function _page_level_out($parent, $page_tree, $args, $depth = 0) {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user