Changeset 47122 for trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php
r46827 r47122 30 30 */ 31 31 public function filter_script_loader_tag( $tag, $handle ) { 32 foreach ( [ 'async', 'defer' ]as $attr ) {32 foreach ( array( 'async', 'defer' ) as $attr ) { 33 33 if ( ! wp_scripts()->get_data( $handle, $attr ) ) { 34 34 continue;
Note: See TracChangeset
for help on using the changeset viewer.