Changeset 28552 for trunk/src/wp-includes/class-oembed.php
- Timestamp:
- 05/22/2014 09:11:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r28507 r28552 28 28 public function __construct() { 29 29 $providers = array( 30 '#http://(www\.)?youtube\.com/ watch.*#i'=> array( 'http://www.youtube.com/oembed', true ),31 '#https://(www\.)?youtube\.com/ watch.*#i'=> array( 'http://www.youtube.com/oembed?scheme=https', true ),30 '#http://(www\.)?youtube\.com/(watch|playlist).*#i' => array( 'http://www.youtube.com/oembed', true ), 31 '#https://(www\.)?youtube\.com/(watch|playlist).*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), 32 32 '#http://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed', true ), 33 33 '#https://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ),
Note: See TracChangeset
for help on using the changeset viewer.