WordPress.org

Make WordPress Core

Changeset 22351


Ignore:
Timestamp:
10/31/2012 10:45:23 PM (7 years ago)
Author:
duck_
Message:

Add Instagram oEmbed support. Props bananastalktome. Fixes #21704.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-oembed.php

    r22118 r22351  
    5151            '#https?://(www\.)?soundcloud\.com/.*#i'             => array( 'http://soundcloud.com/oembed',                      true  ),
    5252            '#https?://(www\.)?slideshare.net/*#'                => array( 'http://www.slideshare.net/api/oembed/2',            true  ),
     53            '#http://instagr(\.am|am\.com)/p/.*#i'               => array( 'http://api.instagram.com/oembed',                   true  ),
    5354        ) );
    5455
Note: See TracChangeset for help on using the changeset viewer.