Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #18719, comment 12


Ignore:
Timestamp:
02/04/2012 07:41:00 PM (11 years ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18719, comment 12

    v1 v2  
    33A quick fix for functions.php:
    44
     5{{{
    56wp_oembed_add_provider('https://youtu.be/*', 'http://youtube.com/oembed?scheme=https', false );
    67wp_oembed_add_provider('#https://(www\.)?youtube.com/watch.*#i', 'http://youtube.com/oembed?scheme=https', true);
     8}}}