[wp-trac] [WordPress Trac] #47102: Twenty Nineteen: SVG author badge printed twice
WordPress Trac
noreply at wordpress.org
Thu May 2 21:49:58 UTC 2019
#47102: Twenty Nineteen: SVG author badge printed twice
---------------------------+-----------------------------
Reporter: marctison75 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
In class-twentynineteen-walker-comment.php, the svg author badge is
written twice. Is it intended?
{{{
/*
* Using the `check` icon instead of `check_circle`, since we can't add a
* fill color to the inner check shape when in circle form.
*/
if ( twentynineteen_is_comment_by_post_author( $comment ) ) {
printf( '<span class="post-author-badge" aria-hidden="true">%s</span>',
twentynineteen_get_icon_svg( 'check', 24 ) );
}
/*
* Using the `check` icon instead of `check_circle`, since we can't add a
* fill color to the inner check shape when in circle form.
*/
if ( twentynineteen_is_comment_by_post_author( $comment ) ) {
printf( '<span class="post-author-badge" aria-hidden="true">%s</span>',
twentynineteen_get_icon_svg( 'check', 24 ) );
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47102>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list