Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#34651 closed enhancement (fixed)

Instagram URLs with www will not embed

Reported by: kevmarsden's profile kevmarsden Owned by: pento's profile pento
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.3.1
Component: Embeds Keywords: has-patch
Focuses: Cc:


Instagram URLs with the 'www' subdomain will not create an embed. Once the 'www' is removed from an Instagram URL, the embed is created.

It would be nice to support URLs that contain 'www' because when viewing Instagram from a web browser (while logged in), Instagram uses the 'www' subdomain throughout the site.

Example image on Instagram:

Example embed attempt in WordPress:

Attachments (3)

img1.png (482.9 KB) - added by kevmarsden 8 years ago.
img2.png (439.9 KB) - added by kevmarsden 8 years ago.
34651.diff (1.3 KB) - added by skithund 8 years ago.

Download all attachments as: .zip

Change History (9)

8 years ago

8 years ago

8 years ago

#1 @skithund
8 years ago

  • Keywords has-patch added

Attached patch adds (www\.)? to Instagram regex

#2 @MikeHansenMe
8 years ago

  • Milestone changed from Awaiting Review to Future Release

#3 @skithund
8 years ago

Apparently Instagram is now forwarding (301 moved permanently) to when opening URLs. IMO this fix should land on 4.4.

#4 @pento
8 years ago

  • Milestone changed from Future Release to 4.4
  • Owner set to pento
  • Status changed from new to assigned

#5 @pento
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 35634:

Embeds: Add support for the www subdomain to Instagram embed URLs.

Props skithund.

Fixes #34651.

This ticket was mentioned in Slack in #core by swissspidy. View the logs.

8 years ago

Note: See TracTickets for help on using tickets.