[wp-trac] [WordPress Trac] #52820: Possible logic error in wp_trim_excerpt()
WordPress Trac
noreply at wordpress.org
Thu Dec 11 15:23:23 UTC 2025
#52820: Possible logic error in wp_trim_excerpt()
-------------------------------------------------+-------------------------
Reporter: theMikeD | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future
| Release
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests reporter- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
Replying to [comment:9 jrf]:
> Looking at the code, the excerpt is only trimmed to 55 words when it has
been auto-generated, not when it was provided via the `$text` parameter.
>
> Is this really the intended behaviour ?
It appears that this concern was not addressed. I'm adding `2nd-opinion`
for this as it seems it's not a reporter trouble.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52820#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list