diff --git a/wp-atom.php b/wp-atom.php index b8cfc6afe8..6d2ea65d6f 100644 --- a/wp-atom.php +++ b/wp-atom.php @@ -33,9 +33,15 @@ $more = 1; post_date_gmt); ?> - + + post_content ) ) : ?> ]]> - + + ]]> + + + ]]> + - \ No newline at end of file + diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index f5314f6626..7df01fbad6 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -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) { } } -?> \ No newline at end of file +?> diff --git a/wp-rss2.php b/wp-rss2.php index 22d6a40168..581e10193b 100644 --- a/wp-rss2.php +++ b/wp-rss2.php @@ -38,7 +38,11 @@ $more = 1; + post_content ) ) : ?> ]]> + + ]]> +