[buddypress-trac] [BuddyPress Trac] #6146: URL xprofile field should have target=_blank

buddypress-trac noreply at wordpress.org
Wed Jan 21 17:10:51 UTC 2015


#6146: URL xprofile field should have target=_blank
-------------------------+------------------------------
 Reporter:  sooskriszta  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  XProfile     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |
-------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => 2nd-opinion


Comment:

 I'm not a big fan of target=_blank. Users should be able to decide whether
 they want a link opened in a new window. I'd be OK with one of the
 following:

 - filter the attributes used to build the link, so that 'target=_blank'
 could be added with a filter
 - have a specific "bp_xprofile_url_target_blank" filter for URL fields (or
 something like that), which would default to false
 - maybe, just maybe, a UI toggle for the admin, which would default to
 unchecked. (Gasp! Usually I don't like adding toggles, but "Open in a new
 window" seems pretty transparent and potentially useful here.)

 but I definitely would not want to force it, or have it be the default.

 I'd be glad to hear others' thoughts.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6146#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list