[wp-trac] [WordPress Trac] #55347: There should be filter for image tag in wp_filter_content_tags()
WordPress Trac
noreply at wordpress.org
Thu Mar 31 15:34:19 UTC 2022
#55347: There should be filter for image tag in wp_filter_content_tags()
---------------------------------------------+-----------------------
Reporter: pbearne | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.0
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------
Comment (by pbearne):
Replying to [comment:10 superpoincare]:
> This filter seems to be running twice.
>
> So if I modify the img tag, like add some attribute, it will be added
twice.
Can you share the code that runs this twice?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55347#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list