[wp-trac] [WordPress Trac] #17190: excerpt_length filter does not work
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 3 01:51:42 UTC 2011
#17190: excerpt_length filter does not work
--------------------------+------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Formatting | Version: 3.1.1
Severity: normal | Resolution: duplicate
Keywords: close |
--------------------------+------------------------
Changes (by SergeyBiryukov):
* keywords: close reporter-feedback => close
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Currently `wp_trim_excerpt()` only handles automatically generated
excerpts.
Not exactly a duplicate, but it should be solved by #16372.
As for making `excerpt_length` filter work for manual excerpts, I believe
esmi's reply on the forum thread linked above makes sense:
I'd guess that the assumption was, if you manually added an excerpt,
you'd want it all to be shown. The filter only runs on the auto-generated
excerpt.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17190#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list