mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 12:29:53 +01:00
* Expands the capabilities of `wp_filter_content_tags()` to add the attribute to iframe tags if enabled. * Modifies the default behavior of `wp_lazy_loading_enabled()` so that it returns `true` for `iframe` tags. * Introduces a `wp_iframe_tag_add_loading_attr()` function. * Introduces a `wp_iframe_tag_add_loading_attr` filter. Like for images, the attribute is only added to iframes which have both `width` and `height` specified (see related #50367). Props azaozz, flixos90, westonruter. Fixes #50756. git-svn-id: https://develop.svn.wordpress.org/trunk@49808 602fd350-edb4-49c9-b593-d223f7449a82