[wp-trac] [WordPress Trac] #29533: wp_trim_words preserves HTML tags
WordPress Trac
noreply at wordpress.org
Wed Dec 10 16:47:50 UTC 2014
#29533: wp_trim_words preserves HTML tags
-------------------------------------+------------------------------
Reporter: Mekku | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: trunk
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses:
-------------------------------------+------------------------------
Comment (by MikeHansenMe):
I agree with Nacin that it is not a good idea to further modify
wp_trim_words. I think the name itself implies it is for words/text not
html. I think an option would be to introduce a new function for this use
case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29533#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list