[wp-trac] [WordPress Trac] #37088: Add filter to wp_strip_all_tags in wp_trim_words

WordPress Trac noreply at wordpress.org
Mon Jul 1 03:36:55 UTC 2019


#37088: Add filter to wp_strip_all_tags in wp_trim_words
---------------------------+----------------------
 Reporter:  manuelmeister  |       Owner:  (none)
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Formatting     |     Version:  4.5
 Severity:  normal         |  Resolution:  wontfix
 Keywords:                 |     Focuses:
---------------------------+----------------------
Changes (by pento):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 This can be done using the `wp_trim_words` filter, as @swissspidy
 suggested. With that in mind, I'm going to close this ticket.

 Should there be scenarios that aren't covered by the `wp_trim_words`
 filter, we can always reopen it.

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


More information about the wp-trac mailing list