Changeset 38693
- Timestamp:
- 09/30/2016 09:42:01 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r38691 r38693 73 73 '#https?://poll\.fm/.*#i' => array( 'https://polldaddy.com/oembed/', true ), 74 74 '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), 75 '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 76 '#https?://(www\.)?twitter\.com/.+?/timelines/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 75 '#https?://(www\.)?twitter\.com/\w{1,15}/status(es)?/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 76 '#https?://(www\.)?twitter\.com/\w{1,15}$#i' => array( 'https://publish.twitter.com/oembed', true ), 77 '#https?://(www\.)?twitter\.com/\w{1,15}/likes$#i' => array( 'https://publish.twitter.com/oembed', true ), 78 '#https?://(www\.)?twitter\.com/\w{1,15}/lists/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 79 '#https?://(www\.)?twitter\.com/\w{1,15}/timelines/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 77 80 '#https?://(www\.)?twitter\.com/i/moments/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 78 81 '#https?://vine\.co/v/.*#i' => array( 'https://vine.co/oembed.{format}', true ), … … 176 179 * | Twitter | twitter.com/moments | Yes | 4.5.0 | 177 180 * | Facebook | facebook.com | Yes | 4.7.0 | 181 * | Twitter | twitter.com/user | Yes | 4.7.0 | 182 * | Twitter | twitter.com/likes | Yes | 4.7.0 | 183 * | Twitter | twitter.com/lists | Yes | 4.7.0 | 178 184 * 179 185 * No longer supported providers: -
trunk/tests/phpunit/tests/oembed.php
r38692 r38693 21 21 'polldaddy-shorturl' => '#https?://poll\.fm/.*#i', 22 22 'funnyordie' => '#https?://(www\.)?funnyordie\.com/videos/.*#i', 23 'twitter' => '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i', 24 'twitter-timeline' => '#https?://(www\.)?twitter\.com/.+?/timelines/.*#i', 23 'twitter' => '#https?://(www\.)?twitter\.com/\w{1,15}/status(es)?/.*#i', 24 'twitter-user' => '#https?://(www\.)?twitter\.com/\w{1,15}$#i', 25 'twitter-likes' => '#https?://(www\.)?twitter\.com/\w{1,15}/likes$#i', 26 'twitter-list' => '#https?://(www\.)?twitter\.com/\w{1,15}/lists/.*#i', 27 'twitter-timeline' => '#https?://(www\.)?twitter\.com/\w{1,15}/timelines/.*#i', 25 28 'twitter-moment' => '#https?://(www\.)?twitter\.com/i/moments/.*#i', 26 29 'vine' => '#https?://vine\.co/v/.*#i', … … 585 588 ), 586 589 array( 590 $providers['twitter-user'], 591 array( 592 'https://twitter.com/WordPress', 593 ), 594 ), 595 array( 596 $providers['twitter-likes'], 597 array( 598 'https://twitter.com/WordPress/likes', 599 ), 600 ), 601 array( 602 $providers['twitter-list'], 603 array( 604 'https://twitter.com/TwitterDev/lists/national-parks', 605 ), 606 ), 607 array( 587 608 $providers['twitter-timeline'], 588 609 array(
Note: See TracChangeset
for help on using the changeset viewer.