Make WordPress Core

Opened 2 hours ago

Closed 2 hours ago

#65479 closed enhancement (reported-upstream)

Add option to open Social Links block URLs in a new browser tab

Reported by: dharmikpatel97's profile dharmikpatel97 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Currently, the Social Links block does not provide an option to open external social media links in a new browser tab.

Many site owners prefer external social links to open in a new tab so visitors remain on the website while visiting social media profiles.

Proposed solution:

Add an optional "Open in new tab" setting for Social Links block items, similar to standard link settings.

When enabled, the block should output:

target="_blank"
rel="noopener noreferrer"

Benefits:

  • Improved user experience
  • Consistent external link behavior
  • Gives site owners more control
  • Backward compatible because the feature is optional

https://lightseagreen-snail-106951.hostingersite.com/wp-content/uploads/2026/06/image-2.png

Attachments (2)

image (2).png (279.6 KB) - added by dharmikpatel97 2 hours ago.
social-icons.png (47.4 KB) - added by wildworks 2 hours ago.

Download all attachments as: .zip

Change History (4)

#1 @wildworks
2 hours ago

The Social Icons block already provides an option to open in a new tab.

#2 @wildworks
2 hours ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.