Opened 20 years ago
Closed 18 years ago
#1146 closed defect (bug) (invalid)
Feeds don't use the_content when strlen(content) == 0
Reported by: | gbhugo | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
When a post->content is empty, the feeds use the_excerpt_rss instead of the_content. This can produce problems if plugins add stuff to the content (for example from custom fields), because the post->content check doesn't find any content and uses the_excerpt_rss and so the the_content hook isn't run at all. It might be better to fetch the content with running the hook and check wether the result is empty, instead.
Change History (2)
Note: See
TracTickets for help on using
tickets.
I don't think this applies anymore. In the code, the_content_rss() uses get_the_content() which should have the get_the_content filter applied to it. Also, the_content_rss is applied. Marking as invalid.