Changeset 54807 for branches/6.1/src/wp-includes/media.php
- Timestamp:
- 11/11/2022 02:26:02 AM (2 years ago)
- Location:
- branches/6.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1
-
branches/6.1/src/wp-includes/media.php
r54505 r54807 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.