Make WordPress Core

Ticket #59896: 59896.diff

File 59896.diff, 1.1 KB (added by jorbin, 7 months ago)
  • src/wp-content/themes/twentyfifteen/functions.php

    diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php
    index 0a1b3a2e6d..3beda8992d 100644
    a b function twentyfifteen_scripts() { 
    430430        wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20201026' );
    431431
    432432        // Load our main stylesheet.
    433         wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), '20231107' );
     433        wp_enqueue_style( 'twentyfifteen' ); // , get_stylesheet_uri(), array(), '20231107' );
    434434
    435435        // Theme block stylesheet.
    436436        wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20230623' );
    function twentyfifteen_scripts() { 
    477477}
    478478add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
    479479
     480add_action( 'init', function(){
     481        wp_register_style( 'twentyfifteen', get_stylesheet_uri(), array(), null, 'all' );
     482});
     483
    480484/**
    481485 * Enqueue styles for the block-based editor.
    482486 *