[wp-trac] [WordPress Trac] #55347: There should be filter for image tag in wp_filter_content_tags()

WordPress Trac noreply at wordpress.org
Mon Mar 21 23:54:59 UTC 2022


#55347: There should be filter for image tag in wp_filter_content_tags()
--------------------------------------+------------------------
 Reporter:  pbearne                   |       Owner:  flixos90
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  6.0
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------
Changes (by flixos90):

 * owner:  (none) => flixos90
 * status:  new => reviewing
 * milestone:  Awaiting Review => 6.0


Comment:

 This request has come up before in other places (e.g. media chat), and I
 agree it's worth addressing. Currently, every plugin that wants to do
 something to image tags in the frontend has to re-implement the same logic
 that core already has here.

 We also ran into it during the Performance Lab plugin development, but it
 has come up before. I think this enhancement is worth being included in
 WordPress 6.0.

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


More information about the wp-trac mailing list