[wp-trac] [WordPress Trac] #59997: Twenty Twenty-Four Doesn't Enqueue Stylesheet

WordPress Trac noreply at wordpress.org
Fri Dec 1 22:08:29 UTC 2023


#59997: Twenty Twenty-Four Doesn't Enqueue Stylesheet
---------------------------+-------------------------------------
 Reporter:  script2see     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  6.4
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  css, php-compatibility
---------------------------+-------------------------------------
Changes (by script2see):

 * focuses:  css => css, php-compatibility


Comment:

 The following code is missing from functions.php:

 function my_theme_enqueue_styles() {
     wp_enqueue_style( 'my_theme_style', get_stylesheet_uri() );
 }
 add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59997#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list