Changeset 54802 for trunk/src/wp-includes/media.php
- Timestamp:
- 11/11/2022 12:59:20 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r54505 r54802 1963 1963 */ 1964 1964 function wp_img_tag_add_decoding_attr( $image, $context ) { 1965 // Only apply the decoding attribute to images that have a src attribute that 1966 // starts with a double quote, ensuring escaped JSON is also excluded. 1967 if ( false === strpos( $image, ' src="' ) ) { 1968 return $image; 1969 } 1970 1965 1971 /** 1966 1972 * Filters the `decoding` attribute value to add to an image. Default `async`.
Note: See TracChangeset
for help on using the changeset viewer.