[wp-trac] [WordPress Trac] #38680: get_comment_author_link must be target blank

WordPress Trac noreply at wordpress.org
Sat Nov 5 15:26:45 UTC 2016


#38680: get_comment_author_link must be target blank
--------------------------+-----------------------------
 Reporter:  vaibhav8275   |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  target-blank  |     Focuses:  template
--------------------------+-----------------------------
Changes (by afercia):

 * keywords:   => target-blank
 * version:  4.6.1 =>
 * milestone:  Awaiting Review => Future Release


Comment:

 Thanks @vaibhav8275 and welcome to Trac! There's an ongoing discussion
 about `target="_blank"` in the admin, see #23432 and many of these
 attributes [https://core.trac.wordpress.org/query?keywords=~target-blank
 were recently removed] for better accessibility.

 About the front-end, personally I think WordPress shouldn't encourage the
 usage of `target="_blank"` so it shouldn't be included in the default
 output. Worth noting there's the `get_comment_author_link` filter that can
 be used to completely customize the link. So if themes really want to add
 `target="_blank"`, they already can.

 However, the ongoing discussion has focused mainly on the admin screens so
 far, so there's the need to start taking into consideration what is the
 better option for the front-end too. Discussion can happen on this ticket
 or also on Slack, any feedback welcome.

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


More information about the wp-trac mailing list