[wp-trac] [WordPress Trac] #12084: allow preserving HTML in the_excerpt (specify allowed tags for strip_tags in wp_trim_excerpt)

WordPress Trac noreply at wordpress.org
Tue Jan 27 23:01:00 UTC 2026


#12084: allow preserving HTML in the_excerpt (specify allowed tags for strip_tags
in wp_trim_excerpt)
-------------------------------------+---------------------
 Reporter:  sillybean                |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:
Component:  Formatting               |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing needs-refresh => has-patch needs-
               refresh


Comment:

 Added `needs-refresh` by @chriscct7, so `needs-testing` should also be
 removed.

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


More information about the wp-trac mailing list