[wp-trac] [WordPress Trac] #46291: Twenty Nineteen: Avoid nested links in comment meta section of the comment in TwentyNineteen_Walker_Comment class

WordPress Trac noreply at wordpress.org
Thu Feb 21 05:09:30 UTC 2019


#46291: Twenty Nineteen: Avoid nested links in comment meta section of the comment
in TwentyNineteen_Walker_Comment class
------------------------------------+------------------------------
 Reporter:  iamdmitrymayorov        |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Bundled Theme           |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------
Changes (by mukesh27):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 Hi @iamdmitrymayorov, Welcome to WordPress Trac! Thank you for your
 ticket.

 Good cache.

 Updated patch as theme already define variable for that function {{{
 $comment_author = get_comment_author( $comment ); }}} so just needs to use
 that variable instead of add another call of {{{ get_comment_author(
 $comment ) }}} function.

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


More information about the wp-trac mailing list