[wp-trac] [WordPress Trac] #44475: wp_trim_excerpt does not trim text if you pass text in.
WordPress Trac
noreply at wordpress.org
Fri Jun 29 08:40:49 UTC 2018
#44475: wp_trim_excerpt does not trim text if you pass text in.
--------------------------+------------------------------
Reporter: aubreypwd | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.6
Severity: normal | Resolution: invalid
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by adhun):
* status: new => closed
* resolution: => invalid
Comment:
Hi aubreypwd,
As per the wordpress codex reference for **wp_trim_excerpt** it cleary
says that
If you supply text it will be returned **untouched**. It will not be
**shortened**.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44475#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list