[wp-trac] [WordPress Trac] #53187: wp_filter_content_tags added to early

WordPress Trac noreply at wordpress.org
Tue May 11 19:15:40 UTC 2021


#53187: wp_filter_content_tags added to early
-----------------------------+-----------------------------
 Reporter:  maciejmackowiak  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Currently wp_filter_content_tags filter is added to the_content filters
 with default priority, this mean that if the iframe is outputted by
 shortcode it will not get the lazy loading attribute.
 I think that it should be addded after do_shortcode has run with priority
 of 12.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53187>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list