Opened 21 years ago
Closed 20 years ago
#1146 closed defect (bug) (invalid)
Feeds don't use the_content when strlen(content) == 0
| Reported by: | gbhugo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.5 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.