Changeset 56548 for trunk/src/wp-content/themes/twentytwenty/functions.php
- Timestamp:
- 09/08/2023 10:01:14 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/functions.php
r56526 r56548 137 137 $loader = new TwentyTwenty_Script_Loader(); 138 138 add_filter( 'script_loader_tag', array( $loader, 'filter_script_loader_tag' ), 10, 2 ); 139 140 139 } 141 140 … … 196 195 // Add print CSS. 197 196 wp_enqueue_style( 'twentytwenty-print-style', get_template_directory_uri() . '/print.css', null, $theme_version, 'print' ); 198 199 197 } 200 198 … … 216 214 wp_enqueue_script( 'twentytwenty-js', get_template_directory_uri() . '/assets/js/index.js', array(), $theme_version ); 217 215 wp_script_add_data( 'twentytwenty-js', 'async', true ); 218 219 216 } 220 217 … … 331 328 332 329 return $html; 333 334 330 } 335 331 … … 403 399 ) 404 400 ); 405 406 401 } 407 402 … … 449 444 450 445 add_editor_style( $classic_editor_styles ); 451 452 446 } 453 447 … … 478 472 479 473 return $mce_init; 480 481 474 } 482 475 … … 506 499 507 500 return $mce_init; 508 509 501 } 510 502 … … 598 590 add_theme_support( 'dark-editor-style' ); 599 591 } 600 601 592 } 602 593
Note: See TracChangeset
for help on using the changeset viewer.