Changeset 53480 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 06/09/2022 05:29:57 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r53473 r53480 2765 2765 'loading' => null, 2766 2766 'extra_attr' => '', 2767 'decoding' => 'async', 2767 2768 ); 2768 2769 … … 2850 2851 2851 2852 $extra_attr .= "loading='{$loading}'"; 2853 } 2854 2855 if ( in_array( $args['decoding'], array( 'async', 'sync', 'auto' ) ) && ! preg_match( '/\bdecoding\s*=/', $extra_attr ) ) { 2856 if ( ! empty( $extra_attr ) ) { 2857 $extra_attr .= ' '; 2858 } 2859 $extra_attr .= "decoding='{$args['decoding']}'"; 2852 2860 } 2853 2861
Note: See TracChangeset
for help on using the changeset viewer.