Embeds: Add oEmbed support for someecards.com.

Props someecards

Fixes #40792

Built from https://develop.svn.wordpress.org/trunk@41681


git-svn-id: http://core.svn.wordpress.org/trunk@41515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2017-10-02 19:10:49 +00:00
parent 7859e22ad5
commit 3dda9e9257
2 changed files with 6 additions and 1 deletions

View File

@ -114,6 +114,9 @@ class WP_oEmbed {
'#https?://(www\.)?amzn\.in/.*#i' => array( 'https://read.amazon.in/kp/api/oembed', true ),
'#https?://(www\.)?amzn\.asia/.*#i' => array( 'https://read.amazon.com.au/kp/api/oembed', true ),
'#https?://(www\.)?z\.cn/.*#i' => array( 'https://read.amazon.cn/kp/api/oembed', true ),
'#https?://www\.someecards\.com/.+-cards/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
'#https?://www\.someecards\.com/usercards/viewcard/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
'#https?://some\.ly\/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
);
if ( ! empty( self::$early_providers['add'] ) ) {
@ -194,6 +197,8 @@ class WP_oEmbed {
* | Amazon | a.co | Yes | 4.9.0 |
* | Amazon | amzn.to|eu|in|asia | Yes | 4.9.0 |
* | Amazon | z.cn | Yes | 4.9.0 |
* | Someecards | someecards.com | Yes | 4.9.0 |
* | Someecards | some.ly | Yes | 4.9.0 |
*
* No longer supported providers:
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41680';
$wp_version = '4.9-alpha-41681';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.