Make WordPress Core

Ticket #46455: 46455.diff

File 46455.diff, 1.0 KB (added by mukesh27, 6 years ago)

Patch.

  • wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php

    diff --git a/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php b/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
    index 6237a36..cdec405 100644
    a b class TwentyNineteen_Walker_Comment extends Walker_Comment { 
    5252                                                        printf( '<span class="post-author-badge" aria-hidden="true">%s</span>', twentynineteen_get_icon_svg( 'check', 24 ) );
    5353                                                }
    5454
    55                                                 /*
    56                                                  * Using the `check` icon instead of `check_circle`, since we can't add a
    57                                                  * fill color to the inner check shape when in circle form.
    58                                                  */
    59                                                 if ( twentynineteen_is_comment_by_post_author( $comment ) ) {
    60                                                         printf( '<span class="post-author-badge" aria-hidden="true">%s</span>', twentynineteen_get_icon_svg( 'check', 24 ) );
    61                                                 }
    62 
    6355                                                printf(
    6456                                                        /* translators: %s: comment author link */
    6557                                                        wp_kses(