Make WordPress Core

Opened 9 years ago

Closed 9 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:

Description

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 9 years ago.
img2.png (439.9 KB) - added by kevmarsden 9 years ago.
34651.diff (1.3 KB) - added by skithund 9 years ago.

Download all attachments as: .zip

Change History (9)

@kevmarsden
9 years ago

@kevmarsden
9 years ago

@skithund
9 years ago

#1 @skithund
9 years ago

  • Keywords has-patch added

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

#2 @MikeHansenMe
9 years ago

  • Milestone changed from Awaiting Review to Future Release

#3 @skithund
9 years ago

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

#4 @pento
9 years ago

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

#5 @pento
9 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.