[wp-trac] [WordPress Trac] #21753: Feed excerpts are missing important filter formatting

WordPress Trac noreply at wordpress.org
Thu Jun 26 21:54:19 UTC 2025


#21753: Feed excerpts are missing important filter formatting
---------------------------------------+---------------------
 Reporter:  mdgl                       |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:
Component:  Feeds                      |     Version:  3.4.1
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch needs-test-info  |     Focuses:
---------------------------------------+---------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing needs-unit-tests => has-patch needs-
     test-info


Comment:

 Replying to [ticket:21753 mdgl]:
 > In file wp-includes/feed.php, function the_excerpt_rss() does not apply
 the same filters as the_excerpt() whilst results in lost formatting
 instructions.

 Problem I find with this report currently (apart that is not applying
 again), is the fact that is not including a set of examples to check the
 fact that are being stated in the OP

 Yes, it can make sense standalone, and if you compare with `the_excerpt`
 everything could make sense again. But without a set of results you are
 leaving to the imagination, experience or whatever, to the testers the job
 of building a test case.

 Before unit tests, what this needs is a good set of test info.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/21753#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list