Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5982 closed defect (bug) (worksforme)

make atom feed signal something when the summary is cut off by <!--more-->

Reported by: leoboiko's profile leoboiko Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.3
Component: General Keywords: atom, more, summary, excerpt, wp_trim_excerpt
Focuses: Cc:

Description

When the post doesn't contain a <!--more--> cutoff, or if the cut is beyond the automatic summary size (55 words), Wordpress will add the string '[...]' to the Atom summary. This makes it easy for people watching the feeds to know that there's more content to be seen in the full post.

But, when the cut is *before* 55 words (which is often the case), WP simply ends the summary abruptly, without the "more" link ('cause summaries are text-only) nor any other kind of indication. Attached patch is an attempt to make it add '[...]' in these cases, too.

Please review it as I'm not comfortable with WP internals. It seems to work :)

Attachments (1)

wp_trim_excerpt.patch (433 bytes) - added by leoboiko 18 years ago.

Download all attachments as: .zip

Change History (5)

#1 @lloydbudd
18 years ago

  • Milestone changed from 2.3.4 to 2.6

Fixes are first considered on trunk. Can you consider the behavior in trunk (2.5) and if still a problem there provide a patch.

Maintenance releases only get fixes for severe issues.

#2 @leoboiko
18 years ago

I didn't actually install from svn to test, but I did checkout the source and it seemed to be the same. I'll try it for real later.

#3 @matt
18 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

This shouldn't be an issue anymore since we don't cut off at more anymore.

#4 @Nazgul
18 years ago

  • Milestone 2.6 deleted
Note: See TracTickets for help on using tickets.