Make WordPress Core

Ticket #59746: 59746.diff

File 59746.diff, 967 bytes (added by zluck, 6 months ago)

patch file

  • src/wp-content/themes/twentytwentyfive/functions.php

    diff --git src/wp-content/themes/twentytwentyfive/functions.php src/wp-content/themes/twentytwentyfive/functions.php
    index 3805c48052..577c204359 100644
    if ( ! function_exists( 'twentytwentyfive_editor_style' ) ) : 
    3939endif;
    4040add_action( 'after_setup_theme', 'twentytwentyfive_editor_style' );
    4141
     42// Enqueues author-bio-wrap.css in the editors.
     43if ( ! function_exists( 'twentytwentyfive_author_bio_wrap' ) ) :
     44        /**
     45         * Enqueues author-bio-wrap.css in the editors.
     46         *
     47         * @since Twenty Twenty-Five 1.3
     48         *
     49         * @return void
     50         */     
     51        function twentytwentyfive_author_bio_wrap() {
     52                add_editor_style( 'assets/css/author-bio-wrap.css' );
     53        }
     54endif;
     55add_action( 'after_setup_theme', 'twentytwentyfive_author_bio_wrap' );
     56
    4257// Enqueues style.css on the front.
    4358if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) :
    4459        /**