Changeset 58143 for trunk/src/wp-includes/media.php
- Timestamp:
- 05/13/2024 10:37:38 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r58110 r58143 2198 2198 */ 2199 2199 function wp_iframe_tag_add_loading_attr( $iframe, $context ) { 2200 /*2201 * Iframes with fallback content (see `wp_filter_oembed_result()`) should not be lazy-loaded because they are2202 * visually hidden initially.2203 */2204 if ( str_contains( $iframe, ' data-secret="' ) ) {2205 return $iframe;2206 }2207 2208 2200 /* 2209 2201 * Get loading attribute value to use. This must occur before the conditional check below so that even iframes that
Note: See TracChangeset
for help on using the changeset viewer.