Make WordPress Core

Changeset 28822


Ignore:
Timestamp:
06/24/2014 03:55:37 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Merge two Animoto oEmbed patterns.

props kovshenin.
see #28265.

File:
1 edited

Legend:

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

    r28815 r28822  
    6363            '#https?://(www\.)?mixcloud\.com/.*#i'                => array( 'http://www.mixcloud.com/oembed',                     true  ),
    6464            '#https?://(www\.|embed\.)?ted\.com/talks/.*#i'       => array( 'http://www.ted.com/talks/oembed.{format}',           true  ),
    65             '#https?://(www\.)?animoto.com/play/.*#i'             => array( 'http://animoto.com/oembeds/create',                  true  ),
    66             '#https?://(www\.)?video214.com/play/.*#i'            => array( 'http://animoto.com/oembeds/create',                  true  ),
     65            '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'http://animoto.com/oembeds/create',                  true  ),
    6766        );
    6867
Note: See TracChangeset for help on using the changeset viewer.