mystyman
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Alpha/Beta/RC
In reply to: revision 8008 breaks image uploadingok it seem that by svn 8078 it is working again. (maybe 8066 fixed it?)
Forum: Plugins
In reply to: Problem with “the_content_rss” hookhi, I just submitted a patch on that ticket which uses is_feed() inside the_content() function to run the the_content_rss hook when appropiate. The issue is appearently the rss2 and atom feeds go through the_content() instead of the_content_rss(). Anyway patch needs testing.
Forum: Fixing WordPress
In reply to: How To Limit Words / Sentence / Read More in RSSThis issue appearently has some history, see
http://trac.wordpress.org/ticket/2582 and
http://trac.wordpress.org/ticket/6680I have a tiny patch which should allow the feed (rss2 and atom) to honor <!–more–> when admin/settings/reading are set to full text.
--- wp-includes/post-template.php (revision 7919) +++ wp-includes/post-template.php (working copy) @@ -113,6 +113,7 @@ if ( (false !== strpos($post->post_content, '<!--noteaser-->') && ((!$multipage) || ($page==1))) ) $stripteaser = 1; $teaser = $content[0]; + if (is_feed()) $more = 0; if ( ($more) && ($stripteaser) ) $teaser = ''; $output .= $teaser;
Viewing 3 replies - 1 through 3 (of 3 total)