Changeset 60935
- Timestamp:
- 10/15/2025 06:34:12 AM (2 months ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 2 edited
-
twentytwentyfive/functions.php (modified) (1 diff)
-
twentytwentytwo/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyfive/functions.php
r60934 r60935 58 58 array(), 59 59 wp_get_theme()->get( 'Version' ) 60 ); 61 wp_style_add_data( 62 'twentytwentyfive-style', 63 'path', 64 get_parent_theme_file_path( $src ) 60 65 ); 61 66 } -
trunk/src/wp-content/themes/twentytwentytwo/functions.php
r60934 r60935 50 50 $src = 'style' . $suffix . '.css'; 51 51 52 wp_ register_style(52 wp_enqueue_style( 53 53 'twentytwentytwo-style', 54 54 get_parent_theme_file_uri( $src ), … … 56 56 $version_string 57 57 ); 58 59 // Enqueue theme stylesheet. 60 wp_enqueue_style( 'twentytwentytwo-style' ); 58 wp_style_add_data( 59 'twentytwentytwo-style', 60 'path', 61 get_parent_theme_file_path( $src ) 62 ); 61 63 } 62 64
Note: See TracChangeset
for help on using the changeset viewer.