Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#34651 closed enhancement (fixed)

Instagram URLs with www will not embed

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

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

Download all attachments as: .zip

Change History (9)

@kevmarsden
11 years ago

@kevmarsden
11 years ago

@skithund
11 years ago

#1 @skithund
11 years ago

  • Keywords has-patch added

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

#2 @MikeHansenMe
11 years ago

  • Milestone Awaiting ReviewFuture Release

#3 @skithund
11 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
11 years ago

  • Milestone Future Release4.4
  • Owner set to pento
  • Status newassigned

#5 @pento
11 years ago

  • Resolutionfixed
  • Status assignedclosed

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.


10 years ago

Note: See TracTickets for help on using tickets.